Interface FeatureStatsAndAnomalySpecOrBuilder (3.56.0)

public interface FeatureStatsAndAnomalySpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLatestStatsCount()

public abstract int getLatestStatsCount()

Optional. If set, returns the most recent count of stats. Valid value is [0, 100]. If stats_time_range is set, return most recent count of stats within the stats_time_range.

optional int32 latest_stats_count = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The latestStatsCount.

getStatsTimeRange()

public abstract Interval getStatsTimeRange()

Optional. If set, return all stats generated between [start_time, end_time). If latest_stats_count is set, return the most recent count of stats within the stats_time_range.

.google.type.Interval stats_time_range = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.Interval

The statsTimeRange.

getStatsTimeRangeOrBuilder()

public abstract IntervalOrBuilder getStatsTimeRangeOrBuilder()

Optional. If set, return all stats generated between [start_time, end_time). If latest_stats_count is set, return the most recent count of stats within the stats_time_range.

.google.type.Interval stats_time_range = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.IntervalOrBuilder

hasLatestStatsCount()

public abstract boolean hasLatestStatsCount()

Optional. If set, returns the most recent count of stats. Valid value is [0, 100]. If stats_time_range is set, return most recent count of stats within the stats_time_range.

optional int32 latest_stats_count = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the latestStatsCount field is set.

hasStatsTimeRange()

public abstract boolean hasStatsTimeRange()

Optional. If set, return all stats generated between [start_time, end_time). If latest_stats_count is set, return the most recent count of stats within the stats_time_range.

.google.type.Interval stats_time_range = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the statsTimeRange field is set.