Class CustomerRepricingConfig.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<CustomerRepricingConfig.Builder>
      • clear

        public CustomerRepricingConfig.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.GeneratedMessageV3.Builder<CustomerRepricingConfig.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<CustomerRepricingConfig.Builder>
      • getDefaultInstanceForType

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

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

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

        public CustomerRepricingConfig.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<CustomerRepricingConfig.Builder>
      • clearField

        public CustomerRepricingConfig.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomerRepricingConfig.Builder>
      • clearOneof

        public CustomerRepricingConfig.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CustomerRepricingConfig.Builder>
      • setRepeatedField

        public CustomerRepricingConfig.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                int index,
                                                                Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomerRepricingConfig.Builder>
      • addRepeatedField

        public CustomerRepricingConfig.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomerRepricingConfig.Builder>
      • isInitialized

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

        public CustomerRepricingConfig.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<CustomerRepricingConfig.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Output only. Resource name of the CustomerRepricingConfig.
         Format:
         accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getName in interface CustomerRepricingConfigOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. Resource name of the CustomerRepricingConfig.
         Format:
         accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameBytes in interface CustomerRepricingConfigOrBuilder
        Returns:
        The bytes for name.
      • setName

        public CustomerRepricingConfig.Builder setName​(String value)
         Output only. Resource name of the CustomerRepricingConfig.
         Format:
         accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public CustomerRepricingConfig.Builder clearName()
         Output only. Resource name of the CustomerRepricingConfig.
         Format:
         accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setNameBytes

        public CustomerRepricingConfig.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Output only. Resource name of the CustomerRepricingConfig.
         Format:
         accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{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 customers.
         
        .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasRepricingConfig in interface CustomerRepricingConfigOrBuilder
        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 customers.
         
        .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getRepricingConfig in interface CustomerRepricingConfigOrBuilder
        Returns:
        The repricingConfig.
      • setRepricingConfig

        public CustomerRepricingConfig.Builder setRepricingConfig​(RepricingConfig value)
         Required. The configuration for bill modifications made by a reseller
         before sending it to customers.
         
        .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];
      • setRepricingConfig

        public CustomerRepricingConfig.Builder setRepricingConfig​(RepricingConfig.Builder builderForValue)
         Required. The configuration for bill modifications made by a reseller
         before sending it to customers.
         
        .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];
      • mergeRepricingConfig

        public CustomerRepricingConfig.Builder mergeRepricingConfig​(RepricingConfig value)
         Required. The configuration for bill modifications made by a reseller
         before sending it to customers.
         
        .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearRepricingConfig

        public CustomerRepricingConfig.Builder clearRepricingConfig()
         Required. The configuration for bill modifications made by a reseller
         before sending it to customers.
         
        .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 customers.
         
        .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 CustomerRepricingConfigOrBuilder
        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 CustomerRepricingConfigOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public CustomerRepricingConfig.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 CustomerRepricingConfig.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 CustomerRepricingConfig.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 CustomerRepricingConfig.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 CustomerRepricingConfigOrBuilder
      • setUnknownFields

        public final CustomerRepricingConfig.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CustomerRepricingConfig.Builder>
      • mergeUnknownFields

        public final CustomerRepricingConfig.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CustomerRepricingConfig.Builder>