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 |
| 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; |
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; |
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, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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 RPCProtos.ConnectionHeader getDefaultInstance()
public RPCProtos.ConnectionHeader getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<RPCProtos.ConnectionHeader> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasUserInfo()
optional .UserInformation user_info = 1;hasUserInfo in interface RPCProtos.ConnectionHeaderOrBuilderpublic RPCProtos.UserInformation getUserInfo()
optional .UserInformation user_info = 1;getUserInfo in interface RPCProtos.ConnectionHeaderOrBuilderpublic RPCProtos.UserInformationOrBuilder getUserInfoOrBuilder()
optional .UserInformation user_info = 1;getUserInfoOrBuilder in interface RPCProtos.ConnectionHeaderOrBuilderpublic boolean hasServiceName()
optional string service_name = 2;hasServiceName in interface RPCProtos.ConnectionHeaderOrBuilderpublic String getServiceName()
optional string service_name = 2;getServiceName in interface RPCProtos.ConnectionHeaderOrBuilderpublic com.google.protobuf.ByteString getServiceNameBytes()
optional string service_name = 2;getServiceNameBytes in interface RPCProtos.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 RPCProtos.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 RPCProtos.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 RPCProtos.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 RPCProtos.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 RPCProtos.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 RPCProtos.ConnectionHeaderOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RPCProtos.ConnectionHeader parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RPCProtos.ConnectionHeader parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RPCProtos.ConnectionHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RPCProtos.ConnectionHeader parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RPCProtos.ConnectionHeader parseFrom(InputStream input) throws IOException
IOExceptionpublic static RPCProtos.ConnectionHeader parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RPCProtos.ConnectionHeader parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RPCProtos.ConnectionHeader parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RPCProtos.ConnectionHeader parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RPCProtos.ConnectionHeader parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RPCProtos.ConnectionHeader.Builder newBuilder()
public RPCProtos.ConnectionHeader.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RPCProtos.ConnectionHeader.Builder newBuilder(RPCProtos.ConnectionHeader prototype)
public RPCProtos.ConnectionHeader.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RPCProtos.ConnectionHeader.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2014 The Apache Software Foundation. All rights reserved.