Interface AgeSegmentOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getMaxAge()
      Maximum age to include.
      int getMinAge()
      Minimum age to include.
      boolean hasMaxAge()
      Maximum age to include.
      boolean hasMinAge()
      Minimum age to include.
      • 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

      • hasMinAge

        boolean hasMinAge()
         Minimum age to include. A minimum age must be specified and must be at
         least 18. Allowed values are 18, 25, 35, 45, 55, and 65.
         
        optional int32 min_age = 1;
        Returns:
        Whether the minAge field is set.
      • getMinAge

        int getMinAge()
         Minimum age to include. A minimum age must be specified and must be at
         least 18. Allowed values are 18, 25, 35, 45, 55, and 65.
         
        optional int32 min_age = 1;
        Returns:
        The minAge.
      • hasMaxAge

        boolean hasMaxAge()
         Maximum age to include. A maximum age need not be specified. If specified,
         max_age must be greater than min_age, and allowed values are 24, 34, 44,
         54, and 64.
         
        optional int32 max_age = 2;
        Returns:
        Whether the maxAge field is set.
      • getMaxAge

        int getMaxAge()
         Maximum age to include. A maximum age need not be specified. If specified,
         max_age must be greater than min_age, and allowed values are 24, 34, 44,
         54, and 64.
         
        optional int32 max_age = 2;
        Returns:
        The maxAge.