Class ChannelPartnerRepricingConfig.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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

        public ChannelPartnerRepricingConfig 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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

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