Class UpdateProjectBillingInfoRequest (2.20.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
TypeDescription
int

PROJECT_BILLING_INFO_FIELD_NUMBER

public static final int PROJECT_BILLING_INFO_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateProjectBillingInfoRequest getDefaultInstance()
Returns
TypeDescription
UpdateProjectBillingInfoRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static UpdateProjectBillingInfoRequest.Builder newBuilder()
Returns
TypeDescription
UpdateProjectBillingInfoRequest.Builder

newBuilder(UpdateProjectBillingInfoRequest prototype)

public static UpdateProjectBillingInfoRequest.Builder newBuilder(UpdateProjectBillingInfoRequest prototype)
Parameter
NameDescription
prototypeUpdateProjectBillingInfoRequest
Returns
TypeDescription
UpdateProjectBillingInfoRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateProjectBillingInfoRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateProjectBillingInfoRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateProjectBillingInfoRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateProjectBillingInfoRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpdateProjectBillingInfoRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpdateProjectBillingInfoRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateProjectBillingInfoRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateProjectBillingInfoRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateProjectBillingInfoRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpdateProjectBillingInfoRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateProjectBillingInfoRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateProjectBillingInfoRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateProjectBillingInfoRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpdateProjectBillingInfoRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateProjectBillingInfoRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateProjectBillingInfoRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpdateProjectBillingInfoRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateProjectBillingInfoRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateProjectBillingInfoRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateProjectBillingInfoRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpdateProjectBillingInfoRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpdateProjectBillingInfoRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateProjectBillingInfoRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateProjectBillingInfoRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpdateProjectBillingInfoRequest> parser()
Returns
TypeDescription
Parser<UpdateProjectBillingInfoRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UpdateProjectBillingInfoRequest getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<UpdateProjectBillingInfoRequest> getParserForType()
Returns
TypeDescription
Parser<UpdateProjectBillingInfoRequest>
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
TypeDescription
ProjectBillingInfo

The projectBillingInfo.

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
TypeDescription
ProjectBillingInfoOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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
TypeDescription
boolean

Whether the projectBillingInfo field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpdateProjectBillingInfoRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateProjectBillingInfoRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateProjectBillingInfoRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpdateProjectBillingInfoRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpdateProjectBillingInfoRequest.Builder toBuilder()
Returns
TypeDescription
UpdateProjectBillingInfoRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException