Class RepricingConfig.ChannelPartnerGranularity.Builder (3.53.0)

public static final class RepricingConfig.ChannelPartnerGranularity.Builder extends GeneratedMessageV3.Builder<RepricingConfig.ChannelPartnerGranularity.Builder> implements RepricingConfig.ChannelPartnerGranularityOrBuilder

Applies the repricing configuration at the channel partner level. The channel partner value is derived from the resource name. Takes an empty json object. Deprecated: This is no longer supported. Use RepricingConfig.EntitlementGranularity instead.

Protobuf type google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RepricingConfig.ChannelPartnerGranularity build()
Returns
Type Description
RepricingConfig.ChannelPartnerGranularity

buildPartial()

public RepricingConfig.ChannelPartnerGranularity buildPartial()
Returns
Type Description
RepricingConfig.ChannelPartnerGranularity

clear()

public RepricingConfig.ChannelPartnerGranularity.Builder clear()
Returns
Type Description
RepricingConfig.ChannelPartnerGranularity.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public RepricingConfig.ChannelPartnerGranularity.Builder clone()
Returns
Type Description
RepricingConfig.ChannelPartnerGranularity.Builder
Overrides

getDefaultInstanceForType()

public RepricingConfig.ChannelPartnerGranularity getDefaultInstanceForType()
Returns
Type Description
RepricingConfig.ChannelPartnerGranularity

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RepricingConfig.ChannelPartnerGranularity other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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