# Interface DataSchemaDetailsOrBuilder (0.50.0)

0.50.0 (latest) 0.48.0 0.45.0 0.44.0 0.42.0 0.40.0 0.39.0 0.37.0 0.35.0 0.33.0 0.32.0 0.31.0 0.30.0 0.29.0 0.27.0 0.25.0 0.24.0 0.21.0 0.20.0 0.19.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface DataSchemaDetailsOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getCustomizedStructConfig()

    public abstract DataSchemaDetails.CustomizedStructConfig getCustomizedStructConfig()

Config for CustomizedStruct data type.

`
.google.cloud.visionai.v1.DataSchemaDetails.CustomizedStructConfig customized_struct_config = 9;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.DataSchemaDetails.CustomizedStructConfig` | The customizedStructConfig. |

### getCustomizedStructConfigOrBuilder()

    public abstract DataSchemaDetails.CustomizedStructConfigOrBuilder getCustomizedStructConfigOrBuilder()

Config for CustomizedStruct data type.

`
.google.cloud.visionai.v1.DataSchemaDetails.CustomizedStructConfig customized_struct_config = 9;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.DataSchemaDetails.CustomizedStructConfigOrBuilder` |   |

### getGranularity()

    public abstract DataSchemaDetails.Granularity getGranularity()

The granularity associated with this DataSchema.

`optional .google.cloud.visionai.v1.DataSchemaDetails.Granularity granularity = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.DataSchemaDetails.Granularity` | The granularity. |

### getGranularityValue()

    public abstract int getGranularityValue()

The granularity associated with this DataSchema.

`optional .google.cloud.visionai.v1.DataSchemaDetails.Granularity granularity = 5;`

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

### getListConfig()

    public abstract DataSchemaDetails.ListConfig getListConfig()

Config for List data type.

`.google.cloud.visionai.v1.DataSchemaDetails.ListConfig list_config = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.DataSchemaDetails.ListConfig` | The listConfig. |

### getListConfigOrBuilder()

    public abstract DataSchemaDetails.ListConfigOrBuilder getListConfigOrBuilder()

Config for List data type.

`.google.cloud.visionai.v1.DataSchemaDetails.ListConfig list_config = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.DataSchemaDetails.ListConfigOrBuilder` |   |

### getProtoAnyConfig()

    public abstract DataSchemaDetails.ProtoAnyConfig getProtoAnyConfig()

Config for protobuf any type.

`.google.cloud.visionai.v1.DataSchemaDetails.ProtoAnyConfig proto_any_config = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.DataSchemaDetails.ProtoAnyConfig` | The protoAnyConfig. |

### getProtoAnyConfigOrBuilder()

    public abstract DataSchemaDetails.ProtoAnyConfigOrBuilder getProtoAnyConfigOrBuilder()

Config for protobuf any type.

`.google.cloud.visionai.v1.DataSchemaDetails.ProtoAnyConfig proto_any_config = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.DataSchemaDetails.ProtoAnyConfigOrBuilder` |   |

### getSearchStrategy()

    public abstract DataSchemaDetails.SearchStrategy getSearchStrategy()

The search strategy to be applied on the `key` above.

`.google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy search_strategy = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy` | The searchStrategy. |

### getSearchStrategyOrBuilder()

    public abstract DataSchemaDetails.SearchStrategyOrBuilder getSearchStrategyOrBuilder()

The search strategy to be applied on the `key` above.

`.google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy search_strategy = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.DataSchemaDetails.SearchStrategyOrBuilder` |   |

### getType()

    public abstract DataSchemaDetails.DataType getType()

Type of the annotation.

`optional .google.cloud.visionai.v1.DataSchemaDetails.DataType type = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.DataSchemaDetails.DataType` | The type. |

### getTypeValue()

    public abstract int getTypeValue()

Type of the annotation.

`optional .google.cloud.visionai.v1.DataSchemaDetails.DataType type = 1;`

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

### hasCustomizedStructConfig()

    public abstract boolean hasCustomizedStructConfig()

Config for CustomizedStruct data type.

`
.google.cloud.visionai.v1.DataSchemaDetails.CustomizedStructConfig customized_struct_config = 9;
`

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

### hasGranularity()

    public abstract boolean hasGranularity()

The granularity associated with this DataSchema.

`optional .google.cloud.visionai.v1.DataSchemaDetails.Granularity granularity = 5;`

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

### hasListConfig()

    public abstract boolean hasListConfig()

Config for List data type.

`.google.cloud.visionai.v1.DataSchemaDetails.ListConfig list_config = 8;`

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

### hasProtoAnyConfig()

    public abstract boolean hasProtoAnyConfig()

Config for protobuf any type.

`.google.cloud.visionai.v1.DataSchemaDetails.ProtoAnyConfig proto_any_config = 6;`

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

### hasSearchStrategy()

    public abstract boolean hasSearchStrategy()

The search strategy to be applied on the `key` above.

`.google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy search_strategy = 7;`

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

### hasType()

    public abstract boolean hasType()

Type of the annotation.

`optional .google.cloud.visionai.v1.DataSchemaDetails.DataType type = 1;`

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