Package org.apache.drill.exec.proto
Class UserProtos.UserToBitHandshake.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UserProtos.UserToBitHandshake.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.UserToBitHandshake.Builder>
org.apache.drill.exec.proto.UserProtos.UserToBitHandshake.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,UserProtos.UserToBitHandshakeOrBuilder
- Enclosing class:
UserProtos.UserToBitHandshake
public static final class UserProtos.UserToBitHandshake.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.UserToBitHandshake.Builder>
implements UserProtos.UserToBitHandshakeOrBuilder
Protobuf type
exec.user.UserToBitHandshake-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()optional .exec.shared.RpcChannel channel = 1 [default = USER];optional .exec.user.RpcEndpointInfos client_infos = 8;optional .exec.shared.UserCredentials credentials = 4;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional .exec.user.UserProperties properties = 5;optional int32 rpc_version = 3;optional .exec.user.SaslSupport sasl_support = 9;optional bool support_complex_types = 6 [default = false];optional bool support_listening = 2;optional bool support_timeout = 7 [default = false];clone()optional .exec.shared.RpcChannel channel = 1 [default = USER];optional .exec.user.RpcEndpointInfos client_infos = 8;optional .exec.user.RpcEndpointInfos client_infos = 8;optional .exec.user.RpcEndpointInfos client_infos = 8;optional .exec.shared.UserCredentials credentials = 4;optional .exec.shared.UserCredentials credentials = 4;optional .exec.shared.UserCredentials credentials = 4;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptoroptional .exec.user.UserProperties properties = 5;optional .exec.user.UserProperties properties = 5;optional .exec.user.UserProperties properties = 5;intoptional int32 rpc_version = 3;optional .exec.user.SaslSupport sasl_support = 9;booleanoptional bool support_complex_types = 6 [default = false];booleanoptional bool support_listening = 2;booleanoptional bool support_timeout = 7 [default = false];booleanoptional .exec.shared.RpcChannel channel = 1 [default = USER];booleanoptional .exec.user.RpcEndpointInfos client_infos = 8;booleanoptional .exec.shared.UserCredentials credentials = 4;booleanoptional .exec.user.UserProperties properties = 5;booleanoptional int32 rpc_version = 3;booleanoptional .exec.user.SaslSupport sasl_support = 9;booleanoptional bool support_complex_types = 6 [default = false];booleanoptional bool support_listening = 2;booleanoptional bool support_timeout = 7 [default = false];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanoptional .exec.user.RpcEndpointInfos client_infos = 8;optional .exec.shared.UserCredentials credentials = 4;mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) optional .exec.user.UserProperties properties = 5;mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) optional .exec.shared.RpcChannel channel = 1 [default = USER];optional .exec.user.RpcEndpointInfos client_infos = 8;setClientInfos(UserProtos.RpcEndpointInfos.Builder builderForValue) optional .exec.user.RpcEndpointInfos client_infos = 8;optional .exec.shared.UserCredentials credentials = 4;setCredentials(UserBitShared.UserCredentials.Builder builderForValue) optional .exec.shared.UserCredentials credentials = 4;optional .exec.user.UserProperties properties = 5;setProperties(UserProtos.UserProperties.Builder builderForValue) optional .exec.user.UserProperties properties = 5;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRpcVersion(int value) optional int32 rpc_version = 3;optional .exec.user.SaslSupport sasl_support = 9;setSupportComplexTypes(boolean value) optional bool support_complex_types = 6 [default = false];setSupportListening(boolean value) optional bool support_listening = 2;setSupportTimeout(boolean value) optional bool support_timeout = 7 [default = false];setUnknownFields(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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.UserToBitHandshake.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.UserToBitHandshake.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.GeneratedMessageV3.Builder<UserProtos.UserToBitHandshake.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.UserToBitHandshake.Builder>
-
setField
public UserProtos.UserToBitHandshake.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.UserToBitHandshake.Builder>
-
clearField
public UserProtos.UserToBitHandshake.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.UserToBitHandshake.Builder>
-
clearOneof
public UserProtos.UserToBitHandshake.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.UserToBitHandshake.Builder>
-
setRepeatedField
public UserProtos.UserToBitHandshake.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.UserToBitHandshake.Builder>
-
addRepeatedField
public UserProtos.UserToBitHandshake.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.UserToBitHandshake.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UserProtos.UserToBitHandshake.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.UserToBitHandshake.Builder>
-
mergeFrom
public UserProtos.UserToBitHandshake.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<UserProtos.UserToBitHandshake.Builder>- Throws:
IOException
-
hasChannel
public boolean hasChannel()optional .exec.shared.RpcChannel channel = 1 [default = USER];- Specified by:
hasChannelin interfaceUserProtos.UserToBitHandshakeOrBuilder- Returns:
- Whether the channel field is set.
-
getChannel
optional .exec.shared.RpcChannel channel = 1 [default = USER];- Specified by:
getChannelin interfaceUserProtos.UserToBitHandshakeOrBuilder- Returns:
- The channel.
-
clearChannel
optional .exec.shared.RpcChannel channel = 1 [default = USER];- Returns:
- This builder for chaining.
-
hasSupportListening
public boolean hasSupportListening()optional bool support_listening = 2;- Specified by:
hasSupportListeningin interfaceUserProtos.UserToBitHandshakeOrBuilder- Returns:
- Whether the supportListening field is set.
-
getSupportListening
public boolean getSupportListening()optional bool support_listening = 2;- Specified by:
getSupportListeningin interfaceUserProtos.UserToBitHandshakeOrBuilder- Returns:
- The supportListening.
-
setSupportListening
optional bool support_listening = 2;- Parameters:
value- The supportListening to set.- Returns:
- This builder for chaining.
-
clearSupportListening
optional bool support_listening = 2;- Returns:
- This builder for chaining.
-
hasRpcVersion
public boolean hasRpcVersion()optional int32 rpc_version = 3;- Specified by:
hasRpcVersionin interfaceUserProtos.UserToBitHandshakeOrBuilder- Returns:
- Whether the rpcVersion field is set.
-
getRpcVersion
public int getRpcVersion()optional int32 rpc_version = 3;- Specified by:
getRpcVersionin interfaceUserProtos.UserToBitHandshakeOrBuilder- Returns:
- The rpcVersion.
-
setRpcVersion
optional int32 rpc_version = 3;- Parameters:
value- The rpcVersion to set.- Returns:
- This builder for chaining.
-
clearRpcVersion
optional int32 rpc_version = 3;- Returns:
- This builder for chaining.
-
hasCredentials
public boolean hasCredentials()optional .exec.shared.UserCredentials credentials = 4;- Specified by:
hasCredentialsin interfaceUserProtos.UserToBitHandshakeOrBuilder- Returns:
- Whether the credentials field is set.
-
getCredentials
optional .exec.shared.UserCredentials credentials = 4;- Specified by:
getCredentialsin interfaceUserProtos.UserToBitHandshakeOrBuilder- Returns:
- The credentials.
-
clearCredentials
optional .exec.shared.UserCredentials credentials = 4; -
getCredentialsBuilder
optional .exec.shared.UserCredentials credentials = 4; -
getCredentialsOrBuilder
optional .exec.shared.UserCredentials credentials = 4;- Specified by:
getCredentialsOrBuilderin interfaceUserProtos.UserToBitHandshakeOrBuilder
-
hasProperties
public boolean hasProperties()optional .exec.user.UserProperties properties = 5;- Specified by:
hasPropertiesin interfaceUserProtos.UserToBitHandshakeOrBuilder- Returns:
- Whether the properties field is set.
-
getProperties
optional .exec.user.UserProperties properties = 5;- Specified by:
getPropertiesin interfaceUserProtos.UserToBitHandshakeOrBuilder- Returns:
- The properties.
-
setProperties
optional .exec.user.UserProperties properties = 5; -
setProperties
public UserProtos.UserToBitHandshake.Builder setProperties(UserProtos.UserProperties.Builder builderForValue) optional .exec.user.UserProperties properties = 5; -
mergeProperties
optional .exec.user.UserProperties properties = 5; -
clearProperties
optional .exec.user.UserProperties properties = 5; -
getPropertiesBuilder
optional .exec.user.UserProperties properties = 5; -
getPropertiesOrBuilder
optional .exec.user.UserProperties properties = 5;- Specified by:
getPropertiesOrBuilderin interfaceUserProtos.UserToBitHandshakeOrBuilder
-
hasSupportComplexTypes
public boolean hasSupportComplexTypes()optional bool support_complex_types = 6 [default = false];- Specified by:
hasSupportComplexTypesin interfaceUserProtos.UserToBitHandshakeOrBuilder- Returns:
- Whether the supportComplexTypes field is set.
-
getSupportComplexTypes
public boolean getSupportComplexTypes()optional bool support_complex_types = 6 [default = false];- Specified by:
getSupportComplexTypesin interfaceUserProtos.UserToBitHandshakeOrBuilder- Returns:
- The supportComplexTypes.
-
setSupportComplexTypes
optional bool support_complex_types = 6 [default = false];- Parameters:
value- The supportComplexTypes to set.- Returns:
- This builder for chaining.
-
clearSupportComplexTypes
optional bool support_complex_types = 6 [default = false];- Returns:
- This builder for chaining.
-
hasSupportTimeout
public boolean hasSupportTimeout()optional bool support_timeout = 7 [default = false];- Specified by:
hasSupportTimeoutin interfaceUserProtos.UserToBitHandshakeOrBuilder- Returns:
- Whether the supportTimeout field is set.
-
getSupportTimeout
public boolean getSupportTimeout()optional bool support_timeout = 7 [default = false];- Specified by:
getSupportTimeoutin interfaceUserProtos.UserToBitHandshakeOrBuilder- Returns:
- The supportTimeout.
-
setSupportTimeout
optional bool support_timeout = 7 [default = false];- Parameters:
value- The supportTimeout to set.- Returns:
- This builder for chaining.
-
clearSupportTimeout
optional bool support_timeout = 7 [default = false];- Returns:
- This builder for chaining.
-
hasClientInfos
public boolean hasClientInfos()optional .exec.user.RpcEndpointInfos client_infos = 8;- Specified by:
hasClientInfosin interfaceUserProtos.UserToBitHandshakeOrBuilder- Returns:
- Whether the clientInfos field is set.
-
getClientInfos
optional .exec.user.RpcEndpointInfos client_infos = 8;- Specified by:
getClientInfosin interfaceUserProtos.UserToBitHandshakeOrBuilder- Returns:
- The clientInfos.
-
setClientInfos
optional .exec.user.RpcEndpointInfos client_infos = 8; -
setClientInfos
public UserProtos.UserToBitHandshake.Builder setClientInfos(UserProtos.RpcEndpointInfos.Builder builderForValue) optional .exec.user.RpcEndpointInfos client_infos = 8; -
mergeClientInfos
optional .exec.user.RpcEndpointInfos client_infos = 8; -
clearClientInfos
optional .exec.user.RpcEndpointInfos client_infos = 8; -
getClientInfosBuilder
optional .exec.user.RpcEndpointInfos client_infos = 8; -
getClientInfosOrBuilder
optional .exec.user.RpcEndpointInfos client_infos = 8;- Specified by:
getClientInfosOrBuilderin interfaceUserProtos.UserToBitHandshakeOrBuilder
-
hasSaslSupport
public boolean hasSaslSupport()optional .exec.user.SaslSupport sasl_support = 9;- Specified by:
hasSaslSupportin interfaceUserProtos.UserToBitHandshakeOrBuilder- Returns:
- Whether the saslSupport field is set.
-
getSaslSupport
optional .exec.user.SaslSupport sasl_support = 9;- Specified by:
getSaslSupportin interfaceUserProtos.UserToBitHandshakeOrBuilder- Returns:
- The saslSupport.
-
setSaslSupport
optional .exec.user.SaslSupport sasl_support = 9;- Parameters:
value- The saslSupport to set.- Returns:
- This builder for chaining.
-
clearSaslSupport
optional .exec.user.SaslSupport sasl_support = 9;- Returns:
- This builder for chaining.
-
setUnknownFields
public final UserProtos.UserToBitHandshake.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.UserToBitHandshake.Builder>
-
mergeUnknownFields
public final UserProtos.UserToBitHandshake.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.UserToBitHandshake.Builder>
-