public static final class RPCPB.ConnectionHeader extends com.google.protobuf.GeneratedMessageLite implements RPCPB.ConnectionHeaderOrBuilder
ConnectionHeader
This is sent on connection setup after the connection preamble is sent.
Modifier and Type | Class and Description |
---|---|
static class |
RPCPB.ConnectionHeader.Builder
Protobuf type
ConnectionHeader |
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>
Modifier and Type | Field and Description |
---|---|
static int |
CELL_BLOCK_CODEC_CLASS_FIELD_NUMBER |
static int |
CELL_BLOCK_COMPRESSOR_CLASS_FIELD_NUMBER |
static com.google.protobuf.Parser<RPCPB.ConnectionHeader> |
PARSER |
static int |
SERVICE_NAME_FIELD_NUMBER |
static int |
USER_INFO_FIELD_NUMBER |
static int |
VERSION_INFO_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
String |
getCellBlockCodecClass()
optional string cell_block_codec_class = 3; |
com.google.protobuf.ByteString |
getCellBlockCodecClassBytes()
optional string cell_block_codec_class = 3; |
String |
getCellBlockCompressorClass()
optional string cell_block_compressor_class = 4; |
com.google.protobuf.ByteString |
getCellBlockCompressorClassBytes()
optional string cell_block_compressor_class = 4; |
static RPCPB.ConnectionHeader |
getDefaultInstance() |
RPCPB.ConnectionHeader |
getDefaultInstanceForType() |
com.google.protobuf.Parser<RPCPB.ConnectionHeader> |
getParserForType() |
int |
getSerializedSize() |
String |
getServiceName()
optional string service_name = 2; |
com.google.protobuf.ByteString |
getServiceNameBytes()
optional string service_name = 2; |
RPCPB.UserInformation |
getUserInfo()
optional .UserInformation user_info = 1; |
HBasePB.VersionInfo |
getVersionInfo()
optional .VersionInfo version_info = 5; |
boolean |
hasCellBlockCodecClass()
optional string cell_block_codec_class = 3; |
boolean |
hasCellBlockCompressorClass()
optional string cell_block_compressor_class = 4; |
boolean |
hasServiceName()
optional string service_name = 2; |
boolean |
hasUserInfo()
optional .UserInformation user_info = 1; |
boolean |
hasVersionInfo()
optional .VersionInfo version_info = 5; |
boolean |
isInitialized() |
static RPCPB.ConnectionHeader.Builder |
newBuilder() |
static RPCPB.ConnectionHeader.Builder |
newBuilder(RPCPB.ConnectionHeader prototype) |
RPCPB.ConnectionHeader.Builder |
newBuilderForType() |
static RPCPB.ConnectionHeader |
parseDelimitedFrom(InputStream input) |
static RPCPB.ConnectionHeader |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RPCPB.ConnectionHeader |
parseFrom(byte[] data) |
static RPCPB.ConnectionHeader |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RPCPB.ConnectionHeader |
parseFrom(com.google.protobuf.ByteString data) |
static RPCPB.ConnectionHeader |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RPCPB.ConnectionHeader |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RPCPB.ConnectionHeader |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RPCPB.ConnectionHeader |
parseFrom(InputStream input) |
static RPCPB.ConnectionHeader |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RPCPB.ConnectionHeader.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField
public static com.google.protobuf.Parser<RPCPB.ConnectionHeader> PARSER
public static final int USER_INFO_FIELD_NUMBER
public static final int SERVICE_NAME_FIELD_NUMBER
public static final int CELL_BLOCK_CODEC_CLASS_FIELD_NUMBER
public static final int CELL_BLOCK_COMPRESSOR_CLASS_FIELD_NUMBER
public static final int VERSION_INFO_FIELD_NUMBER
public static RPCPB.ConnectionHeader getDefaultInstance()
public RPCPB.ConnectionHeader getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
public com.google.protobuf.Parser<RPCPB.ConnectionHeader> getParserForType()
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageLite
public boolean hasUserInfo()
optional .UserInformation user_info = 1;
hasUserInfo
in interface RPCPB.ConnectionHeaderOrBuilder
public RPCPB.UserInformation getUserInfo()
optional .UserInformation user_info = 1;
getUserInfo
in interface RPCPB.ConnectionHeaderOrBuilder
public boolean hasServiceName()
optional string service_name = 2;
hasServiceName
in interface RPCPB.ConnectionHeaderOrBuilder
public String getServiceName()
optional string service_name = 2;
getServiceName
in interface RPCPB.ConnectionHeaderOrBuilder
public com.google.protobuf.ByteString getServiceNameBytes()
optional string service_name = 2;
getServiceNameBytes
in interface RPCPB.ConnectionHeaderOrBuilder
public boolean hasCellBlockCodecClass()
optional string cell_block_codec_class = 3;
Cell block codec we will use sending over optional cell blocks. Server throws exception if cannot deal. Null means no codec'ing going on so we are pb all the time (SLOW!!!)
hasCellBlockCodecClass
in interface RPCPB.ConnectionHeaderOrBuilder
public String getCellBlockCodecClass()
optional string cell_block_codec_class = 3;
Cell block codec we will use sending over optional cell blocks. Server throws exception if cannot deal. Null means no codec'ing going on so we are pb all the time (SLOW!!!)
getCellBlockCodecClass
in interface RPCPB.ConnectionHeaderOrBuilder
public com.google.protobuf.ByteString getCellBlockCodecClassBytes()
optional string cell_block_codec_class = 3;
Cell block codec we will use sending over optional cell blocks. Server throws exception if cannot deal. Null means no codec'ing going on so we are pb all the time (SLOW!!!)
getCellBlockCodecClassBytes
in interface RPCPB.ConnectionHeaderOrBuilder
public boolean hasCellBlockCompressorClass()
optional string cell_block_compressor_class = 4;
Compressor we will use if cell block is compressed. Server will throw exception if not supported. Class must implement hadoop's CompressionCodec Interface. Can't compress if no codec.
hasCellBlockCompressorClass
in interface RPCPB.ConnectionHeaderOrBuilder
public String getCellBlockCompressorClass()
optional string cell_block_compressor_class = 4;
Compressor we will use if cell block is compressed. Server will throw exception if not supported. Class must implement hadoop's CompressionCodec Interface. Can't compress if no codec.
getCellBlockCompressorClass
in interface RPCPB.ConnectionHeaderOrBuilder
public com.google.protobuf.ByteString getCellBlockCompressorClassBytes()
optional string cell_block_compressor_class = 4;
Compressor we will use if cell block is compressed. Server will throw exception if not supported. Class must implement hadoop's CompressionCodec Interface. Can't compress if no codec.
getCellBlockCompressorClassBytes
in interface RPCPB.ConnectionHeaderOrBuilder
public boolean hasVersionInfo()
optional .VersionInfo version_info = 5;
hasVersionInfo
in interface RPCPB.ConnectionHeaderOrBuilder
public HBasePB.VersionInfo getVersionInfo()
optional .VersionInfo version_info = 5;
getVersionInfo
in interface RPCPB.ConnectionHeaderOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessageLite
ObjectStreamException
public static RPCPB.ConnectionHeader parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RPCPB.ConnectionHeader parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RPCPB.ConnectionHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RPCPB.ConnectionHeader parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RPCPB.ConnectionHeader parseFrom(InputStream input) throws IOException
IOException
public static RPCPB.ConnectionHeader parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RPCPB.ConnectionHeader parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RPCPB.ConnectionHeader parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RPCPB.ConnectionHeader parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static RPCPB.ConnectionHeader parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RPCPB.ConnectionHeader.Builder newBuilder()
public RPCPB.ConnectionHeader.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.MessageLite
public static RPCPB.ConnectionHeader.Builder newBuilder(RPCPB.ConnectionHeader prototype)
public RPCPB.ConnectionHeader.Builder toBuilder()
toBuilder
in interface com.google.protobuf.MessageLite
Copyright © 2010-2017, The Async HBase Authors