Class UpdateBillingAccountRequest (2.42.0)

public final class UpdateBillingAccountRequest extends GeneratedMessageV3 implements UpdateBillingAccountRequestOrBuilder

Request message for UpdateBillingAccount.

Protobuf type google.cloud.billing.v1.UpdateBillingAccountRequest

Static Fields

ACCOUNT_FIELD_NUMBER

public static final int ACCOUNT_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateBillingAccountRequest getDefaultInstance()
Returns
Type Description
UpdateBillingAccountRequest

getDescriptor()

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

newBuilder()

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

newBuilder(UpdateBillingAccountRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAccount()

public BillingAccount getAccount()

Required. The billing account resource to replace the resource on the server.

.google.cloud.billing.v1.BillingAccount account = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BillingAccount

The account.

getAccountOrBuilder()

public BillingAccountOrBuilder getAccountOrBuilder()

Required. The billing account resource to replace the resource on the server.

.google.cloud.billing.v1.BillingAccount account = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BillingAccountOrBuilder

getDefaultInstanceForType()

public UpdateBillingAccountRequest getDefaultInstanceForType()
Returns
Type Description
UpdateBillingAccountRequest

getName()

public String getName()

Required. The name of the billing account resource to be updated.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the billing account resource to be updated.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

The update mask applied to the resource. Only "display_name" is currently supported.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The update mask applied to the resource. Only "display_name" is currently supported.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
FieldMaskOrBuilder

hasAccount()

public boolean hasAccount()

Required. The billing account resource to replace the resource on the server.

.google.cloud.billing.v1.BillingAccount account = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the account field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The update mask applied to the resource. Only "display_name" is currently supported.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
boolean

Whether the updateMask 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 UpdateBillingAccountRequest.Builder newBuilderForType()
Returns
Type Description
UpdateBillingAccountRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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