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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Bucket.Billing.BuilderImplements
Bucket.BillingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Bucket.Billing.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Bucket.Billing.Builder |
build()
public Bucket.Billing build()
Type | Description |
Bucket.Billing |
buildPartial()
public Bucket.Billing buildPartial()
Type | Description |
Bucket.Billing |
clear()
public Bucket.Billing.Builder clear()
Type | Description |
Bucket.Billing.Builder |
clearField(Descriptors.FieldDescriptor field)
public Bucket.Billing.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Bucket.Billing.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Bucket.Billing.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Bucket.Billing.Builder |
clearRequesterPays()
public Bucket.Billing.Builder clearRequesterPays()
When set to true, Requester Pays is enabled for this bucket.
bool requester_pays = 1;
Type | Description |
Bucket.Billing.Builder | This builder for chaining. |
clone()
public Bucket.Billing.Builder clone()
Type | Description |
Bucket.Billing.Builder |
getDefaultInstanceForType()
public Bucket.Billing getDefaultInstanceForType()
Type | Description |
Bucket.Billing |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getRequesterPays()
public boolean getRequesterPays()
When set to true, Requester Pays is enabled for this bucket.
bool requester_pays = 1;
Type | Description |
boolean | The requesterPays. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Bucket.Billing.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.Billing.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Bucket.Billing.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Bucket.Billing.Builder |
mergeFrom(Bucket.Billing other)
public Bucket.Billing.Builder mergeFrom(Bucket.Billing other)
Name | Description |
other | Bucket.Billing |
Type | Description |
Bucket.Billing.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Bucket.Billing.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Bucket.Billing.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Bucket.Billing.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Bucket.Billing.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Bucket.Billing.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Bucket.Billing.Builder |
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;
Name | Description |
value | boolean The requesterPays to set. |
Type | Description |
Bucket.Billing.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Bucket.Billing.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Bucket.Billing.Builder |