Class LifecycleGoalValueSettings.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<LifecycleGoalValueSettings.Builder>
com.google.ads.googleads.v22.common.LifecycleGoalValueSettings.Builder
All Implemented Interfaces:
LifecycleGoalValueSettingsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
LifecycleGoalValueSettings

public static final class LifecycleGoalValueSettings.Builder extends com.google.protobuf.GeneratedMessage.Builder<LifecycleGoalValueSettings.Builder> implements LifecycleGoalValueSettingsOrBuilder
 Lifecycle goal value settings.
 
Protobuf type google.ads.googleads.v22.common.LifecycleGoalValueSettings
  • 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<LifecycleGoalValueSettings.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<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.GeneratedMessage.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

      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
    • mergeFrom

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

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

       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.
       
      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.
       
      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.
       
      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.
       
      optional double high_lifetime_value = 2;
      Returns:
      This builder for chaining.