Class SessionEvent.QueryDetail (1.44.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
Type Description
int

DURATION_FIELD_NUMBER

public static final int DURATION_FIELD_NUMBER
Field Value
Type Description
int

ENGINE_FIELD_NUMBER

public static final int ENGINE_FIELD_NUMBER
Field Value
Type Description
int

QUERY_ID_FIELD_NUMBER

public static final int QUERY_ID_FIELD_NUMBER
Field Value
Type Description
int

QUERY_TEXT_FIELD_NUMBER

public static final int QUERY_TEXT_FIELD_NUMBER
Field Value
Type Description
int

RESULT_SIZE_BYTES_FIELD_NUMBER

public static final int RESULT_SIZE_BYTES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SessionEvent.QueryDetail getDefaultInstance()
Returns
Type Description
SessionEvent.QueryDetail

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SessionEvent.QueryDetail.Builder newBuilder()
Returns
Type Description
SessionEvent.QueryDetail.Builder

newBuilder(SessionEvent.QueryDetail prototype)

public static SessionEvent.QueryDetail.Builder newBuilder(SessionEvent.QueryDetail prototype)
Parameter
Name Description
prototype SessionEvent.QueryDetail
Returns
Type Description
SessionEvent.QueryDetail.Builder

parseDelimitedFrom(InputStream input)

public static SessionEvent.QueryDetail parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SessionEvent.QueryDetail
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SessionEvent.QueryDetail parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SessionEvent.QueryDetail
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SessionEvent.QueryDetail parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SessionEvent.QueryDetail
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SessionEvent.QueryDetail parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SessionEvent.QueryDetail
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SessionEvent.QueryDetail parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SessionEvent.QueryDetail
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SessionEvent.QueryDetail parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SessionEvent.QueryDetail
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SessionEvent.QueryDetail parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SessionEvent.QueryDetail
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SessionEvent.QueryDetail parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SessionEvent.QueryDetail
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SessionEvent.QueryDetail parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SessionEvent.QueryDetail
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SessionEvent.QueryDetail parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SessionEvent.QueryDetail
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SessionEvent.QueryDetail parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SessionEvent.QueryDetail
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SessionEvent.QueryDetail parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SessionEvent.QueryDetail
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDataProcessedBytes()

public long getDataProcessedBytes()

The data processed by the query.

int64 data_processed_bytes = 6;

Returns
Type Description
long

The dataProcessedBytes.

getDefaultInstanceForType()

public SessionEvent.QueryDetail getDefaultInstanceForType()
Returns
Type Description
SessionEvent.QueryDetail

getDuration()

public Duration getDuration()

Time taken for execution of the query.

.google.protobuf.Duration duration = 4;

Returns
Type Description
Duration

The duration.

getDurationOrBuilder()

public DurationOrBuilder getDurationOrBuilder()

Time taken for execution of the query.

.google.protobuf.Duration duration = 4;

Returns
Type Description
DurationOrBuilder

getEngine()

public SessionEvent.QueryDetail.Engine getEngine()

Query Execution engine.

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

Returns
Type Description
SessionEvent.QueryDetail.Engine

The engine.

getEngineValue()

public int getEngineValue()

Query Execution engine.

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

Returns
Type Description
int

The enum numeric value on the wire for engine.

getParserForType()

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

getQueryId()

public String getQueryId()

The unique Query id identifying the query.

string query_id = 1;

Returns
Type Description
String

The queryId.

getQueryIdBytes()

public ByteString getQueryIdBytes()

The unique Query id identifying the query.

string query_id = 1;

Returns
Type Description
ByteString

The bytes for queryId.

getQueryText()

public String getQueryText()

The query text executed.

string query_text = 2;

Returns
Type Description
String

The queryText.

getQueryTextBytes()

public ByteString getQueryTextBytes()

The query text executed.

string query_text = 2;

Returns
Type Description
ByteString

The bytes for queryText.

getResultSizeBytes()

public long getResultSizeBytes()

The size of results the query produced.

int64 result_size_bytes = 5;

Returns
Type Description
long

The resultSizeBytes.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasDuration()

public boolean hasDuration()

Time taken for execution of the query.

.google.protobuf.Duration duration = 4;

Returns
Type Description
boolean

Whether the duration field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SessionEvent.QueryDetail.Builder newBuilderForType()
Returns
Type Description
SessionEvent.QueryDetail.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SessionEvent.QueryDetail.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SessionEvent.QueryDetail.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SessionEvent.QueryDetail.Builder toBuilder()
Returns
Type Description
SessionEvent.QueryDetail.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException