Class UpdateCustomerRepricingConfigRequest.Builder (3.51.0)

public static final class UpdateCustomerRepricingConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateCustomerRepricingConfigRequest.Builder> implements UpdateCustomerRepricingConfigRequestOrBuilder

Request message for CloudChannelService.UpdateCustomerRepricingConfig.

Protobuf type google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateCustomerRepricingConfigRequest build()
Returns
Type Description
UpdateCustomerRepricingConfigRequest

buildPartial()

public UpdateCustomerRepricingConfigRequest buildPartial()
Returns
Type Description
UpdateCustomerRepricingConfigRequest

clear()

public UpdateCustomerRepricingConfigRequest.Builder clear()
Returns
Type Description
UpdateCustomerRepricingConfigRequest.Builder
Overrides

clearCustomerRepricingConfig()

public UpdateCustomerRepricingConfigRequest.Builder clearCustomerRepricingConfig()

Required. The CustomerRepricingConfig object to update.

.google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateCustomerRepricingConfigRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public UpdateCustomerRepricingConfigRequest.Builder clone()
Returns
Type Description
UpdateCustomerRepricingConfigRequest.Builder
Overrides

getCustomerRepricingConfig()

public CustomerRepricingConfig getCustomerRepricingConfig()

Required. The CustomerRepricingConfig object to update.

.google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomerRepricingConfig

The customerRepricingConfig.

getCustomerRepricingConfigBuilder()

public CustomerRepricingConfig.Builder getCustomerRepricingConfigBuilder()

Required. The CustomerRepricingConfig object to update.

.google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomerRepricingConfig.Builder

getCustomerRepricingConfigOrBuilder()

public CustomerRepricingConfigOrBuilder getCustomerRepricingConfigOrBuilder()

Required. The CustomerRepricingConfig object to update.

.google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomerRepricingConfigOrBuilder

getDefaultInstanceForType()

public UpdateCustomerRepricingConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateCustomerRepricingConfigRequest

getDescriptorForType()

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

hasCustomerRepricingConfig()

public boolean hasCustomerRepricingConfig()

Required. The CustomerRepricingConfig object to update.

.google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the customerRepricingConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCustomerRepricingConfig(CustomerRepricingConfig value)

public UpdateCustomerRepricingConfigRequest.Builder mergeCustomerRepricingConfig(CustomerRepricingConfig value)

Required. The CustomerRepricingConfig object to update.

.google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CustomerRepricingConfig
Returns
Type Description
UpdateCustomerRepricingConfigRequest.Builder

mergeFrom(UpdateCustomerRepricingConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateCustomerRepricingConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateCustomerRepricingConfigRequest.Builder
Overrides

setCustomerRepricingConfig(CustomerRepricingConfig value)

public UpdateCustomerRepricingConfigRequest.Builder setCustomerRepricingConfig(CustomerRepricingConfig value)

Required. The CustomerRepricingConfig object to update.

.google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CustomerRepricingConfig
Returns
Type Description
UpdateCustomerRepricingConfigRequest.Builder

setCustomerRepricingConfig(CustomerRepricingConfig.Builder builderForValue)

public UpdateCustomerRepricingConfigRequest.Builder setCustomerRepricingConfig(CustomerRepricingConfig.Builder builderForValue)

Required. The CustomerRepricingConfig object to update.

.google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue CustomerRepricingConfig.Builder
Returns
Type Description
UpdateCustomerRepricingConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateCustomerRepricingConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateCustomerRepricingConfigRequest.Builder
Overrides