public static final class ClientPB.MutateRequest extends com.google.protobuf.GeneratedMessageLite implements ClientPB.MutateRequestOrBuilder
MutateRequest
The mutate request. Perform a single Mutate operation. Optionally, you can specify a condition. The mutate will take place only if the condition is met. Otherwise, the mutate will be ignored. In the response result, parameter processed is used to indicate if the mutate actually happened.
| Modifier and Type | Class and Description |
|---|---|
static class |
ClientPB.MutateRequest.Builder
Protobuf type
MutateRequest |
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>| Modifier and Type | Field and Description |
|---|---|
static int |
CONDITION_FIELD_NUMBER |
static int |
MUTATION_FIELD_NUMBER |
static int |
NONCE_GROUP_FIELD_NUMBER |
static com.google.protobuf.Parser<ClientPB.MutateRequest> |
PARSER |
static int |
REGION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
ClientPB.Condition |
getCondition()
optional .Condition condition = 3; |
static ClientPB.MutateRequest |
getDefaultInstance() |
ClientPB.MutateRequest |
getDefaultInstanceForType() |
ClientPB.MutationProto |
getMutation()
required .MutationProto mutation = 2; |
long |
getNonceGroup()
optional uint64 nonce_group = 4; |
com.google.protobuf.Parser<ClientPB.MutateRequest> |
getParserForType() |
HBasePB.RegionSpecifier |
getRegion()
required .RegionSpecifier region = 1; |
int |
getSerializedSize() |
boolean |
hasCondition()
optional .Condition condition = 3; |
boolean |
hasMutation()
required .MutationProto mutation = 2; |
boolean |
hasNonceGroup()
optional uint64 nonce_group = 4; |
boolean |
hasRegion()
required .RegionSpecifier region = 1; |
boolean |
isInitialized() |
static ClientPB.MutateRequest.Builder |
newBuilder() |
static ClientPB.MutateRequest.Builder |
newBuilder(ClientPB.MutateRequest prototype) |
ClientPB.MutateRequest.Builder |
newBuilderForType() |
static ClientPB.MutateRequest |
parseDelimitedFrom(InputStream input) |
static ClientPB.MutateRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientPB.MutateRequest |
parseFrom(byte[] data) |
static ClientPB.MutateRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientPB.MutateRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ClientPB.MutateRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientPB.MutateRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ClientPB.MutateRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientPB.MutateRequest |
parseFrom(InputStream input) |
static ClientPB.MutateRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ClientPB.MutateRequest.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownFieldpublic static com.google.protobuf.Parser<ClientPB.MutateRequest> PARSER
public static final int REGION_FIELD_NUMBER
public static final int MUTATION_FIELD_NUMBER
public static final int CONDITION_FIELD_NUMBER
public static final int NONCE_GROUP_FIELD_NUMBER
public static ClientPB.MutateRequest getDefaultInstance()
public ClientPB.MutateRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilderpublic com.google.protobuf.Parser<ClientPB.MutateRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageLitepublic boolean hasRegion()
required .RegionSpecifier region = 1;hasRegion in interface ClientPB.MutateRequestOrBuilderpublic HBasePB.RegionSpecifier getRegion()
required .RegionSpecifier region = 1;getRegion in interface ClientPB.MutateRequestOrBuilderpublic boolean hasMutation()
required .MutationProto mutation = 2;hasMutation in interface ClientPB.MutateRequestOrBuilderpublic ClientPB.MutationProto getMutation()
required .MutationProto mutation = 2;getMutation in interface ClientPB.MutateRequestOrBuilderpublic boolean hasCondition()
optional .Condition condition = 3;hasCondition in interface ClientPB.MutateRequestOrBuilderpublic ClientPB.Condition getCondition()
optional .Condition condition = 3;getCondition in interface ClientPB.MutateRequestOrBuilderpublic boolean hasNonceGroup()
optional uint64 nonce_group = 4;hasNonceGroup in interface ClientPB.MutateRequestOrBuilderpublic long getNonceGroup()
optional uint64 nonce_group = 4;getNonceGroup in interface ClientPB.MutateRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderpublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLiteIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLiteprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageLiteObjectStreamExceptionpublic static ClientPB.MutateRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientPB.MutateRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientPB.MutateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientPB.MutateRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientPB.MutateRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static ClientPB.MutateRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientPB.MutateRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ClientPB.MutateRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientPB.MutateRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ClientPB.MutateRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientPB.MutateRequest.Builder newBuilder()
public ClientPB.MutateRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessageLitepublic static ClientPB.MutateRequest.Builder newBuilder(ClientPB.MutateRequest prototype)
public ClientPB.MutateRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessageLiteCopyright © 2010-2017, The Async HBase Authors