Google Cloud Vision Ai V1 Client - Class DataSchemaDetails (0.3.0)

Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class DataSchemaDetails.

Data schema details indicates the data type and the data struct corresponding to the key of user specified annotation.

Generated from protobuf message google.cloud.visionai.v1.DataSchemaDetails

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ type
int

Type of the annotation.

↳ proto_any_config
DataSchemaDetails\ProtoAnyConfig

Config for protobuf any type.

↳ list_config
DataSchemaDetails\ListConfig

Config for List data type.

↳ customized_struct_config
DataSchemaDetails\CustomizedStructConfig

Config for CustomizedStruct data type.

↳ granularity
int

The granularity associated with this DataSchema.

↳ search_strategy
DataSchemaDetails\SearchStrategy

The search strategy to be applied on the key above.

getType

Type of the annotation.

Returns
Type
Description
int

hasType

clearType

setType

Type of the annotation.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getProtoAnyConfig

Config for protobuf any type.

Returns
Type
Description

hasProtoAnyConfig

clearProtoAnyConfig

setProtoAnyConfig

Config for protobuf any type.

Parameter
Name
Description
Returns
Type
Description
$this

getListConfig

Config for List data type.

Returns
Type
Description

hasListConfig

clearListConfig

setListConfig

Config for List data type.

Parameter
Name
Description
Returns
Type
Description
$this

getCustomizedStructConfig

Config for CustomizedStruct data type.

Returns
Type
Description

hasCustomizedStructConfig

clearCustomizedStructConfig

setCustomizedStructConfig

Config for CustomizedStruct data type.

Parameter
Name
Description
Returns
Type
Description
$this

getGranularity

The granularity associated with this DataSchema.

Returns
Type
Description
int

hasGranularity

clearGranularity

setGranularity

The granularity associated with this DataSchema.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getSearchStrategy

The search strategy to be applied on the key above.

Returns
Type
Description

hasSearchStrategy

clearSearchStrategy

setSearchStrategy

The search strategy to be applied on the key above.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: