Class Bucket.Billing.Builder (2.29.0)

public static final class Bucket.Billing.Builder extends GeneratedMessageV3.Builder<Bucket.Billing.Builder> implements Bucket.BillingOrBuilder

Billing properties of a bucket.

Protobuf type google.storage.v2.Bucket.Billing

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Bucket.Billing.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Bucket.Billing.Builder
Overrides

build()

public Bucket.Billing build()
Returns
TypeDescription
Bucket.Billing

buildPartial()

public Bucket.Billing buildPartial()
Returns
TypeDescription
Bucket.Billing

clear()

public Bucket.Billing.Builder clear()
Returns
TypeDescription
Bucket.Billing.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Bucket.Billing.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Bucket.Billing.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Bucket.Billing.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Bucket.Billing.Builder
Overrides

clearRequesterPays()

public Bucket.Billing.Builder clearRequesterPays()

When set to true, Requester Pays is enabled for this bucket.

bool requester_pays = 1;

Returns
TypeDescription
Bucket.Billing.Builder

This builder for chaining.

clone()

public Bucket.Billing.Builder clone()
Returns
TypeDescription
Bucket.Billing.Builder
Overrides

getDefaultInstanceForType()

public Bucket.Billing getDefaultInstanceForType()
Returns
TypeDescription
Bucket.Billing

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRequesterPays()

public boolean getRequesterPays()

When set to true, Requester Pays is enabled for this bucket.

bool requester_pays = 1;

Returns
TypeDescription
boolean

The requesterPays.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Bucket.Billing.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Bucket.Billing.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Bucket.Billing.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Bucket.Billing.Builder
Overrides

mergeFrom(Bucket.Billing other)

public Bucket.Billing.Builder mergeFrom(Bucket.Billing other)
Parameter
NameDescription
otherBucket.Billing
Returns
TypeDescription
Bucket.Billing.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Bucket.Billing.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Bucket.Billing.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Bucket.Billing.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Bucket.Billing.Builder
Overrides

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

public Bucket.Billing.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Bucket.Billing.Builder
Overrides

setRequesterPays(boolean value)

public Bucket.Billing.Builder setRequesterPays(boolean value)

When set to true, Requester Pays is enabled for this bucket.

bool requester_pays = 1;

Parameter
NameDescription
valueboolean

The requesterPays to set.

Returns
TypeDescription
Bucket.Billing.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Bucket.Billing.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Bucket.Billing.Builder
Overrides