public static final class UpdateBillingAccountRequest.Builder extends GeneratedMessageV3.Builder<UpdateBillingAccountRequest.Builder> implements UpdateBillingAccountRequestOrBuilder
Request message for UpdateBillingAccount
.
Protobuf type google.cloud.billing.v1.UpdateBillingAccountRequest
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateBillingAccountRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateBillingAccountRequest build()
buildPartial()
public UpdateBillingAccountRequest buildPartial()
clear()
public UpdateBillingAccountRequest.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public UpdateBillingAccountRequest.Builder clearField(Descriptors.FieldDescriptor field)
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) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateBillingAccountRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public UpdateBillingAccountRequest.Builder clone()
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];
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];
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];
getDefaultInstanceForType()
public UpdateBillingAccountRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
getUpdateMask()
public FieldMask getUpdateMask()
The update mask applied to the resource.
Only "display_name" is currently supported.
.google.protobuf.FieldMask update_mask = 3;
Returns |
---|
Type | Description |
FieldMask | The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
The update mask applied to the resource.
Only "display_name" is currently supported.
.google.protobuf.FieldMask update_mask = 3;
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The update mask applied to the resource.
Only "display_name" is currently supported.
.google.protobuf.FieldMask update_mask = 3;
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(UpdateBillingAccountRequest other)
public UpdateBillingAccountRequest.Builder mergeFrom(UpdateBillingAccountRequest other)
public UpdateBillingAccountRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateBillingAccountRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateBillingAccountRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateBillingAccountRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateBillingAccountRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateBillingAccountRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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
|