Class SessionEvent.QueryDetail.Builder (1.52.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SessionEvent.QueryDetail.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SessionEvent.QueryDetail.Builder
Overrides

build()

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

buildPartial()

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

clear()

public SessionEvent.QueryDetail.Builder clear()
Returns
Type Description
SessionEvent.QueryDetail.Builder
Overrides

clearDataProcessedBytes()

public SessionEvent.QueryDetail.Builder clearDataProcessedBytes()

The data processed by the query.

int64 data_processed_bytes = 6;

Returns
Type Description
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
Type Description
SessionEvent.QueryDetail.Builder

clearEngine()

public SessionEvent.QueryDetail.Builder clearEngine()

Query Execution engine.

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

Returns
Type Description
SessionEvent.QueryDetail.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SessionEvent.QueryDetail.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SessionEvent.QueryDetail.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SessionEvent.QueryDetail.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SessionEvent.QueryDetail.Builder
Overrides

clearQueryId()

public SessionEvent.QueryDetail.Builder clearQueryId()

The unique Query id identifying the query.

string query_id = 1;

Returns
Type Description
SessionEvent.QueryDetail.Builder

This builder for chaining.

clearQueryText()

public SessionEvent.QueryDetail.Builder clearQueryText()

The query text executed.

string query_text = 2;

Returns
Type Description
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
Type Description
SessionEvent.QueryDetail.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDuration()

public Duration getDuration()

Time taken for execution of the query.

.google.protobuf.Duration duration = 4;

Returns
Type Description
Duration

The duration.

getDurationBuilder()

public Duration.Builder getDurationBuilder()

Time taken for execution of the query.

.google.protobuf.Duration duration = 4;

Returns
Type Description
Builder

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.

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value Duration
Returns
Type Description
SessionEvent.QueryDetail.Builder

mergeFrom(SessionEvent.QueryDetail other)

public SessionEvent.QueryDetail.Builder mergeFrom(SessionEvent.QueryDetail other)
Parameter
Name Description
other SessionEvent.QueryDetail
Returns
Type Description
SessionEvent.QueryDetail.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SessionEvent.QueryDetail.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SessionEvent.QueryDetail.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SessionEvent.QueryDetail.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SessionEvent.QueryDetail.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SessionEvent.QueryDetail.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value long

The dataProcessedBytes to set.

Returns
Type Description
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
Name Description
value Duration
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
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
Name Description
value SessionEvent.QueryDetail.Engine

The engine to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
SessionEvent.QueryDetail.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SessionEvent.QueryDetail.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The queryId to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for queryId to set.

Returns
Type Description
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
Name Description
value String

The queryText to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for queryText to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value long

The resultSizeBytes to set.

Returns
Type Description
SessionEvent.QueryDetail.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SessionEvent.QueryDetail.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SessionEvent.QueryDetail.Builder
Overrides