Class SessionEvent.QueryDetail (1.29.0)

public static final class SessionEvent.QueryDetail extends GeneratedMessageV3 implements SessionEvent.QueryDetailOrBuilder

Execution details of the query.

Protobuf type google.cloud.dataplex.v1.SessionEvent.QueryDetail

Static Fields

DATA_PROCESSED_BYTES_FIELD_NUMBER

public static final int DATA_PROCESSED_BYTES_FIELD_NUMBER
Field Value
TypeDescription
int

DURATION_FIELD_NUMBER

public static final int DURATION_FIELD_NUMBER
Field Value
TypeDescription
int

ENGINE_FIELD_NUMBER

public static final int ENGINE_FIELD_NUMBER
Field Value
TypeDescription
int

QUERY_ID_FIELD_NUMBER

public static final int QUERY_ID_FIELD_NUMBER
Field Value
TypeDescription
int

QUERY_TEXT_FIELD_NUMBER

public static final int QUERY_TEXT_FIELD_NUMBER
Field Value
TypeDescription
int

RESULT_SIZE_BYTES_FIELD_NUMBER

public static final int RESULT_SIZE_BYTES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SessionEvent.QueryDetail getDefaultInstance()
Returns
TypeDescription
SessionEvent.QueryDetail

getDescriptor()

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

newBuilder()

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

newBuilder(SessionEvent.QueryDetail prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDataProcessedBytes()

public long getDataProcessedBytes()

The data processed by the query.

int64 data_processed_bytes = 6;

Returns
TypeDescription
long

The dataProcessedBytes.

getDefaultInstanceForType()

public SessionEvent.QueryDetail getDefaultInstanceForType()
Returns
TypeDescription
SessionEvent.QueryDetail

getDuration()

public Duration getDuration()

Time taken for execution of the query.

.google.protobuf.Duration duration = 4;

Returns
TypeDescription
Duration

The duration.

getDurationOrBuilder()

public DurationOrBuilder getDurationOrBuilder()

Time taken for execution of the query.

.google.protobuf.Duration duration = 4;

Returns
TypeDescription
DurationOrBuilder

getEngine()

public SessionEvent.QueryDetail.Engine getEngine()

Query Execution engine.

.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine engine = 3;

Returns
TypeDescription
SessionEvent.QueryDetail.Engine

The engine.

getEngineValue()

public int getEngineValue()

Query Execution engine.

.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine engine = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for engine.

getParserForType()

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

getQueryId()

public String getQueryId()

The unique Query id identifying the query.

string query_id = 1;

Returns
TypeDescription
String

The queryId.

getQueryIdBytes()

public ByteString getQueryIdBytes()

The unique Query id identifying the query.

string query_id = 1;

Returns
TypeDescription
ByteString

The bytes for queryId.

getQueryText()

public String getQueryText()

The query text executed.

string query_text = 2;

Returns
TypeDescription
String

The queryText.

getQueryTextBytes()

public ByteString getQueryTextBytes()

The query text executed.

string query_text = 2;

Returns
TypeDescription
ByteString

The bytes for queryText.

getResultSizeBytes()

public long getResultSizeBytes()

The size of results the query produced.

int64 result_size_bytes = 5;

Returns
TypeDescription
long

The resultSizeBytes.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasDuration()

public boolean hasDuration()

Time taken for execution of the query.

.google.protobuf.Duration duration = 4;

Returns
TypeDescription
boolean

Whether the duration 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.QueryDetail.Builder newBuilderForType()
Returns
TypeDescription
SessionEvent.QueryDetail.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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