public static final class CreateBillingAccountRequest.Builder extends GeneratedMessageV3.Builder<CreateBillingAccountRequest.Builder> implements CreateBillingAccountRequestOrBuilder
Request message for CreateBillingAccount
.
Protobuf type google.cloud.billing.v1.CreateBillingAccountRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 CreateBillingAccountRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateBillingAccountRequest build()
buildPartial()
public CreateBillingAccountRequest buildPartial()
clear()
public CreateBillingAccountRequest.Builder clear()
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 parent billing
account.
.google.cloud.billing.v1.BillingAccount billing_account = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateBillingAccountRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateBillingAccountRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateBillingAccountRequest.Builder clearParent()
Optional. The parent to create a billing account from.
Format:
billingAccounts/{billing_account_id}
, for example,
billingAccounts/012345-567890-ABCDEF
string parent = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public CreateBillingAccountRequest.Builder clone()
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 parent billing
account.
.google.cloud.billing.v1.BillingAccount billing_account = 1 [(.google.api.field_behavior) = REQUIRED];
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 parent billing
account.
.google.cloud.billing.v1.BillingAccount billing_account = 1 [(.google.api.field_behavior) = REQUIRED];
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 parent billing
account.
.google.cloud.billing.v1.BillingAccount billing_account = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public CreateBillingAccountRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Optional. The parent to create a billing account from.
Format:
billingAccounts/{billing_account_id}
, for example,
billingAccounts/012345-567890-ABCDEF
string parent = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Optional. The parent to create a billing account from.
Format:
billingAccounts/{billing_account_id}
, for example,
billingAccounts/012345-567890-ABCDEF
string parent = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
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 parent 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()
Overrides
isInitialized()
public final boolean isInitialized()
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 parent billing
account.
.google.cloud.billing.v1.BillingAccount billing_account = 1 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(CreateBillingAccountRequest other)
public CreateBillingAccountRequest.Builder mergeFrom(CreateBillingAccountRequest other)
public CreateBillingAccountRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateBillingAccountRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateBillingAccountRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 parent billing
account.
.google.cloud.billing.v1.BillingAccount billing_account = 1 [(.google.api.field_behavior) = REQUIRED];
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 parent billing
account.
.google.cloud.billing.v1.BillingAccount billing_account = 1 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateBillingAccountRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateBillingAccountRequest.Builder setParent(String value)
Optional. The parent to create a billing account from.
Format:
billingAccounts/{billing_account_id}
, for example,
billingAccounts/012345-567890-ABCDEF
string parent = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | String
The parent to set.
|
setParentBytes(ByteString value)
public CreateBillingAccountRequest.Builder setParentBytes(ByteString value)
Optional. The parent to create a billing account from.
Format:
billingAccounts/{billing_account_id}
, for example,
billingAccounts/012345-567890-ABCDEF
string parent = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateBillingAccountRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateBillingAccountRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides