Package org.apache.drill.exec.proto
Interface UserProtos.BitToUserHandshakeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UserProtos.BitToUserHandshake
,UserProtos.BitToUserHandshake.Builder
- Enclosing class:
- UserProtos
public static interface UserProtos.BitToUserHandshakeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAuthenticationMechanisms
(int index) repeated string authenticationMechanisms = 7;
com.google.protobuf.ByteString
getAuthenticationMechanismsBytes
(int index) repeated string authenticationMechanisms = 7;
int
repeated string authenticationMechanisms = 7;
repeated string authenticationMechanisms = 7;
boolean
optional bool encrypted = 9;
optional string errorId = 4;
com.google.protobuf.ByteString
optional string errorId = 4;
optional string errorMessage = 5;
com.google.protobuf.ByteString
optional string errorMessage = 5;
int
optional int32 maxWrappedSize = 10;
int
optional int32 rpc_version = 2;
optional .exec.user.RpcEndpointInfos server_infos = 6;
optional .exec.user.RpcEndpointInfos server_infos = 6;
optional .exec.user.HandshakeStatus status = 3;
getSupportedMethods
(int index) repeated .exec.user.RpcType supported_methods = 8;
int
repeated .exec.user.RpcType supported_methods = 8;
repeated .exec.user.RpcType supported_methods = 8;
boolean
optional bool encrypted = 9;
boolean
optional string errorId = 4;
boolean
optional string errorMessage = 5;
boolean
optional int32 maxWrappedSize = 10;
boolean
optional int32 rpc_version = 2;
boolean
optional .exec.user.RpcEndpointInfos server_infos = 6;
boolean
optional .exec.user.HandshakeStatus status = 3;
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 = 2;
- Returns:
- Whether the rpcVersion field is set.
-
getRpcVersion
int getRpcVersion()optional int32 rpc_version = 2;
- Returns:
- The rpcVersion.
-
hasStatus
boolean hasStatus()optional .exec.user.HandshakeStatus status = 3;
- Returns:
- Whether the status field is set.
-
getStatus
UserProtos.HandshakeStatus getStatus()optional .exec.user.HandshakeStatus status = 3;
- Returns:
- The status.
-
hasErrorId
boolean hasErrorId()optional string errorId = 4;
- Returns:
- Whether the errorId field is set.
-
getErrorId
String getErrorId()optional string errorId = 4;
- Returns:
- The errorId.
-
getErrorIdBytes
com.google.protobuf.ByteString getErrorIdBytes()optional string errorId = 4;
- Returns:
- The bytes for errorId.
-
hasErrorMessage
boolean hasErrorMessage()optional string errorMessage = 5;
- Returns:
- Whether the errorMessage field is set.
-
getErrorMessage
String getErrorMessage()optional string errorMessage = 5;
- Returns:
- The errorMessage.
-
getErrorMessageBytes
com.google.protobuf.ByteString getErrorMessageBytes()optional string errorMessage = 5;
- Returns:
- The bytes for errorMessage.
-
hasServerInfos
boolean hasServerInfos()optional .exec.user.RpcEndpointInfos server_infos = 6;
- Returns:
- Whether the serverInfos field is set.
-
getServerInfos
UserProtos.RpcEndpointInfos getServerInfos()optional .exec.user.RpcEndpointInfos server_infos = 6;
- Returns:
- The serverInfos.
-
getServerInfosOrBuilder
UserProtos.RpcEndpointInfosOrBuilder getServerInfosOrBuilder()optional .exec.user.RpcEndpointInfos server_infos = 6;
-
getAuthenticationMechanismsList
repeated string authenticationMechanisms = 7;
- Returns:
- A list containing the authenticationMechanisms.
-
getAuthenticationMechanismsCount
int getAuthenticationMechanismsCount()repeated string authenticationMechanisms = 7;
- Returns:
- The count of authenticationMechanisms.
-
getAuthenticationMechanisms
repeated string authenticationMechanisms = 7;
- 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 = 7;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the authenticationMechanisms at the given index.
-
getSupportedMethodsList
List<UserProtos.RpcType> getSupportedMethodsList()repeated .exec.user.RpcType supported_methods = 8;
- Returns:
- A list containing the supportedMethods.
-
getSupportedMethodsCount
int getSupportedMethodsCount()repeated .exec.user.RpcType supported_methods = 8;
- Returns:
- The count of supportedMethods.
-
getSupportedMethods
repeated .exec.user.RpcType supported_methods = 8;
- Parameters:
index
- The index of the element to return.- Returns:
- The supportedMethods at the given index.
-
hasEncrypted
boolean hasEncrypted()optional bool encrypted = 9;
- Returns:
- Whether the encrypted field is set.
-
getEncrypted
boolean getEncrypted()optional bool encrypted = 9;
- Returns:
- The encrypted.
-
hasMaxWrappedSize
boolean hasMaxWrappedSize()optional int32 maxWrappedSize = 10;
- Returns:
- Whether the maxWrappedSize field is set.
-
getMaxWrappedSize
int getMaxWrappedSize()optional int32 maxWrappedSize = 10;
- Returns:
- The maxWrappedSize.
-