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 TypeMethodDescriptionThe metric direction of the goal.intThe metric direction of the goal.The metric of the goal.intThe metric of the goal.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
ExperimentMetricEnum.ExperimentMetric 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
ExperimentMetricDirectionEnum.ExperimentMetricDirection 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.
-