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, parseUnknownFieldpublic 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.MessageLiteOrBuilderpublic com.google.protobuf.Parser<RPCPB.ConnectionHeader> getParserForType()
getParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageLitepublic boolean hasUserInfo()
optional .UserInformation user_info = 1;hasUserInfo in interface RPCPB.ConnectionHeaderOrBuilderpublic RPCPB.UserInformation getUserInfo()
optional .UserInformation user_info = 1;getUserInfo in interface RPCPB.ConnectionHeaderOrBuilderpublic boolean hasServiceName()
optional string service_name = 2;hasServiceName in interface RPCPB.ConnectionHeaderOrBuilderpublic String getServiceName()
optional string service_name = 2;getServiceName in interface RPCPB.ConnectionHeaderOrBuilderpublic com.google.protobuf.ByteString getServiceNameBytes()
optional string service_name = 2;getServiceNameBytes in interface RPCPB.ConnectionHeaderOrBuilderpublic 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.ConnectionHeaderOrBuilderpublic 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.ConnectionHeaderOrBuilderpublic 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.ConnectionHeaderOrBuilderpublic 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.ConnectionHeaderOrBuilderpublic 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.ConnectionHeaderOrBuilderpublic 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.ConnectionHeaderOrBuilderpublic boolean hasVersionInfo()
optional .VersionInfo version_info = 5;hasVersionInfo in interface RPCPB.ConnectionHeaderOrBuilderpublic HBasePB.VersionInfo getVersionInfo()
optional .VersionInfo version_info = 5;getVersionInfo in interface RPCPB.ConnectionHeaderOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderpublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLiteIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLiteprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageLiteObjectStreamExceptionpublic static RPCPB.ConnectionHeader parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RPCPB.ConnectionHeader parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RPCPB.ConnectionHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RPCPB.ConnectionHeader parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RPCPB.ConnectionHeader parseFrom(InputStream input) throws IOException
IOExceptionpublic static RPCPB.ConnectionHeader parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RPCPB.ConnectionHeader parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RPCPB.ConnectionHeader parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RPCPB.ConnectionHeader parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RPCPB.ConnectionHeader parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RPCPB.ConnectionHeader.Builder newBuilder()
public RPCPB.ConnectionHeader.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessageLitepublic static RPCPB.ConnectionHeader.Builder newBuilder(RPCPB.ConnectionHeader prototype)
public RPCPB.ConnectionHeader.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessageLiteCopyright © 2010-2017, The Async HBase Authors