# Interface DashboardChart.Visualization.Series.MetricTrendConfigOrBuilder (0.31.0)

0.31.0 (latest) 0.29.0 0.26.0 0.25.0 0.23.0 0.21.0 0.20.0 0.19.0 0.18.0 0.16.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.8.0 0.6.0 0.5.0 0.2.0 0.1.0

    public static interface DashboardChart.Visualization.Series.MetricTrendConfigOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getMetricDisplayTrend()

    public abstract MetricDisplayTrend getMetricDisplayTrend()

Optional. Metric chart configuration to display the trend value

`
.google.cloud.chronicle.v1.MetricDisplayTrend metric_display_trend = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-chronicle/latest/com.google.cloud.chronicle.v1.MetricDisplayTrend` | The metricDisplayTrend. |

### getMetricDisplayTrendValue()

    public abstract int getMetricDisplayTrendValue()

Optional. Metric chart configuration to display the trend value

`
.google.cloud.chronicle.v1.MetricDisplayTrend metric_display_trend = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for metricDisplayTrend. |

### getMetricFormat()

    public abstract MetricFormat getMetricFormat()

Optional. Metric chart configuration to display metric trend

`
.google.cloud.chronicle.v1.MetricFormat metric_format = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-chronicle/latest/com.google.cloud.chronicle.v1.MetricFormat` | The metricFormat. |

### getMetricFormatValue()

    public abstract int getMetricFormatValue()

Optional. Metric chart configuration to display metric trend

`
.google.cloud.chronicle.v1.MetricFormat metric_format = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for metricFormat. |

### getMetricTrendType()

    public abstract MetricTrendType getMetricTrendType()

Optional. Metric chart configuration to display trend type whether
regular or inverse

`
.google.cloud.chronicle.v1.MetricTrendType metric_trend_type = 4 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-chronicle/latest/com.google.cloud.chronicle.v1.MetricTrendType` | The metricTrendType. |

### getMetricTrendTypeValue()

    public abstract int getMetricTrendTypeValue()

Optional. Metric chart configuration to display trend type whether
regular or inverse

`
.google.cloud.chronicle.v1.MetricTrendType metric_trend_type = 4 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for metricTrendType. |

### getShowMetricTrend()

    public abstract boolean getShowMetricTrend()

Optional. Metric chart configuration to toggle the trend value
display

`bool show_metric_trend = 5 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The showMetricTrend. |