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
Static Fields
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
Field Value
QUERY_FIELD_NUMBER
public static final int QUERY_FIELD_NUMBER
Field Value
SESSION_ID_FIELD_NUMBER
public static final int SESSION_ID_FIELD_NUMBER
Field Value
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value
USER_ID_FIELD_NUMBER
public static final int USER_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SessionEvent getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SessionEvent.Builder newBuilder()
Returns
newBuilder(SessionEvent prototype)
public static SessionEvent.Builder newBuilder(SessionEvent prototype)
Parameter
Returns
public static SessionEvent parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SessionEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SessionEvent parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SessionEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SessionEvent parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SessionEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SessionEvent parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SessionEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SessionEvent parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SessionEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SessionEvent parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SessionEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SessionEvent> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public SessionEvent getDefaultInstanceForType()
Returns
getDetailCase()
public SessionEvent.DetailCase getDetailCase()
Returns
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
getParserForType()
public Parser<SessionEvent> getParserForType()
Returns
Overrides
getQuery()
public SessionEvent.QueryDetail getQuery()
The execution details of the query.
.google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5;
Returns
getQueryOrBuilder()
public SessionEvent.QueryDetailOrBuilder getQueryOrBuilder()
The execution details of the query.
.google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
getType()
public SessionEvent.EventType getType()
The type of the event.
.google.cloud.dataplex.v1.SessionEvent.EventType type = 4;
Returns
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUserId()
public String getUserId()
The information about the user that created the session.
string user_id = 2;
Returns
Type | Description |
String | The userId.
|
getUserIdBytes()
public ByteString getUserIdBytes()
The information about the user that created the session.
string user_id = 2;
Returns
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SessionEvent.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SessionEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SessionEvent.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions