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 |
Modifier and Type | Field and Description |
---|---|
static int |
CELL_BLOCK_CODEC_CLASS_FIELD_NUMBER |
static int |
CELL_BLOCK_COMPRESSOR_CLASS_FIELD_NUMBER |
static <any> |
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() |
<any> |
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,
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,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RPCProtos.ConnectionHeader.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static <any> 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()
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
public <any> getParserForType()
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()
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
IOException
public int getSerializedSize()
protected Object writeReplace() throws ObjectStreamException
ObjectStreamException
public boolean equals(Object obj)
public int hashCode()
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, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
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()
public static RPCProtos.ConnectionHeader.Builder newBuilder(RPCProtos.ConnectionHeader prototype)
public RPCProtos.ConnectionHeader.Builder toBuilder()
protected RPCProtos.ConnectionHeader.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)