org.hbase.async.generated
Class ClientPB.Action

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

public static final class ClientPB.Action
extends com.google.protobuf.GeneratedMessageLite
implements ClientPB.ActionOrBuilder

Protobuf type Action

 Either a Get or a Mutation
 

See Also:
Serialized Form

Nested Class Summary
static class ClientPB.Action.Builder
          Protobuf type Action
 
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 GET_FIELD_NUMBER
           
static int INDEX_FIELD_NUMBER
           
static int MUTATION_FIELD_NUMBER
           
static com.google.protobuf.Parser<ClientPB.Action> PARSER
           
 
Method Summary
static ClientPB.Action getDefaultInstance()
           
 ClientPB.Action getDefaultInstanceForType()
           
 ClientPB.Get getGet()
          optional .Get get = 3;
 int getIndex()
          optional uint32 index = 1;
 ClientPB.MutationProto getMutation()
          optional .MutationProto mutation = 2;
 com.google.protobuf.Parser<ClientPB.Action> getParserForType()
           
 int getSerializedSize()
           
 boolean hasGet()
          optional .Get get = 3;
 boolean hasIndex()
          optional uint32 index = 1;
 boolean hasMutation()
          optional .MutationProto mutation = 2;
 boolean isInitialized()
           
static ClientPB.Action.Builder newBuilder()
           
static ClientPB.Action.Builder newBuilder(ClientPB.Action prototype)
           
 ClientPB.Action.Builder newBuilderForType()
           
static ClientPB.Action parseDelimitedFrom(InputStream input)
           
static ClientPB.Action parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ClientPB.Action parseFrom(byte[] data)
           
static ClientPB.Action parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ClientPB.Action parseFrom(com.google.protobuf.ByteString data)
           
static ClientPB.Action parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ClientPB.Action parseFrom(com.google.protobuf.CodedInputStream input)
           
static ClientPB.Action parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ClientPB.Action parseFrom(InputStream input)
           
static ClientPB.Action parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ClientPB.Action.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.Action> PARSER

INDEX_FIELD_NUMBER

public static final int INDEX_FIELD_NUMBER
See Also:
Constant Field Values

MUTATION_FIELD_NUMBER

public static final int MUTATION_FIELD_NUMBER
See Also:
Constant Field Values

GET_FIELD_NUMBER

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

getDefaultInstance

public static ClientPB.Action getDefaultInstance()

getDefaultInstanceForType

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

getParserForType

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

hasIndex

public boolean hasIndex()
optional uint32 index = 1;
 If part of a multi action, useful aligning
 result with what was originally submitted.
 

Specified by:
hasIndex in interface ClientPB.ActionOrBuilder

getIndex

public int getIndex()
optional uint32 index = 1;
 If part of a multi action, useful aligning
 result with what was originally submitted.
 

Specified by:
getIndex in interface ClientPB.ActionOrBuilder

hasMutation

public boolean hasMutation()
optional .MutationProto mutation = 2;

Specified by:
hasMutation in interface ClientPB.ActionOrBuilder

getMutation

public ClientPB.MutationProto getMutation()
optional .MutationProto mutation = 2;

Specified by:
getMutation in interface ClientPB.ActionOrBuilder

hasGet

public boolean hasGet()
optional .Get get = 3;

Specified by:
hasGet in interface ClientPB.ActionOrBuilder

getGet

public ClientPB.Get getGet()
optional .Get get = 3;

Specified by:
getGet in interface ClientPB.ActionOrBuilder

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.Action parseFrom(com.google.protobuf.ByteString data)
                                 throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static ClientPB.Action 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.Action parseFrom(byte[] data)
                                 throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

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

parseFrom

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

parseFrom

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

parseDelimitedFrom

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

parseDelimitedFrom

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

parseFrom

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

parseFrom

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

newBuilder

public static ClientPB.Action.Builder newBuilder()

newBuilderForType

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

newBuilder

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

toBuilder

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


Copyright © 2010-2015, The Async HBase Authors