Interface YearMonthOrBuilder

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

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

    Modifier and Type
    Method
    Description
    The month of the year.
    int
    The month of the year.
    long
    The year (for example, 2020).

    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

    • getYear

      long getYear()
       The year (for example, 2020).
       
      int64 year = 1;
      Returns:
      The year.
    • getMonthValue

      int getMonthValue()
       The month of the year. (for example, FEBRUARY).
       
      .google.ads.googleads.v18.enums.MonthOfYearEnum.MonthOfYear month = 2;
      Returns:
      The enum numeric value on the wire for month.
    • getMonth

       The month of the year. (for example, FEBRUARY).
       
      .google.ads.googleads.v18.enums.MonthOfYearEnum.MonthOfYear month = 2;
      Returns:
      The month.