public static final class RPCProtos.ConnectionHeader.Builder extends com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ConnectionHeader.Builder> implements RPCProtos.ConnectionHeaderOrBuilder
ConnectionHeader
This is sent on connection setup after the connection preamble is sent.
| Modifier and Type | Method and Description |
|---|---|
RPCProtos.ConnectionHeader |
build() |
RPCProtos.ConnectionHeader |
buildPartial() |
RPCProtos.ConnectionHeader.Builder |
clear() |
RPCProtos.ConnectionHeader.Builder |
clearCellBlockCodecClass()
optional string cell_block_codec_class = 3; |
RPCProtos.ConnectionHeader.Builder |
clearCellBlockCompressorClass()
optional string cell_block_compressor_class = 4; |
RPCProtos.ConnectionHeader.Builder |
clearServiceName()
optional string service_name = 2; |
RPCProtos.ConnectionHeader.Builder |
clearUserInfo()
optional .UserInformation user_info = 1; |
RPCProtos.ConnectionHeader.Builder |
clone() |
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; |
RPCProtos.ConnectionHeader |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getServiceName()
optional string service_name = 2; |
com.google.protobuf.ByteString |
getServiceNameBytes()
optional string service_name = 2; |
RPCProtos.UserInformation |
getUserInfo()
optional .UserInformation user_info = 1; |
RPCProtos.UserInformation.Builder |
getUserInfoBuilder()
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; |
boolean |
hasServiceName()
optional string service_name = 2; |
boolean |
hasUserInfo()
optional .UserInformation user_info = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RPCProtos.ConnectionHeader.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RPCProtos.ConnectionHeader.Builder |
mergeFrom(com.google.protobuf.Message other) |
RPCProtos.ConnectionHeader.Builder |
mergeFrom(RPCProtos.ConnectionHeader other) |
RPCProtos.ConnectionHeader.Builder |
mergeUserInfo(RPCProtos.UserInformation value)
optional .UserInformation user_info = 1; |
RPCProtos.ConnectionHeader.Builder |
setCellBlockCodecClass(String value)
optional string cell_block_codec_class = 3; |
RPCProtos.ConnectionHeader.Builder |
setCellBlockCodecClassBytes(com.google.protobuf.ByteString value)
optional string cell_block_codec_class = 3; |
RPCProtos.ConnectionHeader.Builder |
setCellBlockCompressorClass(String value)
optional string cell_block_compressor_class = 4; |
RPCProtos.ConnectionHeader.Builder |
setCellBlockCompressorClassBytes(com.google.protobuf.ByteString value)
optional string cell_block_compressor_class = 4; |
RPCProtos.ConnectionHeader.Builder |
setServiceName(String value)
optional string service_name = 2; |
RPCProtos.ConnectionHeader.Builder |
setServiceNameBytes(com.google.protobuf.ByteString value)
optional string service_name = 2; |
RPCProtos.ConnectionHeader.Builder |
setUserInfo(RPCProtos.UserInformation.Builder builderForValue)
optional .UserInformation user_info = 1; |
RPCProtos.ConnectionHeader.Builder |
setUserInfo(RPCProtos.UserInformation value)
optional .UserInformation user_info = 1; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ConnectionHeader.Builder>public RPCProtos.ConnectionHeader.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ConnectionHeader.Builder>public RPCProtos.ConnectionHeader.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ConnectionHeader.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ConnectionHeader.Builder>public RPCProtos.ConnectionHeader getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RPCProtos.ConnectionHeader build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RPCProtos.ConnectionHeader buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RPCProtos.ConnectionHeader.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RPCProtos.ConnectionHeader.Builder>public RPCProtos.ConnectionHeader.Builder mergeFrom(RPCProtos.ConnectionHeader other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ConnectionHeader.Builder>public RPCProtos.ConnectionHeader.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RPCProtos.ConnectionHeader.Builder>IOExceptionpublic 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.ConnectionHeader.Builder setUserInfo(RPCProtos.UserInformation value)
optional .UserInformation user_info = 1;public RPCProtos.ConnectionHeader.Builder setUserInfo(RPCProtos.UserInformation.Builder builderForValue)
optional .UserInformation user_info = 1;public RPCProtos.ConnectionHeader.Builder mergeUserInfo(RPCProtos.UserInformation value)
optional .UserInformation user_info = 1;public RPCProtos.ConnectionHeader.Builder clearUserInfo()
optional .UserInformation user_info = 1;public RPCProtos.UserInformation.Builder getUserInfoBuilder()
optional .UserInformation user_info = 1;public 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 RPCProtos.ConnectionHeader.Builder setServiceName(String value)
optional string service_name = 2;public RPCProtos.ConnectionHeader.Builder clearServiceName()
optional string service_name = 2;public RPCProtos.ConnectionHeader.Builder setServiceNameBytes(com.google.protobuf.ByteString value)
optional string service_name = 2;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.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 RPCProtos.ConnectionHeader.Builder setCellBlockCodecClass(String value)
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!!!)
public RPCProtos.ConnectionHeader.Builder clearCellBlockCodecClass()
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!!!)
public RPCProtos.ConnectionHeader.Builder setCellBlockCodecClassBytes(com.google.protobuf.ByteString value)
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!!!)
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.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 RPCProtos.ConnectionHeader.Builder setCellBlockCompressorClass(String value)
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.
public RPCProtos.ConnectionHeader.Builder clearCellBlockCompressorClass()
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.
public RPCProtos.ConnectionHeader.Builder setCellBlockCompressorClassBytes(com.google.protobuf.ByteString value)
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.
Copyright © 2014 The Apache Software Foundation. All rights reserved.