org.hbase.async.generated
Class ClientPB.MutationProto

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite
      extended by com.google.protobuf.GeneratedMessageLite
          extended by org.hbase.async.generated.ClientPB.MutationProto
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, Serializable, ClientPB.MutationProtoOrBuilder
Enclosing class:
ClientPB

public static final class ClientPB.MutationProto
extends com.google.protobuf.GeneratedMessageLite
implements ClientPB.MutationProtoOrBuilder

Protobuf type MutationProto


 A specific mutation inside a mutate request.
 It can be an append, increment, put or delete based
 on the mutation type.  It can be fully filled in or
 only metadata present because data is being carried
 elsewhere outside of pb.
 

See Also:
Serialized Form

Nested Class Summary
static class ClientPB.MutationProto.Builder
          Protobuf type MutationProto
static class ClientPB.MutationProto.ColumnValue
          Protobuf type MutationProto.ColumnValue
static interface ClientPB.MutationProto.ColumnValueOrBuilder
           
static class ClientPB.MutationProto.DeleteType
          Protobuf enum MutationProto.DeleteType
static class ClientPB.MutationProto.Durability
          Protobuf enum MutationProto.Durability
static class ClientPB.MutationProto.MutationType
          Protobuf enum MutationProto.MutationType
 
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>
 
Field Summary
static int ASSOCIATED_CELL_COUNT_FIELD_NUMBER
           
static int ATTRIBUTE_FIELD_NUMBER
           
static int COLUMN_VALUE_FIELD_NUMBER
           
static int DURABILITY_FIELD_NUMBER
           
static int MUTATE_TYPE_FIELD_NUMBER
           
static com.google.protobuf.Parser<ClientPB.MutationProto> PARSER
           
static int ROW_FIELD_NUMBER
           
static int TIME_RANGE_FIELD_NUMBER
           
static int TIMESTAMP_FIELD_NUMBER
           
 
Method Summary
 int getAssociatedCellCount()
          optional int32 associated_cell_count = 8;
 HBasePB.NameBytesPair getAttribute(int index)
          repeated .NameBytesPair attribute = 5;
 int getAttributeCount()
          repeated .NameBytesPair attribute = 5;
 List<HBasePB.NameBytesPair> getAttributeList()
          repeated .NameBytesPair attribute = 5;
 HBasePB.NameBytesPairOrBuilder getAttributeOrBuilder(int index)
          repeated .NameBytesPair attribute = 5;
 List<? extends HBasePB.NameBytesPairOrBuilder> getAttributeOrBuilderList()
          repeated .NameBytesPair attribute = 5;
 ClientPB.MutationProto.ColumnValue getColumnValue(int index)
          repeated .MutationProto.ColumnValue column_value = 3;
 int getColumnValueCount()
          repeated .MutationProto.ColumnValue column_value = 3;
 List<ClientPB.MutationProto.ColumnValue> getColumnValueList()
          repeated .MutationProto.ColumnValue column_value = 3;
 ClientPB.MutationProto.ColumnValueOrBuilder getColumnValueOrBuilder(int index)
          repeated .MutationProto.ColumnValue column_value = 3;
 List<? extends ClientPB.MutationProto.ColumnValueOrBuilder> getColumnValueOrBuilderList()
          repeated .MutationProto.ColumnValue column_value = 3;
static ClientPB.MutationProto getDefaultInstance()
           
 ClientPB.MutationProto getDefaultInstanceForType()
           
 ClientPB.MutationProto.Durability getDurability()
          optional .MutationProto.Durability durability = 6 [default = USE_DEFAULT];
 ClientPB.MutationProto.MutationType getMutateType()
          optional .MutationProto.MutationType mutate_type = 2;
 com.google.protobuf.Parser<ClientPB.MutationProto> getParserForType()
           
 com.google.protobuf.ByteString getRow()
          optional bytes row = 1;
 int getSerializedSize()
           
 HBasePB.TimeRange getTimeRange()
          optional .TimeRange time_range = 7;
 long getTimestamp()
          optional uint64 timestamp = 4;
 boolean hasAssociatedCellCount()
          optional int32 associated_cell_count = 8;
 boolean hasDurability()
          optional .MutationProto.Durability durability = 6 [default = USE_DEFAULT];
 boolean hasMutateType()
          optional .MutationProto.MutationType mutate_type = 2;
 boolean hasRow()
          optional bytes row = 1;
 boolean hasTimeRange()
          optional .TimeRange time_range = 7;
 boolean hasTimestamp()
          optional uint64 timestamp = 4;
 boolean isInitialized()
           
static ClientPB.MutationProto.Builder newBuilder()
           
static ClientPB.MutationProto.Builder newBuilder(ClientPB.MutationProto prototype)
           
 ClientPB.MutationProto.Builder newBuilderForType()
           
static ClientPB.MutationProto parseDelimitedFrom(InputStream input)
           
