org.apache.hadoop.hbase.protobuf.generated
Class CellProtos.KeyValue.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<CellProtos.KeyValue.Builder>
              extended by org.apache.hadoop.hbase.protobuf.generated.CellProtos.KeyValue.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, CellProtos.KeyValueOrBuilder
Enclosing class:
CellProtos.KeyValue

public static final class CellProtos.KeyValue.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CellProtos.KeyValue.Builder>
implements CellProtos.KeyValueOrBuilder

Protobuf type KeyValue


 Protocol buffer version of KeyValue.
 It doesn't have those transient parameters
 


Method Summary
 CellProtos.KeyValue build()
           
 CellProtos.KeyValue buildPartial()
           
 CellProtos.KeyValue.Builder clear()
           
 CellProtos.KeyValue.Builder clearFamily()
          required bytes family = 2;
 CellProtos.KeyValue.Builder clearKeyType()
          optional .CellType key_type = 5;
 CellProtos.KeyValue.Builder clearQualifier()
          required bytes qualifier = 3;
 CellProtos.KeyValue.Builder clearRow()
          required bytes row = 1;
 CellProtos.KeyValue.Builder clearTimestamp()
          optional uint64 timestamp = 4;
 CellProtos.KeyValue.Builder clearValue()
          optional bytes value = 6;
 CellProtos.KeyValue.Builder clone()
           
 CellProtos.KeyValue getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 com.google.protobuf.ByteString getFamily()
          required bytes family = 2;
 CellProtos.CellType getKeyType()
          optional .CellType key_type = 5;
 com.google.protobuf.ByteString getQualifier()
          required bytes qualifier = 3;
 com.google.protobuf.ByteString getRow()
          required bytes row = 1;
 long getTimestamp()
          optional uint64 timestamp = 4;
 com.google.protobuf.ByteString getValue()
          optional bytes value = 6;
 boolean hasFamily()
          required bytes family = 2;
 boolean hasKeyType()
          optional .CellType key_type = 5;
 boolean hasQualifier()
          required bytes qualifier = 3;
 boolean hasRow()
          required bytes row = 1;
 boolean hasTimestamp()
          optional uint64 timestamp = 4;
 boolean hasValue()
          optional bytes value = 6;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 CellProtos.KeyValue.Builder mergeFrom(CellProtos.KeyValue other)
           
 CellProtos.KeyValue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 CellProtos.KeyValue.Builder mergeFrom(com.google.protobuf.Message other)
           
 CellProtos.KeyValue.Builder setFamily(com.google.protobuf.ByteString value)
          required bytes family = 2;
 CellProtos.KeyValue.Builder setKeyType(CellProtos.CellType value)
          optional .CellType key_type = 5;
 CellProtos.KeyValue.Builder setQualifier(com.google.protobuf.ByteString value)
          required bytes qualifier = 3;
 CellProtos.KeyValue.Builder setRow(com.google.protobuf.ByteString value)
          required bytes row = 1;
 CellProtos.KeyValue.Builder setTimestamp(long value)
          optional uint64 timestamp = 4;
 CellProtos.KeyValue.Builder setValue(com.google.protobuf.ByteString value)
          optional bytes value = 6;
 
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<CellProtos.KeyValue.Builder>

clear

public CellProtos.KeyValue.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<CellProtos.KeyValue.Builder>

clone

public CellProtos.KeyValue.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<CellProtos.KeyValue.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<CellProtos.KeyValue.Builder>

getDefaultInstanceForType

public CellProtos.KeyValue getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

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

buildPartial

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

mergeFrom

public CellProtos.KeyValue.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<CellProtos.KeyValue.Builder>

mergeFrom

public CellProtos.KeyValue.Builder mergeFrom(CellProtos.KeyValue other)

isInitialized

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

mergeFrom

public CellProtos.KeyValue.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<CellProtos.KeyValue.Builder>
Throws:
IOException

hasRow

public boolean hasRow()
required bytes row = 1;

Specified by:
hasRow in interface CellProtos.KeyValueOrBuilder

getRow

public com.google.protobuf.ByteString getRow()
required bytes row = 1;

Specified by:
getRow in interface CellProtos.KeyValueOrBuilder

setRow

public CellProtos.KeyValue.Builder setRow(com.google.protobuf.ByteString value)
required bytes row = 1;


clearRow

public CellProtos.KeyValue.Builder clearRow()
required bytes row = 1;


hasFamily

public boolean hasFamily()
required bytes family = 2;

Specified by:
hasFamily in interface CellProtos.KeyValueOrBuilder

getFamily

public com.google.protobuf.ByteString getFamily()
required bytes family = 2;

Specified by:
getFamily in interface CellProtos.KeyValueOrBuilder

setFamily

public CellProtos.KeyValue.Builder setFamily(com.google.protobuf.ByteString value)
required bytes family = 2;


clearFamily

public CellProtos.KeyValue.Builder clearFamily()
required bytes family = 2;


hasQualifier

public boolean hasQualifier()
required bytes qualifier = 3;

Specified by:
hasQualifier in interface CellProtos.KeyValueOrBuilder

getQualifier

public com.google.protobuf.ByteString getQualifier()
required bytes qualifier = 3;

Specified by:
getQualifier in interface CellProtos.KeyValueOrBuilder

setQualifier

public CellProtos.KeyValue.Builder setQualifier(com.google.protobuf.ByteString value)
required bytes qualifier = 3;


clearQualifier

public CellProtos.KeyValue.Builder clearQualifier()
required bytes qualifier = 3;


hasTimestamp

public boolean hasTimestamp()
optional uint64 timestamp = 4;

Specified by:
hasTimestamp in interface CellProtos.KeyValueOrBuilder

getTimestamp

public long getTimestamp()
optional uint64 timestamp = 4;

Specified by:
getTimestamp in interface CellProtos.KeyValueOrBuilder

setTimestamp

public CellProtos.KeyValue.Builder setTimestamp(long value)
optional uint64 timestamp = 4;


clearTimestamp

public CellProtos.KeyValue.Builder clearTimestamp()
optional uint64 timestamp = 4;


hasKeyType

public boolean hasKeyType()
optional .CellType key_type = 5;

Specified by:
hasKeyType in interface CellProtos.KeyValueOrBuilder

getKeyType

public CellProtos.CellType getKeyType()
optional .CellType key_type = 5;

Specified by:
getKeyType in interface CellProtos.KeyValueOrBuilder

setKeyType

public CellProtos.KeyValue.Builder setKeyType(CellProtos.CellType value)
optional .CellType key_type = 5;


clearKeyType

public CellProtos.KeyValue.Builder clearKeyType()
optional .CellType key_type = 5;


hasValue

public boolean hasValue()
optional bytes value = 6;

Specified by:
hasValue in interface CellProtos.KeyValueOrBuilder

getValue

public com.google.protobuf.ByteString getValue()
optional bytes value = 6;

Specified by:
getValue in interface CellProtos.KeyValueOrBuilder

setValue

public CellProtos.KeyValue.Builder setValue(com.google.protobuf.ByteString value)
optional bytes value = 6;


clearValue

public CellProtos.KeyValue.Builder clearValue()
optional bytes value = 6;



Copyright © 2013 The Apache Software Foundation. All Rights Reserved.