public static final class RiakKvPB.RpbListBucketsResp.Builder extends com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbListBucketsResp.Builder> implements RiakKvPB.RpbListBucketsRespOrBuilder
RpbListBucketsResp
List buckets response - one or more of these packets will be sent the last one will have done set true (and may not have any buckets in it)
Modifier and Type | Method and Description |
---|---|
RiakKvPB.RpbListBucketsResp.Builder |
addAllBuckets(Iterable<? extends com.google.protobuf.ByteString> values)
repeated bytes buckets = 1; |
RiakKvPB.RpbListBucketsResp.Builder |
addBuckets(com.google.protobuf.ByteString value)
repeated bytes buckets = 1; |
RiakKvPB.RpbListBucketsResp |
build() |
RiakKvPB.RpbListBucketsResp |
buildPartial() |
RiakKvPB.RpbListBucketsResp.Builder |
clear() |
RiakKvPB.RpbListBucketsResp.Builder |
clearBuckets()
repeated bytes buckets = 1; |
RiakKvPB.RpbListBucketsResp.Builder |
clearDone()
optional bool done = 2; |
RiakKvPB.RpbListBucketsResp.Builder |
clone() |
com.google.protobuf.ByteString |
getBuckets(int index)
repeated bytes buckets = 1; |
int |
getBucketsCount()
repeated bytes buckets = 1; |
List<com.google.protobuf.ByteString> |
getBucketsList()
repeated bytes buckets = 1; |
RiakKvPB.RpbListBucketsResp |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getDone()
optional bool done = 2; |
boolean |
hasDone()
optional bool done = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RiakKvPB.RpbListBucketsResp.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakKvPB.RpbListBucketsResp.Builder |
mergeFrom(com.google.protobuf.Message other) |
RiakKvPB.RpbListBucketsResp.Builder |
mergeFrom(RiakKvPB.RpbListBucketsResp other) |
RiakKvPB.RpbListBucketsResp.Builder |
setBuckets(int index,
com.google.protobuf.ByteString value)
repeated bytes buckets = 1; |
RiakKvPB.RpbListBucketsResp.Builder |
setDone(boolean value)
optional bool done = 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.RpbListBucketsResp.Builder>
public RiakKvPB.RpbListBucketsResp.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.RpbListBucketsResp.Builder>
public RiakKvPB.RpbListBucketsResp.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.RpbListBucketsResp.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.RpbListBucketsResp.Builder>
public RiakKvPB.RpbListBucketsResp getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RiakKvPB.RpbListBucketsResp build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RiakKvPB.RpbListBucketsResp buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RiakKvPB.RpbListBucketsResp.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RiakKvPB.RpbListBucketsResp.Builder>
public RiakKvPB.RpbListBucketsResp.Builder mergeFrom(RiakKvPB.RpbListBucketsResp other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbListBucketsResp.Builder>
public RiakKvPB.RpbListBucketsResp.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.RpbListBucketsResp.Builder>
IOException
public List<com.google.protobuf.ByteString> getBucketsList()
repeated bytes buckets = 1;
getBucketsList
in interface RiakKvPB.RpbListBucketsRespOrBuilder
public int getBucketsCount()
repeated bytes buckets = 1;
getBucketsCount
in interface RiakKvPB.RpbListBucketsRespOrBuilder
public com.google.protobuf.ByteString getBuckets(int index)
repeated bytes buckets = 1;
getBuckets
in interface RiakKvPB.RpbListBucketsRespOrBuilder
public RiakKvPB.RpbListBucketsResp.Builder setBuckets(int index, com.google.protobuf.ByteString value)
repeated bytes buckets = 1;
public RiakKvPB.RpbListBucketsResp.Builder addBuckets(com.google.protobuf.ByteString value)
repeated bytes buckets = 1;
public RiakKvPB.RpbListBucketsResp.Builder addAllBuckets(Iterable<? extends com.google.protobuf.ByteString> values)
repeated bytes buckets = 1;
public RiakKvPB.RpbListBucketsResp.Builder clearBuckets()
repeated bytes buckets = 1;
public boolean hasDone()
optional bool done = 2;
hasDone
in interface RiakKvPB.RpbListBucketsRespOrBuilder
public boolean getDone()
optional bool done = 2;
getDone
in interface RiakKvPB.RpbListBucketsRespOrBuilder
public RiakKvPB.RpbListBucketsResp.Builder setDone(boolean value)
optional bool done = 2;
public RiakKvPB.RpbListBucketsResp.Builder clearDone()
optional bool done = 2;
Copyright © 2016. All rights reserved.