Package org.apache.drill.exec.proto
Class BitControl.QueryContextInformation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<BitControl.QueryContextInformation.Builder>
org.apache.drill.exec.proto.BitControl.QueryContextInformation.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,BitControl.QueryContextInformationOrBuilder
- Enclosing class:
- BitControl.QueryContextInformation
public static final class BitControl.QueryContextInformation.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<BitControl.QueryContextInformation.Builder>
implements BitControl.QueryContextInformationOrBuilder
Protobuf type
exec.bit.control.QueryContextInformation
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
default schema in current session when the query is submittedclearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) start time of query in millisecondscurrent session idtimezone of the Drillbit where user is connectedclone()
default schema in current session when the query is submittedcom.google.protobuf.ByteString
default schema in current session when the query is submittedstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
start time of query in millisecondscurrent session idcom.google.protobuf.ByteString
current session idint
timezone of the Drillbit where user is connectedboolean
default schema in current session when the query is submittedboolean
start time of query in millisecondsboolean
current session idboolean
timezone of the Drillbit where user is connectedprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setDefaultSchemaName
(String value) default schema in current session when the query is submittedsetDefaultSchemaNameBytes
(com.google.protobuf.ByteString value) default schema in current session when the query is submittedsetQueryStartTime
(long value) start time of query in millisecondssetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSessionId
(String value) current session idsetSessionIdBytes
(com.google.protobuf.ByteString value) current session idsetTimeZone
(int value) timezone of the Drillbit where user is connectedsetUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitControl.QueryContextInformation.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitControl.QueryContextInformation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitControl.QueryContextInformation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitControl.QueryContextInformation.Builder>
-
setField
public BitControl.QueryContextInformation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitControl.QueryContextInformation.Builder>
-
clearField
public BitControl.QueryContextInformation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitControl.QueryContextInformation.Builder>
-
clearOneof
public BitControl.QueryContextInformation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitControl.QueryContextInformation.Builder>
-
setRepeatedField
public BitControl.QueryContextInformation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitControl.QueryContextInformation.Builder>
-
addRepeatedField
public BitControl.QueryContextInformation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitControl.QueryContextInformation.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BitControl.QueryContextInformation.Builder>
-
mergeFrom
public BitControl.QueryContextInformation.Builder mergeFrom(BitControl.QueryContextInformation other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitControl.QueryContextInformation.Builder>
-
mergeFrom
public BitControl.QueryContextInformation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BitControl.QueryContextInformation.Builder>
- Throws:
IOException
-
hasQueryStartTime
public boolean hasQueryStartTime()start time of query in milliseconds
optional int64 query_start_time = 1;
- Specified by:
hasQueryStartTime
in interfaceBitControl.QueryContextInformationOrBuilder
- Returns:
- Whether the queryStartTime field is set.
-
getQueryStartTime
public long getQueryStartTime()start time of query in milliseconds
optional int64 query_start_time = 1;
- Specified by:
getQueryStartTime
in interfaceBitControl.QueryContextInformationOrBuilder
- Returns:
- The queryStartTime.
-
setQueryStartTime
start time of query in milliseconds
optional int64 query_start_time = 1;
- Parameters:
value
- The queryStartTime to set.- Returns:
- This builder for chaining.
-
clearQueryStartTime
start time of query in milliseconds
optional int64 query_start_time = 1;
- Returns:
- This builder for chaining.
-
hasTimeZone
public boolean hasTimeZone()timezone of the Drillbit where user is connected
optional int32 time_zone = 2;
- Specified by:
hasTimeZone
in interfaceBitControl.QueryContextInformationOrBuilder
- Returns:
- Whether the timeZone field is set.
-
getTimeZone
public int getTimeZone()timezone of the Drillbit where user is connected
optional int32 time_zone = 2;
- Specified by:
getTimeZone
in interfaceBitControl.QueryContextInformationOrBuilder
- Returns:
- The timeZone.
-
setTimeZone
timezone of the Drillbit where user is connected
optional int32 time_zone = 2;
- Parameters:
value
- The timeZone to set.- Returns:
- This builder for chaining.
-
clearTimeZone
timezone of the Drillbit where user is connected
optional int32 time_zone = 2;
- Returns:
- This builder for chaining.
-
hasDefaultSchemaName
public boolean hasDefaultSchemaName()default schema in current session when the query is submitted
optional string default_schema_name = 3;
- Specified by:
hasDefaultSchemaName
in interfaceBitControl.QueryContextInformationOrBuilder
- Returns:
- Whether the defaultSchemaName field is set.
-
getDefaultSchemaName
default schema in current session when the query is submitted
optional string default_schema_name = 3;
- Specified by:
getDefaultSchemaName
in interfaceBitControl.QueryContextInformationOrBuilder
- Returns:
- The defaultSchemaName.
-
getDefaultSchemaNameBytes
public com.google.protobuf.ByteString getDefaultSchemaNameBytes()default schema in current session when the query is submitted
optional string default_schema_name = 3;
- Specified by:
getDefaultSchemaNameBytes
in interfaceBitControl.QueryContextInformationOrBuilder
- Returns:
- The bytes for defaultSchemaName.
-
setDefaultSchemaName
default schema in current session when the query is submitted
optional string default_schema_name = 3;
- Parameters:
value
- The defaultSchemaName to set.- Returns:
- This builder for chaining.
-
clearDefaultSchemaName
default schema in current session when the query is submitted
optional string default_schema_name = 3;
- Returns:
- This builder for chaining.
-
setDefaultSchemaNameBytes
public BitControl.QueryContextInformation.Builder setDefaultSchemaNameBytes(com.google.protobuf.ByteString value) default schema in current session when the query is submitted
optional string default_schema_name = 3;
- Parameters:
value
- The bytes for defaultSchemaName to set.- Returns:
- This builder for chaining.
-
hasSessionId
public boolean hasSessionId()current session id
optional string session_id = 4;
- Specified by:
hasSessionId
in interfaceBitControl.QueryContextInformationOrBuilder
- Returns:
- Whether the sessionId field is set.
-
getSessionId
current session id
optional string session_id = 4;
- Specified by:
getSessionId
in interfaceBitControl.QueryContextInformationOrBuilder
- Returns:
- The sessionId.
-
getSessionIdBytes
public com.google.protobuf.ByteString getSessionIdBytes()current session id
optional string session_id = 4;
- Specified by:
getSessionIdBytes
in interfaceBitControl.QueryContextInformationOrBuilder
- Returns:
- The bytes for sessionId.
-
setSessionId
current session id
optional string session_id = 4;
- Parameters:
value
- The sessionId to set.- Returns:
- This builder for chaining.
-
clearSessionId
current session id
optional string session_id = 4;
- Returns:
- This builder for chaining.
-
setSessionIdBytes
public BitControl.QueryContextInformation.Builder setSessionIdBytes(com.google.protobuf.ByteString value) current session id
optional string session_id = 4;
- Parameters:
value
- The bytes for sessionId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final BitControl.QueryContextInformation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitControl.QueryContextInformation.Builder>
-
mergeUnknownFields
public final BitControl.QueryContextInformation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitControl.QueryContextInformation.Builder>
-