Package com.google.cloud.dataplex.v1
Class SessionEvent.QueryDetail.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SessionEvent.QueryDetail.Builder>
com.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Builder
- All Implemented Interfaces:
SessionEvent.QueryDetailOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SessionEvent.QueryDetail
public static final class SessionEvent.QueryDetail.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SessionEvent.QueryDetail.Builder>
implements SessionEvent.QueryDetailOrBuilder
Execution details of the query.Protobuf type
google.cloud.dataplex.v1.SessionEvent.QueryDetail-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The data processed by the query.Time taken for execution of the query.Query Execution engine.The unique Query id identifying the query.The query text executed.The size of results the query produced.longThe data processed by the query.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationTime taken for execution of the query.com.google.protobuf.Duration.BuilderTime taken for execution of the query.com.google.protobuf.DurationOrBuilderTime taken for execution of the query.Query Execution engine.intQuery Execution engine.The unique Query id identifying the query.com.google.protobuf.ByteStringThe unique Query id identifying the query.The query text executed.com.google.protobuf.ByteStringThe query text executed.longThe size of results the query produced.booleanTime taken for execution of the query.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeDuration(com.google.protobuf.Duration value) Time taken for execution of the query.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDataProcessedBytes(long value) The data processed by the query.setDuration(com.google.protobuf.Duration value) Time taken for execution of the query.setDuration(com.google.protobuf.Duration.Builder builderForValue) Time taken for execution of the query.Query Execution engine.setEngineValue(int value) Query Execution engine.setQueryId(String value) The unique Query id identifying the query.setQueryIdBytes(com.google.protobuf.ByteString value) The unique Query id identifying the query.setQueryText(String value) The query text executed.setQueryTextBytes(com.google.protobuf.ByteString value) The query text executed.setResultSizeBytes(long value) The size of results the query produced.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SessionEvent.QueryDetail.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SessionEvent.QueryDetail.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SessionEvent.QueryDetail.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SessionEvent.QueryDetail.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SessionEvent.QueryDetail.Builder>
-
mergeFrom
public SessionEvent.QueryDetail.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SessionEvent.QueryDetail.Builder>- Throws:
IOException
-
getQueryId
The unique Query id identifying the query.
string query_id = 1;- Specified by:
getQueryIdin interfaceSessionEvent.QueryDetailOrBuilder- Returns:
- The queryId.
-
getQueryIdBytes
public com.google.protobuf.ByteString getQueryIdBytes()The unique Query id identifying the query.
string query_id = 1;- Specified by:
getQueryIdBytesin interfaceSessionEvent.QueryDetailOrBuilder- Returns:
- The bytes for queryId.
-
setQueryId
The unique Query id identifying the query.
string query_id = 1;- Parameters:
value- The queryId to set.- Returns:
- This builder for chaining.
-
clearQueryId
The unique Query id identifying the query.
string query_id = 1;- Returns:
- This builder for chaining.
-
setQueryIdBytes
The unique Query id identifying the query.
string query_id = 1;- Parameters:
value- The bytes for queryId to set.- Returns:
- This builder for chaining.
-
getQueryText
The query text executed.
string query_text = 2;- Specified by:
getQueryTextin interfaceSessionEvent.QueryDetailOrBuilder- Returns:
- The queryText.
-
getQueryTextBytes
public com.google.protobuf.ByteString getQueryTextBytes()The query text executed.
string query_text = 2;- Specified by:
getQueryTextBytesin interfaceSessionEvent.QueryDetailOrBuilder- Returns:
- The bytes for queryText.
-
setQueryText
The query text executed.
string query_text = 2;- Parameters:
value- The queryText to set.- Returns:
- This builder for chaining.
-
clearQueryText
The query text executed.
string query_text = 2;- Returns:
- This builder for chaining.
-
setQueryTextBytes
The query text executed.
string query_text = 2;- Parameters:
value- The bytes for queryText to set.- Returns:
- This builder for chaining.
-
getEngineValue
public int getEngineValue()Query Execution engine.
.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine engine = 3;- Specified by:
getEngineValuein interfaceSessionEvent.QueryDetailOrBuilder- Returns:
- The enum numeric value on the wire for engine.
-
setEngineValue
Query Execution engine.
.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine engine = 3;- Parameters:
value- The enum numeric value on the wire for engine to set.- Returns:
- This builder for chaining.
-
getEngine
Query Execution engine.
.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine engine = 3;- Specified by:
getEnginein interfaceSessionEvent.QueryDetailOrBuilder- Returns:
- The engine.
-
setEngine
Query Execution engine.
.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine engine = 3;- Parameters:
value- The engine to set.- Returns:
- This builder for chaining.
-
clearEngine
Query Execution engine.
.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine engine = 3;- Returns:
- This builder for chaining.
-
hasDuration
public boolean hasDuration()Time taken for execution of the query.
.google.protobuf.Duration duration = 4;- Specified by:
hasDurationin interfaceSessionEvent.QueryDetailOrBuilder- Returns:
- Whether the duration field is set.
-
getDuration
public com.google.protobuf.Duration getDuration()Time taken for execution of the query.
.google.protobuf.Duration duration = 4;- Specified by:
getDurationin interfaceSessionEvent.QueryDetailOrBuilder- Returns:
- The duration.
-
setDuration
Time taken for execution of the query.
.google.protobuf.Duration duration = 4; -
setDuration
public SessionEvent.QueryDetail.Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) Time taken for execution of the query.
.google.protobuf.Duration duration = 4; -
mergeDuration
Time taken for execution of the query.
.google.protobuf.Duration duration = 4; -
clearDuration
Time taken for execution of the query.
.google.protobuf.Duration duration = 4; -
getDurationBuilder
public com.google.protobuf.Duration.Builder getDurationBuilder()Time taken for execution of the query.
.google.protobuf.Duration duration = 4; -
getDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()Time taken for execution of the query.
.google.protobuf.Duration duration = 4;- Specified by:
getDurationOrBuilderin interfaceSessionEvent.QueryDetailOrBuilder
-
getResultSizeBytes
public long getResultSizeBytes()The size of results the query produced.
int64 result_size_bytes = 5;- Specified by:
getResultSizeBytesin interfaceSessionEvent.QueryDetailOrBuilder- Returns:
- The resultSizeBytes.
-
setResultSizeBytes
The size of results the query produced.
int64 result_size_bytes = 5;- Parameters:
value- The resultSizeBytes to set.- Returns:
- This builder for chaining.
-
clearResultSizeBytes
The size of results the query produced.
int64 result_size_bytes = 5;- Returns:
- This builder for chaining.
-
getDataProcessedBytes
public long getDataProcessedBytes()The data processed by the query.
int64 data_processed_bytes = 6;- Specified by:
getDataProcessedBytesin interfaceSessionEvent.QueryDetailOrBuilder- Returns:
- The dataProcessedBytes.
-
setDataProcessedBytes
The data processed by the query.
int64 data_processed_bytes = 6;- Parameters:
value- The dataProcessedBytes to set.- Returns:
- This builder for chaining.
-
clearDataProcessedBytes
The data processed by the query.
int64 data_processed_bytes = 6;- Returns:
- This builder for chaining.
-