static ClientPB.MutationProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ClientPB.MutationProto parseFrom(byte[] data)
           
static ClientPB.MutationProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ClientPB.MutationProto parseFrom(com.google.protobuf.ByteString data)
           
static ClientPB.MutationProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ClientPB.MutationProto parseFrom(com.google.protobuf.CodedInputStream input)
           
static ClientPB.MutationProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ClientPB.MutationProto parseFrom(InputStream input)
           
static ClientPB.MutationProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ClientPB.MutationProto.Builder toBuilder()
           
protected  Object writeReplace()
           
 void writeTo(com.google.protobuf.CodedOutputStream output)
           
 
Methods inherited from class com.google.protobuf.GeneratedMessageLite
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField
 
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARSER

public static com.google.protobuf.Parser<ClientPB.MutationProto> PARSER

ROW_FIELD_NUMBER

public static final int ROW_FIELD_NUMBER
See Also:
Constant Field Values

MUTATE_TYPE_FIELD_NUMBER

public static final int MUTATE_TYPE_FIELD_NUMBER
See Also:
Constant Field Values

COLUMN_VALUE_FIELD_NUMBER

public static final int COLUMN_VALUE_FIELD_NUMBER
See Also:
Constant Field Values

TIMESTAMP_FIELD_NUMBER

public static final int TIMESTAMP_FIELD_NUMBER
See Also:
Constant Field Values

ATTRIBUTE_FIELD_NUMBER

public static final int ATTRIBUTE_FIELD_NUMBER
See Also:
Constant Field Values

DURABILITY_FIELD_NUMBER

public static final int DURABILITY_FIELD_NUMBER
See Also:
Constant Field Values

TIME_RANGE_FIELD_NUMBER

public static final int TIME_RANGE_FIELD_NUMBER
See Also:
Constant Field Values

ASSOCIATED_CELL_COUNT_FIELD_NUMBER

public static final int ASSOCIATED_CELL_COUNT_FIELD_NUMBER
See Also:
Constant Field Values
Method Detail

getDefaultInstance

public static ClientPB.MutationProto getDefaultInstance()

getDefaultInstanceForType

public ClientPB.MutationProto getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder

getParserForType

public com.google.protobuf.Parser<ClientPB.MutationProto> getParserForType()
Specified by:
getParserForType in interface com.google.protobuf.MessageLite
Overrides:
getParserForType in class com.google.protobuf.GeneratedMessageLite

hasRow

public boolean hasRow()
optional bytes row = 1;

Specified by:
hasRow in interface ClientPB.MutationProtoOrBuilder

getRow

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

Specified by:
getRow in interface ClientPB.MutationProtoOrBuilder

hasMutateType

public boolean hasMutateType()
optional .MutationProto.MutationType mutate_type = 2;

Specified by:
hasMutateType in interface ClientPB.MutationProtoOrBuilder

getMutateType

public ClientPB.MutationProto.MutationType getMutateType()
optional .MutationProto.MutationType mutate_type = 2;

Specified by:
getMutateType in interface ClientPB.MutationProtoOrBuilder

getColumnValueList

public List<ClientPB.MutationProto.ColumnValue> getColumnValueList()
repeated .MutationProto.ColumnValue column_value = 3;

Specified by:
getColumnValueList in interface ClientPB.MutationProtoOrBuilder

getColumnValueOrBuilderList

public List<? extends ClientPB.MutationProto.ColumnValueOrBuilder> getColumnValueOrBuilderList()
repeated .MutationProto.ColumnValue column_value = 3;


getColumnValueCount

public int getColumnValueCount()
repeated .MutationProto.ColumnValue column_value = 3;

Specified by:
getColumnValueCount in interface ClientPB.MutationProtoOrBuilder

getColumnValue

public ClientPB.MutationProto.ColumnValue getColumnValue(int index)
repeated .MutationProto.ColumnValue column_value = 3;

Specified by:
getColumnValue in interface ClientPB.MutationProtoOrBuilder

getColumnValueOrBuilder

public ClientPB.MutationProto.ColumnValueOrBuilder getColumnValueOrBuilder(int index)
repeated .MutationProto.ColumnValue column_value = 3;


hasTimestamp

public boolean hasTimestamp()
optional uint64 timestamp = 4;

Specified by:
hasTimestamp in interface ClientPB.MutationProtoOrBuilder

getTimestamp

public long getTimestamp()
optional uint64 timestamp = 4;

Specified by:
getTimestamp in interface ClientPB.MutationProtoOrBuilder

getAttributeList

public List<HBasePB.NameBytesPair> getAttributeList()
repeated .NameBytesPair attribute = 5;

Specified by:
getAttributeList in interface ClientPB.MutationProtoOrBuilder

getAttributeOrBuilderList

