/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dataplex/v1/logs.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.dataplex.v1;
public interface SessionEventOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.SessionEvent)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The log message.
*
*
* string message = 1;
*
* @return The message.
*/
java.lang.String getMessage();
/**
*
*
*
* The log message.
*
*
* string message = 1;
*
* @return The bytes for message.
*/
com.google.protobuf.ByteString getMessageBytes();
/**
*
*
*
* The information about the user that created the session. It will be the
* email address of the user.
*
*
* string user_id = 2;
*
* @return The userId.
*/
java.lang.String getUserId();
/**
*
*
*
* The information about the user that created the session. It will be the
* email address of the user.
*
*
* string user_id = 2;
*
* @return The bytes for userId.
*/
com.google.protobuf.ByteString getUserIdBytes();
/**
*
*
*
* Unique identifier for the session.
*
*
* string session_id = 3;
*
* @return The sessionId.
*/
java.lang.String getSessionId();
/**
*
*
*
* Unique identifier for the session.
*
*
* string session_id = 3;
*
* @return The bytes for sessionId.
*/
com.google.protobuf.ByteString getSessionIdBytes();
/**
*
*
*
* The type of the event.
*
*
* .google.cloud.dataplex.v1.SessionEvent.EventType type = 4;
*
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
*
*
*
* The type of the event.
*
*
* .google.cloud.dataplex.v1.SessionEvent.EventType type = 4;
*
* @return The type.
*/
com.google.cloud.dataplex.v1.SessionEvent.EventType getType();
/**
*
*
*
* The execution details of the query.
*
*
* .google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5;
*
* @return Whether the query field is set.
*/
boolean hasQuery();
/**
*
*
*
* The execution details of the query.
*
*
* .google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5;
*
* @return The query.
*/
com.google.cloud.dataplex.v1.SessionEvent.QueryDetail getQuery();
/**
*
*
*
* The execution details of the query.
*
*
* .google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5;
*/
com.google.cloud.dataplex.v1.SessionEvent.QueryDetailOrBuilder getQueryOrBuilder();
/**
*
*
*
* The status of the event.
*
*
* bool event_succeeded = 6;
*
* @return The eventSucceeded.
*/
boolean getEventSucceeded();
/**
*
*
*
* If the session is associated with an environment with fast startup enabled,
* and was created before being assigned to a user.
*
*
* bool fast_startup_enabled = 7;
*
* @return The fastStartupEnabled.
*/
boolean getFastStartupEnabled();
/**
*
*
*
* The idle duration of a warm pooled session before it is assigned to user.
*
*
* .google.protobuf.Duration unassigned_duration = 8;
*
* @return Whether the unassignedDuration field is set.
*/
boolean hasUnassignedDuration();
/**
*
*
*
* The idle duration of a warm pooled session before it is assigned to user.
*
*
* .google.protobuf.Duration unassigned_duration = 8;
*
* @return The unassignedDuration.
*/
com.google.protobuf.Duration getUnassignedDuration();
/**
*
*
*
* The idle duration of a warm pooled session before it is assigned to user.
*
*
* .google.protobuf.Duration unassigned_duration = 8;
*/
com.google.protobuf.DurationOrBuilder getUnassignedDurationOrBuilder();
com.google.cloud.dataplex.v1.SessionEvent.DetailCase getDetailCase();
}