public static final class UpdateBillingAccountRequest.Builder extends GeneratedMessageV3.Builder<UpdateBillingAccountRequest.Builder> implements UpdateBillingAccountRequestOrBuilder
Request message for UpdateBillingAccount
.
Protobuf type google.cloud.billing.v1.UpdateBillingAccountRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateBillingAccountRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateBillingAccountRequest build()
Returns
buildPartial()
public UpdateBillingAccountRequest buildPartial()
Returns
clear()
public UpdateBillingAccountRequest.Builder clear()
Returns
Overrides
clearAccount()
public UpdateBillingAccountRequest.Builder clearAccount()
Required. The billing account resource to replace the resource on the server.
.google.cloud.billing.v1.BillingAccount account = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public UpdateBillingAccountRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public UpdateBillingAccountRequest.Builder clearName()
Required. The name of the billing account resource to be updated.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateBillingAccountRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateBillingAccountRequest.Builder clearUpdateMask()
The update mask applied to the resource.
Only "display_name" is currently supported.
.google.protobuf.FieldMask update_mask = 3;
Returns
clone()
public UpdateBillingAccountRequest.Builder clone()
Returns
Overrides
getAccount()
public BillingAccount getAccount()
Required. The billing account resource to replace the resource on the server.
.google.cloud.billing.v1.BillingAccount account = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getAccountBuilder()
public BillingAccount.Builder getAccountBuilder()
Required. The billing account resource to replace the resource on the server.
.google.cloud.billing.v1.BillingAccount account = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getAccountOrBuilder()
public BillingAccountOrBuilder getAccountOrBuilder()
Required. The billing account resource to replace the resource on the server.
.google.cloud.billing.v1.BillingAccount account = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public UpdateBillingAccountRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
Required. The name of the billing account resource to be updated.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. The name of the billing account resource to be updated.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
getUpdateMask()
public FieldMask getUpdateMask()
The update mask applied to the resource.
Only "display_name" is currently supported.
.google.protobuf.FieldMask update_mask = 3;
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
The update mask applied to the resource.
Only "display_name" is currently supported.
.google.protobuf.FieldMask update_mask = 3;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The update mask applied to the resource.
Only "display_name" is currently supported.
.google.protobuf.FieldMask update_mask = 3;
Returns
hasAccount()
public boolean hasAccount()
Required. The billing account resource to replace the resource on the server.
.google.cloud.billing.v1.BillingAccount account = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the account field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
The update mask applied to the resource.
Only "display_name" is currently supported.
.google.protobuf.FieldMask update_mask = 3;
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeAccount(BillingAccount value)
public UpdateBillingAccountRequest.Builder mergeAccount(BillingAccount value)
Required. The billing account resource to replace the resource on the server.
.google.cloud.billing.v1.BillingAccount account = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(UpdateBillingAccountRequest other)
public UpdateBillingAccountRequest.Builder mergeFrom(UpdateBillingAccountRequest other)
Parameter
Returns
public UpdateBillingAccountRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateBillingAccountRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateBillingAccountRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateBillingAccountRequest.Builder mergeUpdateMask(FieldMask value)
The update mask applied to the resource.
Only "display_name" is currently supported.
.google.protobuf.FieldMask update_mask = 3;
Parameter
Returns
setAccount(BillingAccount value)
public UpdateBillingAccountRequest.Builder setAccount(BillingAccount value)
Required. The billing account resource to replace the resource on the server.
.google.cloud.billing.v1.BillingAccount account = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setAccount(BillingAccount.Builder builderForValue)
public UpdateBillingAccountRequest.Builder setAccount(BillingAccount.Builder builderForValue)
Required. The billing account resource to replace the resource on the server.
.google.cloud.billing.v1.BillingAccount account = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateBillingAccountRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public UpdateBillingAccountRequest.Builder setName(String value)
Required. The name of the billing account resource to be updated.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public UpdateBillingAccountRequest.Builder setNameBytes(ByteString value)
Required. The name of the billing account resource to be updated.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateBillingAccountRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateBillingAccountRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateBillingAccountRequest.Builder setUpdateMask(FieldMask value)
The update mask applied to the resource.
Only "display_name" is currently supported.
.google.protobuf.FieldMask update_mask = 3;
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateBillingAccountRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
The update mask applied to the resource.
Only "display_name" is currently supported.
.google.protobuf.FieldMask update_mask = 3;
Parameter
Name | Description |
builderForValue | Builder
|
Returns