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

## Implements

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

## Methods

### getDescription()

    public abstract String getDescription()

Optional. A textual description of the table's content and purpose.
For example: "Contains information about customer orders in our e-commerce
store." Currently only used for BigQuery data sources.

`string description = 2 [(.google.api.field_behavior) = OPTIONAL];`

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

### getDescriptionBytes()

    public abstract ByteString getDescriptionBytes()

Optional. A textual description of the table's content and purpose.
For example: "Contains information about customer orders in our e-commerce
store." Currently only used for BigQuery data sources.

`string description = 2 [(.google.api.field_behavior) = OPTIONAL];`

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

### getDisplayName()

    public abstract String getDisplayName()

Optional. Table display_name (same as label in
cloud/data_analytics/anarres/data/looker/proto/model_explore.proto), not
required, currently only Looker has this field.

`string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];`

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

### getDisplayNameBytes()

    public abstract ByteString getDisplayNameBytes()

Optional. Table display_name (same as label in
cloud/data_analytics/anarres/data/looker/proto/model_explore.proto), not
required, currently only Looker has this field.

`string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];`

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

### getFields(int index)

    public abstract Field getFields(int index)

Optional. The fields in the schema.

`
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

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

### getFieldsCount()

    public abstract int getFieldsCount()

Optional. The fields in the schema.

`
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getFieldsList()

    public abstract List<Field> getFieldsList()

Optional. The fields in the schema.

`
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.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-geminidataanalytics/latest/com.google.cloud.geminidataanalytics.v1beta.Field>` |   |

### getFieldsOrBuilder(int index)

    public abstract FieldOrBuilder getFieldsOrBuilder(int index)

Optional. The fields in the schema.

`
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

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

### getFieldsOrBuilderList()

    public abstract List<? extends FieldOrBuilder> getFieldsOrBuilderList()

Optional. The fields in the schema.

`
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.geminidataanalytics.v1beta.FieldOrBuilder>` |   |

### getFilters(int index)

    public abstract DataFilter getFilters(int index)

Optional. The filters on the datasource's underlying data. Currently only
used for Looker data sources.

`
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

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

### getFiltersCount()

    public abstract int getFiltersCount()

Optional. The filters on the datasource's underlying data. Currently only
used for Looker data sources.

`
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getFiltersList()

    public abstract List<DataFilter> getFiltersList()

Optional. The filters on the datasource's underlying data. Currently only
used for Looker data sources.

`
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.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-geminidataanalytics/latest/com.google.cloud.geminidataanalytics.v1beta.DataFilter>` |   |

### getFiltersOrBuilder(int index)

    public abstract DataFilterOrBuilder getFiltersOrBuilder(int index)

Optional. The filters on the datasource's underlying data. Currently only
used for Looker data sources.

`
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

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

### getFiltersOrBuilderList()

    public abstract List<? extends DataFilterOrBuilder> getFiltersOrBuilderList()

Optional. The filters on the datasource's underlying data. Currently only
used for Looker data sources.

`
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.geminidataanalytics.v1beta.DataFilterOrBuilder>` |   |

### getSynonyms(int index)

    public abstract String getSynonyms(int index)

Optional. A list of alternative names or synonyms that can be used to refer
to the table. For example: \["sales", "orders", "purchases"\]. Currently only
used for BigQuery data sources.

`repeated string synonyms = 3 [(.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.oracle.com/javase/8/docs/api/java/lang/String.html` | The synonyms at the given index. |

### getSynonymsBytes(int index)

    public abstract ByteString getSynonymsBytes(int index)

Optional. A list of alternative names or synonyms that can be used to refer
to the table. For example: \["sales", "orders", "purchases"\]. Currently only
used for BigQuery data sources.

`repeated string synonyms = 3 [(.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://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the synonyms at the given index. |

### getSynonymsCount()

    public abstract int getSynonymsCount()

Optional. A list of alternative names or synonyms that can be used to refer
to the table. For example: \["sales", "orders", "purchases"\]. Currently only
used for BigQuery data sources.

`repeated string synonyms = 3 [(.google.api.field_behavior) = OPTIONAL];`

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

### getSynonymsList()

    public abstract List<String> getSynonymsList()

Optional. A list of alternative names or synonyms that can be used to refer
to the table. For example: \["sales", "orders", "purchases"\]. Currently only
used for BigQuery data sources.

`repeated string synonyms = 3 [(.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/String.html>` | A list containing the synonyms. |

### getTags(int index)

    public abstract String getTags(int index)

Optional. A list of tags or keywords associated with the table, used for
categorization. For example: \["transaction", "revenue", "customer_data"\].
Currently only used for BigQuery data sources.

`repeated string tags = 4 [(.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.oracle.com/javase/8/docs/api/java/lang/String.html` | The tags at the given index. |

### getTagsBytes(int index)

    public abstract ByteString getTagsBytes(int index)

Optional. A list of tags or keywords associated with the table, used for
categorization. For example: \["transaction", "revenue", "customer_data"\].
Currently only used for BigQuery data sources.

`repeated string tags = 4 [(.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://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the tags at the given index. |

### getTagsCount()

    public abstract int getTagsCount()

Optional. A list of tags or keywords associated with the table, used for
categorization. For example: \["transaction", "revenue", "customer_data"\].
Currently only used for BigQuery data sources.

`repeated string tags = 4 [(.google.api.field_behavior) = OPTIONAL];`

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

### getTagsList()

    public abstract List<String> getTagsList()

Optional. A list of tags or keywords associated with the table, used for
categorization. For example: \["transaction", "revenue", "customer_data"\].
Currently only used for BigQuery data sources.

`repeated string tags = 4 [(.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/String.html>` | A list containing the tags. |