Class ChannelPartnerRepricingConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ChannelPartnerRepricingConfig.Builder>
com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder
All Implemented Interfaces:
ChannelPartnerRepricingConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ChannelPartnerRepricingConfig

public static final class ChannelPartnerRepricingConfig.Builder extends com.google.protobuf.GeneratedMessage.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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ChannelPartnerRepricingConfig.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ChannelPartnerRepricingConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ChannelPartnerRepricingConfig.Builder>
    • getDefaultInstanceForType

      public ChannelPartnerRepricingConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ChannelPartnerRepricingConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ChannelPartnerRepricingConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ChannelPartnerRepricingConfig.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ChannelPartnerRepricingConfig.Builder>
    • mergeFrom

      public ChannelPartnerRepricingConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ChannelPartnerRepricingConfig.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      getName in interface ChannelPartnerRepricingConfigOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.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];
      Specified by:
      getNameBytes in interface ChannelPartnerRepricingConfigOrBuilder
      Returns:
      The bytes for name.
    • setName

       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];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setNameBytes

      public ChannelPartnerRepricingConfig.Builder setNameBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      hasRepricingConfig in interface ChannelPartnerRepricingConfigOrBuilder
      Returns:
      Whether the repricingConfig field is set.
    • 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];
      Specified by:
      getRepricingConfig in interface ChannelPartnerRepricingConfigOrBuilder
      Returns:
      The repricingConfig.
    • setRepricingConfig

      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

      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];
    • mergeRepricingConfig

      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];
    • 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];
    • 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];
      Specified by:
      getRepricingConfigOrBuilder in interface ChannelPartnerRepricingConfigOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Timestamp of an update to the repricing rule. If `update_time`
       is after
       [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
       then it indicates this was set mid-month.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface ChannelPartnerRepricingConfigOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Timestamp of an update to the repricing rule. If `update_time`
       is after
       [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
       then it indicates this was set mid-month.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface ChannelPartnerRepricingConfigOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public ChannelPartnerRepricingConfig.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp of an update to the repricing rule. If `update_time`
       is after
       [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.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

      public ChannelPartnerRepricingConfig.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Timestamp of an update to the repricing rule. If `update_time`
       is after
       [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
       then it indicates this was set mid-month.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public ChannelPartnerRepricingConfig.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp of an update to the repricing rule. If `update_time`
       is after
       [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
       then it indicates this was set mid-month.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public ChannelPartnerRepricingConfig.Builder clearUpdateTime()
       Output only. Timestamp of an update to the repricing rule. If `update_time`
       is after
       [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
       then it indicates this was set mid-month.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. Timestamp of an update to the repricing rule. If `update_time`
       is after
       [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.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 com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Timestamp of an update to the repricing rule. If `update_time`
       is after
       [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
       then it indicates this was set mid-month.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface ChannelPartnerRepricingConfigOrBuilder