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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Bucket.Billing.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Bucket.Billing build()
Returns
buildPartial()
public Bucket.Billing buildPartial()
Returns
clear()
public Bucket.Billing.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Bucket.Billing.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Bucket.Billing.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRequesterPays()
public Bucket.Billing.Builder clearRequesterPays()
When set to true, Requester Pays is enabled for this bucket.
bool requester_pays = 1;
Returns
clone()
public Bucket.Billing.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Bucket.Billing getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getRequesterPays()
public boolean getRequesterPays()
When set to true, Requester Pays is enabled for this bucket.
bool requester_pays = 1;
Returns
Type |
Description |
boolean |
The requesterPays.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public Bucket.Billing.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Bucket.Billing.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(Bucket.Billing other)
public Bucket.Billing.Builder mergeFrom(Bucket.Billing other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Bucket.Billing.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Bucket.Billing.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Bucket.Billing.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Name |
Description |
value |
boolean
The requesterPays to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Bucket.Billing.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides