public static final class RiakDtPB.MapUpdate extends com.google.protobuf.GeneratedMessage implements RiakDtPB.MapUpdateOrBuilder
MapUpdate
An operation to be applied to a value stored in a Map -- the contents of an UPDATE operation. The operation field that is present depends on the type of the field to which it is applied.
| Modifier and Type | Class and Description |
|---|---|
static class |
RiakDtPB.MapUpdate.Builder
Protobuf type
MapUpdate |
static class |
RiakDtPB.MapUpdate.FlagOp
Protobuf enum
MapUpdate.FlagOp |
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 |
COUNTER_OP_FIELD_NUMBER |
static int |
FIELD_FIELD_NUMBER |
static int |
FLAG_OP_FIELD_NUMBER |
static int |
MAP_OP_FIELD_NUMBER |
static com.google.protobuf.Parser<RiakDtPB.MapUpdate> |
PARSER |
static int |
REGISTER_OP_FIELD_NUMBER |
static int |
SET_OP_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
RiakDtPB.CounterOp |
getCounterOp()
optional .CounterOp counter_op = 2; |
RiakDtPB.CounterOpOrBuilder |
getCounterOpOrBuilder()
optional .CounterOp counter_op = 2; |
static RiakDtPB.MapUpdate |
getDefaultInstance() |
RiakDtPB.MapUpdate |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
RiakDtPB.MapField |
getField()
required .MapField field = 1; |
RiakDtPB.MapFieldOrBuilder |
getFieldOrBuilder()
required .MapField field = 1; |
RiakDtPB.MapUpdate.FlagOp |
getFlagOp()
optional .MapUpdate.FlagOp flag_op = 5; |
RiakDtPB.MapOp |
getMapOp()
optional .MapOp map_op = 6; |
RiakDtPB.MapOpOrBuilder |
getMapOpOrBuilder()
optional .MapOp map_op = 6; |
com.google.protobuf.Parser<RiakDtPB.MapUpdate> |
getParserForType() |
com.google.protobuf.ByteString |
getRegisterOp()
optional bytes register_op = 4; |
int |
getSerializedSize() |
RiakDtPB.SetOp |
getSetOp()
optional .SetOp set_op = 3; |
RiakDtPB.SetOpOrBuilder |
getSetOpOrBuilder()
optional .SetOp set_op = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCounterOp()
optional .CounterOp counter_op = 2; |
boolean |
hasField()
required .MapField field = 1; |
boolean |
hasFlagOp()
optional .MapUpdate.FlagOp flag_op = 5; |
boolean |
hasMapOp()
optional .MapOp map_op = 6; |
boolean |
hasRegisterOp()
optional bytes register_op = 4; |
boolean |
hasSetOp()
optional .SetOp set_op = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RiakDtPB.MapUpdate.Builder |
newBuilder() |
static RiakDtPB.MapUpdate.Builder |
newBuilder(RiakDtPB.MapUpdate prototype) |
RiakDtPB.MapUpdate.Builder |
newBuilderForType() |
protected RiakDtPB.MapUpdate.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static RiakDtPB.MapUpdate |
parseDelimitedFrom(InputStream input) |
static RiakDtPB.MapUpdate |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.MapUpdate |
parseFrom(byte[] data) |
static RiakDtPB.MapUpdate |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.MapUpdate |
parseFrom(com.google.protobuf.ByteString data) |
static RiakDtPB.MapUpdate |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.MapUpdate |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RiakDtPB.MapUpdate |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.MapUpdate |
parseFrom(InputStream input) |
static RiakDtPB.MapUpdate |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakDtPB.MapUpdate.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<RiakDtPB.MapUpdate> PARSER
public static final int FIELD_FIELD_NUMBER
public static final int COUNTER_OP_FIELD_NUMBER
public static final int SET_OP_FIELD_NUMBER
public static final int REGISTER_OP_FIELD_NUMBER
public static final int FLAG_OP_FIELD_NUMBER
public static final int MAP_OP_FIELD_NUMBER
public static RiakDtPB.MapUpdate getDefaultInstance()
public RiakDtPB.MapUpdate getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<RiakDtPB.MapUpdate> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasField()
required .MapField field = 1;hasField in interface RiakDtPB.MapUpdateOrBuilderpublic RiakDtPB.MapField getField()
required .MapField field = 1;getField in interface RiakDtPB.MapUpdateOrBuilderpublic RiakDtPB.MapFieldOrBuilder getFieldOrBuilder()
required .MapField field = 1;getFieldOrBuilder in interface RiakDtPB.MapUpdateOrBuilderpublic boolean hasCounterOp()
optional .CounterOp counter_op = 2;hasCounterOp in interface RiakDtPB.MapUpdateOrBuilderpublic RiakDtPB.CounterOp getCounterOp()
optional .CounterOp counter_op = 2;getCounterOp in interface RiakDtPB.MapUpdateOrBuilderpublic RiakDtPB.CounterOpOrBuilder getCounterOpOrBuilder()
optional .CounterOp counter_op = 2;getCounterOpOrBuilder in interface RiakDtPB.MapUpdateOrBuilderpublic boolean hasSetOp()
optional .SetOp set_op = 3;hasSetOp in interface RiakDtPB.MapUpdateOrBuilderpublic RiakDtPB.SetOp getSetOp()
optional .SetOp set_op = 3;getSetOp in interface RiakDtPB.MapUpdateOrBuilderpublic RiakDtPB.SetOpOrBuilder getSetOpOrBuilder()
optional .SetOp set_op = 3;getSetOpOrBuilder in interface RiakDtPB.MapUpdateOrBuilderpublic boolean hasRegisterOp()
optional bytes register_op = 4;
There is only one operation on a register, which is to set its value, therefore the "operation" is the new value.
hasRegisterOp in interface RiakDtPB.MapUpdateOrBuilderpublic com.google.protobuf.ByteString getRegisterOp()
optional bytes register_op = 4;
There is only one operation on a register, which is to set its value, therefore the "operation" is the new value.
getRegisterOp in interface RiakDtPB.MapUpdateOrBuilderpublic boolean hasFlagOp()
optional .MapUpdate.FlagOp flag_op = 5;hasFlagOp in interface RiakDtPB.MapUpdateOrBuilderpublic RiakDtPB.MapUpdate.FlagOp getFlagOp()
optional .MapUpdate.FlagOp flag_op = 5;getFlagOp in interface RiakDtPB.MapUpdateOrBuilderpublic boolean hasMapOp()
optional .MapOp map_op = 6;hasMapOp in interface RiakDtPB.MapUpdateOrBuilderpublic RiakDtPB.MapOp getMapOp()
optional .MapOp map_op = 6;getMapOp in interface RiakDtPB.MapUpdateOrBuilderpublic RiakDtPB.MapOpOrBuilder getMapOpOrBuilder()
optional .MapOp map_op = 6;getMapOpOrBuilder in interface RiakDtPB.MapUpdateOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static RiakDtPB.MapUpdate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakDtPB.MapUpdate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakDtPB.MapUpdate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakDtPB.MapUpdate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakDtPB.MapUpdate parseFrom(InputStream input) throws IOException
IOExceptionpublic static RiakDtPB.MapUpdate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakDtPB.MapUpdate parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RiakDtPB.MapUpdate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakDtPB.MapUpdate parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RiakDtPB.MapUpdate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakDtPB.MapUpdate.Builder newBuilder()
public RiakDtPB.MapUpdate.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RiakDtPB.MapUpdate.Builder newBuilder(RiakDtPB.MapUpdate prototype)
public RiakDtPB.MapUpdate.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RiakDtPB.MapUpdate.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2016. All rights reserved.