Class BucketList (0.2.0)

public final class BucketList extends GeneratedMessageV3 implements BucketListOrBuilder

Describes list of buckets and their objects to be transformed.

Protobuf type google.cloud.storagebatchoperations.v1.BucketList

Implements

BucketListOrBuilder

Static Fields

BUCKETS_FIELD_NUMBER

public static final int BUCKETS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BucketList getDefaultInstance()
Returns
Type Description
BucketList

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BucketList.Builder newBuilder()
Returns
Type Description
BucketList.Builder

newBuilder(BucketList prototype)

public static BucketList.Builder newBuilder(BucketList prototype)
Parameter
Name Description
prototype BucketList
Returns
Type Description
BucketList.Builder

parseDelimitedFrom(InputStream input)

public static BucketList parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BucketList
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BucketList parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BucketList
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BucketList parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BucketList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BucketList parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BucketList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BucketList parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BucketList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BucketList parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BucketList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BucketList parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BucketList
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BucketList parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BucketList
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BucketList parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BucketList
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BucketList parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BucketList
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BucketList parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BucketList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BucketList parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BucketList
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BucketList> parser()
Returns
Type Description
Parser<BucketList>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
Returns
Type Description
BucketList.Bucket

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];

Returns
Type Description
List<Bucket>

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
Returns
Type Description
BucketList.BucketOrBuilder

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()
Returns
Type Description
BucketList

getParserForType()

public Parser<BucketList> getParserForType()
Returns
Type Description
Parser<BucketList>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BucketList.Builder newBuilderForType()
Returns
Type Description
BucketList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BucketList.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BucketList.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BucketList.Builder toBuilder()
Returns
Type Description
BucketList.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException