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 |
clearVersionInfo()
optional .VersionInfo version_info = 5; |
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; |
RPCProtos.VersionInfo |
getVersionInfo()
optional .VersionInfo version_info = 5; |
RPCProtos.VersionInfo.Builder |
getVersionInfoBuilder()
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; |
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() |
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 |
mergeVersionInfo(RPCProtos.VersionInfo value)
optional .VersionInfo version_info = 5; |
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; |
RPCProtos.ConnectionHeader.Builder |
setVersionInfo(RPCProtos.VersionInfo.Builder builderForValue)
optional .VersionInfo version_info = 5; |
RPCProtos.ConnectionHeader.Builder |
setVersionInfo(RPCProtos.VersionInfo value)
optional .VersionInfo version_info = 5; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ConnectionHeader.Builder>
public RPCProtos.ConnectionHeader.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ConnectionHeader.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ConnectionHeader.Builder>
public RPCProtos.ConnectionHeader getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RPCProtos.ConnectionHeader build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RPCProtos.ConnectionHeader buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RPCProtos.ConnectionHeader.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RPCProtos.ConnectionHeader.Builder>
IOException
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.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.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 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.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 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.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 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.
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.ConnectionHeader.Builder setVersionInfo(RPCProtos.VersionInfo value)
optional .VersionInfo version_info = 5;
public RPCProtos.ConnectionHeader.Builder setVersionInfo(RPCProtos.VersionInfo.Builder builderForValue)
optional .VersionInfo version_info = 5;
public RPCProtos.ConnectionHeader.Builder mergeVersionInfo(RPCProtos.VersionInfo value)
optional .VersionInfo version_info = 5;
public RPCProtos.ConnectionHeader.Builder clearVersionInfo()
optional .VersionInfo version_info = 5;
public RPCProtos.VersionInfo.Builder getVersionInfoBuilder()
optional .VersionInfo version_info = 5;
public RPCProtos.VersionInfoOrBuilder getVersionInfoOrBuilder()
optional .VersionInfo version_info = 5;
getVersionInfoOrBuilder
in interface RPCProtos.ConnectionHeaderOrBuilder
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.