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

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

Defines the interface of an Operator.

Arguments to an operator are input/output streams that are getting processesed/returned while attributes are fixed configuration parameters.

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

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ operator
string

The name of this operator. Tentatively [A-Z][a-zA-Z0-9]*, e.g., BboxCounter, PetDetector, PetDetector1.

↳ input_args
array< OperatorDefinition\ArgumentDefinition >

Declares input arguments.

↳ output_args
array< OperatorDefinition\ArgumentDefinition >

Declares output arguments.

↳ attributes
array< OperatorDefinition\AttributeDefinition >

Declares the attributes.

↳ resources
ResourceSpecification

The resources for running the operator.

↳ short_description
string

Short description of the operator.

↳ description
string

Full description of the operator.

getOperator

The name of this operator.

Tentatively [A-Z][a-zA-Z0-9]*, e.g., BboxCounter, PetDetector, PetDetector1.

Returns
Type
Description
string

setOperator

The name of this operator.

Tentatively [A-Z][a-zA-Z0-9]*, e.g., BboxCounter, PetDetector, PetDetector1.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getInputArgs

Declares input arguments.

setInputArgs

Declares input arguments.

Parameter
Name
Description
Returns
Type
Description
$this

getOutputArgs

Declares output arguments.

setOutputArgs

Declares output arguments.

Parameter
Name
Description
Returns
Type
Description
$this

getAttributes

Declares the attributes.

setAttributes

Declares the attributes.

Parameter
Name
Description
Returns
Type
Description
$this

getResources

The resources for running the operator.

Returns
Type
Description

hasResources

clearResources

setResources

The resources for running the operator.

Parameter
Name
Description
Returns
Type
Description
$this

getShortDescription

Short description of the operator.

Returns
Type
Description
string

setShortDescription

Short description of the operator.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDescription

Full description of the operator.

Returns
Type
Description
string

setDescription

Full description of the operator.

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