Interface TrendOrBuilder (0.20.0)

public interface TrendOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDuration()

public abstract Duration getDuration()

Output only. The duration for the trend.

.google.protobuf.Duration duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Duration

The duration.

getDurationOrBuilder()

public abstract DurationOrBuilder getDurationOrBuilder()

Output only. The duration for the trend.

.google.protobuf.Duration duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DurationOrBuilder

getValuePercent()

public abstract double getValuePercent()

Output only. The trend value as a percentage. The value can be positive or negative.

double value_percent = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
double

The valuePercent.

hasDuration()

public abstract boolean hasDuration()

Output only. The duration for the trend.

.google.protobuf.Duration duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the duration field is set.