Package org.apache.drill.exec.proto
Class UserProtos.UserToBitHandshake.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
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.Descriptor
com.google.protobuf.Descriptors.Descriptor
optional .exec.user.UserProperties properties = 5;
optional .exec.user.UserProperties properties = 5;
optional .exec.user.UserProperties properties = 5;
int
optional int32 rpc_version = 3;
optional .exec.user.SaslSupport sasl_support = 9;
boolean
optional bool support_complex_types = 6 [default = false];
boolean
optional bool support_listening = 2;
boolean
optional bool support_timeout = 7 [default = false];
boolean
optional .exec.shared.RpcChannel channel = 1 [default = USER];
boolean
optional .exec.user.RpcEndpointInfos client_infos = 8;
boolean
optional .exec.shared.UserCredentials credentials = 4;
boolean
optional .exec.user.UserProperties properties = 5;
boolean
optional int32 rpc_version = 3;
boolean
optional .exec.user.SaslSupport sasl_support = 9;
boolean
optional bool support_complex_types = 6 [default = false];
boolean
optional bool support_listening = 2;
boolean
optional bool support_timeout = 7 [default = false];
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
optional .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, 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<UserProtos.UserToBitHandshake.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<UserProtos.UserToBitHandshake.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<UserProtos.UserToBitHandshake.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<UserProtos.UserToBitHandshake.Builder>
-
setField
public UserProtos.UserToBitHandshake.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<UserProtos.UserToBitHandshake.Builder>
-
clearField
public UserProtos.UserToBitHandshake.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<UserProtos.UserToBitHandshake.Builder>
-
clearOneof
public UserProtos.UserToBitHandshake.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<UserProtos.UserToBitHandshake.Builder>
-
setRepeatedField
public UserProtos.UserToBitHandshake.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<UserProtos.UserToBitHandshake.Builder>
-
addRepeatedField
public UserProtos.UserToBitHandshake.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<UserProtos.UserToBitHandshake.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UserProtos.UserToBitHandshake.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UserProtos.UserToBitHandshake.Builder>
- Throws:
IOException
-
hasChannel
public boolean hasChannel()optional .exec.shared.RpcChannel channel = 1 [default = USER];
- Specified by:
hasChannel
in interfaceUserProtos.UserToBitHandshakeOrBuilder
- Returns:
- Whether the channel field is set.
-
getChannel
optional .exec.shared.RpcChannel channel = 1 [default = USER];
- Specified by:
getChannel
in 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:
hasSupportListening
in interfaceUserProtos.UserToBitHandshakeOrBuilder
- Returns:
- Whether the supportListening field is set.
-
getSupportListening
public boolean getSupportListening()optional bool support_listening = 2;
- Specified by:
getSupportListening
in 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:
hasRpcVersion
in interfaceUserProtos.UserToBitHandshakeOrBuilder
- Returns:
- Whether the rpcVersion field is set.
-
getRpcVersion
public int getRpcVersion()optional int32 rpc_version = 3;
- Specified by:
getRpcVersion
in 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:
hasCredentials
in interfaceUserProtos.UserToBitHandshakeOrBuilder
- Returns:
- Whether the credentials field is set.
-
getCredentials
optional .exec.shared.UserCredentials credentials = 4;
- Specified by:
getCredentials
in 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:
getCredentialsOrBuilder
in interfaceUserProtos.UserToBitHandshakeOrBuilder
-
hasProperties
public boolean hasProperties()optional .exec.user.UserProperties properties = 5;
- Specified by:
hasProperties
in interfaceUserProtos.UserToBitHandshakeOrBuilder
- Returns:
- Whether the properties field is set.
-
getProperties
optional .exec.user.UserProperties properties = 5;
- Specified by:
getProperties
in 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:
getPropertiesOrBuilder
in interfaceUserProtos.UserToBitHandshakeOrBuilder
-
hasSupportComplexTypes
public boolean hasSupportComplexTypes()optional bool support_complex_types = 6 [default = false];
- Specified by:
hasSupportComplexTypes
in interfaceUserProtos.UserToBitHandshakeOrBuilder
- Returns:
- Whether the supportComplexTypes field is set.
-
getSupportComplexTypes
public boolean getSupportComplexTypes()optional bool support_complex_types = 6 [default = false];
- Specified by:
getSupportComplexTypes
in 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:
hasSupportTimeout
in interfaceUserProtos.UserToBitHandshakeOrBuilder
- Returns:
- Whether the supportTimeout field is set.
-
getSupportTimeout
public boolean getSupportTimeout()optional bool support_timeout = 7 [default = false];
- Specified by:
getSupportTimeout
in 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:
hasClientInfos
in interfaceUserProtos.UserToBitHandshakeOrBuilder
- Returns:
- Whether the clientInfos field is set.
-
getClientInfos
optional .exec.user.RpcEndpointInfos client_infos = 8;
- Specified by:
getClientInfos
in 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:
getClientInfosOrBuilder
in interfaceUserProtos.UserToBitHandshakeOrBuilder
-
hasSaslSupport
public boolean hasSaslSupport()optional .exec.user.SaslSupport sasl_support = 9;
- Specified by:
hasSaslSupport
in interfaceUserProtos.UserToBitHandshakeOrBuilder
- Returns:
- Whether the saslSupport field is set.
-
getSaslSupport
optional .exec.user.SaslSupport sasl_support = 9;
- Specified by:
getSaslSupport
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.UserToBitHandshake.Builder>
-
mergeUnknownFields
public final UserProtos.UserToBitHandshake.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.UserToBitHandshake.Builder>
-