Enum CalendarPeriod (2.42.0)

public enum CalendarPeriod extends Enum<CalendarPeriod> implements ProtocolMessageEnum

A CalendarPeriod represents the abstract concept of a time period that has a canonical start. Grammatically, "the start of the current CalendarPeriod". All calendar times begin at 12 AM US and Canadian Pacific Time (UTC-8).

Protobuf enum google.cloud.billing.budgets.v1.CalendarPeriod

Implements

ProtocolMessageEnum

Static Fields

Name Description
CALENDAR_PERIOD_UNSPECIFIED

Calendar period is unset. This is the default if the budget is for a custom time period (CustomPeriod).

CALENDAR_PERIOD_UNSPECIFIED = 0;

CALENDAR_PERIOD_UNSPECIFIED_VALUE

Calendar period is unset. This is the default if the budget is for a custom time period (CustomPeriod).

CALENDAR_PERIOD_UNSPECIFIED = 0;

MONTH

A month. Month starts on the first day of each month, such as January 1, February 1, March 1, and so on.

MONTH = 1;

MONTH_VALUE

A month. Month starts on the first day of each month, such as January 1, February 1, March 1, and so on.

MONTH = 1;

QUARTER

A quarter. Quarters start on dates January 1, April 1, July 1, and October 1 of each year.

QUARTER = 2;

QUARTER_VALUE

A quarter. Quarters start on dates January 1, April 1, July 1, and October 1 of each year.

QUARTER = 2;

UNRECOGNIZED
YEAR

A year. Year starts on January 1.

YEAR = 3;

YEAR_VALUE

A year. Year starts on January 1.

YEAR = 3;

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()