Package org.apache.drill.exec.proto
Class UserProtos.BitToUserHandshake
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.drill.exec.proto.UserProtos.BitToUserHandshake
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
,UserProtos.BitToUserHandshakeOrBuilder
- Enclosing class:
- UserProtos
public static final class UserProtos.BitToUserHandshake
extends com.google.protobuf.GeneratedMessageV3
implements UserProtos.BitToUserHandshakeOrBuilder
Protobuf type
exec.user.BitToUserHandshake
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeexec.user.BitToUserHandshake
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,
BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final com.google.protobuf.Parser<UserProtos.BitToUserHandshake>
Deprecated.static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getAuthenticationMechanisms
(int index) repeated string authenticationMechanisms = 7;
com.google.protobuf.ByteString
getAuthenticationMechanismsBytes
(int index) repeated string authenticationMechanisms = 7;
int
repeated string authenticationMechanisms = 7;
com.google.protobuf.ProtocolStringList
repeated string authenticationMechanisms = 7;
static final com.google.protobuf.Descriptors.Descriptor
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;
com.google.protobuf.Parser<UserProtos.BitToUserHandshake>
int
optional int32 rpc_version = 2;
int
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;
final com.google.protobuf.UnknownFieldSet
boolean
optional bool encrypted = 9;
boolean
optional string errorId = 4;
boolean
optional string errorMessage = 5;
int
hashCode()
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;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
newBuilder
(UserProtos.BitToUserHandshake prototype) protected UserProtos.BitToUserHandshake.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom
(InputStream input) parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(byte[] data) parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.ByteString data) parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.CodedInputStream input) parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(InputStream input) parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(ByteBuffer data) parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<UserProtos.BitToUserHandshake>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
RPC_VERSION_FIELD_NUMBER
public static final int RPC_VERSION_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
ERRORID_FIELD_NUMBER
public static final int ERRORID_FIELD_NUMBER- See Also:
-
ERRORMESSAGE_FIELD_NUMBER
public static final int ERRORMESSAGE_FIELD_NUMBER- See Also:
-
SERVER_INFOS_FIELD_NUMBER
public static final int SERVER_INFOS_FIELD_NUMBER- See Also:
-
AUTHENTICATIONMECHANISMS_FIELD_NUMBER
public static final int AUTHENTICATIONMECHANISMS_FIELD_NUMBER- See Also:
-
SUPPORTED_METHODS_FIELD_NUMBER
public static final int SUPPORTED_METHODS_FIELD_NUMBER- See Also:
-
ENCRYPTED_FIELD_NUMBER
public static final int ENCRYPTED_FIELD_NUMBER- See Also:
-
MAXWRAPPEDSIZE_FIELD_NUMBER
public static final int MAXWRAPPEDSIZE_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
hasRpcVersion
public boolean hasRpcVersion()optional int32 rpc_version = 2;
- Specified by:
hasRpcVersion
in interfaceUserProtos.BitToUserHandshakeOrBuilder
- Returns:
- Whether the rpcVersion field is set.
-
getRpcVersion
public int getRpcVersion()optional int32 rpc_version = 2;
- Specified by:
getRpcVersion
in interfaceUserProtos.BitToUserHandshakeOrBuilder
- Returns:
- The rpcVersion.
-
hasStatus
public boolean hasStatus()optional .exec.user.HandshakeStatus status = 3;
- Specified by:
hasStatus
in interfaceUserProtos.BitToUserHandshakeOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
optional .exec.user.HandshakeStatus status = 3;
- Specified by:
getStatus
in interfaceUserProtos.BitToUserHandshakeOrBuilder
- Returns:
- The status.
-
hasErrorId
public boolean hasErrorId()optional string errorId = 4;
- Specified by:
hasErrorId
in interfaceUserProtos.BitToUserHandshakeOrBuilder
- Returns:
- Whether the errorId field is set.
-
getErrorId
optional string errorId = 4;
- Specified by:
getErrorId
in interfaceUserProtos.BitToUserHandshakeOrBuilder
- Returns:
- The errorId.
-
getErrorIdBytes
public com.google.protobuf.ByteString getErrorIdBytes()optional string errorId = 4;
- Specified by:
getErrorIdBytes
in interfaceUserProtos.BitToUserHandshakeOrBuilder
- Returns:
- The bytes for errorId.
-
hasErrorMessage
public boolean hasErrorMessage()optional string errorMessage = 5;
- Specified by:
hasErrorMessage
in interfaceUserProtos.BitToUserHandshakeOrBuilder
- Returns:
- Whether the errorMessage field is set.
-
getErrorMessage
optional string errorMessage = 5;
- Specified by:
getErrorMessage
in interfaceUserProtos.BitToUserHandshakeOrBuilder
- Returns:
- The errorMessage.
-
getErrorMessageBytes
public com.google.protobuf.ByteString getErrorMessageBytes()optional string errorMessage = 5;
- Specified by:
getErrorMessageBytes
in interfaceUserProtos.BitToUserHandshakeOrBuilder
- Returns:
- The bytes for errorMessage.
-
hasServerInfos
public boolean hasServerInfos()optional .exec.user.RpcEndpointInfos server_infos = 6;
- Specified by:
hasServerInfos
in interfaceUserProtos.BitToUserHandshakeOrBuilder
- Returns:
- Whether the serverInfos field is set.
-
getServerInfos
optional .exec.user.RpcEndpointInfos server_infos = 6;
- Specified by:
getServerInfos
in interfaceUserProtos.BitToUserHandshakeOrBuilder
- Returns:
- The serverInfos.
-
getServerInfosOrBuilder
optional .exec.user.RpcEndpointInfos server_infos = 6;
- Specified by:
getServerInfosOrBuilder
in interfaceUserProtos.BitToUserHandshakeOrBuilder
-
getAuthenticationMechanismsList
public com.google.protobuf.ProtocolStringList getAuthenticationMechanismsList()repeated string authenticationMechanisms = 7;
- Specified by:
getAuthenticationMechanismsList
in interfaceUserProtos.BitToUserHandshakeOrBuilder
- Returns:
- A list containing the authenticationMechanisms.
-
getAuthenticationMechanismsCount
public int getAuthenticationMechanismsCount()repeated string authenticationMechanisms = 7;
- Specified by:
getAuthenticationMechanismsCount
in interfaceUserProtos.BitToUserHandshakeOrBuilder
- Returns:
- The count of authenticationMechanisms.
-
getAuthenticationMechanisms
repeated string authenticationMechanisms = 7;
- Specified by:
getAuthenticationMechanisms
in interfaceUserProtos.BitToUserHandshakeOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The authenticationMechanisms at the given index.
-
getAuthenticationMechanismsBytes
public com.google.protobuf.ByteString getAuthenticationMechanismsBytes(int index) repeated string authenticationMechanisms = 7;
- Specified by:
getAuthenticationMechanismsBytes
in interfaceUserProtos.BitToUserHandshakeOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the authenticationMechanisms at the given index.
-
getSupportedMethodsList
repeated .exec.user.RpcType supported_methods = 8;
- Specified by:
getSupportedMethodsList
in interfaceUserProtos.BitToUserHandshakeOrBuilder
- Returns:
- A list containing the supportedMethods.
-
getSupportedMethodsCount
public int getSupportedMethodsCount()repeated .exec.user.RpcType supported_methods = 8;
- Specified by:
getSupportedMethodsCount
in interfaceUserProtos.BitToUserHandshakeOrBuilder
- Returns:
- The count of supportedMethods.
-
getSupportedMethods
repeated .exec.user.RpcType supported_methods = 8;
- Specified by:
getSupportedMethods
in interfaceUserProtos.BitToUserHandshakeOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The supportedMethods at the given index.
-
hasEncrypted
public boolean hasEncrypted()optional bool encrypted = 9;
- Specified by:
hasEncrypted
in interfaceUserProtos.BitToUserHandshakeOrBuilder
- Returns:
- Whether the encrypted field is set.
-
getEncrypted
public boolean getEncrypted()optional bool encrypted = 9;
- Specified by:
getEncrypted
in interfaceUserProtos.BitToUserHandshakeOrBuilder
- Returns:
- The encrypted.
-
hasMaxWrappedSize
public boolean hasMaxWrappedSize()optional int32 maxWrappedSize = 10;
- Specified by:
hasMaxWrappedSize
in interfaceUserProtos.BitToUserHandshakeOrBuilder
- Returns:
- Whether the maxWrappedSize field is set.
-
getMaxWrappedSize
public int getMaxWrappedSize()optional int32 maxWrappedSize = 10;
- Specified by:
getMaxWrappedSize
in interfaceUserProtos.BitToUserHandshakeOrBuilder
- Returns:
- The maxWrappedSize.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static UserProtos.BitToUserHandshake parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserProtos.BitToUserHandshake parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserProtos.BitToUserHandshake parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserProtos.BitToUserHandshake parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserProtos.BitToUserHandshake parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserProtos.BitToUserHandshake parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static UserProtos.BitToUserHandshake parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static UserProtos.BitToUserHandshake parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static UserProtos.BitToUserHandshake parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static UserProtos.BitToUserHandshake parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static UserProtos.BitToUserHandshake parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static UserProtos.BitToUserHandshake.Builder newBuilder(UserProtos.BitToUserHandshake prototype) -
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UserProtos.BitToUserHandshake.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-