public static final class ListBucketsResponse.Builder extends GeneratedMessageV3.Builder<ListBucketsResponse.Builder> implements ListBucketsResponseOrBuilder
The result of a call to Buckets.ListBuckets
Protobuf type google.storage.v2.ListBucketsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllBuckets(Iterable<? extends Bucket> values)
public ListBucketsResponse.Builder addAllBuckets(Iterable<? extends Bucket> values)
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.storage.v2.Bucket>
|
addBuckets(Bucket value)
public ListBucketsResponse.Builder addBuckets(Bucket value)
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
Parameter |
Name |
Description |
value |
Bucket
|
addBuckets(Bucket.Builder builderForValue)
public ListBucketsResponse.Builder addBuckets(Bucket.Builder builderForValue)
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
addBuckets(int index, Bucket value)
public ListBucketsResponse.Builder addBuckets(int index, Bucket value)
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Bucket
|
addBuckets(int index, Bucket.Builder builderForValue)
public ListBucketsResponse.Builder addBuckets(int index, Bucket.Builder builderForValue)
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
addBucketsBuilder()
public Bucket.Builder addBucketsBuilder()
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
addBucketsBuilder(int index)
public Bucket.Builder addBucketsBuilder(int index)
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListBucketsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListBucketsResponse build()
buildPartial()
public ListBucketsResponse buildPartial()
clear()
public ListBucketsResponse.Builder clear()
Overrides
clearBuckets()
public ListBucketsResponse.Builder clearBuckets()
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
clearField(Descriptors.FieldDescriptor field)
public ListBucketsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListBucketsResponse.Builder clearNextPageToken()
The continuation token, used to page through large result sets. Provide
this value in a subsequent request to return the next page of results.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListBucketsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListBucketsResponse.Builder clone()
Overrides
getBuckets(int index)
public Bucket getBuckets(int index)
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Bucket |
|
getBucketsBuilder(int index)
public Bucket.Builder getBucketsBuilder(int index)
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
Parameter |
Name |
Description |
index |
int
|
getBucketsBuilderList()
public List<Bucket.Builder> getBucketsBuilderList()
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
getBucketsCount()
public int getBucketsCount()
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
Returns |
Type |
Description |
int |
|
getBucketsList()
public List<Bucket> getBucketsList()
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
getBucketsOrBuilder(int index)
public BucketOrBuilder getBucketsOrBuilder(int index)
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
Parameter |
Name |
Description |
index |
int
|
getBucketsOrBuilderList()
public List<? extends BucketOrBuilder> getBucketsOrBuilderList()
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
Returns |
Type |
Description |
List<? extends com.google.storage.v2.BucketOrBuilder> |
|
getDefaultInstanceForType()
public ListBucketsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
The continuation token, used to page through large result sets. Provide
this value in a subsequent request to return the next page of results.
string next_page_token = 2;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
The continuation token, used to page through large result sets. Provide
this value in a subsequent request to return the next page of results.
string next_page_token = 2;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public ListBucketsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListBucketsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(ListBucketsResponse other)
public ListBucketsResponse.Builder mergeFrom(ListBucketsResponse other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListBucketsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeBuckets(int index)
public ListBucketsResponse.Builder removeBuckets(int index)
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
Parameter |
Name |
Description |
index |
int
|
setBuckets(int index, Bucket value)
public ListBucketsResponse.Builder setBuckets(int index, Bucket value)
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Bucket
|
setBuckets(int index, Bucket.Builder builderForValue)
public ListBucketsResponse.Builder setBuckets(int index, Bucket.Builder builderForValue)
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ListBucketsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListBucketsResponse.Builder setNextPageToken(String value)
The continuation token, used to page through large result sets. Provide
this value in a subsequent request to return the next page of results.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListBucketsResponse.Builder setNextPageTokenBytes(ByteString value)
The continuation token, used to page through large result sets. Provide
this value in a subsequent request to return the next page of results.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListBucketsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListBucketsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides