Class MoveBillingAccountRequest.Builder (2.46.0)

public static final class MoveBillingAccountRequest.Builder extends GeneratedMessageV3.Builder<MoveBillingAccountRequest.Builder> implements MoveBillingAccountRequestOrBuilder

Request message for MoveBillingAccount RPC.

Protobuf type google.cloud.billing.v1.MoveBillingAccountRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MoveBillingAccountRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MoveBillingAccountRequest.Builder
Overrides

build()

public MoveBillingAccountRequest build()
Returns
Type Description
MoveBillingAccountRequest

buildPartial()

public MoveBillingAccountRequest buildPartial()
Returns
Type Description
MoveBillingAccountRequest

clear()

public MoveBillingAccountRequest.Builder clear()
Returns
Type Description
MoveBillingAccountRequest.Builder
Overrides

clearDestinationParent()

public MoveBillingAccountRequest.Builder clearDestinationParent()

Required. The resource name of the Organization to move the billing account under. Must be of the form organizations/{organization_id}.

string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
MoveBillingAccountRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public MoveBillingAccountRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MoveBillingAccountRequest.Builder
Overrides

clearName()

public MoveBillingAccountRequest.Builder clearName()

Required. The resource name of the billing account to move. Must be of the form billingAccounts/{billing_account_id}. The specified billing account cannot be a subaccount, since a subaccount always belongs to the same organization as its parent account.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
MoveBillingAccountRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public MoveBillingAccountRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MoveBillingAccountRequest.Builder
Overrides

clone()

public MoveBillingAccountRequest.Builder clone()
Returns
Type Description
MoveBillingAccountRequest.Builder
Overrides

getDefaultInstanceForType()

public MoveBillingAccountRequest getDefaultInstanceForType()
Returns
Type Description
MoveBillingAccountRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDestinationParent()

public String getDestinationParent()

Required. The resource name of the Organization to move the billing account under. Must be of the form organizations/{organization_id}.

string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The destinationParent.

getDestinationParentBytes()

public ByteString getDestinationParentBytes()

Required. The resource name of the Organization to move the billing account under. Must be of the form organizations/{organization_id}.

string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for destinationParent.

getName()

public String getName()

Required. The resource name of the billing account to move. Must be of the form billingAccounts/{billing_account_id}. The specified billing account cannot be a subaccount, since a subaccount always belongs to the same organization as its parent account.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the billing account to move. Must be of the form billingAccounts/{billing_account_id}. The specified billing account cannot be a subaccount, since a subaccount always belongs to the same organization as its parent account.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MoveBillingAccountRequest other)

public MoveBillingAccountRequest.Builder mergeFrom(MoveBillingAccountRequest other)
Parameter
Name Description
other MoveBillingAccountRequest
Returns
Type Description
MoveBillingAccountRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MoveBillingAccountRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MoveBillingAccountRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MoveBillingAccountRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MoveBillingAccountRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MoveBillingAccountRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MoveBillingAccountRequest.Builder
Overrides

setDestinationParent(String value)

public MoveBillingAccountRequest.Builder setDestinationParent(String value)

Required. The resource name of the Organization to move the billing account under. Must be of the form organizations/{organization_id}.

string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The destinationParent to set.

Returns
Type Description
MoveBillingAccountRequest.Builder

This builder for chaining.

setDestinationParentBytes(ByteString value)

public MoveBillingAccountRequest.Builder setDestinationParentBytes(ByteString value)

Required. The resource name of the Organization to move the billing account under. Must be of the form organizations/{organization_id}.

string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for destinationParent to set.

Returns
Type Description
MoveBillingAccountRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public MoveBillingAccountRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MoveBillingAccountRequest.Builder
Overrides

setName(String value)

public MoveBillingAccountRequest.Builder setName(String value)

Required. The resource name of the billing account to move. Must be of the form billingAccounts/{billing_account_id}. The specified billing account cannot be a subaccount, since a subaccount always belongs to the same organization as its parent account.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
MoveBillingAccountRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public MoveBillingAccountRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the billing account to move. Must be of the form billingAccounts/{billing_account_id}. The specified billing account cannot be a subaccount, since a subaccount always belongs to the same organization as its parent account.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
MoveBillingAccountRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MoveBillingAccountRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MoveBillingAccountRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MoveBillingAccountRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MoveBillingAccountRequest.Builder
Overrides