org.apache.hadoop.hbase.protobuf.generated
Class RPCProtos.ConnectionHeader.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.AbstractMessage.Builder<BuilderType>
          extended by com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ConnectionHeader.Builder>
              extended by org.apache.hadoop.hbase.protobuf.generated.RPCProtos.ConnectionHeader.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, RPCProtos.ConnectionHeaderOrBuilder
Enclosing class:
RPCProtos.ConnectionHeader

public static final class RPCProtos.ConnectionHeader.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ConnectionHeader.Builder>
implements RPCProtos.ConnectionHeaderOrBuilder

Protobuf type ConnectionHeader

 This is sent on connection setup after the connection preamble is sent.
 


Method Summary
 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;
 
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 

Method Detail

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ConnectionHeader.Builder>

clear

public RPCProtos.ConnectionHeader.Builder clear()
Specified by:
clear in interface com.google.protobuf.Message.Builder
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ConnectionHeader.Builder>

clone

public RPCProtos.ConnectionHeader.Builder clone()
Specified by:
clone in interface com.google.protobuf.Message.Builder
Specified by:
clone in interface com.google.protobuf.MessageLite.Builder
Overrides:
clone in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ConnectionHeader.Builder>

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.Message.Builder
Specified by:
getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
Overrides:
getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ConnectionHeader.Builder>

getDefaultInstanceForType

public RPCProtos.ConnectionHeader getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

public RPCProtos.ConnectionHeader build()
Specified by:
build in interface com.google.protobuf.Message.Builder
Specified by:
build in interface com.google.protobuf.MessageLite.Builder

buildPartial

public RPCProtos.ConnectionHeader buildPartial()
Specified by:
buildPartial in interface com.google.protobuf.Message.Builder
Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder

mergeFrom

public RPCProtos.ConnectionHeader.Builder mergeFrom(com.google.protobuf.Message other)
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RPCProtos.ConnectionHeader.Builder>

mergeFrom

public RPCProtos.ConnectionHeader.Builder mergeFrom(RPCProtos.ConnectionHeader other)

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ConnectionHeader.Builder>

mergeFrom

public RPCProtos.ConnectionHeader.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws IOException
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RPCProtos.ConnectionHeader.Builder>
Throws:
IOException

hasUserInfo

public boolean hasUserInfo()
optional .UserInformation user_info = 1;

Specified by:
hasUserInfo in interface RPCProtos.ConnectionHeaderOrBuilder

getUserInfo

public RPCProtos.UserInformation getUserInfo()
optional .UserInformation user_info = 1;

Specified by:
getUserInfo in interface RPCProtos.ConnectionHeaderOrBuilder

setUserInfo

public RPCProtos.ConnectionHeader.Builder setUserInfo(RPCProtos.UserInformation value)
optional .UserInformation user_info = 1;


setUserInfo

public RPCProtos.ConnectionHeader.Builder setUserInfo(RPCProtos.UserInformation.Builder builderForValue)
optional .UserInformation user_info = 1;


mergeUserInfo

public RPCProtos.ConnectionHeader.Builder mergeUserInfo(RPCProtos.UserInformation value)
optional .UserInformation user_info = 1;


clearUserInfo

public RPCProtos.ConnectionHeader.Builder clearUserInfo()
optional .UserInformation user_info = 1;


getUserInfoBuilder

public RPCProtos.UserInformation.Builder getUserInfoBuilder()
optional .UserInformation user_info = 1;


getUserInfoOrBuilder

public RPCProtos.UserInformationOrBuilder getUserInfoOrBuilder()
optional .UserInformation user_info = 1;

Specified by:
getUserInfoOrBuilder in interface RPCProtos.ConnectionHeaderOrBuilder

hasServiceName

public boolean hasServiceName()
optional string service_name = 2;

Specified by:
hasServiceName in interface RPCProtos.ConnectionHeaderOrBuilder

getServiceName

public String getServiceName()
optional string service_name = 2;

Specified by:
getServiceName in interface RPCProtos.ConnectionHeaderOrBuilder

getServiceNameBytes

public com.google.protobuf.ByteString getServiceNameBytes()
optional string service_name = 2;

Specified by:
getServiceNameBytes in interface RPCProtos.ConnectionHeaderOrBuilder

setServiceName

public RPCProtos.ConnectionHeader.Builder setServiceName(String value)
optional string service_name = 2;


clearServiceName

public RPCProtos.ConnectionHeader.Builder clearServiceName()
optional string service_name = 2;


setServiceNameBytes

public RPCProtos.ConnectionHeader.Builder setServiceNameBytes(com.google.protobuf.ByteString value)
optional string service_name = 2;


hasCellBlockCodecClass

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!!!)
 

Specified by:
hasCellBlockCodecClass in interface RPCProtos.ConnectionHeaderOrBuilder

getCellBlockCodecClass

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!!!)
 

Specified by:
getCellBlockCodecClass in interface RPCProtos.ConnectionHeaderOrBuilder

getCellBlockCodecClassBytes

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!!!)
 

Specified by:
getCellBlockCodecClassBytes in interface RPCProtos.ConnectionHeaderOrBuilder

setCellBlockCodecClass

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!!!)
 


clearCellBlockCodecClass

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!!!)
 


setCellBlockCodecClassBytes

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!!!)
 


hasCellBlockCompressorClass

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.
 

Specified by:
hasCellBlockCompressorClass in interface RPCProtos.ConnectionHeaderOrBuilder

getCellBlockCompressorClass

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.
 

Specified by:
getCellBlockCompressorClass in interface RPCProtos.ConnectionHeaderOrBuilder

getCellBlockCompressorClassBytes

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.
 

Specified by:
getCellBlockCompressorClassBytes in interface RPCProtos.ConnectionHeaderOrBuilder

setCellBlockCompressorClass

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.
 


clearCellBlockCompressorClass

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.
 


setCellBlockCompressorClassBytes

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 © 2013 The Apache Software Foundation. All Rights Reserved.