Interface TimeSeriesOrBuilder (0.62.0)

public interface TimeSeriesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTimeSeriesDateRange()

public abstract DateRange getTimeSeriesDateRange()

The date range of the time series.

.google.ads.admanager.v1.DateRange time_series_date_range = 1;

Returns
Type Description
DateRange

The timeSeriesDateRange.

getTimeSeriesDateRangeOrBuilder()

public abstract DateRangeOrBuilder getTimeSeriesDateRangeOrBuilder()

The date range of the time series.

.google.ads.admanager.v1.DateRange time_series_date_range = 1;

Returns
Type Description
DateRangeOrBuilder

getValues(int index)

public abstract long getValues(int index)

The daily values constituting the time series.

The number of time series values must equal the number of days spanned by the time series date range, inclusive. For example, a timeSeriesDateRange of 2001-08-15 to 2001-08-17 contains one value for the 15th, one value for the 16th, and one value for the 17th.

repeated int64 values = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
long

The values at the given index.

getValuesCount()

public abstract int getValuesCount()

The daily values constituting the time series.

The number of time series values must equal the number of days spanned by the time series date range, inclusive. For example, a timeSeriesDateRange of 2001-08-15 to 2001-08-17 contains one value for the 15th, one value for the 16th, and one value for the 17th.

repeated int64 values = 2;

Returns
Type Description
int

The count of values.

getValuesList()

public abstract List<Long> getValuesList()

The daily values constituting the time series.

The number of time series values must equal the number of days spanned by the time series date range, inclusive. For example, a timeSeriesDateRange of 2001-08-15 to 2001-08-17 contains one value for the 15th, one value for the 16th, and one value for the 17th.

repeated int64 values = 2;

Returns
Type Description
List<Long>

A list containing the values.

hasTimeSeriesDateRange()

public abstract boolean hasTimeSeriesDateRange()

The date range of the time series.

.google.ads.admanager.v1.DateRange time_series_date_range = 1;

Returns
Type Description
boolean

Whether the timeSeriesDateRange field is set.