Google Cloud Vision Ai V1 Client - Class Processor (0.1.0)

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

Message describing Processor object.

Next ID: 19

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

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

name of resource.

↳ create_time Google\Protobuf\Timestamp

Output only. [Output only] Create timestamp.

↳ update_time Google\Protobuf\Timestamp

Output only. [Output only] Update timestamp.

↳ labels array|Google\Protobuf\Internal\MapField

Labels as key value pairs.

↳ display_name string

Required. A user friendly display name for the processor.

↳ description string

Illustrative sentences for describing the functionality of the processor.

↳ processor_type int

Output only. Processor Type.

↳ model_type int

Model Type.

↳ custom_processor_source_info CustomProcessorSourceInfo

Source info for customer created processor.

↳ state int

Output only. State of the Processor.

↳ processor_io_spec ProcessorIOSpec

Output only. [Output only] The input / output specifications of a processor, each type of processor has fixed input / output specs which cannot be altered by customer.

↳ configuration_typeurl string

Output only. The corresponding configuration can be used in the Application to customize the behavior of the processor.

↳ supported_annotation_types array
↳ supports_post_processing bool

Indicates if the processor supports post processing.

↳ supported_instance_types array

Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.

getName

name of resource.

Returns
Type Description
string

setName

name of resource.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. [Output only] Create timestamp.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. [Output only] Create timestamp.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. [Output only] Update timestamp.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. [Output only] Update timestamp.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getLabels

Labels as key value pairs.

Returns
Type Description
Google\Protobuf\Internal\MapField

setLabels

Labels as key value pairs.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getDisplayName

Required. A user friendly display name for the processor.

Returns
Type Description
string

setDisplayName

Required. A user friendly display name for the processor.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

Illustrative sentences for describing the functionality of the processor.

Returns
Type Description
string

setDescription

Illustrative sentences for describing the functionality of the processor.

Parameter
Name Description
var string
Returns
Type Description
$this

getProcessorType

Output only. Processor Type.

Returns
Type Description
int Enum of type ProcessorType.

setProcessorType

Output only. Processor Type.

Parameter
Name Description
var int

Enum of type ProcessorType.

Returns
Type Description
$this

getModelType

Model Type.

Returns
Type Description
int Enum of type ModelType.

setModelType

Model Type.

Parameter
Name Description
var int

Enum of type ModelType.

Returns
Type Description
$this

getCustomProcessorSourceInfo

Source info for customer created processor.

Returns
Type Description
CustomProcessorSourceInfo|null

hasCustomProcessorSourceInfo

clearCustomProcessorSourceInfo

setCustomProcessorSourceInfo

Source info for customer created processor.

Parameter
Name Description
var CustomProcessorSourceInfo
Returns
Type Description
$this

getState

Output only. State of the Processor.

Returns
Type Description
int Enum of type ProcessorState.

setState

Output only. State of the Processor.

Parameter
Name Description
var int

Enum of type ProcessorState.

Returns
Type Description
$this

getProcessorIoSpec

Output only. [Output only] The input / output specifications of a processor, each type of processor has fixed input / output specs which cannot be altered by customer.

Returns
Type Description
ProcessorIOSpec|null

hasProcessorIoSpec

clearProcessorIoSpec

setProcessorIoSpec

Output only. [Output only] The input / output specifications of a processor, each type of processor has fixed input / output specs which cannot be altered by customer.

Parameter
Name Description
var ProcessorIOSpec
Returns
Type Description
$this

getConfigurationTypeurl

Output only. The corresponding configuration can be used in the Application to customize the behavior of the processor.

Returns
Type Description
string

setConfigurationTypeurl

Output only. The corresponding configuration can be used in the Application to customize the behavior of the processor.

Parameter
Name Description
var string
Returns
Type Description
$this

getSupportedAnnotationTypes

Generated from protobuf field repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSupportedAnnotationTypes

Generated from protobuf field repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
var int[]
Returns
Type Description
$this

getSupportsPostProcessing

Indicates if the processor supports post processing.

Returns
Type Description
bool

setSupportsPostProcessing

Indicates if the processor supports post processing.

Parameter
Name Description
var bool
Returns
Type Description
$this

getSupportedInstanceTypes

Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSupportedInstanceTypes

Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.

Parameter
Name Description
var int[]
Returns
Type Description
$this