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

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

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

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

        public LifecycleGoalValueSettings.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<LifecycleGoalValueSettings.Builder>
      • addRepeatedField

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

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

        public LifecycleGoalValueSettings.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<LifecycleGoalValueSettings.Builder>
        Throws:
        java.io.IOException
      • hasValue

        public boolean hasValue()
         Value of the lifecycle goal. For example, for customer acquisition goal,
         value is the incremental conversion value for new customers who are not of
         high value.
         
        optional double value = 1;
        Specified by:
        hasValue in interface LifecycleGoalValueSettingsOrBuilder
        Returns:
        Whether the value field is set.
      • getValue

        public double getValue()
         Value of the lifecycle goal. For example, for customer acquisition goal,
         value is the incremental conversion value for new customers who are not of
         high value.
         
        optional double value = 1;
        Specified by:
        getValue in interface LifecycleGoalValueSettingsOrBuilder
        Returns:
        The value.
      • setValue

        public LifecycleGoalValueSettings.Builder setValue​(double value)
         Value of the lifecycle goal. For example, for customer acquisition goal,
         value is the incremental conversion value for new customers who are not of
         high value.
         
        optional double value = 1;
        Parameters:
        value - The value to set.
        Returns:
        This builder for chaining.
      • clearValue

        public LifecycleGoalValueSettings.Builder clearValue()
         Value of the lifecycle goal. For example, for customer acquisition goal,
         value is the incremental conversion value for new customers who are not of
         high value.
         
        optional double value = 1;
        Returns:
        This builder for chaining.
      • hasHighLifetimeValue

        public boolean hasHighLifetimeValue()
         High lifetime value of the lifecycle goal. For example, for customer
         acquisition goal, high lifetime value is the incremental conversion value
         for new customers who are of high value. High lifetime value should be
         greater than value, if set.
         In current stage, high lifetime value feature is in beta and this field
         is read-only.
         
        optional double high_lifetime_value = 2;
        Specified by:
        hasHighLifetimeValue in interface LifecycleGoalValueSettingsOrBuilder
        Returns:
        Whether the highLifetimeValue field is set.
      • getHighLifetimeValue

        public double getHighLifetimeValue()
         High lifetime value of the lifecycle goal. For example, for customer
         acquisition goal, high lifetime value is the incremental conversion value
         for new customers who are of high value. High lifetime value should be
         greater than value, if set.
         In current stage, high lifetime value feature is in beta and this field
         is read-only.
         
        optional double high_lifetime_value = 2;
        Specified by:
        getHighLifetimeValue in interface LifecycleGoalValueSettingsOrBuilder
        Returns:
        The highLifetimeValue.
      • setHighLifetimeValue

        public LifecycleGoalValueSettings.Builder setHighLifetimeValue​(double value)
         High lifetime value of the lifecycle goal. For example, for customer
         acquisition goal, high lifetime value is the incremental conversion value
         for new customers who are of high value. High lifetime value should be
         greater than value, if set.
         In current stage, high lifetime value feature is in beta and this field
         is read-only.
         
        optional double high_lifetime_value = 2;
        Parameters:
        value - The highLifetimeValue to set.
        Returns:
        This builder for chaining.
      • clearHighLifetimeValue

        public LifecycleGoalValueSettings.Builder clearHighLifetimeValue()
         High lifetime value of the lifecycle goal. For example, for customer
         acquisition goal, high lifetime value is the incremental conversion value
         for new customers who are of high value. High lifetime value should be
         greater than value, if set.
         In current stage, high lifetime value feature is in beta and this field
         is read-only.
         
        optional double high_lifetime_value = 2;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final LifecycleGoalValueSettings.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<LifecycleGoalValueSettings.Builder>
      • mergeUnknownFields

        public final LifecycleGoalValueSettings.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<LifecycleGoalValueSettings.Builder>