Class UpdateProjectBillingInfoRequest (2.49.0)

public final class UpdateProjectBillingInfoRequest extends GeneratedMessageV3 implements UpdateProjectBillingInfoRequestOrBuilder

Request message for UpdateProjectBillingInfo.

Protobuf type google.cloud.billing.v1.UpdateProjectBillingInfoRequest

Inheritance

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

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

PROJECT_BILLING_INFO_FIELD_NUMBER

public static final int PROJECT_BILLING_INFO_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateProjectBillingInfoRequest getDefaultInstance()
Returns
Type Description
UpdateProjectBillingInfoRequest

getDescriptor()

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

newBuilder()

public static UpdateProjectBillingInfoRequest.Builder newBuilder()
Returns
Type Description
UpdateProjectBillingInfoRequest.Builder

newBuilder(UpdateProjectBillingInfoRequest prototype)

public static UpdateProjectBillingInfoRequest.Builder newBuilder(UpdateProjectBillingInfoRequest prototype)
Parameter
Name Description
prototype UpdateProjectBillingInfoRequest
Returns
Type Description
UpdateProjectBillingInfoRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateProjectBillingInfoRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateProjectBillingInfoRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateProjectBillingInfoRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateProjectBillingInfoRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateProjectBillingInfoRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateProjectBillingInfoRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateProjectBillingInfoRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateProjectBillingInfoRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateProjectBillingInfoRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateProjectBillingInfoRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateProjectBillingInfoRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateProjectBillingInfoRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateProjectBillingInfoRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateProjectBillingInfoRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateProjectBillingInfoRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateProjectBillingInfoRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateProjectBillingInfoRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateProjectBillingInfoRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateProjectBillingInfoRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateProjectBillingInfoRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateProjectBillingInfoRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateProjectBillingInfoRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateProjectBillingInfoRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateProjectBillingInfoRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateProjectBillingInfoRequest> parser()
Returns
Type Description
Parser<UpdateProjectBillingInfoRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpdateProjectBillingInfoRequest getDefaultInstanceForType()
Returns
Type Description
UpdateProjectBillingInfoRequest

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.

getParserForType()

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

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateProjectBillingInfoRequest.Builder newBuilderForType()
Returns
Type Description
UpdateProjectBillingInfoRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateProjectBillingInfoRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateProjectBillingInfoRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpdateProjectBillingInfoRequest.Builder toBuilder()
Returns
Type Description
UpdateProjectBillingInfoRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException