public static final class RiakDtPB.DtUpdateResp extends com.google.protobuf.GeneratedMessage implements RiakDtPB.DtUpdateRespOrBuilder
DtUpdateResp
The equivalent of KV's "RpbPutResp", contains the assigned key if it was assigned by the server, and the resulting value and context if return_body was set.
Modifier and Type | Class and Description |
---|---|
static class |
RiakDtPB.DtUpdateResp.Builder
Protobuf type
DtUpdateResp |
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 |
CONTEXT_FIELD_NUMBER |
static int |
COUNTER_VALUE_FIELD_NUMBER |
static int |
GSET_VALUE_FIELD_NUMBER |
static int |
HLL_VALUE_FIELD_NUMBER |
static int |
KEY_FIELD_NUMBER |
static int |
MAP_VALUE_FIELD_NUMBER |
static com.google.protobuf.Parser<RiakDtPB.DtUpdateResp> |
PARSER |
static int |
SET_VALUE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.ByteString |
getContext()
optional bytes context = 2; |
long |
getCounterValue()
optional sint64 counter_value = 3; |
static RiakDtPB.DtUpdateResp |
getDefaultInstance() |
RiakDtPB.DtUpdateResp |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getGsetValue(int index)
repeated bytes gset_value = 7; |
int |
getGsetValueCount()
repeated bytes gset_value = 7; |
List<com.google.protobuf.ByteString> |
getGsetValueList()
repeated bytes gset_value = 7; |
long |
getHllValue()
optional uint64 hll_value = 6; |
com.google.protobuf.ByteString |
getKey()
optional bytes key = 1; |
RiakDtPB.MapEntry |
getMapValue(int index)
repeated .MapEntry map_value = 5; |
int |
getMapValueCount()
repeated .MapEntry map_value = 5; |
List<RiakDtPB.MapEntry> |
getMapValueList()
repeated .MapEntry map_value = 5; |
RiakDtPB.MapEntryOrBuilder |
getMapValueOrBuilder(int index)
repeated .MapEntry map_value = 5; |
List<? extends RiakDtPB.MapEntryOrBuilder> |
getMapValueOrBuilderList()
repeated .MapEntry map_value = 5; |
com.google.protobuf.Parser<RiakDtPB.DtUpdateResp> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.ByteString |
getSetValue(int index)
repeated bytes set_value = 4; |
int |
getSetValueCount()
repeated bytes set_value = 4; |
List<com.google.protobuf.ByteString> |
getSetValueList()
repeated bytes set_value = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasContext()
optional bytes context = 2; |
boolean |
hasCounterValue()
optional sint64 counter_value = 3; |
boolean |
hasHllValue()
optional uint64 hll_value = 6; |
boolean |
hasKey()
optional bytes key = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RiakDtPB.DtUpdateResp.Builder |
newBuilder() |
static RiakDtPB.DtUpdateResp.Builder |
newBuilder(RiakDtPB.DtUpdateResp prototype) |
RiakDtPB.DtUpdateResp.Builder |
newBuilderForType() |
protected RiakDtPB.DtUpdateResp.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static RiakDtPB.DtUpdateResp |
parseDelimitedFrom(InputStream input) |
static RiakDtPB.DtUpdateResp |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.DtUpdateResp |
parseFrom(byte[] data) |
static RiakDtPB.DtUpdateResp |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.DtUpdateResp |
parseFrom(com.google.protobuf.ByteString data) |
static RiakDtPB.DtUpdateResp |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.DtUpdateResp |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RiakDtPB.DtUpdateResp |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.DtUpdateResp |
parseFrom(InputStream input) |
static RiakDtPB.DtUpdateResp |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakDtPB.DtUpdateResp.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.DtUpdateResp> PARSER
public static final int KEY_FIELD_NUMBER
public static final int CONTEXT_FIELD_NUMBER
public static final int COUNTER_VALUE_FIELD_NUMBER
public static final int SET_VALUE_FIELD_NUMBER
public static final int MAP_VALUE_FIELD_NUMBER
public static final int HLL_VALUE_FIELD_NUMBER
public static final int GSET_VALUE_FIELD_NUMBER
public static RiakDtPB.DtUpdateResp getDefaultInstance()
public RiakDtPB.DtUpdateResp 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.DtUpdateResp> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasKey()
optional bytes key = 1;
The key, if assigned by the server
hasKey
in interface RiakDtPB.DtUpdateRespOrBuilder
public com.google.protobuf.ByteString getKey()
optional bytes key = 1;
The key, if assigned by the server
getKey
in interface RiakDtPB.DtUpdateRespOrBuilder
public boolean hasContext()
optional bytes context = 2;
The opaque update context and value, if return_body was set.
hasContext
in interface RiakDtPB.DtUpdateRespOrBuilder
public com.google.protobuf.ByteString getContext()
optional bytes context = 2;
The opaque update context and value, if return_body was set.
getContext
in interface RiakDtPB.DtUpdateRespOrBuilder
public boolean hasCounterValue()
optional sint64 counter_value = 3;
hasCounterValue
in interface RiakDtPB.DtUpdateRespOrBuilder
public long getCounterValue()
optional sint64 counter_value = 3;
getCounterValue
in interface RiakDtPB.DtUpdateRespOrBuilder
public List<com.google.protobuf.ByteString> getSetValueList()
repeated bytes set_value = 4;
getSetValueList
in interface RiakDtPB.DtUpdateRespOrBuilder
public int getSetValueCount()
repeated bytes set_value = 4;
getSetValueCount
in interface RiakDtPB.DtUpdateRespOrBuilder
public com.google.protobuf.ByteString getSetValue(int index)
repeated bytes set_value = 4;
getSetValue
in interface RiakDtPB.DtUpdateRespOrBuilder
public List<RiakDtPB.MapEntry> getMapValueList()
repeated .MapEntry map_value = 5;
getMapValueList
in interface RiakDtPB.DtUpdateRespOrBuilder
public List<? extends RiakDtPB.MapEntryOrBuilder> getMapValueOrBuilderList()
repeated .MapEntry map_value = 5;
getMapValueOrBuilderList
in interface RiakDtPB.DtUpdateRespOrBuilder
public int getMapValueCount()
repeated .MapEntry map_value = 5;
getMapValueCount
in interface RiakDtPB.DtUpdateRespOrBuilder
public RiakDtPB.MapEntry getMapValue(int index)
repeated .MapEntry map_value = 5;
getMapValue
in interface RiakDtPB.DtUpdateRespOrBuilder
public RiakDtPB.MapEntryOrBuilder getMapValueOrBuilder(int index)
repeated .MapEntry map_value = 5;
getMapValueOrBuilder
in interface RiakDtPB.DtUpdateRespOrBuilder
public boolean hasHllValue()
optional uint64 hll_value = 6;
hasHllValue
in interface RiakDtPB.DtUpdateRespOrBuilder
public long getHllValue()
optional uint64 hll_value = 6;
getHllValue
in interface RiakDtPB.DtUpdateRespOrBuilder
public List<com.google.protobuf.ByteString> getGsetValueList()
repeated bytes gset_value = 7;
getGsetValueList
in interface RiakDtPB.DtUpdateRespOrBuilder
public int getGsetValueCount()
repeated bytes gset_value = 7;
getGsetValueCount
in interface RiakDtPB.DtUpdateRespOrBuilder
public com.google.protobuf.ByteString getGsetValue(int index)
repeated bytes gset_value = 7;
getGsetValue
in interface RiakDtPB.DtUpdateRespOrBuilder
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.DtUpdateResp parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakDtPB.DtUpdateResp parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakDtPB.DtUpdateResp parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakDtPB.DtUpdateResp parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakDtPB.DtUpdateResp parseFrom(InputStream input) throws IOException
IOException
public static RiakDtPB.DtUpdateResp parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakDtPB.DtUpdateResp parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RiakDtPB.DtUpdateResp parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakDtPB.DtUpdateResp parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static RiakDtPB.DtUpdateResp parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakDtPB.DtUpdateResp.Builder newBuilder()
public RiakDtPB.DtUpdateResp.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static RiakDtPB.DtUpdateResp.Builder newBuilder(RiakDtPB.DtUpdateResp prototype)
public RiakDtPB.DtUpdateResp.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected RiakDtPB.DtUpdateResp.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2016. All rights reserved.