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, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.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<RiakDtPB.MapUpdate> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasField()
required .MapField field = 1;
hasField
in interface RiakDtPB.MapUpdateOrBuilder
public RiakDtPB.MapField getField()
required .MapField field = 1;
getField
in interface RiakDtPB.MapUpdateOrBuilder
public RiakDtPB.MapFieldOrBuilder getFieldOrBuilder()
required .MapField field = 1;
getFieldOrBuilder
in interface RiakDtPB.MapUpdateOrBuilder
public boolean hasCounterOp()
optional .CounterOp counter_op = 2;
hasCounterOp
in interface RiakDtPB.MapUpdateOrBuilder
public RiakDtPB.CounterOp getCounterOp()
optional .CounterOp counter_op = 2;
getCounterOp
in interface RiakDtPB.MapUpdateOrBuilder
public RiakDtPB.CounterOpOrBuilder getCounterOpOrBuilder()
optional .CounterOp counter_op = 2;
getCounterOpOrBuilder
in interface RiakDtPB.MapUpdateOrBuilder
public boolean hasSetOp()
optional .SetOp set_op = 3;
hasSetOp
in interface RiakDtPB.MapUpdateOrBuilder
public RiakDtPB.SetOp getSetOp()
optional .SetOp set_op = 3;
getSetOp
in interface RiakDtPB.MapUpdateOrBuilder
public RiakDtPB.SetOpOrBuilder getSetOpOrBuilder()
optional .SetOp set_op = 3;
getSetOpOrBuilder
in interface RiakDtPB.MapUpdateOrBuilder
public 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.MapUpdateOrBuilder
public 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.MapUpdateOrBuilder
public boolean hasFlagOp()
optional .MapUpdate.FlagOp flag_op = 5;
hasFlagOp
in interface RiakDtPB.MapUpdateOrBuilder
public RiakDtPB.MapUpdate.FlagOp getFlagOp()
optional .MapUpdate.FlagOp flag_op = 5;
getFlagOp
in interface RiakDtPB.MapUpdateOrBuilder
public boolean hasMapOp()
optional .MapOp map_op = 6;
hasMapOp
in interface RiakDtPB.MapUpdateOrBuilder
public RiakDtPB.MapOp getMapOp()
optional .MapOp map_op = 6;
getMapOp
in interface RiakDtPB.MapUpdateOrBuilder
public RiakDtPB.MapOpOrBuilder getMapOpOrBuilder()
optional .MapOp map_op = 6;
getMapOpOrBuilder
in interface RiakDtPB.MapUpdateOrBuilder
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 static RiakDtPB.MapUpdate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakDtPB.MapUpdate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakDtPB.MapUpdate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakDtPB.MapUpdate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakDtPB.MapUpdate parseFrom(InputStream input) throws IOException
IOException
public static RiakDtPB.MapUpdate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakDtPB.MapUpdate parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RiakDtPB.MapUpdate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakDtPB.MapUpdate parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static RiakDtPB.MapUpdate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakDtPB.MapUpdate.Builder newBuilder()
public RiakDtPB.MapUpdate.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static RiakDtPB.MapUpdate.Builder newBuilder(RiakDtPB.MapUpdate prototype)
public RiakDtPB.MapUpdate.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected RiakDtPB.MapUpdate.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2016. All rights reserved.