org.apache.hadoop.hbase.protobuf.generated
Class RPCProtos.ConnectionHeader
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.apache.hadoop.hbase.protobuf.generated.RPCProtos.ConnectionHeader
- All Implemented Interfaces:
- com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, RPCProtos.ConnectionHeaderOrBuilder
- Enclosing class:
- RPCProtos
public static final class RPCProtos.ConnectionHeader
- extends com.google.protobuf.GeneratedMessage
- implements RPCProtos.ConnectionHeaderOrBuilder
Protobuf type ConnectionHeader
This is sent on connection setup after the connection preamble is sent.
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type> |
Fields inherited from class com.google.protobuf.GeneratedMessage |
alwaysUseFieldBuilders |
Methods inherited from class com.google.protobuf.GeneratedMessage |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField |
Methods inherited from class com.google.protobuf.AbstractMessage |
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString |
Methods inherited from class com.google.protobuf.AbstractMessageLite |
toByteArray, toByteString, writeDelimitedTo, writeTo |
Methods inherited from interface com.google.protobuf.MessageOrBuilder |
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, hasField |
Methods inherited from interface com.google.protobuf.MessageLite |
toByteArray, toByteString, writeDelimitedTo, writeTo |
PARSER
public static com.google.protobuf.Parser<RPCProtos.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
getDefaultInstance
public static RPCProtos.ConnectionHeader getDefaultInstance()
getDefaultInstanceForType
public RPCProtos.ConnectionHeader getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in class com.google.protobuf.GeneratedMessage
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
getParserForType
public com.google.protobuf.Parser<RPCProtos.ConnectionHeader> getParserForType()
- Specified by:
getParserForType
in interface com.google.protobuf.Message
- Specified by:
getParserForType
in interface com.google.protobuf.MessageLite
- Overrides:
getParserForType
in class com.google.protobuf.GeneratedMessage
hasUserInfo
public boolean hasUserInfo()
optional .UserInformation user_info = 1;
- Specified by:
hasUserInfo
in interface RPCProtos.ConnectionHeaderOrBuilder
getUserInfo
public RPCProtos.UserInformation getUserInfo()
optional .UserInformation user_info = 1;
- Specified by:
getUserInfo
in interface RPCProtos.ConnectionHeaderOrBuilder
getUserInfoOrBuilder
public RPCProtos.UserInformationOrBuilder getUserInfoOrBuilder()
optional .UserInformation user_info = 1;
- Specified by:
getUserInfoOrBuilder
in interface RPCProtos.ConnectionHeaderOrBuilder
hasServiceName
public boolean hasServiceName()
optional string service_name = 2;
- Specified by:
hasServiceName
in interface RPCProtos.ConnectionHeaderOrBuilder
getServiceName
public String getServiceName()
optional string service_name = 2;
- Specified by:
getServiceName
in interface RPCProtos.ConnectionHeaderOrBuilder
getServiceNameBytes
public com.google.protobuf.ByteString getServiceNameBytes()
optional string service_name = 2;
- Specified by:
getServiceNameBytes
in interface RPCProtos.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 RPCProtos.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 RPCProtos.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 RPCProtos.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 RPCProtos.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 RPCProtos.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 RPCProtos.ConnectionHeaderOrBuilder
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in class com.google.protobuf.GeneratedMessage
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
- Specified by:
writeTo
in interface com.google.protobuf.MessageLite
- Overrides:
writeTo
in class com.google.protobuf.AbstractMessage
- Throws:
IOException
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interface com.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in class com.google.protobuf.AbstractMessage
writeReplace
protected Object writeReplace()
throws ObjectStreamException
- Overrides:
writeReplace
in class com.google.protobuf.GeneratedMessage
- Throws:
ObjectStreamException
equals
public boolean equals(Object obj)
- Specified by:
equals
in interface com.google.protobuf.Message
- Overrides:
equals
in class com.google.protobuf.AbstractMessage
hashCode
public int hashCode()
- Specified by:
hashCode
in interface com.google.protobuf.Message
- Overrides:
hashCode
in class com.google.protobuf.AbstractMessage
parseFrom
public static RPCProtos.ConnectionHeader parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static RPCProtos.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 RPCProtos.ConnectionHeader parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static RPCProtos.ConnectionHeader parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static RPCProtos.ConnectionHeader parseFrom(InputStream input)
throws IOException
- Throws:
IOException
parseFrom
public static RPCProtos.ConnectionHeader parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
parseDelimitedFrom
public static RPCProtos.ConnectionHeader parseDelimitedFrom(InputStream input)
throws IOException
- Throws:
IOException
parseDelimitedFrom
public static RPCProtos.ConnectionHeader parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
parseFrom
public static RPCProtos.ConnectionHeader parseFrom(com.google.protobuf.CodedInputStream input)
throws IOException
- Throws:
IOException
parseFrom
public static RPCProtos.ConnectionHeader parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
newBuilder
public static RPCProtos.ConnectionHeader.Builder newBuilder()
newBuilderForType
public RPCProtos.ConnectionHeader.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interface com.google.protobuf.Message
- Specified by:
newBuilderForType
in interface com.google.protobuf.MessageLite
newBuilder
public static RPCProtos.ConnectionHeader.Builder newBuilder(RPCProtos.ConnectionHeader prototype)
toBuilder
public RPCProtos.ConnectionHeader.Builder toBuilder()
- Specified by:
toBuilder
in interface com.google.protobuf.Message
- Specified by:
toBuilder
in interface com.google.protobuf.MessageLite
newBuilderForType
protected RPCProtos.ConnectionHeader.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
- Specified by:
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.