Class UpdateBillingAccountRequest (2.23.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
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateBillingAccountRequest getDefaultInstance()
Returns
TypeDescription
UpdateBillingAccountRequest

getDescriptor()

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

newBuilder()

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

newBuilder(UpdateBillingAccountRequest prototype)

public static UpdateBillingAccountRequest.Builder newBuilder(UpdateBillingAccountRequest prototype)
Parameter
NameDescription
prototypeUpdateBillingAccountRequest
Returns
TypeDescription
UpdateBillingAccountRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
BillingAccountOrBuilder

getDefaultInstanceForType()

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

The bytes for name.

getParserForType()

public Parser<UpdateBillingAccountRequest> getParserForType()
Returns
TypeDescription
Parser<UpdateBillingAccountRequest>
Overrides

getSerializedSize()

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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