Class SessionEvent.QueryDetail.Builder (1.1.1)

public static final class SessionEvent.QueryDetail.Builder extends GeneratedMessageV3.Builder<SessionEvent.QueryDetail.Builder> implements SessionEvent.QueryDetailOrBuilder

Execution details of the query.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SessionEvent.QueryDetail.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SessionEvent.QueryDetail.Builder
Overrides

build()

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

buildPartial()

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

clear()

public SessionEvent.QueryDetail.Builder clear()
Returns
TypeDescription
SessionEvent.QueryDetail.Builder
Overrides

clearDataProcessedBytes()

public SessionEvent.QueryDetail.Builder clearDataProcessedBytes()

The data processed by the query.

int64 data_processed_bytes = 6;

Returns
TypeDescription
SessionEvent.QueryDetail.Builder

This builder for chaining.

clearDuration()

public SessionEvent.QueryDetail.Builder clearDuration()

Time taken for execution of the query.

.google.protobuf.Duration duration = 4;

Returns
TypeDescription
SessionEvent.QueryDetail.Builder

clearEngine()

public SessionEvent.QueryDetail.Builder clearEngine()

Query Execution engine.

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

Returns
TypeDescription
SessionEvent.QueryDetail.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SessionEvent.QueryDetail.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SessionEvent.QueryDetail.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SessionEvent.QueryDetail.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SessionEvent.QueryDetail.Builder
Overrides

clearQueryId()

public SessionEvent.QueryDetail.Builder clearQueryId()

The unique Query id identifying the query.

string query_id = 1;

Returns
TypeDescription
SessionEvent.QueryDetail.Builder

This builder for chaining.

clearQueryText()

public SessionEvent.QueryDetail.Builder clearQueryText()

The query text executed.

string query_text = 2;

Returns
TypeDescription
SessionEvent.QueryDetail.Builder

This builder for chaining.

clearResultSizeBytes()

public SessionEvent.QueryDetail.Builder clearResultSizeBytes()

The size of results the query produced.

int64 result_size_bytes = 5;

Returns
TypeDescription
SessionEvent.QueryDetail.Builder

This builder for chaining.

clone()

public SessionEvent.QueryDetail.Builder clone()
Returns
TypeDescription
SessionEvent.QueryDetail.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDuration()

public Duration getDuration()

Time taken for execution of the query.

.google.protobuf.Duration duration = 4;

Returns
TypeDescription
Duration

The duration.

getDurationBuilder()

public Duration.Builder getDurationBuilder()

Time taken for execution of the query.

.google.protobuf.Duration duration = 4;

Returns
TypeDescription
Builder

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.

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDuration(Duration value)

public SessionEvent.QueryDetail.Builder mergeDuration(Duration value)

Time taken for execution of the query.

.google.protobuf.Duration duration = 4;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
SessionEvent.QueryDetail.Builder

mergeFrom(SessionEvent.QueryDetail other)

public SessionEvent.QueryDetail.Builder mergeFrom(SessionEvent.QueryDetail other)
Parameter
NameDescription
otherSessionEvent.QueryDetail
Returns
TypeDescription
SessionEvent.QueryDetail.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SessionEvent.QueryDetail.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SessionEvent.QueryDetail.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SessionEvent.QueryDetail.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SessionEvent.QueryDetail.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SessionEvent.QueryDetail.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SessionEvent.QueryDetail.Builder
Overrides

setDataProcessedBytes(long value)

public SessionEvent.QueryDetail.Builder setDataProcessedBytes(long value)

The data processed by the query.

int64 data_processed_bytes = 6;

Parameter
NameDescription
valuelong

The dataProcessedBytes to set.

Returns
TypeDescription
SessionEvent.QueryDetail.Builder

This builder for chaining.

setDuration(Duration value)

public SessionEvent.QueryDetail.Builder setDuration(Duration value)

Time taken for execution of the query.

.google.protobuf.Duration duration = 4;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
SessionEvent.QueryDetail.Builder

setDuration(Duration.Builder builderForValue)

public SessionEvent.QueryDetail.Builder setDuration(Duration.Builder builderForValue)

Time taken for execution of the query.

.google.protobuf.Duration duration = 4;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
SessionEvent.QueryDetail.Builder

setEngine(SessionEvent.QueryDetail.Engine value)

public SessionEvent.QueryDetail.Builder setEngine(SessionEvent.QueryDetail.Engine value)

Query Execution engine.

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

Parameter
NameDescription
valueSessionEvent.QueryDetail.Engine

The engine to set.

Returns
TypeDescription
SessionEvent.QueryDetail.Builder

This builder for chaining.

setEngineValue(int value)

public SessionEvent.QueryDetail.Builder setEngineValue(int value)

Query Execution engine.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for engine to set.

Returns
TypeDescription
SessionEvent.QueryDetail.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SessionEvent.QueryDetail.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SessionEvent.QueryDetail.Builder
Overrides

setQueryId(String value)

public SessionEvent.QueryDetail.Builder setQueryId(String value)

The unique Query id identifying the query.

string query_id = 1;

Parameter
NameDescription
valueString

The queryId to set.

Returns
TypeDescription
SessionEvent.QueryDetail.Builder

This builder for chaining.

setQueryIdBytes(ByteString value)

public SessionEvent.QueryDetail.Builder setQueryIdBytes(ByteString value)

The unique Query id identifying the query.

string query_id = 1;

Parameter
NameDescription
valueByteString

The bytes for queryId to set.

Returns
TypeDescription
SessionEvent.QueryDetail.Builder

This builder for chaining.

setQueryText(String value)

public SessionEvent.QueryDetail.Builder setQueryText(String value)

The query text executed.

string query_text = 2;

Parameter
NameDescription
valueString

The queryText to set.

Returns
TypeDescription
SessionEvent.QueryDetail.Builder

This builder for chaining.

setQueryTextBytes(ByteString value)

public SessionEvent.QueryDetail.Builder setQueryTextBytes(ByteString value)

The query text executed.

string query_text = 2;

Parameter
NameDescription
valueByteString

The bytes for queryText to set.

Returns
TypeDescription
SessionEvent.QueryDetail.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SessionEvent.QueryDetail.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SessionEvent.QueryDetail.Builder
Overrides

setResultSizeBytes(long value)

public SessionEvent.QueryDetail.Builder setResultSizeBytes(long value)

The size of results the query produced.

int64 result_size_bytes = 5;

Parameter
NameDescription
valuelong

The resultSizeBytes to set.

Returns
TypeDescription
SessionEvent.QueryDetail.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SessionEvent.QueryDetail.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SessionEvent.QueryDetail.Builder
Overrides