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
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 MoveBillingAccountRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MoveBillingAccountRequest build()
buildPartial()
public MoveBillingAccountRequest buildPartial()
clear()
public MoveBillingAccountRequest.Builder clear()
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) = { ... }
clearField(Descriptors.FieldDescriptor field)
public MoveBillingAccountRequest.Builder clearField(Descriptors.FieldDescriptor field)
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) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public MoveBillingAccountRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public MoveBillingAccountRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public MoveBillingAccountRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MoveBillingAccountRequest other)
public MoveBillingAccountRequest.Builder mergeFrom(MoveBillingAccountRequest other)
public MoveBillingAccountRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MoveBillingAccountRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MoveBillingAccountRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public MoveBillingAccountRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MoveBillingAccountRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MoveBillingAccountRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides