Class UpdateCustomerRequest.Builder (3.51.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateCustomerRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateCustomerRequest.Builder
Overrides

build()

public UpdateCustomerRequest build()
Returns
Type Description
UpdateCustomerRequest

buildPartial()

public UpdateCustomerRequest buildPartial()
Returns
Type Description
UpdateCustomerRequest

clear()

public UpdateCustomerRequest.Builder clear()
Returns
Type Description
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
Type Description
UpdateCustomerRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateCustomerRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateCustomerRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateCustomerRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateCustomerRequest.Builder
Overrides

clearUpdateMask()

public UpdateCustomerRequest.Builder clearUpdateMask()

The update mask that applies to the resource. Optional.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
UpdateCustomerRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateCustomerRequest getDefaultInstanceForType()
Returns
Type Description
UpdateCustomerRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

The update mask that applies to the resource. Optional.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The update mask that applies to the resource. Optional.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The update mask that applies to the resource. Optional.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
FieldMaskOrBuilder

hasCustomer()

public boolean hasCustomer()

Required. New contents of the customer.

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

Returns
Type Description
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
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value Customer
Returns
Type Description
UpdateCustomerRequest.Builder

mergeFrom(UpdateCustomerRequest other)

public UpdateCustomerRequest.Builder mergeFrom(UpdateCustomerRequest other)
Parameter
Name Description
other UpdateCustomerRequest
Returns
Type Description
UpdateCustomerRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateCustomerRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateCustomerRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateCustomerRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateCustomerRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateCustomerRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value FieldMask
Returns
Type Description
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
Name Description
value Customer
Returns
Type Description
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
Name Description
builderForValue Customer.Builder
Returns
Type Description
UpdateCustomerRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateCustomerRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateCustomerRequest.Builder
Overrides

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

public UpdateCustomerRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateCustomerRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateCustomerRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value FieldMask
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
UpdateCustomerRequest.Builder