Class SessionEvent (1.1.1)

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
TypeDescription
int

QUERY_FIELD_NUMBER

public static final int QUERY_FIELD_NUMBER
Field Value
TypeDescription
int

SESSION_ID_FIELD_NUMBER

public static final int SESSION_ID_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

USER_ID_FIELD_NUMBER

public static final int USER_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SessionEvent getDefaultInstance()
Returns
TypeDescription
SessionEvent

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SessionEvent.Builder newBuilder()
Returns
TypeDescription
SessionEvent.Builder

newBuilder(SessionEvent prototype)

public static SessionEvent.Builder newBuilder(SessionEvent prototype)
Parameter
NameDescription
prototypeSessionEvent
Returns
TypeDescription
SessionEvent.Builder

parseDelimitedFrom(InputStream input)

public static SessionEvent parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SessionEvent
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SessionEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SessionEvent
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SessionEvent parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SessionEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SessionEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SessionEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SessionEvent parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SessionEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SessionEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SessionEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SessionEvent parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SessionEvent
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SessionEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SessionEvent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SessionEvent parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SessionEvent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SessionEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SessionEvent
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SessionEvent parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SessionEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SessionEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SessionEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SessionEvent> parser()
Returns
TypeDescription
Parser<SessionEvent>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SessionEvent getDefaultInstanceForType()
Returns
TypeDescription
SessionEvent

getDetailCase()

public SessionEvent.DetailCase getDetailCase()
Returns
TypeDescription
SessionEvent.DetailCase

getMessage()

public String getMessage()

The log message.

string message = 1;

Returns
TypeDescription
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

The log message.

string message = 1;

Returns
TypeDescription
ByteString

The bytes for message.

getParserForType()

public Parser<SessionEvent> getParserForType()
Returns
TypeDescription
Parser<SessionEvent>
Overrides

getQuery()

public SessionEvent.QueryDetail getQuery()

The execution details of the query.

.google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5;

Returns
TypeDescription
SessionEvent.QueryDetail

The query.

getQueryOrBuilder()

public SessionEvent.QueryDetailOrBuilder getQueryOrBuilder()

The execution details of the query.

.google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5;

Returns
TypeDescription
SessionEvent.QueryDetailOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSessionId()

public String getSessionId()

Unique identifier for the session.

string session_id = 3;

Returns
TypeDescription
String

The sessionId.

getSessionIdBytes()

public ByteString getSessionIdBytes()

Unique identifier for the session.

string session_id = 3;

Returns
TypeDescription
ByteString

The bytes for sessionId.

getType()

public SessionEvent.EventType getType()

The type of the event.

.google.cloud.dataplex.v1.SessionEvent.EventType type = 4;

Returns
TypeDescription
SessionEvent.EventType

The type.

getTypeValue()

public int getTypeValue()

The type of the event.

.google.cloud.dataplex.v1.SessionEvent.EventType type = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for type.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUserId()

public String getUserId()

The information about the user that created the session.

string user_id = 2;

Returns
TypeDescription
String

The userId.

getUserIdBytes()

public ByteString getUserIdBytes()

The information about the user that created the session.

string user_id = 2;

Returns
TypeDescription
ByteString

The bytes for userId.

hasQuery()

public boolean hasQuery()

The execution details of the query.

.google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5;

Returns
TypeDescription
boolean

Whether the query field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SessionEvent.Builder newBuilderForType()
Returns
TypeDescription
SessionEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SessionEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SessionEvent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SessionEvent.Builder toBuilder()
Returns
TypeDescription
SessionEvent.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException