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, 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<RiakKvPB.RpbGetResp.Builder>
public RiakKvPB.RpbGetResp.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<RiakKvPB.RpbGetResp.Builder>
public RiakKvPB.RpbGetResp.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<RiakKvPB.RpbGetResp.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<RiakKvPB.RpbGetResp.Builder>
public RiakKvPB.RpbGetResp getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RiakKvPB.RpbGetResp build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RiakKvPB.RpbGetResp buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RiakKvPB.RpbGetResp.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RiakKvPB.RpbGetResp.Builder>
IOException
public List<RiakKvPB.RpbContent> getContentList()
repeated .RpbContent content = 1;
getContentList
in interface RiakKvPB.RpbGetRespOrBuilder
public int getContentCount()
repeated .RpbContent content = 1;
getContentCount
in interface RiakKvPB.RpbGetRespOrBuilder
public RiakKvPB.RpbContent getContent(int index)
repeated .RpbContent content = 1;
getContent
in interface RiakKvPB.RpbGetRespOrBuilder
public 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.RpbGetRespOrBuilder
public List<? extends RiakKvPB.RpbContentOrBuilder> getContentOrBuilderList()
repeated .RpbContent content = 1;
getContentOrBuilderList
in interface RiakKvPB.RpbGetRespOrBuilder
public 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.RpbGetRespOrBuilder
public com.google.protobuf.ByteString getVclock()
optional bytes vclock = 2;
the opaque vector clock for the object
getVclock
in interface RiakKvPB.RpbGetRespOrBuilder
public 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.RpbGetRespOrBuilder
public boolean getUnchanged()
optional bool unchanged = 3;
getUnchanged
in interface RiakKvPB.RpbGetRespOrBuilder
public RiakKvPB.RpbGetResp.Builder setUnchanged(boolean value)
optional bool unchanged = 3;
public RiakKvPB.RpbGetResp.Builder clearUnchanged()
optional bool unchanged = 3;
Copyright © 2016. All rights reserved.