public static final class ListBucketsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListBucketsRequest.Builder> implements ListBucketsRequestOrBuilder
Request message for ListBuckets.Protobuf type
google.storage.v2.ListBucketsRequest
Modifier and Type | Method and Description |
---|---|
ListBucketsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListBucketsRequest |
build() |
ListBucketsRequest |
buildPartial() |
ListBucketsRequest.Builder |
clear() |
ListBucketsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListBucketsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListBucketsRequest.Builder |
clearPageSize()
Maximum number of buckets to return in a single response.
|
ListBucketsRequest.Builder |
clearPageToken()
A previously-returned page token representing part of the larger set of
results to view.
|
ListBucketsRequest.Builder |
clearParent()
Required.
|
ListBucketsRequest.Builder |
clearPrefix()
Filter results to buckets whose names begin with this prefix.
|
ListBucketsRequest.Builder |
clearReadMask()
Mask specifying which fields to read from each result.
|
ListBucketsRequest.Builder |
clone() |
ListBucketsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getPageSize()
Maximum number of buckets to return in a single response.
|
String |
getPageToken()
A previously-returned page token representing part of the larger set of
results to view.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
A previously-returned page token representing part of the larger set of
results to view.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
String |
getPrefix()
Filter results to buckets whose names begin with this prefix.
|
com.google.protobuf.ByteString |
getPrefixBytes()
Filter results to buckets whose names begin with this prefix.
|
com.google.protobuf.FieldMask |
getReadMask()
Mask specifying which fields to read from each result.
|
com.google.protobuf.FieldMask.Builder |
getReadMaskBuilder()
Mask specifying which fields to read from each result.
|
com.google.protobuf.FieldMaskOrBuilder |
getReadMaskOrBuilder()
Mask specifying which fields to read from each result.
|
boolean |
hasReadMask()
Mask specifying which fields to read from each result.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListBucketsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListBucketsRequest.Builder |
mergeFrom(ListBucketsRequest other) |
ListBucketsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListBucketsRequest.Builder |
mergeReadMask(com.google.protobuf.FieldMask value)
Mask specifying which fields to read from each result.
|
ListBucketsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListBucketsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListBucketsRequest.Builder |
setPageSize(int value)
Maximum number of buckets to return in a single response.
|
ListBucketsRequest.Builder |
setPageToken(String value)
A previously-returned page token representing part of the larger set of
results to view.
|
ListBucketsRequest.Builder |
setPageTokenBytes(com.google.protobuf.ByteString value)
A previously-returned page token representing part of the larger set of
results to view.
|
ListBucketsRequest.Builder |
setParent(String value)
Required.
|
ListBucketsRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
ListBucketsRequest.Builder |
setPrefix(String value)
Filter results to buckets whose names begin with this prefix.
|
ListBucketsRequest.Builder |
setPrefixBytes(com.google.protobuf.ByteString value)
Filter results to buckets whose names begin with this prefix.
|
ListBucketsRequest.Builder |
setReadMask(com.google.protobuf.FieldMask.Builder builderForValue)
Mask specifying which fields to read from each result.
|
ListBucketsRequest.Builder |
setReadMask(com.google.protobuf.FieldMask value)
Mask specifying which fields to read from each result.
|
ListBucketsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListBucketsRequest.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<ListBucketsRequest.Builder>
public ListBucketsRequest.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<ListBucketsRequest.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<ListBucketsRequest.Builder>
public ListBucketsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ListBucketsRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ListBucketsRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ListBucketsRequest.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<ListBucketsRequest.Builder>
public ListBucketsRequest.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<ListBucketsRequest.Builder>
public ListBucketsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListBucketsRequest.Builder>
public ListBucketsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ListBucketsRequest.Builder>
public ListBucketsRequest.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<ListBucketsRequest.Builder>
public ListBucketsRequest.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<ListBucketsRequest.Builder>
public ListBucketsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListBucketsRequest.Builder>
public ListBucketsRequest.Builder mergeFrom(ListBucketsRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ListBucketsRequest.Builder>
public ListBucketsRequest.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<ListBucketsRequest.Builder>
IOException
public String getParent()
Required. The project whose buckets we are listing.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent
in interface ListBucketsRequestOrBuilder
public com.google.protobuf.ByteString getParentBytes()
Required. The project whose buckets we are listing.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes
in interface ListBucketsRequestOrBuilder
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) = { ... }
value
- The parent to set.public ListBucketsRequest.Builder clearParent()
Required. The project whose buckets we are listing.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListBucketsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The project whose buckets we are listing.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The bytes for parent to set.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;
getPageSize
in interface ListBucketsRequestOrBuilder
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;
value
- The pageSize to set.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;
public String getPageToken()
A previously-returned page token representing part of the larger set of results to view.
string page_token = 3;
getPageToken
in interface ListBucketsRequestOrBuilder
public com.google.protobuf.ByteString getPageTokenBytes()
A previously-returned page token representing part of the larger set of results to view.
string page_token = 3;
getPageTokenBytes
in interface ListBucketsRequestOrBuilder
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;
value
- The pageToken to set.public ListBucketsRequest.Builder clearPageToken()
A previously-returned page token representing part of the larger set of results to view.
string page_token = 3;
public ListBucketsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
A previously-returned page token representing part of the larger set of results to view.
string page_token = 3;
value
- The bytes for pageToken to set.public String getPrefix()
Filter results to buckets whose names begin with this prefix.
string prefix = 4;
getPrefix
in interface ListBucketsRequestOrBuilder
public com.google.protobuf.ByteString getPrefixBytes()
Filter results to buckets whose names begin with this prefix.
string prefix = 4;
getPrefixBytes
in interface ListBucketsRequestOrBuilder
public ListBucketsRequest.Builder setPrefix(String value)
Filter results to buckets whose names begin with this prefix.
string prefix = 4;
value
- The prefix to set.public ListBucketsRequest.Builder clearPrefix()
Filter results to buckets whose names begin with this prefix.
string prefix = 4;
public ListBucketsRequest.Builder setPrefixBytes(com.google.protobuf.ByteString value)
Filter results to buckets whose names begin with this prefix.
string prefix = 4;
value
- The bytes for prefix to set.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;
hasReadMask
in interface ListBucketsRequestOrBuilder
public com.google.protobuf.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;
getReadMask
in interface ListBucketsRequestOrBuilder
public ListBucketsRequest.Builder setReadMask(com.google.protobuf.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;
public ListBucketsRequest.Builder setReadMask(com.google.protobuf.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;
public ListBucketsRequest.Builder mergeReadMask(com.google.protobuf.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;
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;
public com.google.protobuf.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;
public com.google.protobuf.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;
getReadMaskOrBuilder
in interface ListBucketsRequestOrBuilder
public final ListBucketsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListBucketsRequest.Builder>
public final ListBucketsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListBucketsRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.