public static final class BucketList.Builder extends GeneratedMessageV3.Builder<BucketList.Builder> implements BucketListOrBuilder
Describes list of buckets and their objects to be transformed.
Protobuf type google.cloud.storagebatchoperations.v1.BucketList
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 BucketList.Bucket> values)
public BucketList.Builder addAllBuckets(Iterable<? extends BucketList.Bucket> values)
Required. List of buckets and their objects to be transformed. Currently,
only one bucket configuration is supported. If multiple buckets are
specified, an error will be returned.
repeated .google.cloud.storagebatchoperations.v1.BucketList.Bucket buckets = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.storagebatchoperations.v1.BucketList.Bucket>
|
addBuckets(BucketList.Bucket value)
public BucketList.Builder addBuckets(BucketList.Bucket value)
Required. List of buckets and their objects to be transformed. Currently,
only one bucket configuration is supported. If multiple buckets are
specified, an error will be returned.
repeated .google.cloud.storagebatchoperations.v1.BucketList.Bucket buckets = 1 [(.google.api.field_behavior) = REQUIRED];
addBuckets(BucketList.Bucket.Builder builderForValue)
public BucketList.Builder addBuckets(BucketList.Bucket.Builder builderForValue)
Required. List of buckets and their objects to be transformed. Currently,
only one bucket configuration is supported. If multiple buckets are
specified, an error will be returned.
repeated .google.cloud.storagebatchoperations.v1.BucketList.Bucket buckets = 1 [(.google.api.field_behavior) = REQUIRED];
addBuckets(int index, BucketList.Bucket value)
public BucketList.Builder addBuckets(int index, BucketList.Bucket value)
Required. List of buckets and their objects to be transformed. Currently,
only one bucket configuration is supported. If multiple buckets are
specified, an error will be returned.
repeated .google.cloud.storagebatchoperations.v1.BucketList.Bucket buckets = 1 [(.google.api.field_behavior) = REQUIRED];
addBuckets(int index, BucketList.Bucket.Builder builderForValue)
public BucketList.Builder addBuckets(int index, BucketList.Bucket.Builder builderForValue)
Required. List of buckets and their objects to be transformed. Currently,
only one bucket configuration is supported. If multiple buckets are
specified, an error will be returned.
repeated .google.cloud.storagebatchoperations.v1.BucketList.Bucket buckets = 1 [(.google.api.field_behavior) = REQUIRED];
addBucketsBuilder()
public BucketList.Bucket.Builder addBucketsBuilder()
Required. List of buckets and their objects to be transformed. Currently,
only one bucket configuration is supported. If multiple buckets are
specified, an error will be returned.
repeated .google.cloud.storagebatchoperations.v1.BucketList.Bucket buckets = 1 [(.google.api.field_behavior) = REQUIRED];
addBucketsBuilder(int index)
public BucketList.Bucket.Builder addBucketsBuilder(int index)
Required. List of buckets and their objects to be transformed. Currently,
only one bucket configuration is supported. If multiple buckets are
specified, an error will be returned.
repeated .google.cloud.storagebatchoperations.v1.BucketList.Bucket buckets = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BucketList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BucketList build()
buildPartial()
public BucketList buildPartial()
clear()
public BucketList.Builder clear()
Overrides
clearBuckets()
public BucketList.Builder clearBuckets()
Required. List of buckets and their objects to be transformed. Currently,
only one bucket configuration is supported. If multiple buckets are
specified, an error will be returned.
repeated .google.cloud.storagebatchoperations.v1.BucketList.Bucket buckets = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public BucketList.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BucketList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public BucketList.Builder clone()
Overrides
getBuckets(int index)
public BucketList.Bucket getBuckets(int index)
Required. List of buckets and their objects to be transformed. Currently,
only one bucket configuration is supported. If multiple buckets are
specified, an error will be returned.
repeated .google.cloud.storagebatchoperations.v1.BucketList.Bucket buckets = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getBucketsBuilder(int index)
public BucketList.Bucket.Builder getBucketsBuilder(int index)
Required. List of buckets and their objects to be transformed. Currently,
only one bucket configuration is supported. If multiple buckets are
specified, an error will be returned.
repeated .google.cloud.storagebatchoperations.v1.BucketList.Bucket buckets = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getBucketsBuilderList()
public List<BucketList.Bucket.Builder> getBucketsBuilderList()
Required. List of buckets and their objects to be transformed. Currently,
only one bucket configuration is supported. If multiple buckets are
specified, an error will be returned.
repeated .google.cloud.storagebatchoperations.v1.BucketList.Bucket buckets = 1 [(.google.api.field_behavior) = REQUIRED];
getBucketsCount()
public int getBucketsCount()
Required. List of buckets and their objects to be transformed. Currently,
only one bucket configuration is supported. If multiple buckets are
specified, an error will be returned.
repeated .google.cloud.storagebatchoperations.v1.BucketList.Bucket buckets = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
getBucketsList()
public List<BucketList.Bucket> getBucketsList()
Required. List of buckets and their objects to be transformed. Currently,
only one bucket configuration is supported. If multiple buckets are
specified, an error will be returned.
repeated .google.cloud.storagebatchoperations.v1.BucketList.Bucket buckets = 1 [(.google.api.field_behavior) = REQUIRED];
getBucketsOrBuilder(int index)
public BucketList.BucketOrBuilder getBucketsOrBuilder(int index)
Required. List of buckets and their objects to be transformed. Currently,
only one bucket configuration is supported. If multiple buckets are
specified, an error will be returned.
repeated .google.cloud.storagebatchoperations.v1.BucketList.Bucket buckets = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getBucketsOrBuilderList()
public List<? extends BucketList.BucketOrBuilder> getBucketsOrBuilderList()
Required. List of buckets and their objects to be transformed. Currently,
only one bucket configuration is supported. If multiple buckets are
specified, an error will be returned.
repeated .google.cloud.storagebatchoperations.v1.BucketList.Bucket buckets = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.storagebatchoperations.v1.BucketList.BucketOrBuilder> |
|
getDefaultInstanceForType()
public BucketList getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BucketList other)
public BucketList.Builder mergeFrom(BucketList other)
public BucketList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BucketList.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BucketList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeBuckets(int index)
public BucketList.Builder removeBuckets(int index)
Required. List of buckets and their objects to be transformed. Currently,
only one bucket configuration is supported. If multiple buckets are
specified, an error will be returned.
repeated .google.cloud.storagebatchoperations.v1.BucketList.Bucket buckets = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
setBuckets(int index, BucketList.Bucket value)
public BucketList.Builder setBuckets(int index, BucketList.Bucket value)
Required. List of buckets and their objects to be transformed. Currently,
only one bucket configuration is supported. If multiple buckets are
specified, an error will be returned.
repeated .google.cloud.storagebatchoperations.v1.BucketList.Bucket buckets = 1 [(.google.api.field_behavior) = REQUIRED];
setBuckets(int index, BucketList.Bucket.Builder builderForValue)
public BucketList.Builder setBuckets(int index, BucketList.Bucket.Builder builderForValue)
Required. List of buckets and their objects to be transformed. Currently,
only one bucket configuration is supported. If multiple buckets are
specified, an error will be returned.
repeated .google.cloud.storagebatchoperations.v1.BucketList.Bucket buckets = 1 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public BucketList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BucketList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BucketList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides