- 2.58.1 (latest)
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.3
- 2.52.3
- 2.50.0
- 2.49.0
- 2.48.2
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.1
- 2.43.2
- 2.42.0
- 2.41.0
- 2.40.1
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.1
- 2.34.0
- 2.33.0
- 2.32.1
- 2.30.1
- 2.29.1
- 2.28.0
- 2.27.1
- 2.24.0
- 2.23.0
- 2.22.6
- 2.21.0
- 2.20.2
- 2.19.0
- 2.18.0
- 2.17.2
- 2.16.0
- 2.15.1
- 2.14.0
- 2.13.1
- 2.12.0
- 2.11.3
- 2.10.0
- 2.9.3
- 2.8.1
- 2.7.1
- 2.6.1
- 2.5.1
- 2.4.5
- 2.3.0
- 2.2.3
- 2.1.10
public static final class ListBucketsRequest.Builder extends GeneratedMessageV3.Builder<ListBucketsRequest.Builder> implements ListBucketsRequestOrBuilderRequest message for ListBuckets.
Protobuf type google.storage.v2.ListBucketsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListBucketsRequest.BuilderImplements
ListBucketsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListBucketsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| ListBucketsRequest.Builder |
build()
public ListBucketsRequest build()| Type | Description |
| ListBucketsRequest |
buildPartial()
public ListBucketsRequest buildPartial()| Type | Description |
| ListBucketsRequest |
clear()
public ListBucketsRequest.Builder clear()| Type | Description |
| ListBucketsRequest.Builder |
clearCommonRequestParams()
public ListBucketsRequest.Builder clearCommonRequestParams()A set of parameters common to all Storage API requests.
.google.storage.v2.CommonRequestParams common_request_params = 6;
| Type | Description |
| ListBucketsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListBucketsRequest.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| ListBucketsRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListBucketsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| ListBucketsRequest.Builder |
clearPageSize()
public ListBucketsRequest.Builder clearPageSize()Maximum number of buckets to return in a single response. The service will use this parameter or 1,000 items, whichever is smaller. If "acl" is present in the read_mask, the service will use this parameter of 200 items, whichever is smaller.
int32 page_size = 2;
| Type | Description |
| ListBucketsRequest.Builder | This builder for chaining. |
clearPageToken()
public ListBucketsRequest.Builder clearPageToken()A previously-returned page token representing part of the larger set of results to view.
string page_token = 3;
| Type | Description |
| ListBucketsRequest.Builder | This builder for chaining. |
clearParent()
public ListBucketsRequest.Builder clearParent()Required. The project whose buckets we are listing.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
| ListBucketsRequest.Builder | This builder for chaining. |
clearPrefix()
public ListBucketsRequest.Builder clearPrefix()Filter results to buckets whose names begin with this prefix.
string prefix = 4;
| Type | Description |
| ListBucketsRequest.Builder | This builder for chaining. |
clearReadMask()
public ListBucketsRequest.Builder clearReadMask()Mask specifying which fields to read from each result. If no mask is specified, will default to all fields except items.owner, items.acl, and items.default_object_acl.
- may be used to mean "all fields".
optional .google.protobuf.FieldMask read_mask = 5;
| Type | Description |
| ListBucketsRequest.Builder |
clone()
public ListBucketsRequest.Builder clone()| Type | Description |
| ListBucketsRequest.Builder |
getCommonRequestParams()
public CommonRequestParams getCommonRequestParams()A set of parameters common to all Storage API requests.
.google.storage.v2.CommonRequestParams common_request_params = 6;
| Type | Description |
| CommonRequestParams | The commonRequestParams. |
getCommonRequestParamsBuilder()
public CommonRequestParams.Builder getCommonRequestParamsBuilder()A set of parameters common to all Storage API requests.
.google.storage.v2.CommonRequestParams common_request_params = 6;
| Type | Description |
| CommonRequestParams.Builder |
getCommonRequestParamsOrBuilder()
public CommonRequestParamsOrBuilder getCommonRequestParamsOrBuilder()A set of parameters common to all Storage API requests.
.google.storage.v2.CommonRequestParams common_request_params = 6;
| Type | Description |
| CommonRequestParamsOrBuilder |
getDefaultInstanceForType()
public ListBucketsRequest getDefaultInstanceForType()| Type | Description |
| ListBucketsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getPageSize()
public int getPageSize()Maximum number of buckets to return in a single response. The service will use this parameter or 1,000 items, whichever is smaller. If "acl" is present in the read_mask, the service will use this parameter of 200 items, whichever is smaller.
int32 page_size = 2;
| Type | Description |
| int | The pageSize. |
getPageToken()
public String getPageToken()A previously-returned page token representing part of the larger set of results to view.
string page_token = 3;
| Type | Description |
| String | The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()A previously-returned page token representing part of the larger set of results to view.
string page_token = 3;
| Type | Description |
| ByteString | The bytes for pageToken. |
getParent()
public String getParent()Required. The project whose buckets we are listing.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
| String | The parent. |
getParentBytes()
public ByteString getParentBytes()Required. The project whose buckets we are listing.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
| ByteString | The bytes for parent. |
getPrefix()
public String getPrefix()Filter results to buckets whose names begin with this prefix.
string prefix = 4;
| Type | Description |
| String | The prefix. |
getPrefixBytes()
public ByteString getPrefixBytes()Filter results to buckets whose names begin with this prefix.
string prefix = 4;
| Type | Description |
| ByteString | The bytes for prefix. |
getReadMask()
public FieldMask getReadMask()Mask specifying which fields to read from each result. If no mask is specified, will default to all fields except items.owner, items.acl, and items.default_object_acl.
- may be used to mean "all fields".
optional .google.protobuf.FieldMask read_mask = 5;
| Type | Description |
| FieldMask | The readMask. |
getReadMaskBuilder()
public FieldMask.Builder getReadMaskBuilder()Mask specifying which fields to read from each result. If no mask is specified, will default to all fields except items.owner, items.acl, and items.default_object_acl.
- may be used to mean "all fields".
optional .google.protobuf.FieldMask read_mask = 5;
| Type | Description |
| Builder |
getReadMaskOrBuilder()
public FieldMaskOrBuilder getReadMaskOrBuilder()Mask specifying which fields to read from each result. If no mask is specified, will default to all fields except items.owner, items.acl, and items.default_object_acl.
- may be used to mean "all fields".
optional .google.protobuf.FieldMask read_mask = 5;
| Type | Description |
| FieldMaskOrBuilder |
hasCommonRequestParams()
public boolean hasCommonRequestParams()A set of parameters common to all Storage API requests.
.google.storage.v2.CommonRequestParams common_request_params = 6;
| Type | Description |
| boolean | Whether the commonRequestParams field is set. |
hasReadMask()
public boolean hasReadMask()Mask specifying which fields to read from each result. If no mask is specified, will default to all fields except items.owner, items.acl, and items.default_object_acl.
- may be used to mean "all fields".
optional .google.protobuf.FieldMask read_mask = 5;
| Type | Description |
| boolean | Whether the readMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeCommonRequestParams(CommonRequestParams value)
public ListBucketsRequest.Builder mergeCommonRequestParams(CommonRequestParams value)A set of parameters common to all Storage API requests.
.google.storage.v2.CommonRequestParams common_request_params = 6;
| Name | Description |
| value | CommonRequestParams |
| Type | Description |
| ListBucketsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListBucketsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| ListBucketsRequest.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public ListBucketsRequest.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| ListBucketsRequest.Builder |
mergeFrom(ListBucketsRequest other)
public ListBucketsRequest.Builder mergeFrom(ListBucketsRequest other)| Name | Description |
| other | ListBucketsRequest |
| Type | Description |
| ListBucketsRequest.Builder |
mergeReadMask(FieldMask value)
public ListBucketsRequest.Builder mergeReadMask(FieldMask value)Mask specifying which fields to read from each result. If no mask is specified, will default to all fields except items.owner, items.acl, and items.default_object_acl.
- may be used to mean "all fields".
optional .google.protobuf.FieldMask read_mask = 5;
| Name | Description |
| value | FieldMask |
| Type | Description |
| ListBucketsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListBucketsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| ListBucketsRequest.Builder |
setCommonRequestParams(CommonRequestParams value)
public ListBucketsRequest.Builder setCommonRequestParams(CommonRequestParams value)A set of parameters common to all Storage API requests.
.google.storage.v2.CommonRequestParams common_request_params = 6;
| Name | Description |
| value | CommonRequestParams |
| Type | Description |
| ListBucketsRequest.Builder |
setCommonRequestParams(CommonRequestParams.Builder builderForValue)
public ListBucketsRequest.Builder setCommonRequestParams(CommonRequestParams.Builder builderForValue)A set of parameters common to all Storage API requests.
.google.storage.v2.CommonRequestParams common_request_params = 6;
| Name | Description |
| builderForValue | CommonRequestParams.Builder |
| Type | Description |
| ListBucketsRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListBucketsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| ListBucketsRequest.Builder |
setPageSize(int value)
public ListBucketsRequest.Builder setPageSize(int value)Maximum number of buckets to return in a single response. The service will use this parameter or 1,000 items, whichever is smaller. If "acl" is present in the read_mask, the service will use this parameter of 200 items, whichever is smaller.
int32 page_size = 2;
| Name | Description |
| value | intThe pageSize to set. |
| Type | Description |
| ListBucketsRequest.Builder | This builder for chaining. |
setPageToken(String value)
public ListBucketsRequest.Builder setPageToken(String value)A previously-returned page token representing part of the larger set of results to view.
string page_token = 3;
| Name | Description |
| value | StringThe pageToken to set. |
| Type | Description |
| ListBucketsRequest.Builder | This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListBucketsRequest.Builder setPageTokenBytes(ByteString value)A previously-returned page token representing part of the larger set of results to view.
string page_token = 3;
| Name | Description |
| value | ByteStringThe bytes for pageToken to set. |
| Type | Description |
| ListBucketsRequest.Builder | This builder for chaining. |
setParent(String value)
public ListBucketsRequest.Builder setParent(String value)Required. The project whose buckets we are listing.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Name | Description |
| value | StringThe parent to set. |
| Type | Description |
| ListBucketsRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public ListBucketsRequest.Builder setParentBytes(ByteString value)Required. The project whose buckets we are listing.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Name | Description |
| value | ByteStringThe bytes for parent to set. |
| Type | Description |
| ListBucketsRequest.Builder | This builder for chaining. |
setPrefix(String value)
public ListBucketsRequest.Builder setPrefix(String value)Filter results to buckets whose names begin with this prefix.
string prefix = 4;
| Name | Description |
| value | StringThe prefix to set. |
| Type | Description |
| ListBucketsRequest.Builder | This builder for chaining. |
setPrefixBytes(ByteString value)
public ListBucketsRequest.Builder setPrefixBytes(ByteString value)Filter results to buckets whose names begin with this prefix.
string prefix = 4;
| Name | Description |
| value | ByteStringThe bytes for prefix to set. |
| Type | Description |
| ListBucketsRequest.Builder | This builder for chaining. |
setReadMask(FieldMask value)
public ListBucketsRequest.Builder setReadMask(FieldMask value)Mask specifying which fields to read from each result. If no mask is specified, will default to all fields except items.owner, items.acl, and items.default_object_acl.
- may be used to mean "all fields".
optional .google.protobuf.FieldMask read_mask = 5;
| Name | Description |
| value | FieldMask |
| Type | Description |
| ListBucketsRequest.Builder |
setReadMask(FieldMask.Builder builderForValue)
public ListBucketsRequest.Builder setReadMask(FieldMask.Builder builderForValue)Mask specifying which fields to read from each result. If no mask is specified, will default to all fields except items.owner, items.acl, and items.default_object_acl.
- may be used to mean "all fields".
optional .google.protobuf.FieldMask read_mask = 5;
| Name | Description |
| builderForValue | Builder |
| Type | Description |
| ListBucketsRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListBucketsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| ListBucketsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListBucketsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| ListBucketsRequest.Builder |