Enum CohortsRange.Granularity (0.60.0)

public enum CohortsRange.Granularity extends Enum<CohortsRange.Granularity> implements ProtocolMessageEnum

The granularity used to interpret the startOffset and endOffset for the extended reporting date range for a cohort report.

Protobuf enum google.analytics.data.v1alpha.CohortsRange.Granularity

Implements

ProtocolMessageEnum

Static Fields

Name Description
DAILY

Daily granularity. Commonly used if the cohort's dateRange is a single day and the request contains cohortNthDay.

DAILY = 1;

DAILY_VALUE

Daily granularity. Commonly used if the cohort's dateRange is a single day and the request contains cohortNthDay.

DAILY = 1;

GRANULARITY_UNSPECIFIED

Should never be specified.

GRANULARITY_UNSPECIFIED = 0;

GRANULARITY_UNSPECIFIED_VALUE

Should never be specified.

GRANULARITY_UNSPECIFIED = 0;

MONTHLY

Monthly granularity. Commonly used if the cohort's dateRange is a month in duration and the request contains cohortNthMonth.

MONTHLY = 3;

MONTHLY_VALUE

Monthly granularity. Commonly used if the cohort's dateRange is a month in duration and the request contains cohortNthMonth.

MONTHLY = 3;

UNRECOGNIZED
WEEKLY

Weekly granularity. Commonly used if the cohort's dateRange is a week in duration (starting on Sunday and ending on Saturday) and the request contains cohortNthWeek.

WEEKLY = 2;

WEEKLY_VALUE

Weekly granularity. Commonly used if the cohort's dateRange is a week in duration (starting on Sunday and ending on Saturday) and the request contains cohortNthWeek.

WEEKLY = 2;

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