Enum TimeUnitEnum.TimeUnit (0.7.0)

public enum TimeUnitEnum.TimeUnit extends Enum<TimeUnitEnum.TimeUnit> implements ProtocolMessageEnum

Unit of time for the frequency cap.

Protobuf enum google.ads.admanager.v1.TimeUnitEnum.TimeUnit

Implements

ProtocolMessageEnum

Static Fields

Name Description
DAY

Day

DAY = 3;

DAY_VALUE

Day

DAY = 3;

HOUR

Hour

HOUR = 2;

HOUR_VALUE

Hour

HOUR = 2;

LIFETIME

Lifetime

LIFETIME = 6;

LIFETIME_VALUE

Lifetime

LIFETIME = 6;

MINUTE

Minute

MINUTE = 1;

MINUTE_VALUE

Minute

MINUTE = 1;

MONTH

Month

MONTH = 5;

MONTH_VALUE

Month

MONTH = 5;

POD

Per pod of ads in a video stream. Only valid for entities in a VIDEO_PLAYER environment.

POD = 7;

POD_VALUE

Per pod of ads in a video stream. Only valid for entities in a VIDEO_PLAYER environment.

POD = 7;

STREAM

Per video stream. Only valid for entities in a VIDEO_PLAYER environment.

STREAM = 8;

STREAM_VALUE

Per video stream. Only valid for entities in a VIDEO_PLAYER environment.

STREAM = 8;

TIME_UNIT_UNSPECIFIED

Default value. This value is unused.

TIME_UNIT_UNSPECIFIED = 0;

TIME_UNIT_UNSPECIFIED_VALUE

Default value. This value is unused.

TIME_UNIT_UNSPECIFIED = 0;

UNRECOGNIZED
WEEK

Week

WEEK = 4;

WEEK_VALUE

Week

WEEK = 4;

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