public static final class ClientProtos.Action extends com.google.protobuf.GeneratedMessage implements ClientProtos.ActionOrBuilder
Action
Either a Get or a Mutation
Modifier and Type | Class and Description |
---|---|
static class |
ClientProtos.Action.Builder
Protobuf type
Action |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
Modifier and Type | Field and Description |
---|---|
static int |
GET_FIELD_NUMBER |
static int |
INDEX_FIELD_NUMBER |
static int |
MUTATION_FIELD_NUMBER |
static com.google.protobuf.Parser<ClientProtos.Action> |
PARSER |
static int |
SERVICE_CALL_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static ClientProtos.Action |
getDefaultInstance() |
ClientProtos.Action |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ClientProtos.Get |
getGet()
optional .Get get = 3; |
ClientProtos.GetOrBuilder |
getGetOrBuilder()
optional .Get get = 3; |
int |
getIndex()
optional uint32 index = 1; |
ClientProtos.MutationProto |
getMutation()
optional .MutationProto mutation = 2; |
ClientProtos.MutationProtoOrBuilder |
getMutationOrBuilder()
optional .MutationProto mutation = 2; |
com.google.protobuf.Parser<ClientProtos.Action> |
getParserForType() |
int |
getSerializedSize() |
ClientProtos.CoprocessorServiceCall |
getServiceCall()
optional .CoprocessorServiceCall service_call = 4; |
ClientProtos.CoprocessorServiceCallOrBuilder |
getServiceCallOrBuilder()
optional .CoprocessorServiceCall service_call = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasGet()
optional .Get get = 3; |
int |
hashCode() |
boolean |
hasIndex()
optional uint32 index = 1; |
boolean |
hasMutation()
optional .MutationProto mutation = 2; |
boolean |
hasServiceCall()
optional .CoprocessorServiceCall service_call = 4; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ClientProtos.Action.Builder |
newBuilder() |
static ClientProtos.Action.Builder |
newBuilder(ClientProtos.Action prototype) |
ClientProtos.Action.Builder |
newBuilderForType() |
protected ClientProtos.Action.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static ClientProtos.Action |
parseDelimitedFrom(InputStream input) |
static ClientProtos.Action |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.Action |
parseFrom(byte[] data) |
static ClientProtos.Action |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.Action |
parseFrom(com.google.protobuf.ByteString data) |
static ClientProtos.Action |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.Action |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ClientProtos.Action |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.Action |
parseFrom(InputStream input) |
static ClientProtos.Action |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ClientProtos.Action.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<ClientProtos.Action> PARSER
public static final int INDEX_FIELD_NUMBER
public static final int MUTATION_FIELD_NUMBER
public static final int GET_FIELD_NUMBER
public static final int SERVICE_CALL_FIELD_NUMBER
public static ClientProtos.Action getDefaultInstance()
public ClientProtos.Action getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<ClientProtos.Action> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasIndex()
optional uint32 index = 1;
If part of a multi action, useful aligning result with what was originally submitted.
hasIndex
in interface ClientProtos.ActionOrBuilder
public int getIndex()
optional uint32 index = 1;
If part of a multi action, useful aligning result with what was originally submitted.
getIndex
in interface ClientProtos.ActionOrBuilder
public boolean hasMutation()
optional .MutationProto mutation = 2;
hasMutation
in interface ClientProtos.ActionOrBuilder
public ClientProtos.MutationProto getMutation()
optional .MutationProto mutation = 2;
getMutation
in interface ClientProtos.ActionOrBuilder
public ClientProtos.MutationProtoOrBuilder getMutationOrBuilder()
optional .MutationProto mutation = 2;
getMutationOrBuilder
in interface ClientProtos.ActionOrBuilder
public boolean hasGet()
optional .Get get = 3;
hasGet
in interface ClientProtos.ActionOrBuilder
public ClientProtos.Get getGet()
optional .Get get = 3;
getGet
in interface ClientProtos.ActionOrBuilder
public ClientProtos.GetOrBuilder getGetOrBuilder()
optional .Get get = 3;
getGetOrBuilder
in interface ClientProtos.ActionOrBuilder
public boolean hasServiceCall()
optional .CoprocessorServiceCall service_call = 4;
hasServiceCall
in interface ClientProtos.ActionOrBuilder
public ClientProtos.CoprocessorServiceCall getServiceCall()
optional .CoprocessorServiceCall service_call = 4;
getServiceCall
in interface ClientProtos.ActionOrBuilder
public ClientProtos.CoprocessorServiceCallOrBuilder getServiceCallOrBuilder()
optional .CoprocessorServiceCall service_call = 4;
getServiceCallOrBuilder
in interface ClientProtos.ActionOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static ClientProtos.Action parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientProtos.Action parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientProtos.Action parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientProtos.Action parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientProtos.Action parseFrom(InputStream input) throws IOException
IOException
public static ClientProtos.Action parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientProtos.Action parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ClientProtos.Action parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientProtos.Action parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ClientProtos.Action parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientProtos.Action.Builder newBuilder()
public ClientProtos.Action.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ClientProtos.Action.Builder newBuilder(ClientProtos.Action prototype)
public ClientProtos.Action.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected ClientProtos.Action.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.