Package com.google.cloud.visionai.v1
Interface ProcessorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Processor,Processor.Builder
@Generated
public interface ProcessorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Labels as key value pairs.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Source info for customer created processor.Source info for customer created processor.Illustrative sentences for describing the functionality of the processor.com.google.protobuf.ByteStringIllustrative sentences for describing the functionality of the processor.Required.com.google.protobuf.ByteStringRequired.Deprecated.intLabels as key value pairs.Labels as key value pairs.getLabelsOrDefault(String key, String defaultValue) Labels as key value pairs.getLabelsOrThrow(String key) Labels as key value pairs.Model Type.intModel Type.getName()name of resource.com.google.protobuf.ByteStringname of resource.Output only.Output only.Output only.intOutput only.getState()Output only.intOutput only.getSupportedAnnotationTypes(int index) repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];intrepeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];intgetSupportedAnnotationTypesValue(int index) repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];getSupportedInstanceTypes(int index) Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.intWhich instance types this processor supports; if empty, this default to STREAMING_PREDICTION.Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.intgetSupportedInstanceTypesValue(int index) Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.booleanIndicates if the processor supports post processing.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanSource info for customer created processor.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()name of resource.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()name of resource.
string name = 1;- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()Output only. [Output only] Create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. [Output only] Create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. [Output only] Create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. [Output only] Update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. [Output only] Update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. [Output only] Update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLabelsCount
int getLabelsCount()Labels as key value pairs.
map<string, string> labels = 4; -
containsLabels
Labels as key value pairs.
map<string, string> labels = 4; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Labels as key value pairs.
map<string, string> labels = 4; -
getLabelsOrDefault
Labels as key value pairs.
map<string, string> labels = 4; -
getLabelsOrThrow
Labels as key value pairs.
map<string, string> labels = 4; -
getDisplayName
String getDisplayName()Required. A user friendly display name for the processor.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Required. A user friendly display name for the processor.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for displayName.
-
getDescription
String getDescription()Illustrative sentences for describing the functionality of the processor.
string description = 10;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Illustrative sentences for describing the functionality of the processor.
string description = 10;- Returns:
- The bytes for description.
-
getProcessorTypeValue
int getProcessorTypeValue()Output only. Processor Type.
.google.cloud.visionai.v1.Processor.ProcessorType processor_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for processorType.
-
getProcessorType
Processor.ProcessorType getProcessorType()Output only. Processor Type.
.google.cloud.visionai.v1.Processor.ProcessorType processor_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The processorType.
-
getModelTypeValue
int getModelTypeValue()Model Type.
.google.cloud.visionai.v1.ModelType model_type = 13;- Returns:
- The enum numeric value on the wire for modelType.
-
getModelType
ModelType getModelType()Model Type.
.google.cloud.visionai.v1.ModelType model_type = 13;- Returns:
- The modelType.
-
hasCustomProcessorSourceInfo
boolean hasCustomProcessorSourceInfo()Source info for customer created processor.
.google.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7;- Returns:
- Whether the customProcessorSourceInfo field is set.
-
getCustomProcessorSourceInfo
CustomProcessorSourceInfo getCustomProcessorSourceInfo()Source info for customer created processor.
.google.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7;- Returns:
- The customProcessorSourceInfo.
-
getCustomProcessorSourceInfoOrBuilder
CustomProcessorSourceInfoOrBuilder getCustomProcessorSourceInfoOrBuilder()Source info for customer created processor.
.google.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7; -
getStateValue
int getStateValue()Output only. State of the Processor.
.google.cloud.visionai.v1.Processor.ProcessorState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
Processor.ProcessorState getState()Output only. State of the Processor.
.google.cloud.visionai.v1.Processor.ProcessorState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
hasProcessorIoSpec
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:
- Whether the processorIoSpec field is set.
-
getProcessorIoSpec
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:
- The processorIoSpec.
-
getProcessorIoSpecOrBuilder
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]; -
getConfigurationTypeurl
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:
- The configurationTypeurl.
-
getConfigurationTypeurlBytes
com.google.protobuf.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:
- The bytes for configurationTypeurl.
-
getSupportedAnnotationTypesList
List<StreamAnnotationType> getSupportedAnnotationTypesList()repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- A list containing the supportedAnnotationTypes.
-
getSupportedAnnotationTypesCount
int getSupportedAnnotationTypesCount()repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The count of supportedAnnotationTypes.
-
getSupportedAnnotationTypes
repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index of the element to return.- Returns:
- The supportedAnnotationTypes at the given index.
-
getSupportedAnnotationTypesValueList
repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- A list containing the enum numeric values on the wire for supportedAnnotationTypes.
-
getSupportedAnnotationTypesValue
int getSupportedAnnotationTypesValue(int index) repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of supportedAnnotationTypes at the given index.
-
getSupportsPostProcessing
boolean getSupportsPostProcessing()Indicates if the processor supports post processing.
bool supports_post_processing = 17;- Returns:
- The supportsPostProcessing.
-
getSupportedInstanceTypesList
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:
- A list containing the supportedInstanceTypes.
-
getSupportedInstanceTypesCount
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:
- The count of supportedInstanceTypes.
-
getSupportedInstanceTypes
Which instance types this processor supports; if empty, this default to STREAMING_PREDICTION.
repeated .google.cloud.visionai.v1.Instance.InstanceType supported_instance_types = 18;- Parameters:
index- The index of the element to return.- Returns:
- The supportedInstanceTypes at the given index.
-
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:
- A list containing the enum numeric values on the wire for supportedInstanceTypes.
-
getSupportedInstanceTypesValue
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;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of supportedInstanceTypes at the given index.
-