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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MonthOfYearEnum.MonthOfYeargetMonth()The month of the year.intgetMonthValue()The month of the year.longgetYear()The year (e.g.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getYear
long getYear()
The year (e.g. 2020).
int64 year = 1;- Returns:
- The year.
-
getMonthValue
int getMonthValue()
The month of the year. (e.g. FEBRUARY).
.google.ads.googleads.v10.enums.MonthOfYearEnum.MonthOfYear month = 2;- Returns:
- The enum numeric value on the wire for month.
-
getMonth
MonthOfYearEnum.MonthOfYear getMonth()
The month of the year. (e.g. FEBRUARY).
.google.ads.googleads.v10.enums.MonthOfYearEnum.MonthOfYear month = 2;- Returns:
- The month.
-
-