Class StorageBucketInfo.Builder (1.49.0)

public static final class StorageBucketInfo.Builder extends GeneratedMessageV3.Builder<StorageBucketInfo.Builder> implements StorageBucketInfoOrBuilder

For display only. Metadata associated with Storage Bucket.

Protobuf type google.cloud.networkmanagement.v1.StorageBucketInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StorageBucketInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StorageBucketInfo.Builder
Overrides

build()

public StorageBucketInfo build()
Returns
Type Description
StorageBucketInfo

buildPartial()

public StorageBucketInfo buildPartial()
Returns
Type Description
StorageBucketInfo

clear()

public StorageBucketInfo.Builder clear()
Returns
Type Description
StorageBucketInfo.Builder
Overrides

clearBucket()

public StorageBucketInfo.Builder clearBucket()

Cloud Storage Bucket name.

string bucket = 1;

Returns
Type Description
StorageBucketInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public StorageBucketInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StorageBucketInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public StorageBucketInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StorageBucketInfo.Builder
Overrides

clone()

public StorageBucketInfo.Builder clone()
Returns
Type Description
StorageBucketInfo.Builder
Overrides

getBucket()

public String getBucket()

Cloud Storage Bucket name.

string bucket = 1;

Returns
Type Description
String

The bucket.

getBucketBytes()

public ByteString getBucketBytes()

Cloud Storage Bucket name.

string bucket = 1;

Returns
Type Description
ByteString

The bytes for bucket.

getDefaultInstanceForType()

public StorageBucketInfo getDefaultInstanceForType()
Returns
Type Description
StorageBucketInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StorageBucketInfo other)

public StorageBucketInfo.Builder mergeFrom(StorageBucketInfo other)
Parameter
Name Description
other StorageBucketInfo
Returns
Type Description
StorageBucketInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StorageBucketInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageBucketInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StorageBucketInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StorageBucketInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StorageBucketInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StorageBucketInfo.Builder
Overrides

setBucket(String value)

public StorageBucketInfo.Builder setBucket(String value)

Cloud Storage Bucket name.

string bucket = 1;

Parameter
Name Description
value String

The bucket to set.

Returns
Type Description
StorageBucketInfo.Builder

This builder for chaining.

setBucketBytes(ByteString value)

public StorageBucketInfo.Builder setBucketBytes(ByteString value)

Cloud Storage Bucket name.

string bucket = 1;

Parameter
Name Description
value ByteString

The bytes for bucket to set.

Returns
Type Description
StorageBucketInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public StorageBucketInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StorageBucketInfo.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StorageBucketInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StorageBucketInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StorageBucketInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StorageBucketInfo.Builder
Overrides