public static final class RPCPB.ConnectionHeader.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<RPCPB.ConnectionHeader,RPCPB.ConnectionHeader.Builder> implements RPCPB.ConnectionHeaderOrBuilder
ConnectionHeader
This is sent on connection setup after the connection preamble is sent.
Modifier and Type | Method and Description |
---|---|
RPCPB.ConnectionHeader |
build() |
RPCPB.ConnectionHeader |
buildPartial() |
RPCPB.ConnectionHeader.Builder |
clear() |
RPCPB.ConnectionHeader.Builder |
clearCellBlockCodecClass()
optional string cell_block_codec_class = 3; |
RPCPB.ConnectionHeader.Builder |
clearCellBlockCompressorClass()
optional string cell_block_compressor_class = 4; |
RPCPB.ConnectionHeader.Builder |
clearServiceName()
optional string service_name = 2; |
RPCPB.ConnectionHeader.Builder |
clearUserInfo()
optional .UserInformation user_info = 1; |
RPCPB.ConnectionHeader.Builder |
clearVersionInfo()
optional .VersionInfo version_info = 5; |
RPCPB.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; |
RPCPB.ConnectionHeader |
getDefaultInstanceForType() |
String |
getServiceName()
optional string service_name = 2; |
com.google.protobuf.ByteString |
getServiceNameBytes()
optional string service_name = 2; |
RPCPB.UserInformation |
getUserInfo()
optional .UserInformation user_info = 1; |
HBasePB.VersionInfo |
getVersionInfo()
optional .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 .UserInformation user_info = 1; |
boolean |
hasVersionInfo()
optional .VersionInfo version_info = 5; |
boolean |
isInitialized() |
RPCPB.ConnectionHeader.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RPCPB.ConnectionHeader.Builder |
mergeFrom(RPCPB.ConnectionHeader other) |
RPCPB.ConnectionHeader.Builder |
mergeUserInfo(RPCPB.UserInformation value)
optional .UserInformation user_info = 1; |
RPCPB.ConnectionHeader.Builder |
mergeVersionInfo(HBasePB.VersionInfo value)
optional .VersionInfo version_info = 5; |
RPCPB.ConnectionHeader.Builder |
setCellBlockCodecClass(String value)
optional string cell_block_codec_class = 3; |
RPCPB.ConnectionHeader.Builder |
setCellBlockCodecClassBytes(com.google.protobuf.ByteString value)
optional string cell_block_codec_class = 3; |
RPCPB.ConnectionHeader.Builder |
setCellBlockCompressorClass(String value)
optional string cell_block_compressor_class = 4; |
RPCPB.ConnectionHeader.Builder |
setCellBlockCompressorClassBytes(com.google.protobuf.ByteString value)
optional string cell_block_compressor_class = 4; |
RPCPB.ConnectionHeader.Builder |
setServiceName(String value)
optional string service_name = 2; |
RPCPB.ConnectionHeader.Builder |
setServiceNameBytes(com.google.protobuf.ByteString value)
optional string service_name = 2; |
RPCPB.ConnectionHeader.Builder |
setUserInfo(RPCPB.UserInformation.Builder builderForValue)
optional .UserInformation user_info = 1; |
RPCPB.ConnectionHeader.Builder |
setUserInfo(RPCPB.UserInformation value)
optional .UserInformation user_info = 1; |
RPCPB.ConnectionHeader.Builder |
setVersionInfo(HBasePB.VersionInfo.Builder builderForValue)
optional .VersionInfo version_info = 5; |
RPCPB.ConnectionHeader.Builder |
setVersionInfo(HBasePB.VersionInfo value)
optional .VersionInfo version_info = 5; |
public RPCPB.ConnectionHeader.Builder clear()
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageLite.Builder<RPCPB.ConnectionHeader,RPCPB.ConnectionHeader.Builder>
public RPCPB.ConnectionHeader.Builder clone()
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageLite.Builder<RPCPB.ConnectionHeader,RPCPB.ConnectionHeader.Builder>
public RPCPB.ConnectionHeader getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in class com.google.protobuf.GeneratedMessageLite.Builder<RPCPB.ConnectionHeader,RPCPB.ConnectionHeader.Builder>
public RPCPB.ConnectionHeader build()
build
in interface com.google.protobuf.MessageLite.Builder
public RPCPB.ConnectionHeader buildPartial()
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RPCPB.ConnectionHeader.Builder mergeFrom(RPCPB.ConnectionHeader other)
mergeFrom
in class com.google.protobuf.GeneratedMessageLite.Builder<RPCPB.ConnectionHeader,RPCPB.ConnectionHeader.Builder>
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
public RPCPB.ConnectionHeader.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessageLite.Builder<RPCPB.ConnectionHeader.Builder>
IOException
public boolean hasUserInfo()
optional .UserInformation user_info = 1;
hasUserInfo
in interface RPCPB.ConnectionHeaderOrBuilder
public RPCPB.UserInformation getUserInfo()
optional .UserInformation user_info = 1;
getUserInfo
in interface RPCPB.ConnectionHeaderOrBuilder
public RPCPB.ConnectionHeader.Builder setUserInfo(RPCPB.UserInformation value)
optional .UserInformation user_info = 1;
public RPCPB.ConnectionHeader.Builder setUserInfo(RPCPB.UserInformation.Builder builderForValue)
optional .UserInformation user_info = 1;
public RPCPB.ConnectionHeader.Builder mergeUserInfo(RPCPB.UserInformation value)
optional .UserInformation user_info = 1;
public RPCPB.ConnectionHeader.Builder clearUserInfo()
optional .UserInformation user_info = 1;
public boolean hasServiceName()
optional string service_name = 2;
hasServiceName
in interface RPCPB.ConnectionHeaderOrBuilder
public String getServiceName()
optional string service_name = 2;
getServiceName
in interface RPCPB.ConnectionHeaderOrBuilder
public com.google.protobuf.ByteString getServiceNameBytes()
optional string service_name = 2;
getServiceNameBytes
in interface RPCPB.ConnectionHeaderOrBuilder
public RPCPB.ConnectionHeader.Builder setServiceName(String value)
optional string service_name = 2;
public RPCPB.ConnectionHeader.Builder clearServiceName()
optional string service_name = 2;
public RPCPB.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 RPCPB.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 RPCPB.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 RPCPB.ConnectionHeaderOrBuilder
public RPCPB.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 RPCPB.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 RPCPB.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 RPCPB.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 RPCPB.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 RPCPB.ConnectionHeaderOrBuilder
public RPCPB.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 RPCPB.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 RPCPB.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 .VersionInfo version_info = 5;
hasVersionInfo
in interface RPCPB.ConnectionHeaderOrBuilder
public HBasePB.VersionInfo getVersionInfo()
optional .VersionInfo version_info = 5;
getVersionInfo
in interface RPCPB.ConnectionHeaderOrBuilder
public RPCPB.ConnectionHeader.Builder setVersionInfo(HBasePB.VersionInfo value)
optional .VersionInfo version_info = 5;
public RPCPB.ConnectionHeader.Builder setVersionInfo(HBasePB.VersionInfo.Builder builderForValue)
optional .VersionInfo version_info = 5;
public RPCPB.ConnectionHeader.Builder mergeVersionInfo(HBasePB.VersionInfo value)
optional .VersionInfo version_info = 5;
public RPCPB.ConnectionHeader.Builder clearVersionInfo()
optional .VersionInfo version_info = 5;
Copyright © 2010-2017, The Async HBase Authors