org.hbase.async.generated
Class RPCPB.ConnectionHeader

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite
      extended by com.google.protobuf.GeneratedMessageLite
          extended by org.hbase.async.generated.RPCPB.ConnectionHeader
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, Serializable, RPCPB.ConnectionHeaderOrBuilder
Enclosing class:
RPCPB

public static final class RPCPB.ConnectionHeader
extends com.google.protobuf.GeneratedMessageLite
implements RPCPB.ConnectionHeaderOrBuilder

Protobuf type ConnectionHeader

 This is sent on connection setup after the connection preamble is sent.
 

See Also:
Serialized Form

Nested Class Summary
static class RPCPB.ConnectionHeader.Builder
          Protobuf type ConnectionHeader
 
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
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>
 
Field Summary
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
           
 
Method Summary
 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;
 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 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)
           
 
Methods inherited from class com.google.protobuf.GeneratedMessageLite
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField
 
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARSER

public static com.google.protobuf.Parser<RPCPB.ConnectionHeader> PARSER

USER_INFO_FIELD_NUMBER

public static final int USER_INFO_FIELD_NUMBER
See Also:
Constant Field Values

SERVICE_NAME_FIELD_NUMBER

public static final int SERVICE_NAME_FIELD_NUMBER
See Also:
Constant Field Values

CELL_BLOCK_CODEC_CLASS_FIELD_NUMBER

public static final int CELL_BLOCK_CODEC_CLASS_FIELD_NUMBER
See Also:
Constant Field Values

CELL_BLOCK_COMPRESSOR_CLASS_FIELD_NUMBER

public static final int CELL_BLOCK_COMPRESSOR_CLASS_FIELD_NUMBER
See Also:
Constant Field Values
Method Detail

getDefaultInstance

public static RPCPB.ConnectionHeader getDefaultInstance()

getDefaultInstanceForType

public RPCPB.ConnectionHeader getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder

getParserForType

public com.google.protobuf.Parser<RPCPB.ConnectionHeader> getParserForType()
Specified by:
getParserForType in interface com.google.protobuf.MessageLite
Overrides:
getParserForType in class com.google.protobuf.GeneratedMessageLite

hasUserInfo

public boolean hasUserInfo()
optional .UserInformation user_info = 1;

Specified by:
hasUserInfo in interface RPCPB.ConnectionHeaderOrBuilder

getUserInfo

public RPCPB.UserInformation getUserInfo()
optional .UserInformation user_info = 1;

Specified by:
getUserInfo in interface RPCPB.ConnectionHeaderOrBuilder

hasServiceName

public boolean hasServiceName()
optional string service_name = 2;

Specified by:
hasServiceName in interface RPCPB.ConnectionHeaderOrBuilder

getServiceName

public String getServiceName()
optional string service_name = 2;

Specified by:
getServiceName in interface RPCPB.ConnectionHeaderOrBuilder

getServiceNameBytes

public com.google.protobuf.ByteString getServiceNameBytes()
optional string service_name = 2;

Specified by:
getServiceNameBytes in interface RPCPB.ConnectionHeaderOrBuilder

hasCellBlockCodecClass

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!!!)
 

Specified by:
hasCellBlockCodecClass in interface RPCPB.ConnectionHeaderOrBuilder

getCellBlockCodecClass

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!!!)
 

Specified by:
getCellBlockCodecClass in interface RPCPB.ConnectionHeaderOrBuilder

getCellBlockCodecClassBytes

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!!!)
 

Specified by:
getCellBlockCodecClassBytes in interface RPCPB.ConnectionHeaderOrBuilder

hasCellBlockCompressorClass

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.
 

Specified by:
hasCellBlockCompressorClass in interface RPCPB.ConnectionHeaderOrBuilder

getCellBlockCompressorClass

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.
 

Specified by:
getCellBlockCompressorClass in interface RPCPB.ConnectionHeaderOrBuilder

getCellBlockCompressorClassBytes

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.
 

Specified by:
getCellBlockCompressorClassBytes in interface RPCPB.ConnectionHeaderOrBuilder

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder

writeTo

public void writeTo(com.google.protobuf.CodedOutputStream output)
             throws IOException
Specified by:
writeTo in interface com.google.protobuf.MessageLite
Throws:
IOException

getSerializedSize

public int getSerializedSize()
Specified by:
getSerializedSize in interface com.google.protobuf.MessageLite

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
Overrides:
writeReplace in class com.google.protobuf.GeneratedMessageLite
Throws:
ObjectStreamException

parseFrom

public static RPCPB.ConnectionHeader parseFrom(com.google.protobuf.ByteString data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static RPCPB.ConnectionHeader parseFrom(com.google.protobuf.ByteString data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static RPCPB.ConnectionHeader parseFrom(byte[] data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static RPCPB.ConnectionHeader parseFrom(byte[] data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static RPCPB.ConnectionHeader parseFrom(InputStream input)
                                        throws IOException
Throws:
IOException

parseFrom

public static RPCPB.ConnectionHeader parseFrom(InputStream input,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws IOException
Throws:
IOException

parseDelimitedFrom

public static RPCPB.ConnectionHeader parseDelimitedFrom(InputStream input)
                                                 throws IOException
Throws:
IOException

parseDelimitedFrom

public static RPCPB.ConnectionHeader parseDelimitedFrom(InputStream input,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws IOException
Throws:
IOException

parseFrom

public static RPCPB.ConnectionHeader parseFrom(com.google.protobuf.CodedInputStream input)
                                        throws IOException
Throws:
IOException

parseFrom

public static RPCPB.ConnectionHeader parseFrom(com.google.protobuf.CodedInputStream input,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws IOException
Throws:
IOException

newBuilder

public static RPCPB.ConnectionHeader.Builder newBuilder()

newBuilderForType

public RPCPB.ConnectionHeader.Builder newBuilderForType()
Specified by:
newBuilderForType in interface com.google.protobuf.MessageLite

newBuilder

public static RPCPB.ConnectionHeader.Builder newBuilder(RPCPB.ConnectionHeader prototype)

toBuilder

public RPCPB.ConnectionHeader.Builder toBuilder()
Specified by:
toBuilder in interface com.google.protobuf.MessageLite


Copyright © 2010-2015, The Async HBase Authors