Interface CohortSpecOrBuilder (0.24.0)

public interface CohortSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCohortReportSettings()

public abstract CohortReportSettings getCohortReportSettings()

Optional settings for a cohort report.

.google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3;

Returns
TypeDescription
CohortReportSettings

The cohortReportSettings.

getCohortReportSettingsOrBuilder()

public abstract CohortReportSettingsOrBuilder getCohortReportSettingsOrBuilder()

Optional settings for a cohort report.

.google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3;

Returns
TypeDescription
CohortReportSettingsOrBuilder

getCohorts(int index)

public abstract Cohort getCohorts(int index)

Defines the selection criteria to group users into cohorts. Most cohort reports define only a single cohort. If multiple cohorts are specified, each cohort can be recognized in the report by their name.

repeated .google.analytics.data.v1beta.Cohort cohorts = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Cohort

getCohortsCount()

public abstract int getCohortsCount()

Defines the selection criteria to group users into cohorts. Most cohort reports define only a single cohort. If multiple cohorts are specified, each cohort can be recognized in the report by their name.

repeated .google.analytics.data.v1beta.Cohort cohorts = 1;

Returns
TypeDescription
int

getCohortsList()

public abstract List<Cohort> getCohortsList()

Defines the selection criteria to group users into cohorts. Most cohort reports define only a single cohort. If multiple cohorts are specified, each cohort can be recognized in the report by their name.

repeated .google.analytics.data.v1beta.Cohort cohorts = 1;

Returns
TypeDescription
List<Cohort>

getCohortsOrBuilder(int index)

public abstract CohortOrBuilder getCohortsOrBuilder(int index)

Defines the selection criteria to group users into cohorts. Most cohort reports define only a single cohort. If multiple cohorts are specified, each cohort can be recognized in the report by their name.

repeated .google.analytics.data.v1beta.Cohort cohorts = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CohortOrBuilder

getCohortsOrBuilderList()

public abstract List<? extends CohortOrBuilder> getCohortsOrBuilderList()

Defines the selection criteria to group users into cohorts. Most cohort reports define only a single cohort. If multiple cohorts are specified, each cohort can be recognized in the report by their name.

repeated .google.analytics.data.v1beta.Cohort cohorts = 1;

Returns
TypeDescription
List<? extends com.google.analytics.data.v1beta.CohortOrBuilder>

getCohortsRange()

public abstract CohortsRange getCohortsRange()

Cohort reports follow cohorts over an extended reporting date range. This range specifies an offset duration to follow the cohorts over.

.google.analytics.data.v1beta.CohortsRange cohorts_range = 2;

Returns
TypeDescription
CohortsRange

The cohortsRange.

getCohortsRangeOrBuilder()

public abstract CohortsRangeOrBuilder getCohortsRangeOrBuilder()

Cohort reports follow cohorts over an extended reporting date range. This range specifies an offset duration to follow the cohorts over.

.google.analytics.data.v1beta.CohortsRange cohorts_range = 2;

Returns
TypeDescription
CohortsRangeOrBuilder

hasCohortReportSettings()

public abstract boolean hasCohortReportSettings()

Optional settings for a cohort report.

.google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3;

Returns
TypeDescription
boolean

Whether the cohortReportSettings field is set.

hasCohortsRange()

public abstract boolean hasCohortsRange()

Cohort reports follow cohorts over an extended reporting date range. This range specifies an offset duration to follow the cohorts over.

.google.analytics.data.v1beta.CohortsRange cohorts_range = 2;

Returns
TypeDescription
boolean

Whether the cohortsRange field is set.