Class UpdateChannelPartnerRepricingConfigRequest.Builder (3.27.0)

public static final class UpdateChannelPartnerRepricingConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateChannelPartnerRepricingConfigRequest.Builder> implements UpdateChannelPartnerRepricingConfigRequestOrBuilder

Request message for CloudChannelService.UpdateChannelPartnerRepricingConfig.

Protobuf type google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateChannelPartnerRepricingConfigRequest build()
Returns
TypeDescription
UpdateChannelPartnerRepricingConfigRequest

buildPartial()

public UpdateChannelPartnerRepricingConfigRequest buildPartial()
Returns
TypeDescription
UpdateChannelPartnerRepricingConfigRequest

clear()

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

clearChannelPartnerRepricingConfig()

public UpdateChannelPartnerRepricingConfigRequest.Builder clearChannelPartnerRepricingConfig()

Required. The ChannelPartnerRepricingConfig object to update.

.google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateChannelPartnerRepricingConfigRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public UpdateChannelPartnerRepricingConfigRequest.Builder clone()
Returns
TypeDescription
UpdateChannelPartnerRepricingConfigRequest.Builder
Overrides

getChannelPartnerRepricingConfig()

public ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig()

Required. The ChannelPartnerRepricingConfig object to update.

.google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ChannelPartnerRepricingConfig

The channelPartnerRepricingConfig.

getChannelPartnerRepricingConfigBuilder()

public ChannelPartnerRepricingConfig.Builder getChannelPartnerRepricingConfigBuilder()

Required. The ChannelPartnerRepricingConfig object to update.

.google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ChannelPartnerRepricingConfig.Builder

getChannelPartnerRepricingConfigOrBuilder()

public ChannelPartnerRepricingConfigOrBuilder getChannelPartnerRepricingConfigOrBuilder()

Required. The ChannelPartnerRepricingConfig object to update.

.google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ChannelPartnerRepricingConfigOrBuilder

getDefaultInstanceForType()

public UpdateChannelPartnerRepricingConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateChannelPartnerRepricingConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasChannelPartnerRepricingConfig()

public boolean hasChannelPartnerRepricingConfig()

Required. The ChannelPartnerRepricingConfig object to update.

.google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the channelPartnerRepricingConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeChannelPartnerRepricingConfig(ChannelPartnerRepricingConfig value)

public UpdateChannelPartnerRepricingConfigRequest.Builder mergeChannelPartnerRepricingConfig(ChannelPartnerRepricingConfig value)

Required. The ChannelPartnerRepricingConfig object to update.

.google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueChannelPartnerRepricingConfig
Returns
TypeDescription
UpdateChannelPartnerRepricingConfigRequest.Builder

mergeFrom(UpdateChannelPartnerRepricingConfigRequest other)

public UpdateChannelPartnerRepricingConfigRequest.Builder mergeFrom(UpdateChannelPartnerRepricingConfigRequest other)
Parameter
NameDescription
otherUpdateChannelPartnerRepricingConfigRequest
Returns
TypeDescription
UpdateChannelPartnerRepricingConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setChannelPartnerRepricingConfig(ChannelPartnerRepricingConfig value)

public UpdateChannelPartnerRepricingConfigRequest.Builder setChannelPartnerRepricingConfig(ChannelPartnerRepricingConfig value)

Required. The ChannelPartnerRepricingConfig object to update.

.google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueChannelPartnerRepricingConfig
Returns
TypeDescription
UpdateChannelPartnerRepricingConfigRequest.Builder

setChannelPartnerRepricingConfig(ChannelPartnerRepricingConfig.Builder builderForValue)

public UpdateChannelPartnerRepricingConfigRequest.Builder setChannelPartnerRepricingConfig(ChannelPartnerRepricingConfig.Builder builderForValue)

Required. The ChannelPartnerRepricingConfig object to update.

.google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueChannelPartnerRepricingConfig.Builder
Returns
TypeDescription
UpdateChannelPartnerRepricingConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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