public static final class RPCProtos.ConnectionHeader.Builder extends <any> implements RPCProtos.ConnectionHeaderOrBuilder
hbase.pb.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 .hbase.pb.UserInformation user_info = 1; |
RPCProtos.ConnectionHeader.Builder |
clearVersionInfo()
optional .hbase.pb.VersionInfo version_info = 5; |
RPCProtos.ConnectionHeader.Builder |
clone() |
java.lang.String |
getCellBlockCodecClass()
optional string cell_block_codec_class = 3; |
com.google.protobuf.ByteString |
getCellBlockCodecClassBytes()
optional string cell_block_codec_class = 3; |
java.lang.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() |
java.lang.String |
getServiceName()
optional string service_name = 2; |
com.google.protobuf.ByteString |
getServiceNameBytes()
optional string service_name = 2; |
RPCProtos.UserInformation |
getUserInfo()
optional .hbase.pb.UserInformation user_info = 1; |
RPCProtos.UserInformation.Builder |
getUserInfoBuilder()
optional .hbase.pb.UserInformation user_info = 1; |
RPCProtos.UserInformationOrBuilder |
getUserInfoOrBuilder()
optional .hbase.pb.UserInformation user_info = 1; |
RPCProtos.VersionInfo |
getVersionInfo()
optional .hbase.pb.VersionInfo version_info = 5; |
RPCProtos.VersionInfo.Builder |
getVersionInfoBuilder()
optional .hbase.pb.VersionInfo version_info = 5; |
RPCProtos.VersionInfoOrBuilder |
getVersionInfoOrBuilder()
optional .hbase.pb.VersionInfo version_info = 5; |
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 .hbase.pb.UserInformation user_info = 1; |
boolean |
hasVersionInfo()
optional .hbase.pb.VersionInfo version_info = 5; |
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 |
mergeUserInfo(RPCProtos.UserInformation value)
optional .hbase.pb.UserInformation user_info = 1; |
RPCProtos.ConnectionHeader.Builder |
mergeVersionInfo(RPCProtos.VersionInfo value)
optional .hbase.pb.VersionInfo version_info = 5; |
RPCProtos.ConnectionHeader.Builder |
setCellBlockCodecClass(java.lang.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(java.lang.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(java.lang.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 .hbase.pb.UserInformation user_info = 1; |
RPCProtos.ConnectionHeader.Builder |
setUserInfo(RPCProtos.UserInformation value)
optional .hbase.pb.UserInformation user_info = 1; |
RPCProtos.ConnectionHeader.Builder |
setVersionInfo(RPCProtos.VersionInfo.Builder builderForValue)
optional .hbase.pb.VersionInfo version_info = 5; |
RPCProtos.ConnectionHeader.Builder |
setVersionInfo(RPCProtos.VersionInfo value)
optional .hbase.pb.VersionInfo version_info = 5; |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
public RPCProtos.ConnectionHeader.Builder clear()
public RPCProtos.ConnectionHeader.Builder clone()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public RPCProtos.ConnectionHeader getDefaultInstanceForType()
public RPCProtos.ConnectionHeader build()
public RPCProtos.ConnectionHeader buildPartial()
public RPCProtos.ConnectionHeader.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public RPCProtos.ConnectionHeader.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic boolean hasUserInfo()
optional .hbase.pb.UserInformation user_info = 1;hasUserInfo in interface RPCProtos.ConnectionHeaderOrBuilderpublic RPCProtos.UserInformation getUserInfo()
optional .hbase.pb.UserInformation user_info = 1;getUserInfo in interface RPCProtos.ConnectionHeaderOrBuilderpublic RPCProtos.ConnectionHeader.Builder setUserInfo(RPCProtos.UserInformation value)
optional .hbase.pb.UserInformation user_info = 1;public RPCProtos.ConnectionHeader.Builder setUserInfo(RPCProtos.UserInformation.Builder builderForValue)
optional .hbase.pb.UserInformation user_info = 1;public RPCProtos.ConnectionHeader.Builder mergeUserInfo(RPCProtos.UserInformation value)
optional .hbase.pb.UserInformation user_info = 1;public RPCProtos.ConnectionHeader.Builder clearUserInfo()
optional .hbase.pb.UserInformation user_info = 1;public RPCProtos.UserInformation.Builder getUserInfoBuilder()
optional .hbase.pb.UserInformation user_info = 1;public RPCProtos.UserInformationOrBuilder getUserInfoOrBuilder()
optional .hbase.pb.UserInformation user_info = 1;getUserInfoOrBuilder in interface RPCProtos.ConnectionHeaderOrBuilderpublic boolean hasServiceName()
optional string service_name = 2;hasServiceName in interface RPCProtos.ConnectionHeaderOrBuilderpublic java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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.
public boolean hasVersionInfo()
optional .hbase.pb.VersionInfo version_info = 5;hasVersionInfo in interface RPCProtos.ConnectionHeaderOrBuilderpublic RPCProtos.VersionInfo getVersionInfo()
optional .hbase.pb.VersionInfo version_info = 5;getVersionInfo in interface RPCProtos.ConnectionHeaderOrBuilderpublic RPCProtos.ConnectionHeader.Builder setVersionInfo(RPCProtos.VersionInfo value)
optional .hbase.pb.VersionInfo version_info = 5;public RPCProtos.ConnectionHeader.Builder setVersionInfo(RPCProtos.VersionInfo.Builder builderForValue)
optional .hbase.pb.VersionInfo version_info = 5;public RPCProtos.ConnectionHeader.Builder mergeVersionInfo(RPCProtos.VersionInfo value)
optional .hbase.pb.VersionInfo version_info = 5;public RPCProtos.ConnectionHeader.Builder clearVersionInfo()
optional .hbase.pb.VersionInfo version_info = 5;public RPCProtos.VersionInfo.Builder getVersionInfoBuilder()
optional .hbase.pb.VersionInfo version_info = 5;public RPCProtos.VersionInfoOrBuilder getVersionInfoOrBuilder()
optional .hbase.pb.VersionInfo version_info = 5;getVersionInfoOrBuilder in interface RPCProtos.ConnectionHeaderOrBuilder