public static final class RiakKvPB.RpbGetResp.Builder extends com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbGetResp.Builder> implements RiakKvPB.RpbGetRespOrBuilder
RpbGetResp
Get Response - if the record was not found there will be no content/vclock
| Modifier and Type | Method and Description |
|---|---|
RiakKvPB.RpbGetResp.Builder |
addAllContent(Iterable<? extends RiakKvPB.RpbContent> values)
repeated .RpbContent content = 1; |
RiakKvPB.RpbGetResp.Builder |
addContent(int index,
RiakKvPB.RpbContent.Builder builderForValue)
repeated .RpbContent content = 1; |
RiakKvPB.RpbGetResp.Builder |
addContent(int index,
RiakKvPB.RpbContent value)
repeated .RpbContent content = 1; |
RiakKvPB.RpbGetResp.Builder |
addContent(RiakKvPB.RpbContent.Builder builderForValue)
repeated .RpbContent content = 1; |
RiakKvPB.RpbGetResp.Builder |
addContent(RiakKvPB.RpbContent value)
repeated .RpbContent content = 1; |
RiakKvPB.RpbContent.Builder |
addContentBuilder()
repeated .RpbContent content = 1; |
RiakKvPB.RpbContent.Builder |
addContentBuilder(int index)
repeated .RpbContent content = 1; |
RiakKvPB.RpbGetResp |
build() |
RiakKvPB.RpbGetResp |
buildPartial() |
RiakKvPB.RpbGetResp.Builder |
clear() |
RiakKvPB.RpbGetResp.Builder |
clearContent()
repeated .RpbContent content = 1; |
RiakKvPB.RpbGetResp.Builder |
clearUnchanged()
optional bool unchanged = 3; |
RiakKvPB.RpbGetResp.Builder |
clearVclock()
optional bytes vclock = 2; |
RiakKvPB.RpbGetResp.Builder |
clone() |
RiakKvPB.RpbContent |
getContent(int index)
repeated .RpbContent content = 1; |
RiakKvPB.RpbContent.Builder |
getContentBuilder(int index)
repeated .RpbContent content = 1; |
List<RiakKvPB.RpbContent.Builder> |
getContentBuilderList()
repeated .RpbContent content = 1; |
int |
getContentCount()
repeated .RpbContent content = 1; |
List<RiakKvPB.RpbContent> |
getContentList()
repeated .RpbContent content = 1; |
RiakKvPB.RpbContentOrBuilder |
getContentOrBuilder(int index)
repeated .RpbContent content = 1; |
List<? extends RiakKvPB.RpbContentOrBuilder> |
getContentOrBuilderList()
repeated .RpbContent content = 1; |
RiakKvPB.RpbGetResp |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getUnchanged()
optional bool unchanged = 3; |
com.google.protobuf.ByteString |
getVclock()
optional bytes vclock = 2; |
boolean |
hasUnchanged()
optional bool unchanged = 3; |
boolean |
hasVclock()
optional bytes vclock = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RiakKvPB.RpbGetResp.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakKvPB.RpbGetResp.Builder |
mergeFrom(com.google.protobuf.Message other) |
RiakKvPB.RpbGetResp.Builder |
mergeFrom(RiakKvPB.RpbGetResp other) |
RiakKvPB.RpbGetResp.Builder |
removeContent(int index)
repeated .RpbContent content = 1; |
RiakKvPB.RpbGetResp.Builder |
setContent(int index,
RiakKvPB.RpbContent.Builder builderForValue)
repeated .RpbContent content = 1; |
RiakKvPB.RpbGetResp.Builder |
setContent(int index,
RiakKvPB.RpbContent value)
repeated .RpbContent content = 1; |
RiakKvPB.RpbGetResp.Builder |
setUnchanged(boolean value)
optional bool unchanged = 3; |
RiakKvPB.RpbGetResp.Builder |
setVclock(com.google.protobuf.ByteString value)
optional bytes vclock = 2; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbGetResp.Builder>public RiakKvPB.RpbGetResp.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbGetResp.Builder>public RiakKvPB.RpbGetResp.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbGetResp.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbGetResp.Builder>public RiakKvPB.RpbGetResp getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RiakKvPB.RpbGetResp build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RiakKvPB.RpbGetResp buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RiakKvPB.RpbGetResp.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RiakKvPB.RpbGetResp.Builder>public RiakKvPB.RpbGetResp.Builder mergeFrom(RiakKvPB.RpbGetResp other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbGetResp.Builder>public RiakKvPB.RpbGetResp.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RiakKvPB.RpbGetResp.Builder>IOExceptionpublic List<RiakKvPB.RpbContent> getContentList()
repeated .RpbContent content = 1;getContentList in interface RiakKvPB.RpbGetRespOrBuilderpublic int getContentCount()
repeated .RpbContent content = 1;getContentCount in interface RiakKvPB.RpbGetRespOrBuilderpublic RiakKvPB.RpbContent getContent(int index)
repeated .RpbContent content = 1;getContent in interface RiakKvPB.RpbGetRespOrBuilderpublic RiakKvPB.RpbGetResp.Builder setContent(int index, RiakKvPB.RpbContent value)
repeated .RpbContent content = 1;public RiakKvPB.RpbGetResp.Builder setContent(int index, RiakKvPB.RpbContent.Builder builderForValue)
repeated .RpbContent content = 1;public RiakKvPB.RpbGetResp.Builder addContent(RiakKvPB.RpbContent value)
repeated .RpbContent content = 1;public RiakKvPB.RpbGetResp.Builder addContent(int index, RiakKvPB.RpbContent value)
repeated .RpbContent content = 1;public RiakKvPB.RpbGetResp.Builder addContent(RiakKvPB.RpbContent.Builder builderForValue)
repeated .RpbContent content = 1;public RiakKvPB.RpbGetResp.Builder addContent(int index, RiakKvPB.RpbContent.Builder builderForValue)
repeated .RpbContent content = 1;public RiakKvPB.RpbGetResp.Builder addAllContent(Iterable<? extends RiakKvPB.RpbContent> values)
repeated .RpbContent content = 1;public RiakKvPB.RpbGetResp.Builder clearContent()
repeated .RpbContent content = 1;public RiakKvPB.RpbGetResp.Builder removeContent(int index)
repeated .RpbContent content = 1;public RiakKvPB.RpbContent.Builder getContentBuilder(int index)
repeated .RpbContent content = 1;public RiakKvPB.RpbContentOrBuilder getContentOrBuilder(int index)
repeated .RpbContent content = 1;getContentOrBuilder in interface RiakKvPB.RpbGetRespOrBuilderpublic List<? extends RiakKvPB.RpbContentOrBuilder> getContentOrBuilderList()
repeated .RpbContent content = 1;getContentOrBuilderList in interface RiakKvPB.RpbGetRespOrBuilderpublic RiakKvPB.RpbContent.Builder addContentBuilder()
repeated .RpbContent content = 1;public RiakKvPB.RpbContent.Builder addContentBuilder(int index)
repeated .RpbContent content = 1;public List<RiakKvPB.RpbContent.Builder> getContentBuilderList()
repeated .RpbContent content = 1;public boolean hasVclock()
optional bytes vclock = 2;
the opaque vector clock for the object
hasVclock in interface RiakKvPB.RpbGetRespOrBuilderpublic com.google.protobuf.ByteString getVclock()
optional bytes vclock = 2;
the opaque vector clock for the object
getVclock in interface RiakKvPB.RpbGetRespOrBuilderpublic RiakKvPB.RpbGetResp.Builder setVclock(com.google.protobuf.ByteString value)
optional bytes vclock = 2;
the opaque vector clock for the object
public RiakKvPB.RpbGetResp.Builder clearVclock()
optional bytes vclock = 2;
the opaque vector clock for the object
public boolean hasUnchanged()
optional bool unchanged = 3;hasUnchanged in interface RiakKvPB.RpbGetRespOrBuilderpublic boolean getUnchanged()
optional bool unchanged = 3;getUnchanged in interface RiakKvPB.RpbGetRespOrBuilderpublic RiakKvPB.RpbGetResp.Builder setUnchanged(boolean value)
optional bool unchanged = 3;public RiakKvPB.RpbGetResp.Builder clearUnchanged()
optional bool unchanged = 3;Copyright © 2016. All rights reserved.