Class UpdateProjectBillingInfoRequest (2.80.0)

publicfinalclass UpdateProjectBillingInfoRequestextendsGeneratedMessageV3implementsUpdateProjectBillingInfoRequestOrBuilder

Request message for UpdateProjectBillingInfo.

Protobuf type google.cloud.billing.v1.UpdateProjectBillingInfoRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpdateProjectBillingInfoRequest

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

NAME_FIELD_NUMBER

publicstaticfinalintNAME_FIELD_NUMBER
Field Value
Type Description
int

PROJECT_BILLING_INFO_FIELD_NUMBER

publicstaticfinalintPROJECT_BILLING_INFO_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticUpdateProjectBillingInfoRequestgetDefaultInstance()
Returns
Type Description
UpdateProjectBillingInfoRequest

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticUpdateProjectBillingInfoRequest.BuildernewBuilder()
Returns
Type Description
UpdateProjectBillingInfoRequest.Builder

newBuilder(UpdateProjectBillingInfoRequest prototype)

publicstaticUpdateProjectBillingInfoRequest.BuildernewBuilder(UpdateProjectBillingInfoRequestprototype)
Parameter
Name Description
prototype UpdateProjectBillingInfoRequest
Returns
Type Description
UpdateProjectBillingInfoRequest.Builder

parseDelimitedFrom(InputStream input)

publicstaticUpdateProjectBillingInfoRequestparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateProjectBillingInfoRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticUpdateProjectBillingInfoRequestparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateProjectBillingInfoRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticUpdateProjectBillingInfoRequestparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateProjectBillingInfoRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticUpdateProjectBillingInfoRequestparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateProjectBillingInfoRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticUpdateProjectBillingInfoRequestparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateProjectBillingInfoRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticUpdateProjectBillingInfoRequestparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateProjectBillingInfoRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticUpdateProjectBillingInfoRequestparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateProjectBillingInfoRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticUpdateProjectBillingInfoRequestparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateProjectBillingInfoRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticUpdateProjectBillingInfoRequestparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateProjectBillingInfoRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticUpdateProjectBillingInfoRequestparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateProjectBillingInfoRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticUpdateProjectBillingInfoRequestparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateProjectBillingInfoRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticUpdateProjectBillingInfoRequestparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateProjectBillingInfoRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<UpdateProjectBillingInfoRequest>parser()
Returns
Type Description
Parser<UpdateProjectBillingInfoRequest>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicUpdateProjectBillingInfoRequestgetDefaultInstanceForType()
Returns
Type Description
UpdateProjectBillingInfoRequest

getName()

publicStringgetName()

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()

publicByteStringgetNameBytes()

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.

getParserForType()

publicParser<UpdateProjectBillingInfoRequest>getParserForType()
Returns
Type Description
Parser<UpdateProjectBillingInfoRequest>
Overrides

getProjectBillingInfo()

publicProjectBillingInfogetProjectBillingInfo()

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.

getProjectBillingInfoOrBuilder()

publicProjectBillingInfoOrBuildergetProjectBillingInfoOrBuilder()

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

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hasProjectBillingInfo()

publicbooleanhasProjectBillingInfo()

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.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicUpdateProjectBillingInfoRequest.BuildernewBuilderForType()
Returns
Type Description
UpdateProjectBillingInfoRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedUpdateProjectBillingInfoRequest.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateProjectBillingInfoRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicUpdateProjectBillingInfoRequest.BuildertoBuilder()
Returns
Type Description
UpdateProjectBillingInfoRequest.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.