public static final class ListBucketsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListBucketsResponse.Builder> implements ListBucketsResponseOrBuilder
The result of a call to Buckets.ListBucketsProtobuf type
google.storage.v2.ListBucketsResponse
Modifier and Type | Method and Description |
---|---|
ListBucketsResponse.Builder |
addAllBuckets(Iterable<? extends Bucket> values)
The list of items.
|
ListBucketsResponse.Builder |
addBuckets(Bucket.Builder builderForValue)
The list of items.
|
ListBucketsResponse.Builder |
addBuckets(Bucket value)
The list of items.
|
ListBucketsResponse.Builder |
addBuckets(int index,
Bucket.Builder builderForValue)
The list of items.
|
ListBucketsResponse.Builder |
addBuckets(int index,
Bucket value)
The list of items.
|
Bucket.Builder |
addBucketsBuilder()
The list of items.
|
Bucket.Builder |
addBucketsBuilder(int index)
The list of items.
|
ListBucketsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListBucketsResponse |
build() |
ListBucketsResponse |
buildPartial() |
ListBucketsResponse.Builder |
clear() |
ListBucketsResponse.Builder |
clearBuckets()
The list of items.
|
ListBucketsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListBucketsResponse.Builder |
clearNextPageToken()
The continuation token, used to page through large result sets.
|
ListBucketsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListBucketsResponse.Builder |
clone() |
Bucket |
getBuckets(int index)
The list of items.
|
Bucket.Builder |
getBucketsBuilder(int index)
The list of items.
|
List<Bucket.Builder> |
getBucketsBuilderList()
The list of items.
|
int |
getBucketsCount()
The list of items.
|
List<Bucket> |
getBucketsList()
The list of items.
|
BucketOrBuilder |
getBucketsOrBuilder(int index)
The list of items.
|
List<? extends BucketOrBuilder> |
getBucketsOrBuilderList()
The list of items.
|
ListBucketsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNextPageToken()
The continuation token, used to page through large result sets.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
The continuation token, used to page through large result sets.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListBucketsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListBucketsResponse.Builder |
mergeFrom(ListBucketsResponse other) |
ListBucketsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListBucketsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListBucketsResponse.Builder |
removeBuckets(int index)
The list of items.
|
ListBucketsResponse.Builder |
setBuckets(int index,
Bucket.Builder builderForValue)
The list of items.
|
ListBucketsResponse.Builder |
setBuckets(int index,
Bucket value)
The list of items.
|
ListBucketsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListBucketsResponse.Builder |
setNextPageToken(String value)
The continuation token, used to page through large result sets.
|
ListBucketsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
The continuation token, used to page through large result sets.
|
ListBucketsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListBucketsResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<ListBucketsResponse.Builder>
public ListBucketsResponse.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<ListBucketsResponse.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.GeneratedMessageV3.Builder<ListBucketsResponse.Builder>
public ListBucketsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ListBucketsResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ListBucketsResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ListBucketsResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<ListBucketsResponse.Builder>
public ListBucketsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListBucketsResponse.Builder>
public ListBucketsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListBucketsResponse.Builder>
public ListBucketsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ListBucketsResponse.Builder>
public ListBucketsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListBucketsResponse.Builder>
public ListBucketsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListBucketsResponse.Builder>
public ListBucketsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListBucketsResponse.Builder>
public ListBucketsResponse.Builder mergeFrom(ListBucketsResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ListBucketsResponse.Builder>
public ListBucketsResponse.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<ListBucketsResponse.Builder>
IOException
public List<Bucket> getBucketsList()
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
getBucketsList
in interface ListBucketsResponseOrBuilder
public int getBucketsCount()
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
getBucketsCount
in interface ListBucketsResponseOrBuilder
public Bucket getBuckets(int index)
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
getBuckets
in interface ListBucketsResponseOrBuilder
public ListBucketsResponse.Builder setBuckets(int index, Bucket value)
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
public ListBucketsResponse.Builder setBuckets(int index, Bucket.Builder builderForValue)
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
public ListBucketsResponse.Builder addBuckets(Bucket value)
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
public ListBucketsResponse.Builder addBuckets(int index, Bucket value)
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
public ListBucketsResponse.Builder addBuckets(Bucket.Builder builderForValue)
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
public ListBucketsResponse.Builder addBuckets(int index, Bucket.Builder builderForValue)
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
public ListBucketsResponse.Builder addAllBuckets(Iterable<? extends Bucket> values)
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
public ListBucketsResponse.Builder clearBuckets()
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
public ListBucketsResponse.Builder removeBuckets(int index)
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
public Bucket.Builder getBucketsBuilder(int index)
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
public BucketOrBuilder getBucketsOrBuilder(int index)
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
getBucketsOrBuilder
in interface ListBucketsResponseOrBuilder
public List<? extends BucketOrBuilder> getBucketsOrBuilderList()
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
getBucketsOrBuilderList
in interface ListBucketsResponseOrBuilder
public Bucket.Builder addBucketsBuilder()
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
public Bucket.Builder addBucketsBuilder(int index)
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
public List<Bucket.Builder> getBucketsBuilderList()
The list of items.
repeated .google.storage.v2.Bucket buckets = 1;
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;
getNextPageToken
in interface ListBucketsResponseOrBuilder
public com.google.protobuf.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;
getNextPageTokenBytes
in interface ListBucketsResponseOrBuilder
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;
value
- The nextPageToken to set.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;
public ListBucketsResponse.Builder setNextPageTokenBytes(com.google.protobuf.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;
value
- The bytes for nextPageToken to set.public final ListBucketsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListBucketsResponse.Builder>
public final ListBucketsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListBucketsResponse.Builder>
Copyright © 2023 Google LLC. All rights reserved.