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.ByteString
getAuthenticationMechanismsBytes
(int index) repeated string authenticationMechanisms = 4;
int
repeated 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;
int
optional int32 rpc_version = 1;
boolean
optional .exec.shared.RpcChannel channel = 2 [default = BIT_CONTROL];
boolean
optional .exec.DrillbitEndpoint endpoint = 3;
boolean
optional int32 rpc_version = 1;
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods 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.
-