org.hbase.async.generated
Class RPCPB.ConnectionHeader.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.GeneratedMessageLite.Builder<RPCPB.ConnectionHeader,RPCPB.ConnectionHeader.Builder>
          extended by org.hbase.async.generated.RPCPB.ConnectionHeader.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, RPCPB.ConnectionHeaderOrBuilder
Enclosing class:
RPCPB.ConnectionHeader

public static final class RPCPB.ConnectionHeader.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<RPCPB.ConnectionHeader,RPCPB.ConnectionHeader.Builder>
implements RPCPB.ConnectionHeaderOrBuilder

Protobuf type ConnectionHeader

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


Method Summary
 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 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;
 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 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 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;
 
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
parseUnknownField
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

clear

public RPCPB.ConnectionHeader.Builder clear()
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.GeneratedMessageLite.Builder<RPCPB.ConnectionHeader,RPCPB.ConnectionHeader.Builder>

clone

public RPCPB.ConnectionHeader.Builder clone()
Specified by:
clone in interface com.google.protobuf.MessageLite.Builder
Overrides:
clone in class com.google.protobuf.GeneratedMessageLite.Builder<RPCPB.ConnectionHeader,RPCPB.ConnectionHeader.Builder>

getDefaultInstanceForType

public RPCPB.ConnectionHeader getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
getDefaultInstanceForType in class com.google.protobuf.GeneratedMessageLite.Builder<RPCPB.ConnectionHeader,RPCPB.ConnectionHeader.Builder>

build

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

buildPartial

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

mergeFrom

public RPCPB.ConnectionHeader.Builder mergeFrom(RPCPB.ConnectionHeader other)
Specified by:
mergeFrom in class com.google.protobuf.GeneratedMessageLite.Builder<RPCPB.ConnectionHeader,RPCPB.ConnectionHeader.Builder>

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder

mergeFrom

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

hasUserInfo

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

Specified by:
hasUserInfo in interface RPCPB.ConnectionHeaderOrBuilder

getUserInfo

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

Specified by:
getUserInfo in interface RPCPB.ConnectionHeaderOrBuilder

setUserInfo

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


setUserInfo

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


mergeUserInfo

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


clearUserInfo

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


hasServiceName

public boolean hasServiceName()
optional string service_name = 2;

Specified by:
hasServiceName in interface RPCPB.ConnectionHeaderOrBuilder

getServiceName

public String getServiceName()
optional string service_name = 2;

Specified by:
getServiceName in interface RPCPB.ConnectionHeaderOrBuilder

getServiceNameBytes

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

Specified by:
getServiceNameBytes in interface RPCPB.ConnectionHeaderOrBuilder

setServiceName

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


clearServiceName

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


setServiceNameBytes

public RPCPB.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 RPCPB.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 RPCPB.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 RPCPB.ConnectionHeaderOrBuilder

setCellBlockCodecClass

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


clearCellBlockCodecClass

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


setCellBlockCodecClassBytes

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


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 RPCPB.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 RPCPB.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 RPCPB.ConnectionHeaderOrBuilder

setCellBlockCompressorClass

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.
 


clearCellBlockCompressorClass

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.
 


setCellBlockCompressorClassBytes

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.
 



Copyright © 2010-2015, The Async HBase Authors