Class UpdateCustomerRequest (3.44.0)

public final class UpdateCustomerRequest extends GeneratedMessageV3 implements UpdateCustomerRequestOrBuilder

Request message for CloudChannelService.UpdateCustomer.

Protobuf type google.cloud.channel.v1.UpdateCustomerRequest

Static Fields

CUSTOMER_FIELD_NUMBER

public static final int CUSTOMER_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 UpdateCustomerRequest getDefaultInstance()
Returns
TypeDescription
UpdateCustomerRequest

getDescriptor()

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

newBuilder()

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

newBuilder(UpdateCustomerRequest prototype)

public static UpdateCustomerRequest.Builder newBuilder(UpdateCustomerRequest prototype)
Parameter
NameDescription
prototypeUpdateCustomerRequest
Returns
TypeDescription
UpdateCustomerRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCustomer()

public Customer getCustomer()

Required. New contents of the customer.

.google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Customer

The customer.

getCustomerOrBuilder()

public CustomerOrBuilder getCustomerOrBuilder()

Required. New contents of the customer.

.google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CustomerOrBuilder

getDefaultInstanceForType()

public UpdateCustomerRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateCustomerRequest

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

The update mask that applies to the resource. Optional.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The update mask that applies to the resource. Optional.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
FieldMaskOrBuilder

hasCustomer()

public boolean hasCustomer()

Required. New contents of the customer.

.google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the customer field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The update mask that applies to the resource. Optional.

.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 UpdateCustomerRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateCustomerRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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