public final class UpdateProjectBillingInfoRequest extends GeneratedMessageV3 implements UpdateProjectBillingInfoRequestOrBuilder
Request message for UpdateProjectBillingInfo
.
Protobuf type google.cloud.billing.v1.UpdateProjectBillingInfoRequest
Static Fields
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
PROJECT_BILLING_INFO_FIELD_NUMBER
public static final int PROJECT_BILLING_INFO_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static UpdateProjectBillingInfoRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static UpdateProjectBillingInfoRequest.Builder newBuilder()
Returns
newBuilder(UpdateProjectBillingInfoRequest prototype)
public static UpdateProjectBillingInfoRequest.Builder newBuilder(UpdateProjectBillingInfoRequest prototype)
Parameter
Returns
public static UpdateProjectBillingInfoRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateProjectBillingInfoRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static UpdateProjectBillingInfoRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateProjectBillingInfoRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static UpdateProjectBillingInfoRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateProjectBillingInfoRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateProjectBillingInfoRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UpdateProjectBillingInfoRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateProjectBillingInfoRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateProjectBillingInfoRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static UpdateProjectBillingInfoRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateProjectBillingInfoRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<UpdateProjectBillingInfoRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public UpdateProjectBillingInfoRequest getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<UpdateProjectBillingInfoRequest> getParserForType()
Returns
Overrides
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
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public UpdateProjectBillingInfoRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateProjectBillingInfoRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public UpdateProjectBillingInfoRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions