public static final class RiakDtPB.DtValue extends com.google.protobuf.GeneratedMessage implements RiakDtPB.DtValueOrBuilder
DtValue
The value of the fetched data type. If present in the response, then empty values (sets, maps) should be treated as such.
| Modifier and Type | Class and Description |
|---|---|
static class |
RiakDtPB.DtValue.Builder
Protobuf type
DtValue |
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_VALUE_FIELD_NUMBER |
static int |
GSET_VALUE_FIELD_NUMBER |
static int |
HLL_VALUE_FIELD_NUMBER |
static int |
MAP_VALUE_FIELD_NUMBER |
static com.google.protobuf.Parser<RiakDtPB.DtValue> |
PARSER |
static int |
SET_VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
long |
getCounterValue()
optional sint64 counter_value = 1; |
static RiakDtPB.DtValue |
getDefaultInstance() |
RiakDtPB.DtValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getGsetValue(int index)
repeated bytes gset_value = 5; |
int |
getGsetValueCount()
repeated bytes gset_value = 5; |
List<com.google.protobuf.ByteString> |
getGsetValueList()
repeated bytes gset_value = 5; |
long |
getHllValue()
optional uint64 hll_value = 4; |
RiakDtPB.MapEntry |
getMapValue(int index)
repeated .MapEntry map_value = 3; |
int |
getMapValueCount()
repeated .MapEntry map_value = 3; |
List<RiakDtPB.MapEntry> |
getMapValueList()
repeated .MapEntry map_value = 3; |
RiakDtPB.MapEntryOrBuilder |
getMapValueOrBuilder(int index)
repeated .MapEntry map_value = 3; |
List<? extends RiakDtPB.MapEntryOrBuilder> |
getMapValueOrBuilderList()
repeated .MapEntry map_value = 3; |
com.google.protobuf.Parser<RiakDtPB.DtValue> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.ByteString |
getSetValue(int index)
repeated bytes set_value = 2; |
int |
getSetValueCount()
repeated bytes set_value = 2; |
List<com.google.protobuf.ByteString> |
getSetValueList()
repeated bytes set_value = 2; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCounterValue()
optional sint64 counter_value = 1; |
boolean |
hasHllValue()
optional uint64 hll_value = 4; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RiakDtPB.DtValue.Builder |
newBuilder() |
static RiakDtPB.DtValue.Builder |
newBuilder(RiakDtPB.DtValue prototype) |
RiakDtPB.DtValue.Builder |
newBuilderForType() |
protected RiakDtPB.DtValue.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static RiakDtPB.DtValue |
parseDelimitedFrom(InputStream input) |
static RiakDtPB.DtValue |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.DtValue |
parseFrom(byte[] data) |
static RiakDtPB.DtValue |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.DtValue |
parseFrom(com.google.protobuf.ByteString data) |
static RiakDtPB.DtValue |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.DtValue |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RiakDtPB.DtValue |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.DtValue |
parseFrom(InputStream input) |
static RiakDtPB.DtValue |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakDtPB.DtValue.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.DtValue> PARSER
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.DtValue getDefaultInstance()
public RiakDtPB.DtValue 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.DtValue> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasCounterValue()
optional sint64 counter_value = 1;hasCounterValue in interface RiakDtPB.DtValueOrBuilderpublic long getCounterValue()
optional sint64 counter_value = 1;getCounterValue in interface RiakDtPB.DtValueOrBuilderpublic List<com.google.protobuf.ByteString> getSetValueList()
repeated bytes set_value = 2;getSetValueList in interface RiakDtPB.DtValueOrBuilderpublic int getSetValueCount()
repeated bytes set_value = 2;getSetValueCount in interface RiakDtPB.DtValueOrBuilderpublic com.google.protobuf.ByteString getSetValue(int index)
repeated bytes set_value = 2;getSetValue in interface RiakDtPB.DtValueOrBuilderpublic List<RiakDtPB.MapEntry> getMapValueList()
repeated .MapEntry map_value = 3;getMapValueList in interface RiakDtPB.DtValueOrBuilderpublic List<? extends RiakDtPB.MapEntryOrBuilder> getMapValueOrBuilderList()
repeated .MapEntry map_value = 3;getMapValueOrBuilderList in interface RiakDtPB.DtValueOrBuilderpublic int getMapValueCount()
repeated .MapEntry map_value = 3;getMapValueCount in interface RiakDtPB.DtValueOrBuilderpublic RiakDtPB.MapEntry getMapValue(int index)
repeated .MapEntry map_value = 3;getMapValue in interface RiakDtPB.DtValueOrBuilderpublic RiakDtPB.MapEntryOrBuilder getMapValueOrBuilder(int index)
repeated .MapEntry map_value = 3;getMapValueOrBuilder in interface RiakDtPB.DtValueOrBuilderpublic boolean hasHllValue()
optional uint64 hll_value = 4;
We return an estimated cardinality of the Hyperloglog set on fetch.
hasHllValue in interface RiakDtPB.DtValueOrBuilderpublic long getHllValue()
optional uint64 hll_value = 4;
We return an estimated cardinality of the Hyperloglog set on fetch.
getHllValue in interface RiakDtPB.DtValueOrBuilderpublic List<com.google.protobuf.ByteString> getGsetValueList()
repeated bytes gset_value = 5;getGsetValueList in interface RiakDtPB.DtValueOrBuilderpublic int getGsetValueCount()
repeated bytes gset_value = 5;getGsetValueCount in interface RiakDtPB.DtValueOrBuilderpublic com.google.protobuf.ByteString getGsetValue(int index)
repeated bytes gset_value = 5;getGsetValue in interface RiakDtPB.DtValueOrBuilderpublic 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.DtValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakDtPB.DtValue parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakDtPB.DtValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakDtPB.DtValue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakDtPB.DtValue parseFrom(InputStream input) throws IOException
IOExceptionpublic static RiakDtPB.DtValue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakDtPB.DtValue parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RiakDtPB.DtValue parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakDtPB.DtValue parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RiakDtPB.DtValue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakDtPB.DtValue.Builder newBuilder()
public RiakDtPB.DtValue.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RiakDtPB.DtValue.Builder newBuilder(RiakDtPB.DtValue prototype)
public RiakDtPB.DtValue.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RiakDtPB.DtValue.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2016. All rights reserved.