- 1.51.0 (latest)
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.2
- 1.0.1
- 0.2.2
public final class SessionEvent extends GeneratedMessageV3 implements SessionEventOrBuilder
These messages contain information about sessions within an environment. The monitored resource is 'Environment'.
Protobuf type google.cloud.dataplex.v1.SessionEvent
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SessionEventImplements
SessionEventOrBuilderStatic Fields
EVENT_SUCCEEDED_FIELD_NUMBER
public static final int EVENT_SUCCEEDED_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
FAST_STARTUP_ENABLED_FIELD_NUMBER
public static final int FAST_STARTUP_ENABLED_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
QUERY_FIELD_NUMBER
public static final int QUERY_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SESSION_ID_FIELD_NUMBER
public static final int SESSION_ID_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
UNASSIGNED_DURATION_FIELD_NUMBER
public static final int UNASSIGNED_DURATION_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
USER_ID_FIELD_NUMBER
public static final int USER_ID_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static SessionEvent getDefaultInstance()
Returns | |
---|---|
Type | Description |
SessionEvent |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static SessionEvent.Builder newBuilder()
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
newBuilder(SessionEvent prototype)
public static SessionEvent.Builder newBuilder(SessionEvent prototype)
Parameter | |
---|---|
Name | Description |
prototype | SessionEvent |
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
parseDelimitedFrom(InputStream input)
public static SessionEvent parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
SessionEvent |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SessionEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SessionEvent |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static SessionEvent parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
SessionEvent |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SessionEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SessionEvent |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static SessionEvent parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
SessionEvent |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SessionEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SessionEvent |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static SessionEvent parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
SessionEvent |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SessionEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SessionEvent |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static SessionEvent parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
SessionEvent |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SessionEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SessionEvent |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static SessionEvent parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
SessionEvent |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SessionEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SessionEvent |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<SessionEvent> parser()
Returns | |
---|---|
Type | Description |
Parser<SessionEvent> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public SessionEvent getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SessionEvent |
getDetailCase()
public SessionEvent.DetailCase getDetailCase()
Returns | |
---|---|
Type | Description |
SessionEvent.DetailCase |
getEventSucceeded()
public boolean getEventSucceeded()
The status of the event.
bool event_succeeded = 6;
Returns | |
---|---|
Type | Description |
boolean | The eventSucceeded. |
getFastStartupEnabled()
public boolean getFastStartupEnabled()
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;
Returns | |
---|---|
Type | Description |
boolean | The fastStartupEnabled. |
getMessage()
public String getMessage()
The log message.
string message = 1;
Returns | |
---|---|
Type | Description |
String | The message. |
getMessageBytes()
public ByteString getMessageBytes()
The log message.
string message = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for message. |
getParserForType()
public Parser<SessionEvent> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<SessionEvent> |
getQuery()
public SessionEvent.QueryDetail getQuery()
The execution details of the query.
.google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5;
Returns | |
---|---|
Type | Description |
SessionEvent.QueryDetail | The query. |
getQueryOrBuilder()
public SessionEvent.QueryDetailOrBuilder getQueryOrBuilder()
The execution details of the query.
.google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5;
Returns | |
---|---|
Type | Description |
SessionEvent.QueryDetailOrBuilder |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getSessionId()
public String getSessionId()
Unique identifier for the session.
string session_id = 3;
Returns | |
---|---|
Type | Description |
String | The sessionId. |
getSessionIdBytes()
public ByteString getSessionIdBytes()
Unique identifier for the session.
string session_id = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for sessionId. |
getType()
public SessionEvent.EventType getType()
The type of the event.
.google.cloud.dataplex.v1.SessionEvent.EventType type = 4;
Returns | |
---|---|
Type | Description |
SessionEvent.EventType | The type. |
getTypeValue()
public int getTypeValue()
The type of the event.
.google.cloud.dataplex.v1.SessionEvent.EventType type = 4;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for type. |
getUnassignedDuration()
public Duration getUnassignedDuration()
The idle duration of a warm pooled session before it is assigned to user.
.google.protobuf.Duration unassigned_duration = 8;
Returns | |
---|---|
Type | Description |
Duration | The unassignedDuration. |
getUnassignedDurationOrBuilder()
public DurationOrBuilder getUnassignedDurationOrBuilder()
The idle duration of a warm pooled session before it is assigned to user.
.google.protobuf.Duration unassigned_duration = 8;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
getUserId()
public String getUserId()
The information about the user that created the session. It will be the email address of the user.
string user_id = 2;
Returns | |
---|---|
Type | Description |
String | The userId. |
getUserIdBytes()
public ByteString getUserIdBytes()
The information about the user that created the session. It will be the email address of the user.
string user_id = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for userId. |
hasQuery()
public boolean hasQuery()
The execution details of the query.
.google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5;
Returns | |
---|---|
Type | Description |
boolean | Whether the query field is set. |
hasUnassignedDuration()
public boolean hasUnassignedDuration()
The idle duration of a warm pooled session before it is assigned to user.
.google.protobuf.Duration unassigned_duration = 8;
Returns | |
---|---|
Type | Description |
boolean | Whether the unassignedDuration field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public SessionEvent.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SessionEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public SessionEvent.Builder toBuilder()
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |