public static final class CreateBillingAccountRequest.Builder extends GeneratedMessageV3.Builder<CreateBillingAccountRequest.Builder> implements CreateBillingAccountRequestOrBuilder
Request message for CreateBillingAccount
.
Protobuf type google.cloud.billing.v1.CreateBillingAccountRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateBillingAccountRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateBillingAccountRequest build()
Returns
buildPartial()
public CreateBillingAccountRequest buildPartial()
Returns
clear()
public CreateBillingAccountRequest.Builder clear()
Returns
Overrides
clearBillingAccount()
public CreateBillingAccountRequest.Builder clearBillingAccount()
Required. The billing account resource to create.
Currently CreateBillingAccount only supports subaccount creation, so
any created billing accounts must be under a provided master billing
account.
.google.cloud.billing.v1.BillingAccount billing_account = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public CreateBillingAccountRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateBillingAccountRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public CreateBillingAccountRequest.Builder clone()
Returns
Overrides
getBillingAccount()
public BillingAccount getBillingAccount()
Required. The billing account resource to create.
Currently CreateBillingAccount only supports subaccount creation, so
any created billing accounts must be under a provided master billing
account.
.google.cloud.billing.v1.BillingAccount billing_account = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getBillingAccountBuilder()
public BillingAccount.Builder getBillingAccountBuilder()
Required. The billing account resource to create.
Currently CreateBillingAccount only supports subaccount creation, so
any created billing accounts must be under a provided master billing
account.
.google.cloud.billing.v1.BillingAccount billing_account = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getBillingAccountOrBuilder()
public BillingAccountOrBuilder getBillingAccountOrBuilder()
Required. The billing account resource to create.
Currently CreateBillingAccount only supports subaccount creation, so
any created billing accounts must be under a provided master billing
account.
.google.cloud.billing.v1.BillingAccount billing_account = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public CreateBillingAccountRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
hasBillingAccount()
public boolean hasBillingAccount()
Required. The billing account resource to create.
Currently CreateBillingAccount only supports subaccount creation, so
any created billing accounts must be under a provided master billing
account.
.google.cloud.billing.v1.BillingAccount billing_account = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the billingAccount field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeBillingAccount(BillingAccount value)
public CreateBillingAccountRequest.Builder mergeBillingAccount(BillingAccount value)
Required. The billing account resource to create.
Currently CreateBillingAccount only supports subaccount creation, so
any created billing accounts must be under a provided master billing
account.
.google.cloud.billing.v1.BillingAccount billing_account = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(CreateBillingAccountRequest other)
public CreateBillingAccountRequest.Builder mergeFrom(CreateBillingAccountRequest other)
Parameter
Returns
public CreateBillingAccountRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateBillingAccountRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateBillingAccountRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setBillingAccount(BillingAccount value)
public CreateBillingAccountRequest.Builder setBillingAccount(BillingAccount value)
Required. The billing account resource to create.
Currently CreateBillingAccount only supports subaccount creation, so
any created billing accounts must be under a provided master billing
account.
.google.cloud.billing.v1.BillingAccount billing_account = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setBillingAccount(BillingAccount.Builder builderForValue)
public CreateBillingAccountRequest.Builder setBillingAccount(BillingAccount.Builder builderForValue)
Required. The billing account resource to create.
Currently CreateBillingAccount only supports subaccount creation, so
any created billing accounts must be under a provided master billing
account.
.google.cloud.billing.v1.BillingAccount billing_account = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateBillingAccountRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateBillingAccountRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateBillingAccountRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides