# Interface CustomProcessorSourceInfo.ModelSchemaOrBuilder (0.16.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.16.0 (latest)](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.visionai.v1.CustomProcessorSourceInfo.ModelSchemaOrBuilder)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.visionai.v1.CustomProcessorSourceInfo.ModelSchemaOrBuilder)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.visionai.v1.CustomProcessorSourceInfo.ModelSchemaOrBuilder)

    public static interface CustomProcessorSourceInfo.ModelSchemaOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getInstancesSchema()

    public abstract GcsSource getInstancesSchema()

Cloud Storage location to a YAML file that defines the format of a single
instance used in prediction and explanation requests.

`.google.events.cloud.visionai.v1.GcsSource instances_schema = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.visionai.v1.GcsSource` | The instancesSchema. |

### getInstancesSchemaOrBuilder()

    public abstract GcsSourceOrBuilder getInstancesSchemaOrBuilder()

Cloud Storage location to a YAML file that defines the format of a single
instance used in prediction and explanation requests.

`.google.events.cloud.visionai.v1.GcsSource instances_schema = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.visionai.v1.GcsSourceOrBuilder` |   |

### getParametersSchema()

    public abstract GcsSource getParametersSchema()

Cloud Storage location to a YAML file that defines the prediction and
explanation parameters.

`.google.events.cloud.visionai.v1.GcsSource parameters_schema = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.visionai.v1.GcsSource` | The parametersSchema. |

### getParametersSchemaOrBuilder()

    public abstract GcsSourceOrBuilder getParametersSchemaOrBuilder()

Cloud Storage location to a YAML file that defines the prediction and
explanation parameters.

`.google.events.cloud.visionai.v1.GcsSource parameters_schema = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.visionai.v1.GcsSourceOrBuilder` |   |

### getPredictionsSchema()

    public abstract GcsSource getPredictionsSchema()

Cloud Storage location to a YAML file that defines the format of a single
prediction or explanation.

`.google.events.cloud.visionai.v1.GcsSource predictions_schema = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.visionai.v1.GcsSource` | The predictionsSchema. |

### getPredictionsSchemaOrBuilder()

    public abstract GcsSourceOrBuilder getPredictionsSchemaOrBuilder()

Cloud Storage location to a YAML file that defines the format of a single
prediction or explanation.

`.google.events.cloud.visionai.v1.GcsSource predictions_schema = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.visionai.v1.GcsSourceOrBuilder` |   |

### hasInstancesSchema()

    public abstract boolean hasInstancesSchema()

Cloud Storage location to a YAML file that defines the format of a single
instance used in prediction and explanation requests.

`.google.events.cloud.visionai.v1.GcsSource instances_schema = 1;`

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

### hasParametersSchema()

    public abstract boolean hasParametersSchema()

Cloud Storage location to a YAML file that defines the prediction and
explanation parameters.

`.google.events.cloud.visionai.v1.GcsSource parameters_schema = 2;`

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

### hasPredictionsSchema()

    public abstract boolean hasPredictionsSchema()

Cloud Storage location to a YAML file that defines the format of a single
prediction or explanation.

`.google.events.cloud.visionai.v1.GcsSource predictions_schema = 3;`

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