Class RepricingConfig.ChannelPartnerGranularity.Builder (3.16.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.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RepricingConfig.ChannelPartnerGranularity build()
Returns
TypeDescription
RepricingConfig.ChannelPartnerGranularity

buildPartial()

public RepricingConfig.ChannelPartnerGranularity buildPartial()
Returns
TypeDescription
RepricingConfig.ChannelPartnerGranularity

clear()

public RepricingConfig.ChannelPartnerGranularity.Builder clear()
Returns
TypeDescription
RepricingConfig.ChannelPartnerGranularity.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public RepricingConfig.ChannelPartnerGranularity.Builder clone()
Returns
TypeDescription
RepricingConfig.ChannelPartnerGranularity.Builder
Overrides

getDefaultInstanceForType()

public RepricingConfig.ChannelPartnerGranularity getDefaultInstanceForType()
Returns
TypeDescription
RepricingConfig.ChannelPartnerGranularity

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RepricingConfig.ChannelPartnerGranularity other)

public RepricingConfig.ChannelPartnerGranularity.Builder mergeFrom(RepricingConfig.ChannelPartnerGranularity other)
Parameter
NameDescription
otherRepricingConfig.ChannelPartnerGranularity
Returns
TypeDescription
RepricingConfig.ChannelPartnerGranularity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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