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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ChannelPartnerRepricingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ChannelPartnerRepricingConfig build()
buildPartial()
public ChannelPartnerRepricingConfig buildPartial()
clear()
public ChannelPartnerRepricingConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ChannelPartnerRepricingConfig.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public ChannelPartnerRepricingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
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];
clone()
public ChannelPartnerRepricingConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public ChannelPartnerRepricingConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 |
Type |
Description |
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 |
Type |
Description |
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];
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];
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];
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 |
Type |
Description |
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];
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];
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 |
Type |
Description |
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 |
Type |
Description |
boolean |
Whether the updateTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ChannelPartnerRepricingConfig other)
public ChannelPartnerRepricingConfig.Builder mergeFrom(ChannelPartnerRepricingConfig other)
public ChannelPartnerRepricingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ChannelPartnerRepricingConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ChannelPartnerRepricingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
setField(Descriptors.FieldDescriptor field, Object value)
public ChannelPartnerRepricingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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 |
Name |
Description |
value |
String
The name to set.
|
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 |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ChannelPartnerRepricingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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];
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final ChannelPartnerRepricingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
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];
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 |
Name |
Description |
builderForValue |
Builder
|