public static final class RiakDtPB.MapEntry extends com.google.protobuf.GeneratedMessage implements RiakDtPB.MapEntryOrBuilder
MapEntry
An entry in a map is a pair of a field-name and value. The type defined in the field determines which value type is expected.
Modifier and Type | Class and Description |
---|---|
static class |
RiakDtPB.MapEntry.Builder
Protobuf type
MapEntry |
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 |
FIELD_FIELD_NUMBER |
static int |
FLAG_VALUE_FIELD_NUMBER |
static int |
MAP_VALUE_FIELD_NUMBER |
static com.google.protobuf.Parser<RiakDtPB.MapEntry> |
PARSER |
static int |
REGISTER_VALUE_FIELD_NUMBER |
static int |
SET_VALUE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
long |
getCounterValue()
optional sint64 counter_value = 2; |
static RiakDtPB.MapEntry |
getDefaultInstance() |
RiakDtPB.MapEntry |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
RiakDtPB.MapField |
getField()
required .MapField field = 1; |
RiakDtPB.MapFieldOrBuilder |
getFieldOrBuilder()
required .MapField field = 1; |
boolean |
getFlagValue()
optional bool flag_value = 5; |
RiakDtPB.MapEntry |
getMapValue(int index)
repeated .MapEntry map_value = 6; |
int |
getMapValueCount()
repeated .MapEntry map_value = 6; |
List<RiakDtPB.MapEntry> |
getMapValueList()
repeated .MapEntry map_value = 6; |
RiakDtPB.MapEntryOrBuilder |
getMapValueOrBuilder(int index)
repeated .MapEntry map_value = 6; |
List<? extends RiakDtPB.MapEntryOrBuilder> |
getMapValueOrBuilderList()
repeated .MapEntry map_value = 6; |
com.google.protobuf.Parser<RiakDtPB.MapEntry> |
getParserForType() |
com.google.protobuf.ByteString |
getRegisterValue()
optional bytes register_value = 4; |
int |
getSerializedSize() |
com.google.protobuf.ByteString |
getSetValue(int index)
repeated bytes set_value = 3; |
int |
getSetValueCount()
repeated bytes set_value = 3; |
List<com.google.protobuf.ByteString> |
getSetValueList()
repeated bytes set_value = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCounterValue()
optional sint64 counter_value = 2; |
boolean |
hasField()
required .MapField field = 1; |
boolean |
hasFlagValue()
optional bool flag_value = 5; |
boolean |
hasRegisterValue()
optional bytes register_value = 4; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RiakDtPB.MapEntry.Builder |
newBuilder() |
static RiakDtPB.MapEntry.Builder |
newBuilder(RiakDtPB.MapEntry prototype) |
RiakDtPB.MapEntry.Builder |
newBuilderForType() |
protected RiakDtPB.MapEntry.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static RiakDtPB.MapEntry |
parseDelimitedFrom(InputStream input) |
static RiakDtPB.MapEntry |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.MapEntry |
parseFrom(byte[] data) |
static RiakDtPB.MapEntry |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.MapEntry |
parseFrom(com.google.protobuf.ByteString data) |
static RiakDtPB.MapEntry |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.MapEntry |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RiakDtPB.MapEntry |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.MapEntry |
parseFrom(InputStream input) |
static RiakDtPB.MapEntry |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakDtPB.MapEntry.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.MapEntry> PARSER
public static final int FIELD_FIELD_NUMBER
public static final int COUNTER_VALUE_FIELD_NUMBER
public static final int SET_VALUE_FIELD_NUMBER
public static final int REGISTER_VALUE_FIELD_NUMBER
public static final int FLAG_VALUE_FIELD_NUMBER
public static final int MAP_VALUE_FIELD_NUMBER
public static RiakDtPB.MapEntry getDefaultInstance()
public RiakDtPB.MapEntry 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.MapEntry> 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.MapEntryOrBuilder
public RiakDtPB.MapField getField()
required .MapField field = 1;
getField
in interface RiakDtPB.MapEntryOrBuilder
public RiakDtPB.MapFieldOrBuilder getFieldOrBuilder()
required .MapField field = 1;
getFieldOrBuilder
in interface RiakDtPB.MapEntryOrBuilder
public boolean hasCounterValue()
optional sint64 counter_value = 2;
hasCounterValue
in interface RiakDtPB.MapEntryOrBuilder
public long getCounterValue()
optional sint64 counter_value = 2;
getCounterValue
in interface RiakDtPB.MapEntryOrBuilder
public List<com.google.protobuf.ByteString> getSetValueList()
repeated bytes set_value = 3;
getSetValueList
in interface RiakDtPB.MapEntryOrBuilder
public int getSetValueCount()
repeated bytes set_value = 3;
getSetValueCount
in interface RiakDtPB.MapEntryOrBuilder
public com.google.protobuf.ByteString getSetValue(int index)
repeated bytes set_value = 3;
getSetValue
in interface RiakDtPB.MapEntryOrBuilder
public boolean hasRegisterValue()
optional bytes register_value = 4;
hasRegisterValue
in interface RiakDtPB.MapEntryOrBuilder
public com.google.protobuf.ByteString getRegisterValue()
optional bytes register_value = 4;
getRegisterValue
in interface RiakDtPB.MapEntryOrBuilder
public boolean hasFlagValue()
optional bool flag_value = 5;
hasFlagValue
in interface RiakDtPB.MapEntryOrBuilder
public boolean getFlagValue()
optional bool flag_value = 5;
getFlagValue
in interface RiakDtPB.MapEntryOrBuilder
public List<RiakDtPB.MapEntry> getMapValueList()
repeated .MapEntry map_value = 6;
getMapValueList
in interface RiakDtPB.MapEntryOrBuilder
public List<? extends RiakDtPB.MapEntryOrBuilder> getMapValueOrBuilderList()
repeated .MapEntry map_value = 6;
getMapValueOrBuilderList
in interface RiakDtPB.MapEntryOrBuilder
public int getMapValueCount()
repeated .MapEntry map_value = 6;
getMapValueCount
in interface RiakDtPB.MapEntryOrBuilder
public RiakDtPB.MapEntry getMapValue(int index)
repeated .MapEntry map_value = 6;
getMapValue
in interface RiakDtPB.MapEntryOrBuilder
public RiakDtPB.MapEntryOrBuilder getMapValueOrBuilder(int index)
repeated .MapEntry map_value = 6;
getMapValueOrBuilder
in interface RiakDtPB.MapEntryOrBuilder
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.MapEntry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakDtPB.MapEntry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakDtPB.MapEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakDtPB.MapEntry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakDtPB.MapEntry parseFrom(InputStream input) throws IOException
IOException
public static RiakDtPB.MapEntry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakDtPB.MapEntry parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RiakDtPB.MapEntry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakDtPB.MapEntry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static RiakDtPB.MapEntry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakDtPB.MapEntry.Builder newBuilder()
public RiakDtPB.MapEntry.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static RiakDtPB.MapEntry.Builder newBuilder(RiakDtPB.MapEntry prototype)
public RiakDtPB.MapEntry.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected RiakDtPB.MapEntry.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2016. All rights reserved.