public static final class RPCProtos.ConnectionHeader extends com.google.protobuf.GeneratedMessage implements RPCProtos.ConnectionHeaderOrBuilder
ConnectionHeader
This is sent on connection setup after the connection preamble is sent.
Modifier and Type | Class and Description |
---|---|
static class |
RPCProtos.ConnectionHeader.Builder
Protobuf type
ConnectionHeader |
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>
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<RPCProtos.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 |
---|---|
boolean |
equals(Object obj) |
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 RPCProtos.ConnectionHeader |
getDefaultInstance() |
RPCProtos.ConnectionHeader |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<RPCProtos.ConnectionHeader> |
getParserForType() |
int |
getSerializedSize() |
String |
getServiceName()
optional string service_name = 2; |
com.google.protobuf.ByteString |
getServiceNameBytes()
optional string service_name = 2; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
RPCProtos.UserInformation |
getUserInfo()
optional .UserInformation user_info = 1; |
RPCProtos.UserInformationOrBuilder |
getUserInfoOrBuilder()
optional .UserInformation user_info = 1; |
RPCProtos.VersionInfo |
getVersionInfo()
optional .VersionInfo version_info = 5; |
RPCProtos.VersionInfoOrBuilder |
getVersionInfoOrBuilder()
optional .VersionInfo version_info = 5; |
boolean |
hasCellBlockCodecClass()
optional string cell_block_codec_class = 3; |
boolean |
hasCellBlockCompressorClass()
optional string cell_block_compressor_class = 4; |
int |
hashCode() |
boolean |
hasServiceName()
optional string service_name = 2; |
boolean |
hasUserInfo()
optional .UserInformation user_info = 1; |
boolean |
hasVersionInfo()
optional .VersionInfo version_info = 5; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RPCProtos.ConnectionHeader.Builder |
newBuilder() |
static RPCProtos.ConnectionHeader.Builder |
newBuilder(RPCProtos.ConnectionHeader prototype) |
RPCProtos.ConnectionHeader.Builder |
newBuilderForType() |
protected RPCProtos.ConnectionHeader.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static RPCProtos.ConnectionHeader |
parseDelimitedFrom(InputStream input) |
static RPCProtos.ConnectionHeader |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RPCProtos.ConnectionHeader |
parseFrom(byte[] data) |
static RPCProtos.ConnectionHeader |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RPCProtos.ConnectionHeader |
parseFrom(com.google.protobuf.ByteString data) |
static RPCProtos.ConnectionHeader |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RPCProtos.ConnectionHeader |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RPCProtos.ConnectionHeader |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RPCProtos.ConnectionHeader |
parseFrom(InputStream input) |
static RPCProtos.ConnectionHeader |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RPCProtos.ConnectionHeader.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<RPCProtos.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 RPCProtos.ConnectionHeader getDefaultInstance()
public RPCProtos.ConnectionHeader getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<RPCProtos.ConnectionHeader> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasUserInfo()
optional .UserInformation user_info = 1;
hasUserInfo
in interface RPCProtos.ConnectionHeaderOrBuilder
public RPCProtos.UserInformation getUserInfo()
optional .UserInformation user_info = 1;
getUserInfo
in interface RPCProtos.ConnectionHeaderOrBuilder
public RPCProtos.UserInformationOrBuilder getUserInfoOrBuilder()
optional .UserInformation user_info = 1;
getUserInfoOrBuilder
in interface RPCProtos.ConnectionHeaderOrBuilder
public boolean hasServiceName()
optional string service_name = 2;
hasServiceName
in interface RPCProtos.ConnectionHeaderOrBuilder
public String getServiceName()
optional string service_name = 2;
getServiceName
in interface RPCProtos.ConnectionHeaderOrBuilder
public com.google.protobuf.ByteString getServiceNameBytes()
optional string service_name = 2;
getServiceNameBytes
in interface RPCProtos.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 RPCProtos.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 RPCProtos.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 RPCProtos.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 RPCProtos.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 RPCProtos.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 RPCProtos.ConnectionHeaderOrBuilder
public boolean hasVersionInfo()
optional .VersionInfo version_info = 5;
hasVersionInfo
in interface RPCProtos.ConnectionHeaderOrBuilder
public RPCProtos.VersionInfo getVersionInfo()
optional .VersionInfo version_info = 5;
getVersionInfo
in interface RPCProtos.ConnectionHeaderOrBuilder
public RPCProtos.VersionInfoOrBuilder getVersionInfoOrBuilder()
optional .VersionInfo version_info = 5;
getVersionInfoOrBuilder
in interface RPCProtos.ConnectionHeaderOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static RPCProtos.ConnectionHeader parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RPCProtos.ConnectionHeader parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RPCProtos.ConnectionHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RPCProtos.ConnectionHeader parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RPCProtos.ConnectionHeader parseFrom(InputStream input) throws IOException
IOException
public static RPCProtos.ConnectionHeader parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RPCProtos.ConnectionHeader parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RPCProtos.ConnectionHeader parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RPCProtos.ConnectionHeader parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static RPCProtos.ConnectionHeader parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RPCProtos.ConnectionHeader.Builder newBuilder()
public RPCProtos.ConnectionHeader.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static RPCProtos.ConnectionHeader.Builder newBuilder(RPCProtos.ConnectionHeader prototype)
public RPCProtos.ConnectionHeader.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected RPCProtos.ConnectionHeader.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.