public List<? extends HBasePB.NameBytesPairOrBuilder> getAttributeOrBuilderList()
repeated .NameBytesPair attribute = 5;


getAttributeCount

public int getAttributeCount()
repeated .NameBytesPair attribute = 5;

Specified by:
getAttributeCount in interface ClientPB.MutationProtoOrBuilder

getAttribute

public HBasePB.NameBytesPair getAttribute(int index)
repeated .NameBytesPair attribute = 5;

Specified by:
getAttribute in interface ClientPB.MutationProtoOrBuilder

getAttributeOrBuilder

public HBasePB.NameBytesPairOrBuilder getAttributeOrBuilder(int index)
repeated .NameBytesPair attribute = 5;


hasDurability

public boolean hasDurability()
optional .MutationProto.Durability durability = 6 [default = USE_DEFAULT];

Specified by:
hasDurability in interface ClientPB.MutationProtoOrBuilder

getDurability

public ClientPB.MutationProto.Durability getDurability()
optional .MutationProto.Durability durability = 6 [default = USE_DEFAULT];

Specified by:
getDurability in interface ClientPB.MutationProtoOrBuilder

hasTimeRange

public boolean hasTimeRange()
optional .TimeRange time_range = 7;
 For some mutations, a result may be returned, in which case,
 time range can be specified for potential performance gain
 

Specified by:
hasTimeRange in interface ClientPB.MutationProtoOrBuilder

getTimeRange

public HBasePB.TimeRange getTimeRange()
optional .TimeRange time_range = 7;
 For some mutations, a result may be returned, in which case,
 time range can be specified for potential performance gain
 

Specified by:
getTimeRange in interface ClientPB.MutationProtoOrBuilder

hasAssociatedCellCount

public boolean hasAssociatedCellCount()
optional int32 associated_cell_count = 8;
 The below count is set when the associated cells are NOT
 part of this protobuf message; they are passed alongside
 and then this Message is a placeholder with metadata.  The
 count is needed to know how many to peel off the block of Cells as
 ours.  NOTE: This is different from the pb managed cell_count of the
 'cell' field above which is non-null when the cells are pb'd.
 

Specified by:
hasAssociatedCellCount in interface ClientPB.MutationProtoOrBuilder

getAssociatedCellCount

public int getAssociatedCellCount()
optional int32 associated_cell_count = 8;
 The below count is set when the associated cells are NOT
 part of this protobuf message; they are passed alongside
 and then this Message is a placeholder with metadata.  The
 count is needed to know how many to peel off the block of Cells as
 ours.  NOTE: This is different from the pb managed cell_count of the
 'cell' field above which is non-null when the cells are pb'd.
 

Specified by:
getAssociatedCellCount in interface ClientPB.MutationProtoOrBuilder

isInitialized

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

writeTo

public void writeTo(com.google.protobuf.CodedOutputStream output)
             throws IOException
Specified by:
writeTo in interface com.google.protobuf.MessageLite
Throws:
IOException

getSerializedSize

public int getSerializedSize()
Specified by:
getSerializedSize in interface com.google.protobuf.MessageLite

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
Overrides:
writeReplace in class com.google.protobuf.GeneratedMessageLite
Throws:
ObjectStreamException

parseFrom

public static ClientPB.MutationProto parseFrom(com.google.protobuf.ByteString data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static ClientPB.MutationProto parseFrom(com.google.protobuf.ByteString data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static ClientPB.MutationProto parseFrom(byte[] data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static ClientPB.MutationProto parseFrom(byte[] data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static ClientPB.MutationProto parseFrom(InputStream input)
                                        throws IOException
Throws:
IOException

parseFrom

public static ClientPB.MutationProto parseFrom(InputStream input,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws IOException
Throws:
IOException

parseDelimitedFrom

public static ClientPB.MutationProto parseDelimitedFrom(InputStream input)
                                                 throws IOException
Throws:
IOException

parseDelimitedFrom

public static ClientPB.MutationProto parseDelimitedFrom(InputStream input,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws IOException
Throws:
IOException

parseFrom

public static ClientPB.MutationProto parseFrom(com.google.protobuf.CodedInputStream input)
                                        throws IOException
Throws:
IOException

parseFrom

public static ClientPB.MutationProto parseFrom(com.google.protobuf.CodedInputStream input,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws IOException
Throws:
IOException

newBuilder

public static ClientPB.MutationProto.Builder newBuilder()

newBuilderForType

public ClientPB.MutationProto.Builder newBuilderForType()
Specified by:
newBuilderForType in interface com.google.protobuf.MessageLite

newBuilder

public static ClientPB.MutationProto.Builder newBuilder(ClientPB.MutationProto prototype)

toBuilder

public ClientPB.MutationProto.Builder toBuilder()
Specified by:
toBuilder in interface com.google.protobuf.MessageLite


Copyright © 2010-2015, The Async HBase Authors