Interface MetricGoalOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
MetricGoal, MetricGoal.Builder

public interface MetricGoalOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The metric direction of the goal.
    int
    The metric direction of the goal.
    The metric of the goal.
    int
    The metric of the goal.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getMetricValue

      int getMetricValue()
       The metric of the goal. For example, clicks, impressions, cost,
       conversions, etc.
       
      .google.ads.googleads.v18.enums.ExperimentMetricEnum.ExperimentMetric metric = 1;
      Returns:
      The enum numeric value on the wire for metric.
    • getMetric

       The metric of the goal. For example, clicks, impressions, cost,
       conversions, etc.
       
      .google.ads.googleads.v18.enums.ExperimentMetricEnum.ExperimentMetric metric = 1;
      Returns:
      The metric.
    • getDirectionValue

      int getDirectionValue()
       The metric direction of the goal. For example, increase, decrease, no
       change.
       
      .google.ads.googleads.v18.enums.ExperimentMetricDirectionEnum.ExperimentMetricDirection direction = 2;
      Returns:
      The enum numeric value on the wire for direction.
    • getDirection

       The metric direction of the goal. For example, increase, decrease, no
       change.
       
      .google.ads.googleads.v18.enums.ExperimentMetricDirectionEnum.ExperimentMetricDirection direction = 2;
      Returns:
      The direction.