Class UpdateProjectBillingInfoRequest.Builder (2.46.0)

public static final class UpdateProjectBillingInfoRequest.Builder extends GeneratedMessageV3.Builder<UpdateProjectBillingInfoRequest.Builder> implements UpdateProjectBillingInfoRequestOrBuilder

Request message for UpdateProjectBillingInfo.

Protobuf type google.cloud.billing.v1.UpdateProjectBillingInfoRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateProjectBillingInfoRequest build()
Returns
Type Description
UpdateProjectBillingInfoRequest

buildPartial()

public UpdateProjectBillingInfoRequest buildPartial()
Returns
Type Description
UpdateProjectBillingInfoRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public UpdateProjectBillingInfoRequest.Builder clearName()

Required. The resource name of the project associated with the billing information that you want to update. For example, projects/tokyo-rain-123.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateProjectBillingInfoRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProjectBillingInfo()

public UpdateProjectBillingInfoRequest.Builder clearProjectBillingInfo()

The new billing information for the project. Output-only fields are ignored; thus, you can leave empty all fields except billing_account_name.

.google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 2;

Returns
Type Description
UpdateProjectBillingInfoRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateProjectBillingInfoRequest getDefaultInstanceForType()
Returns
Type Description
UpdateProjectBillingInfoRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The resource name of the project associated with the billing information that you want to update. For example, projects/tokyo-rain-123.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the project associated with the billing information that you want to update. For example, projects/tokyo-rain-123.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getProjectBillingInfo()

public ProjectBillingInfo getProjectBillingInfo()

The new billing information for the project. Output-only fields are ignored; thus, you can leave empty all fields except billing_account_name.

.google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 2;

Returns
Type Description
ProjectBillingInfo

The projectBillingInfo.

getProjectBillingInfoBuilder()

public ProjectBillingInfo.Builder getProjectBillingInfoBuilder()

The new billing information for the project. Output-only fields are ignored; thus, you can leave empty all fields except billing_account_name.

.google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 2;

Returns
Type Description
ProjectBillingInfo.Builder

getProjectBillingInfoOrBuilder()

public ProjectBillingInfoOrBuilder getProjectBillingInfoOrBuilder()

The new billing information for the project. Output-only fields are ignored; thus, you can leave empty all fields except billing_account_name.

.google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 2;

Returns
Type Description
ProjectBillingInfoOrBuilder

hasProjectBillingInfo()

public boolean hasProjectBillingInfo()

The new billing information for the project. Output-only fields are ignored; thus, you can leave empty all fields except billing_account_name.

.google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 2;

Returns
Type Description
boolean

Whether the projectBillingInfo field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateProjectBillingInfoRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeProjectBillingInfo(ProjectBillingInfo value)

public UpdateProjectBillingInfoRequest.Builder mergeProjectBillingInfo(ProjectBillingInfo value)

The new billing information for the project. Output-only fields are ignored; thus, you can leave empty all fields except billing_account_name.

.google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 2;

Parameter
Name Description
value ProjectBillingInfo
Returns
Type Description
UpdateProjectBillingInfoRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public UpdateProjectBillingInfoRequest.Builder setName(String value)

Required. The resource name of the project associated with the billing information that you want to update. For example, projects/tokyo-rain-123.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
UpdateProjectBillingInfoRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public UpdateProjectBillingInfoRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the project associated with the billing information that you want to update. For example, projects/tokyo-rain-123.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
UpdateProjectBillingInfoRequest.Builder

This builder for chaining.

setProjectBillingInfo(ProjectBillingInfo value)

public UpdateProjectBillingInfoRequest.Builder setProjectBillingInfo(ProjectBillingInfo value)

The new billing information for the project. Output-only fields are ignored; thus, you can leave empty all fields except billing_account_name.

.google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 2;

Parameter
Name Description
value ProjectBillingInfo
Returns
Type Description
UpdateProjectBillingInfoRequest.Builder

setProjectBillingInfo(ProjectBillingInfo.Builder builderForValue)

public UpdateProjectBillingInfoRequest.Builder setProjectBillingInfo(ProjectBillingInfo.Builder builderForValue)

The new billing information for the project. Output-only fields are ignored; thus, you can leave empty all fields except billing_account_name.

.google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 2;

Parameter
Name Description
builderForValue ProjectBillingInfo.Builder
Returns
Type Description
UpdateProjectBillingInfoRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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