# Interface DashboardDefinition.ChartConfigOrBuilder (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 DashboardDefinition.ChartConfigOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getChartLayout()

    public abstract DashboardDefinition.ChartConfig.ChartLayout getChartLayout()

`
.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-chronicle/latest/com.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout` | The chartLayout. |

### getChartLayoutOrBuilder()

    public abstract DashboardDefinition.ChartConfig.ChartLayoutOrBuilder getChartLayoutOrBuilder()

`
.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-chronicle/latest/com.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayoutOrBuilder` |   |

### getDashboardChart()

    public abstract String getDashboardChart()

`
string dashboard_chart = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The dashboardChart. |

### getDashboardChartBytes()

    public abstract ByteString getDashboardChartBytes()

`
string dashboard_chart = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for dashboardChart. |

### getFiltersIds(int index)

    public abstract String getFiltersIds(int index)

Dashboard filters applied to the chart.

`repeated string filters_ids = 4;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The filtersIds at the given index. |

### getFiltersIdsBytes(int index)

    public abstract ByteString getFiltersIdsBytes(int index)

Dashboard filters applied to the chart.

`repeated string filters_ids = 4;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the filtersIds at the given index. |

### getFiltersIdsCount()

    public abstract int getFiltersIdsCount()

Dashboard filters applied to the chart.

`repeated string filters_ids = 4;`

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

### getFiltersIdsList()

    public abstract List<String> getFiltersIdsList()

Dashboard filters applied to the chart.

`repeated string filters_ids = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the filtersIds. |

### hasChartLayout()

    public abstract boolean hasChartLayout()

`
.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the chartLayout field is set. |