Class UpdateCustomerRepricingConfigRequest.Builder (3.45.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateCustomerRepricingConfigRequest build()
Returns
TypeDescription
UpdateCustomerRepricingConfigRequest

buildPartial()

public UpdateCustomerRepricingConfigRequest buildPartial()
Returns
TypeDescription
UpdateCustomerRepricingConfigRequest

clear()

public UpdateCustomerRepricingConfigRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
UpdateCustomerRepricingConfigRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public UpdateCustomerRepricingConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateCustomerRepricingConfigRequest

getDescriptorForType()

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

Whether the customerRepricingConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueCustomerRepricingConfig
Returns
TypeDescription
UpdateCustomerRepricingConfigRequest.Builder

mergeFrom(UpdateCustomerRepricingConfigRequest other)

public UpdateCustomerRepricingConfigRequest.Builder mergeFrom(UpdateCustomerRepricingConfigRequest other)
Parameter
NameDescription
otherUpdateCustomerRepricingConfigRequest
Returns
TypeDescription
UpdateCustomerRepricingConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateCustomerRepricingConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueCustomerRepricingConfig
Returns
TypeDescription
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
NameDescription
builderForValueCustomerRepricingConfig.Builder
Returns
TypeDescription
UpdateCustomerRepricingConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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