Class ConversionAction.ValueSettings.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<ConversionAction.ValueSettings.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<ConversionAction.ValueSettings.Builder>
      • getDefaultInstanceForType

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

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

        public ConversionAction.ValueSettings buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

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

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

        public ConversionAction.ValueSettings.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                         throws java.io.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<ConversionAction.ValueSettings.Builder>
        Throws:
        java.io.IOException
      • hasDefaultValue

        public boolean hasDefaultValue()
         The value to use when conversion events for this conversion action are
         sent with an invalid, disallowed or missing value, or when
         this conversion action is configured to always use the default value.
         
        optional double default_value = 4;
        Specified by:
        hasDefaultValue in interface ConversionAction.ValueSettingsOrBuilder
        Returns:
        Whether the defaultValue field is set.
      • getDefaultValue

        public double getDefaultValue()
         The value to use when conversion events for this conversion action are
         sent with an invalid, disallowed or missing value, or when
         this conversion action is configured to always use the default value.
         
        optional double default_value = 4;
        Specified by:
        getDefaultValue in interface ConversionAction.ValueSettingsOrBuilder
        Returns:
        The defaultValue.
      • setDefaultValue

        public ConversionAction.ValueSettings.Builder setDefaultValue​(double value)
         The value to use when conversion events for this conversion action are
         sent with an invalid, disallowed or missing value, or when
         this conversion action is configured to always use the default value.
         
        optional double default_value = 4;
        Parameters:
        value - The defaultValue to set.
        Returns:
        This builder for chaining.
      • clearDefaultValue

        public ConversionAction.ValueSettings.Builder clearDefaultValue()
         The value to use when conversion events for this conversion action are
         sent with an invalid, disallowed or missing value, or when
         this conversion action is configured to always use the default value.
         
        optional double default_value = 4;
        Returns:
        This builder for chaining.
      • hasDefaultCurrencyCode

        public boolean hasDefaultCurrencyCode()
         The currency code to use when conversion events for this conversion
         action are sent with an invalid or missing currency code, or when this
         conversion action is configured to always use the default value.
         
        optional string default_currency_code = 5;
        Specified by:
        hasDefaultCurrencyCode in interface ConversionAction.ValueSettingsOrBuilder
        Returns:
        Whether the defaultCurrencyCode field is set.
      • getDefaultCurrencyCode

        public java.lang.String getDefaultCurrencyCode()
         The currency code to use when conversion events for this conversion
         action are sent with an invalid or missing currency code, or when this
         conversion action is configured to always use the default value.
         
        optional string default_currency_code = 5;
        Specified by:
        getDefaultCurrencyCode in interface ConversionAction.ValueSettingsOrBuilder
        Returns:
        The defaultCurrencyCode.
      • getDefaultCurrencyCodeBytes

        public com.google.protobuf.ByteString getDefaultCurrencyCodeBytes()
         The currency code to use when conversion events for this conversion
         action are sent with an invalid or missing currency code, or when this
         conversion action is configured to always use the default value.
         
        optional string default_currency_code = 5;
        Specified by:
        getDefaultCurrencyCodeBytes in interface ConversionAction.ValueSettingsOrBuilder
        Returns:
        The bytes for defaultCurrencyCode.
      • setDefaultCurrencyCode

        public ConversionAction.ValueSettings.Builder setDefaultCurrencyCode​(java.lang.String value)
         The currency code to use when conversion events for this conversion
         action are sent with an invalid or missing currency code, or when this
         conversion action is configured to always use the default value.
         
        optional string default_currency_code = 5;
        Parameters:
        value - The defaultCurrencyCode to set.
        Returns:
        This builder for chaining.
      • clearDefaultCurrencyCode

        public ConversionAction.ValueSettings.Builder clearDefaultCurrencyCode()
         The currency code to use when conversion events for this conversion
         action are sent with an invalid or missing currency code, or when this
         conversion action is configured to always use the default value.
         
        optional string default_currency_code = 5;
        Returns:
        This builder for chaining.
      • setDefaultCurrencyCodeBytes

        public ConversionAction.ValueSettings.Builder setDefaultCurrencyCodeBytes​(com.google.protobuf.ByteString value)
         The currency code to use when conversion events for this conversion
         action are sent with an invalid or missing currency code, or when this
         conversion action is configured to always use the default value.
         
        optional string default_currency_code = 5;
        Parameters:
        value - The bytes for defaultCurrencyCode to set.
        Returns:
        This builder for chaining.
      • hasAlwaysUseDefaultValue

        public boolean hasAlwaysUseDefaultValue()
         Controls whether the default value and default currency code are used in
         place of the value and currency code specified in conversion events for
         this conversion action.
         
        optional bool always_use_default_value = 6;
        Specified by:
        hasAlwaysUseDefaultValue in interface ConversionAction.ValueSettingsOrBuilder
        Returns:
        Whether the alwaysUseDefaultValue field is set.
      • getAlwaysUseDefaultValue

        public boolean getAlwaysUseDefaultValue()
         Controls whether the default value and default currency code are used in
         place of the value and currency code specified in conversion events for
         this conversion action.
         
        optional bool always_use_default_value = 6;
        Specified by:
        getAlwaysUseDefaultValue in interface ConversionAction.ValueSettingsOrBuilder
        Returns:
        The alwaysUseDefaultValue.
      • setAlwaysUseDefaultValue

        public ConversionAction.ValueSettings.Builder setAlwaysUseDefaultValue​(boolean value)
         Controls whether the default value and default currency code are used in
         place of the value and currency code specified in conversion events for
         this conversion action.
         
        optional bool always_use_default_value = 6;
        Parameters:
        value - The alwaysUseDefaultValue to set.
        Returns:
        This builder for chaining.
      • clearAlwaysUseDefaultValue

        public ConversionAction.ValueSettings.Builder clearAlwaysUseDefaultValue()
         Controls whether the default value and default currency code are used in
         place of the value and currency code specified in conversion events for
         this conversion action.
         
        optional bool always_use_default_value = 6;
        Returns:
        This builder for chaining.