Class ChannelPartnerRepricingConfig.Builder (3.36.0)

public static final class ChannelPartnerRepricingConfig.Builder extends GeneratedMessageV3.Builder<ChannelPartnerRepricingConfig.Builder> implements ChannelPartnerRepricingConfigOrBuilder

Configuration for how a distributor will rebill a channel partner (also known as a distributor-authorized reseller).

Protobuf type google.cloud.channel.v1.ChannelPartnerRepricingConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ChannelPartnerRepricingConfig build()
Returns
TypeDescription
ChannelPartnerRepricingConfig

buildPartial()

public ChannelPartnerRepricingConfig buildPartial()
Returns
TypeDescription
ChannelPartnerRepricingConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ChannelPartnerRepricingConfig.Builder clearName()

Output only. Resource name of the ChannelPartnerRepricingConfig. Format: accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ChannelPartnerRepricingConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRepricingConfig()

public ChannelPartnerRepricingConfig.Builder clearRepricingConfig()

Required. The configuration for bill modifications made by a reseller before sending it to ChannelPartner.

.google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ChannelPartnerRepricingConfig.Builder

clearUpdateTime()

public ChannelPartnerRepricingConfig.Builder clearUpdateTime()

Output only. Timestamp of an update to the repricing rule. If update_time is after RepricingConfig.effective_invoice_month then it indicates this was set mid-month.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ChannelPartnerRepricingConfig.Builder

clone()

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

getDefaultInstanceForType()

public ChannelPartnerRepricingConfig getDefaultInstanceForType()
Returns
TypeDescription
ChannelPartnerRepricingConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Output only. Resource name of the ChannelPartnerRepricingConfig. Format: accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Resource name of the ChannelPartnerRepricingConfig. Format: accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getRepricingConfig()

public RepricingConfig getRepricingConfig()

Required. The configuration for bill modifications made by a reseller before sending it to ChannelPartner.

.google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RepricingConfig

The repricingConfig.

getRepricingConfigBuilder()

public RepricingConfig.Builder getRepricingConfigBuilder()

Required. The configuration for bill modifications made by a reseller before sending it to ChannelPartner.

.google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RepricingConfig.Builder

getRepricingConfigOrBuilder()

public RepricingConfigOrBuilder getRepricingConfigOrBuilder()

Required. The configuration for bill modifications made by a reseller before sending it to ChannelPartner.

.google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RepricingConfigOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Timestamp of an update to the repricing rule. If update_time is after RepricingConfig.effective_invoice_month then it indicates this was set mid-month.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Timestamp of an update to the repricing rule. If update_time is after RepricingConfig.effective_invoice_month then it indicates this was set mid-month.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Timestamp of an update to the repricing rule. If update_time is after RepricingConfig.effective_invoice_month then it indicates this was set mid-month.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

hasRepricingConfig()

public boolean hasRepricingConfig()

Required. The configuration for bill modifications made by a reseller before sending it to ChannelPartner.

.google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the repricingConfig field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Timestamp of an update to the repricing rule. If update_time is after RepricingConfig.effective_invoice_month then it indicates this was set mid-month.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ChannelPartnerRepricingConfig other)

public ChannelPartnerRepricingConfig.Builder mergeFrom(ChannelPartnerRepricingConfig other)
Parameter
NameDescription
otherChannelPartnerRepricingConfig
Returns
TypeDescription
ChannelPartnerRepricingConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRepricingConfig(RepricingConfig value)

public ChannelPartnerRepricingConfig.Builder mergeRepricingConfig(RepricingConfig value)

Required. The configuration for bill modifications made by a reseller before sending it to ChannelPartner.

.google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueRepricingConfig
Returns
TypeDescription
ChannelPartnerRepricingConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public ChannelPartnerRepricingConfig.Builder mergeUpdateTime(Timestamp value)

Output only. Timestamp of an update to the repricing rule. If update_time is after RepricingConfig.effective_invoice_month then it indicates this was set mid-month.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ChannelPartnerRepricingConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ChannelPartnerRepricingConfig.Builder setName(String value)

Output only. Resource name of the ChannelPartnerRepricingConfig. Format: accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
ChannelPartnerRepricingConfig.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ChannelPartnerRepricingConfig.Builder setNameBytes(ByteString value)

Output only. Resource name of the ChannelPartnerRepricingConfig. Format: accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
ChannelPartnerRepricingConfig.Builder

This builder for chaining.

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

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

setRepricingConfig(RepricingConfig value)

public ChannelPartnerRepricingConfig.Builder setRepricingConfig(RepricingConfig value)

Required. The configuration for bill modifications made by a reseller before sending it to ChannelPartner.

.google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueRepricingConfig
Returns
TypeDescription
ChannelPartnerRepricingConfig.Builder

setRepricingConfig(RepricingConfig.Builder builderForValue)

public ChannelPartnerRepricingConfig.Builder setRepricingConfig(RepricingConfig.Builder builderForValue)

Required. The configuration for bill modifications made by a reseller before sending it to ChannelPartner.

.google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueRepricingConfig.Builder
Returns
TypeDescription
ChannelPartnerRepricingConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public ChannelPartnerRepricingConfig.Builder setUpdateTime(Timestamp value)

Output only. Timestamp of an update to the repricing rule. If update_time is after RepricingConfig.effective_invoice_month then it indicates this was set mid-month.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ChannelPartnerRepricingConfig.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public ChannelPartnerRepricingConfig.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Timestamp of an update to the repricing rule. If update_time is after RepricingConfig.effective_invoice_month then it indicates this was set mid-month.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ChannelPartnerRepricingConfig.Builder