Enum PeriodType (3.20.0)

public enum PeriodType extends Enum<PeriodType> implements ProtocolMessageEnum

Period Type.

Protobuf enum google.cloud.channel.v1.PeriodType

Implements

ProtocolMessageEnum

Static Fields

NameDescription
DAY

Day.

DAY = 1;

DAY_VALUE

Day.

DAY = 1;

MONTH

Month.

MONTH = 2;

MONTH_VALUE

Month.

MONTH = 2;

PERIOD_TYPE_UNSPECIFIED

Not used.

PERIOD_TYPE_UNSPECIFIED = 0;

PERIOD_TYPE_UNSPECIFIED_VALUE

Not used.

PERIOD_TYPE_UNSPECIFIED = 0;

UNRECOGNIZED
YEAR

Year.

YEAR = 3;

YEAR_VALUE

Year.

YEAR = 3;

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()