Class UpdateCustomerRequest.Builder (3.31.0)

public static final class UpdateCustomerRequest.Builder extends GeneratedMessageV3.Builder<UpdateCustomerRequest.Builder> implements UpdateCustomerRequestOrBuilder

Request message for CloudChannelService.UpdateCustomer.

Protobuf type google.cloud.channel.v1.UpdateCustomerRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateCustomerRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateCustomerRequest.Builder
Overrides

build()

public UpdateCustomerRequest build()
Returns
TypeDescription
UpdateCustomerRequest

buildPartial()

public UpdateCustomerRequest buildPartial()
Returns
TypeDescription
UpdateCustomerRequest

clear()

public UpdateCustomerRequest.Builder clear()
Returns
TypeDescription
UpdateCustomerRequest.Builder
Overrides

clearCustomer()

public UpdateCustomerRequest.Builder clearCustomer()

Required. New contents of the customer.

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

Returns
TypeDescription
UpdateCustomerRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateCustomerRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateCustomerRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateCustomerRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateCustomerRequest.Builder
Overrides

clearUpdateMask()

public UpdateCustomerRequest.Builder clearUpdateMask()

The update mask that applies to the resource. Optional.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
UpdateCustomerRequest.Builder

clone()

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

getCustomerBuilder()

public Customer.Builder getCustomerBuilder()

Required. New contents of the customer.

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

Returns
TypeDescription
Customer.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The update mask that applies to the resource. Optional.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCustomer(Customer value)

public UpdateCustomerRequest.Builder mergeCustomer(Customer value)

Required. New contents of the customer.

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

Parameter
NameDescription
valueCustomer
Returns
TypeDescription
UpdateCustomerRequest.Builder

mergeFrom(UpdateCustomerRequest other)

public UpdateCustomerRequest.Builder mergeFrom(UpdateCustomerRequest other)
Parameter
NameDescription
otherUpdateCustomerRequest
Returns
TypeDescription
UpdateCustomerRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateCustomerRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateCustomerRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateCustomerRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateCustomerRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateCustomerRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateCustomerRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateCustomerRequest.Builder mergeUpdateMask(FieldMask value)

The update mask that applies to the resource. Optional.

.google.protobuf.FieldMask update_mask = 3;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateCustomerRequest.Builder

setCustomer(Customer value)

public UpdateCustomerRequest.Builder setCustomer(Customer value)

Required. New contents of the customer.

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

Parameter
NameDescription
valueCustomer
Returns
TypeDescription
UpdateCustomerRequest.Builder

setCustomer(Customer.Builder builderForValue)

public UpdateCustomerRequest.Builder setCustomer(Customer.Builder builderForValue)

Required. New contents of the customer.

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

Parameter
NameDescription
builderForValueCustomer.Builder
Returns
TypeDescription
UpdateCustomerRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateCustomerRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateCustomerRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateCustomerRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateCustomerRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateCustomerRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateCustomerRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateCustomerRequest.Builder setUpdateMask(FieldMask value)

The update mask that applies to the resource. Optional.

.google.protobuf.FieldMask update_mask = 3;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateCustomerRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateCustomerRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The update mask that applies to the resource. Optional.

.google.protobuf.FieldMask update_mask = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateCustomerRequest.Builder