Interface FrequencyCapOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getImpressions()
      Required.
      FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit getTimeUnit()
      Required.
      int getTimeUnitValue()
      Required.
      • 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 Detail

      • getImpressions

        int getImpressions()
         Required. The number of impressions, inclusive.
         
        int32 impressions = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The impressions.
      • getTimeUnitValue

        int getTimeUnitValue()
         Required. The type of time unit.
         
        .google.ads.googleads.v10.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit time_unit = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The enum numeric value on the wire for timeUnit.
      • getTimeUnit

        FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit getTimeUnit()
         Required. The type of time unit.
         
        .google.ads.googleads.v10.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit time_unit = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The timeUnit.