# Interface ChartResultOrBuilder (0.21.0)

0.21.0 (latest) 0.19.0 0.16.0 0.15.0 0.13.0 0.11.0 0.10.0 0.9.0 0.8.0 0.6.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface ChartResultOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getImage()

    public abstract Blob getImage()

Optional. A rendering of the chart if this was requested in the context.

`
.google.cloud.geminidataanalytics.v1.Blob image = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-geminidataanalytics/latest/com.google.cloud.geminidataanalytics.v1.Blob` | The image. |

### getImageOrBuilder()

    public abstract BlobOrBuilder getImageOrBuilder()

Optional. A rendering of the chart if this was requested in the context.

`
.google.cloud.geminidataanalytics.v1.Blob image = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-geminidataanalytics/latest/com.google.cloud.geminidataanalytics.v1.BlobOrBuilder` |   |

### getVegaConfig()

    public abstract Struct getVegaConfig()

Optional. A generated Vega chart config.
See <https://vega.github.io/vega/docs/config/>

`.google.protobuf.Struct vega_config = 2 [(.google.api.field_behavior) = OPTIONAL];`

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

### getVegaConfigOrBuilder()

    public abstract StructOrBuilder getVegaConfigOrBuilder()

Optional. A generated Vega chart config.
See <https://vega.github.io/vega/docs/config/>

`.google.protobuf.Struct vega_config = 2 [(.google.api.field_behavior) = OPTIONAL];`

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

### hasImage()

    public abstract boolean hasImage()

Optional. A rendering of the chart if this was requested in the context.

`
.google.cloud.geminidataanalytics.v1.Blob image = 3 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasVegaConfig()

    public abstract boolean hasVegaConfig()

Optional. A generated Vega chart config.
See <https://vega.github.io/vega/docs/config/>

`.google.protobuf.Struct vega_config = 2 [(.google.api.field_behavior) = OPTIONAL];`

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