Class UpdateCustomerRepricingConfigRequest.Builder (3.28.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
Overrides

build()

public UpdateCustomerRepricingConfigRequest build()

buildPartial()

public UpdateCustomerRepricingConfigRequest buildPartial()

clear()

public UpdateCustomerRepricingConfigRequest.Builder clear()
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];

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

mergeFrom(UpdateCustomerRepricingConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateCustomerRepricingConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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