Package org.apache.drill.exec.proto
Interface BitControl.BitControlHandshakeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BitControl.BitControlHandshake,BitControl.BitControlHandshake.Builder
- Enclosing class:
BitControl
public static interface BitControl.BitControlHandshakeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAuthenticationMechanisms(int index) repeated string authenticationMechanisms = 4;com.google.protobuf.ByteStringgetAuthenticationMechanismsBytes(int index) repeated string authenticationMechanisms = 4;intrepeated string authenticationMechanisms = 4;repeated string authenticationMechanisms = 4;optional .exec.shared.RpcChannel channel = 2 [default = BIT_CONTROL];optional .exec.DrillbitEndpoint endpoint = 3;optional .exec.DrillbitEndpoint endpoint = 3;intoptional int32 rpc_version = 1;booleanoptional .exec.shared.RpcChannel channel = 2 [default = BIT_CONTROL];booleanoptional .exec.DrillbitEndpoint endpoint = 3;booleanoptional int32 rpc_version = 1;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasRpcVersion
boolean hasRpcVersion()optional int32 rpc_version = 1;- Returns:
- Whether the rpcVersion field is set.
-
getRpcVersion
int getRpcVersion()optional int32 rpc_version = 1;- Returns:
- The rpcVersion.
-
hasChannel
boolean hasChannel()optional .exec.shared.RpcChannel channel = 2 [default = BIT_CONTROL];- Returns:
- Whether the channel field is set.
-
getChannel
UserBitShared.RpcChannel getChannel()optional .exec.shared.RpcChannel channel = 2 [default = BIT_CONTROL];- Returns:
- The channel.
-
hasEndpoint
boolean hasEndpoint()optional .exec.DrillbitEndpoint endpoint = 3;- Returns:
- Whether the endpoint field is set.
-
getEndpoint
CoordinationProtos.DrillbitEndpoint getEndpoint()optional .exec.DrillbitEndpoint endpoint = 3;- Returns:
- The endpoint.
-
getEndpointOrBuilder
CoordinationProtos.DrillbitEndpointOrBuilder getEndpointOrBuilder()optional .exec.DrillbitEndpoint endpoint = 3; -
getAuthenticationMechanismsList
repeated string authenticationMechanisms = 4;- Returns:
- A list containing the authenticationMechanisms.
-
getAuthenticationMechanismsCount
int getAuthenticationMechanismsCount()repeated string authenticationMechanisms = 4;- Returns:
- The count of authenticationMechanisms.
-
getAuthenticationMechanisms
repeated string authenticationMechanisms = 4;- Parameters:
index- The index of the element to return.- Returns:
- The authenticationMechanisms at the given index.
-
getAuthenticationMechanismsBytes
com.google.protobuf.ByteString getAuthenticationMechanismsBytes(int index) repeated string authenticationMechanisms = 4;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the authenticationMechanisms at the given index.
-