# Interface DataStoreTool.ModalityConfigOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public static interface DataStoreTool.ModalityConfigOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getGroundingConfig()

    public abstract DataStoreTool.GroundingConfig getGroundingConfig()

Optional. The grounding configuration.

`
.google.cloud.ces.v1.DataStoreTool.GroundingConfig grounding_config = 4 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.DataStoreTool.GroundingConfig` | The groundingConfig. |

### getGroundingConfigOrBuilder()

    public abstract DataStoreTool.GroundingConfigOrBuilder getGroundingConfigOrBuilder()

Optional. The grounding configuration.

`
.google.cloud.ces.v1.DataStoreTool.GroundingConfig grounding_config = 4 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.DataStoreTool.GroundingConfigOrBuilder` |   |

### getModalityType()

    public abstract DataStoreTool.ModalityConfig.ModalityType getModalityType()

Required. The modality type.

`
.google.cloud.ces.v1.DataStoreTool.ModalityConfig.ModalityType modality_type = 1 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.DataStoreTool.ModalityConfig.ModalityType` | The modalityType. |

### getModalityTypeValue()

    public abstract int getModalityTypeValue()

Required. The modality type.

`
.google.cloud.ces.v1.DataStoreTool.ModalityConfig.ModalityType modality_type = 1 [(.google.api.field_behavior) = REQUIRED];
`

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

### getRewriterConfig()

    public abstract DataStoreTool.RewriterConfig getRewriterConfig()

Optional. The rewriter config.

`
.google.cloud.ces.v1.DataStoreTool.RewriterConfig rewriter_config = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.DataStoreTool.RewriterConfig` | The rewriterConfig. |

### getRewriterConfigOrBuilder()

    public abstract DataStoreTool.RewriterConfigOrBuilder getRewriterConfigOrBuilder()

Optional. The rewriter config.

`
.google.cloud.ces.v1.DataStoreTool.RewriterConfig rewriter_config = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.DataStoreTool.RewriterConfigOrBuilder` |   |

### getSummarizationConfig()

    public abstract DataStoreTool.SummarizationConfig getSummarizationConfig()

Optional. The summarization config.

`
.google.cloud.ces.v1.DataStoreTool.SummarizationConfig summarization_config = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.DataStoreTool.SummarizationConfig` | The summarizationConfig. |

### getSummarizationConfigOrBuilder()

    public abstract DataStoreTool.SummarizationConfigOrBuilder getSummarizationConfigOrBuilder()

Optional. The summarization config.

`
.google.cloud.ces.v1.DataStoreTool.SummarizationConfig summarization_config = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.DataStoreTool.SummarizationConfigOrBuilder` |   |

### hasGroundingConfig()

    public abstract boolean hasGroundingConfig()

Optional. The grounding configuration.

`
.google.cloud.ces.v1.DataStoreTool.GroundingConfig grounding_config = 4 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasRewriterConfig()

    public abstract boolean hasRewriterConfig()

Optional. The rewriter config.

`
.google.cloud.ces.v1.DataStoreTool.RewriterConfig rewriter_config = 2 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasSummarizationConfig()

    public abstract boolean hasSummarizationConfig()

Optional. The summarization config.

`
.google.cloud.ces.v1.DataStoreTool.SummarizationConfig summarization_config = 3 [(.google.api.field_behavior) = OPTIONAL];
`

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