public static final class RiakPB.RpbPair.Builder extends com.google.protobuf.GeneratedMessage.Builder<RiakPB.RpbPair.Builder> implements RiakPB.RpbPairOrBuilder
RpbPair
Key/value pair - used for user metadata, indexes, search doc fields
Modifier and Type | Method and Description |
---|---|
RiakPB.RpbPair |
build() |
RiakPB.RpbPair |
buildPartial() |
RiakPB.RpbPair.Builder |
clear() |
RiakPB.RpbPair.Builder |
clearKey()
required bytes key = 1; |
RiakPB.RpbPair.Builder |
clearValue()
optional bytes value = 2; |
RiakPB.RpbPair.Builder |
clone() |
RiakPB.RpbPair |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getKey()
required bytes key = 1; |
com.google.protobuf.ByteString |
getValue()
optional bytes value = 2; |
boolean |
hasKey()
required bytes key = 1; |
boolean |
hasValue()
optional bytes value = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RiakPB.RpbPair.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakPB.RpbPair.Builder |
mergeFrom(com.google.protobuf.Message other) |
RiakPB.RpbPair.Builder |
mergeFrom(RiakPB.RpbPair other) |
RiakPB.RpbPair.Builder |
setKey(com.google.protobuf.ByteString value)
required bytes key = 1; |
RiakPB.RpbPair.Builder |
setValue(com.google.protobuf.ByteString value)
optional bytes value = 2; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<RiakPB.RpbPair.Builder>
public RiakPB.RpbPair.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<RiakPB.RpbPair.Builder>
public RiakPB.RpbPair.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<RiakPB.RpbPair.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<RiakPB.RpbPair.Builder>
public RiakPB.RpbPair getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RiakPB.RpbPair build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RiakPB.RpbPair buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RiakPB.RpbPair.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RiakPB.RpbPair.Builder>
public RiakPB.RpbPair.Builder mergeFrom(RiakPB.RpbPair other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<RiakPB.RpbPair.Builder>
public RiakPB.RpbPair.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RiakPB.RpbPair.Builder>
IOException
public boolean hasKey()
required bytes key = 1;
hasKey
in interface RiakPB.RpbPairOrBuilder
public com.google.protobuf.ByteString getKey()
required bytes key = 1;
getKey
in interface RiakPB.RpbPairOrBuilder
public RiakPB.RpbPair.Builder setKey(com.google.protobuf.ByteString value)
required bytes key = 1;
public RiakPB.RpbPair.Builder clearKey()
required bytes key = 1;
public boolean hasValue()
optional bytes value = 2;
hasValue
in interface RiakPB.RpbPairOrBuilder
public com.google.protobuf.ByteString getValue()
optional bytes value = 2;
getValue
in interface RiakPB.RpbPairOrBuilder
public RiakPB.RpbPair.Builder setValue(com.google.protobuf.ByteString value)
optional bytes value = 2;
public RiakPB.RpbPair.Builder clearValue()
optional bytes value = 2;
Copyright © 2016. All rights reserved.