Enum PeriodType (3.59.0)

public enum PeriodType extends Enum<PeriodType> implements ProtocolMessageEnum

Period Type.

Protobuf enum google.cloud.channel.v1.PeriodType

Implements

ProtocolMessageEnum

Static Fields

Name Description
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

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()