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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateProjectBillingInfoRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateProjectBillingInfoRequest build()
Returns
buildPartial()
public UpdateProjectBillingInfoRequest buildPartial()
Returns
clear()
public UpdateProjectBillingInfoRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateProjectBillingInfoRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateProjectBillingInfoRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearProjectBillingInfo()
public UpdateProjectBillingInfoRequest.Builder clearProjectBillingInfo()
The new billing information for the project. Read-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
clone()
public UpdateProjectBillingInfoRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateProjectBillingInfoRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
getProjectBillingInfo()
public ProjectBillingInfo getProjectBillingInfo()
The new billing information for the project. Read-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
getProjectBillingInfoBuilder()
public ProjectBillingInfo.Builder getProjectBillingInfoBuilder()
The new billing information for the project. Read-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
getProjectBillingInfoOrBuilder()
public ProjectBillingInfoOrBuilder getProjectBillingInfoOrBuilder()
The new billing information for the project. Read-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
hasProjectBillingInfo()
public boolean hasProjectBillingInfo()
The new billing information for the project. Read-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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateProjectBillingInfoRequest other)
public UpdateProjectBillingInfoRequest.Builder mergeFrom(UpdateProjectBillingInfoRequest other)
Parameter
Returns
public UpdateProjectBillingInfoRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateProjectBillingInfoRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeProjectBillingInfo(ProjectBillingInfo value)
public UpdateProjectBillingInfoRequest.Builder mergeProjectBillingInfo(ProjectBillingInfo value)
The new billing information for the project. Read-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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateProjectBillingInfoRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateProjectBillingInfoRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setProjectBillingInfo(ProjectBillingInfo value)
public UpdateProjectBillingInfoRequest.Builder setProjectBillingInfo(ProjectBillingInfo value)
The new billing information for the project. Read-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
Returns
setProjectBillingInfo(ProjectBillingInfo.Builder builderForValue)
public UpdateProjectBillingInfoRequest.Builder setProjectBillingInfo(ProjectBillingInfo.Builder builderForValue)
The new billing information for the project. Read-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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateProjectBillingInfoRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateProjectBillingInfoRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides