Interface ProcessorOrBuilder (0.1.0)

public interface ProcessorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
boolean

getConfigurationTypeurl()

public abstract String getConfigurationTypeurl()

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

string configuration_typeurl = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The configurationTypeurl.

getConfigurationTypeurlBytes()

public abstract ByteString getConfigurationTypeurlBytes()

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

string configuration_typeurl = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for configurationTypeurl.

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. [Output only] Create timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. [Output only] Create timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getCustomProcessorSourceInfo()

public abstract CustomProcessorSourceInfo getCustomProcessorSourceInfo()

Source info for customer created processor.

.google.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7;

Returns
Type Description
CustomProcessorSourceInfo

The customProcessorSourceInfo.

getCustomProcessorSourceInfoOrBuilder()

public abstract CustomProcessorSourceInfoOrBuilder getCustomProcessorSourceInfoOrBuilder()

Source info for customer created processor.

.google.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7;

Returns
Type Description
CustomProcessorSourceInfoOrBuilder

getDescription()

public abstract String getDescription()

Illustrative sentences for describing the functionality of the processor.

string description = 10;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Illustrative sentences for describing the functionality of the processor.

string description = 10;

Returns
Type Description
ByteString

The bytes for description.

getDisplayName()

public abstract String getDisplayName()

Required. A user friendly display name for the processor.

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

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Required. A user friendly display name for the processor.

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

Returns
Type Description
ByteString

The bytes for displayName.

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Labels as key value pairs.

map<string, string> labels = 4;

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Labels as key value pairs.

map<string, string> labels = 4;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Labels as key value pairs.

map<string, string> labels = 4;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
String

getModelType()

public abstract ModelType getModelType()

Model Type.

.google.cloud.visionai.v1.ModelType model_type = 13;

Returns
Type Description
ModelType

The modelType.

getModelTypeValue()

public abstract int getModelTypeValue()

Model Type.

.google.cloud.visionai.v1.ModelType model_type = 13;

Returns
Type Description
int

The enum numeric value on the wire for modelType.

getName()

public abstract String getName()

name of resource.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

name of resource.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getProcessorIoSpec()

public abstract ProcessorIOSpec 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.

.google.cloud.visionai.v1.ProcessorIOSpec processor_io_spec = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProcessorIOSpec

The processorIoSpec.

getProcessorIoSpecOrBuilder()

public abstract ProcessorIOSpecOrBuilder getProcessorIoSpecOrBuilder()

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.

.google.cloud.visionai.v1.ProcessorIOSpec processor_io_spec = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProcessorIOSpecOrBuilder

getProcessorType()

public abstract Processor.ProcessorType getProcessorType()

Output only. Processor Type.

.google.cloud.visionai.v1.Processor.ProcessorType processor_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Processor.ProcessorType

The processorType.

getProcessorTypeValue()

public abstract int getProcessorTypeValue()

Output only. Processor Type.

.google.cloud.visionai.v1.Processor.ProcessorType processor_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for processorType.

getState()

public abstract Processor.ProcessorState getState()

Output only. State of the Processor.

.google.cloud.visionai.v1.Processor.ProcessorState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Processor.ProcessorState

The state.

getStateValue()

public abstract int getStateValue()

Output only. State of the Processor.

.google.cloud.visionai.v1.Processor.ProcessorState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getSupportedAnnotationTypes(int index)

public abstract StreamAnnotationType getSupportedAnnotationTypes(int index)

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
StreamAnnotationType

The supportedAnnotationTypes at the given index.

getSupportedAnnotationTypesCount()

public abstract int getSupportedAnnotationTypesCount()

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

Returns
Type Description
int

The count of supportedAnnotationTypes.

getSupportedAnnotationTypesList()

public abstract List<StreamAnnotationType> getSupportedAnnotationTypesList()

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

Returns
Type Description
List<StreamAnnotationType>

A list containing the supportedAnnotationTypes.

getSupportedAnnotationTypesValue(int index)

public abstract int getSupportedAnnotationTypesValue(int index)

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

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of supportedAnnotationTypes at the given index.

getSupportedAnnotationTypesValueList()

public abstract List<Integer> getSupportedAnnotationTypesValueList()

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

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for supportedAnnotationTypes.

getSupportedInstanceTypes(int index)

public abstract Instance.InstanceType getSupportedInstanceTypes(int index)

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

repeated .google.cloud.visionai.v1.Instance.InstanceType supported_instance_types = 18;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
Instance.InstanceType

The supportedInstanceTypes at the given index.

getSupportedInstanceTypesCount()

public abstract int getSupportedInstanceTypesCount()

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

repeated .google.cloud.visionai.v1.Instance.InstanceType supported_instance_types = 18;

Returns
Type Description
int

The count of supportedInstanceTypes.

getSupportedInstanceTypesList()

public abstract List<Instance.InstanceType> getSupportedInstanceTypesList()

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

repeated .google.cloud.visionai.v1.Instance.InstanceType supported_instance_types = 18;

Returns
Type Description
List<InstanceType>

A list containing the supportedInstanceTypes.

getSupportedInstanceTypesValue(int index)

public abstract int getSupportedInstanceTypesValue(int index)

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

repeated .google.cloud.visionai.v1.Instance.InstanceType supported_instance_types = 18;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of supportedInstanceTypes at the given index.

getSupportedInstanceTypesValueList()

public abstract List<Integer> getSupportedInstanceTypesValueList()

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

repeated .google.cloud.visionai.v1.Instance.InstanceType supported_instance_types = 18;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for supportedInstanceTypes.

getSupportsPostProcessing()

public abstract boolean getSupportsPostProcessing()

Indicates if the processor supports post processing.

bool supports_post_processing = 17;

Returns
Type Description
boolean

The supportsPostProcessing.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. [Output only] Update timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. [Output only] Update timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. [Output only] Create timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasCustomProcessorSourceInfo()

public abstract boolean hasCustomProcessorSourceInfo()

Source info for customer created processor.

.google.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7;

Returns
Type Description
boolean

Whether the customProcessorSourceInfo field is set.

hasProcessorIoSpec()

public abstract boolean hasProcessorIoSpec()

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.

.google.cloud.visionai.v1.ProcessorIOSpec processor_io_spec = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the processorIoSpec field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. [Output only] Update timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.