# Interface EditChartRequestOrBuilder (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 interface EditChartRequestOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getDashboardChart()

    public abstract DashboardChart getDashboardChart()

Optional. Edited chart.

`
.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 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.DashboardChart` | The dashboardChart. |

### getDashboardChartOrBuilder()

    public abstract DashboardChartOrBuilder getDashboardChartOrBuilder()

Optional. Edited chart.

`
.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 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.DashboardChartOrBuilder` |   |

### getDashboardQuery()

    public abstract DashboardQuery getDashboardQuery()

Optional. Query for the edited chart.

`
.google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.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.DashboardQuery` | The dashboardQuery. |

### getDashboardQueryOrBuilder()

    public abstract DashboardQueryOrBuilder getDashboardQueryOrBuilder()

Optional. Query for the edited chart.

`
.google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.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.DashboardQueryOrBuilder` |   |

### getEditMask()

    public abstract FieldMask getEditMask()

Required. The list of fields to edit for chart and query.
Supported paths in chart are -
dashboard_chart.display_name
dashboard_chart.description
dashboard_chart.chart_datasource.data_sources
dashboard_chart.visualization
dashboard_chart.visualization.button
dashboard_chart.visualization.markdown
dashboard_chart.drill_down_config
Supported paths in query are -
dashboard_query.query
dashboard_query.input

`.google.protobuf.FieldMask edit_mask = 4 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.FieldMask.html` | The editMask. |

### getEditMaskOrBuilder()

    public abstract FieldMaskOrBuilder getEditMaskOrBuilder()

Required. The list of fields to edit for chart and query.
Supported paths in chart are -
dashboard_chart.display_name
dashboard_chart.description
dashboard_chart.chart_datasource.data_sources
dashboard_chart.visualization
dashboard_chart.visualization.button
dashboard_chart.visualization.markdown
dashboard_chart.drill_down_config
Supported paths in query are -
dashboard_query.query
dashboard_query.input

`.google.protobuf.FieldMask edit_mask = 4 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.FieldMaskOrBuilder.html` |   |

### getLanguageFeatures(int index)

    public abstract LanguageFeature getLanguageFeatures(int index)

Optional. Language Features present in the query.

`
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];
`

| **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.cloud.google.com/java/docs/reference/google-cloud-chronicle/latest/com.google.cloud.chronicle.v1.LanguageFeature` | The languageFeatures at the given index. |

### getLanguageFeaturesCount()

    public abstract int getLanguageFeaturesCount()

Optional. Language Features present in the query.

`
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getLanguageFeaturesList()

    public abstract List<LanguageFeature> getLanguageFeaturesList()

Optional. Language Features present in the query.

`
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-chronicle/latest/com.google.cloud.chronicle.v1.LanguageFeature>` | A list containing the languageFeatures. |

### getLanguageFeaturesValue(int index)

    public abstract int getLanguageFeaturesValue(int index)

Optional. Language Features present in the query.

`
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];
`

| **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://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire of languageFeatures at the given index. |

### getLanguageFeaturesValueList()

    public abstract List<Integer> getLanguageFeaturesValueList()

Optional. Language Features present in the query.

`
repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 5 [(.google.api.field_behavior) = OPTIONAL];
`

| **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/Integer.html>` | A list containing the enum numeric values on the wire for languageFeatures. |

### getName()

    public abstract String getName()

Required. The dashboard name to edit chart in.
Format:
projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard}

`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

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

### getNameBytes()

    public abstract ByteString getNameBytes()

Required. The dashboard name to edit chart in.
Format:
projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard}

`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

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

### hasDashboardChart()

    public abstract boolean hasDashboardChart()

Optional. Edited chart.

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

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

### hasDashboardQuery()

    public abstract boolean hasDashboardQuery()

Optional. Query for the edited chart.

`
.google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasEditMask()

    public abstract boolean hasEditMask()

Required. The list of fields to edit for chart and query.
Supported paths in chart are -
dashboard_chart.display_name
dashboard_chart.description
dashboard_chart.chart_datasource.data_sources
dashboard_chart.visualization
dashboard_chart.visualization.button
dashboard_chart.visualization.markdown
dashboard_chart.drill_down_config
Supported paths in query are -
dashboard_query.query
dashboard_query.input

`.google.protobuf.FieldMask edit_mask = 4 [(.google.api.field_behavior) = REQUIRED];
`

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