Class Processor

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.visionai.v1.Processor
All Implemented Interfaces:
ProcessorOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Processor extends com.google.protobuf.GeneratedMessage implements ProcessorOrBuilder
 Message describing Processor object.
 Next ID: 19
 
Protobuf type google.cloud.visionai.v1.Processor
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_FIELD_NUMBER
      See Also:
    • LABELS_FIELD_NUMBER

      public static final int LABELS_FIELD_NUMBER
      See Also:
    • DISPLAY_NAME_FIELD_NUMBER

      public static final int DISPLAY_NAME_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • PROCESSOR_TYPE_FIELD_NUMBER

      public static final int PROCESSOR_TYPE_FIELD_NUMBER
      See Also:
    • MODEL_TYPE_FIELD_NUMBER

      public static final int MODEL_TYPE_FIELD_NUMBER
      See Also:
    • CUSTOM_PROCESSOR_SOURCE_INFO_FIELD_NUMBER

      public static final int CUSTOM_PROCESSOR_SOURCE_INFO_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • PROCESSOR_IO_SPEC_FIELD_NUMBER

      public static final int PROCESSOR_IO_SPEC_FIELD_NUMBER
      See Also:
    • CONFIGURATION_TYPEURL_FIELD_NUMBER

      public static final int CONFIGURATION_TYPEURL_FIELD_NUMBER
      See Also:
    • SUPPORTED_ANNOTATION_TYPES_FIELD_NUMBER

      public static final int SUPPORTED_ANNOTATION_TYPES_FIELD_NUMBER
      See Also:
    • SUPPORTS_POST_PROCESSING_FIELD_NUMBER

      public static final int SUPPORTS_POST_PROCESSING_FIELD_NUMBER
      See Also:
    • SUPPORTED_INSTANCE_TYPES_FIELD_NUMBER

      public static final int SUPPORTED_INSTANCE_TYPES_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String getName()
       name of resource.
       
      string name = 1;
      Specified by:
      getName in interface ProcessorOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       name of resource.
       
      string name = 1;
      Specified by:
      getNameBytes in interface ProcessorOrBuilder
      Returns:
      The bytes for name.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. [Output only] Create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface ProcessorOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. [Output only] Create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface ProcessorOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. [Output only] Create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface ProcessorOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. [Output only] Update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface ProcessorOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. [Output only] Update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface ProcessorOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. [Output only] Update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface ProcessorOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: ProcessorOrBuilder
       Labels as key value pairs.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsCount in interface ProcessorOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Labels as key value pairs.
       
      map<string, string> labels = 4;
      Specified by:
      containsLabels in interface ProcessorOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface ProcessorOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Labels as key value pairs.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsMap in interface ProcessorOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Labels as key value pairs.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsOrDefault in interface ProcessorOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Labels as key value pairs.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsOrThrow in interface ProcessorOrBuilder
    • getDisplayName

      public String getDisplayName()
       Required. A user friendly display name for the processor.
       
      string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface ProcessorOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Required. A user friendly display name for the processor.
       
      string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayNameBytes in interface ProcessorOrBuilder
      Returns:
      The bytes for displayName.
    • getDescription

      public String getDescription()
       Illustrative sentences for describing the functionality of the processor.
       
      string description = 10;
      Specified by:
      getDescription in interface ProcessorOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Illustrative sentences for describing the functionality of the processor.
       
      string description = 10;
      Specified by:
      getDescriptionBytes in interface ProcessorOrBuilder
      Returns:
      The bytes for description.
    • getProcessorTypeValue

      public int getProcessorTypeValue()
       Output only. Processor Type.
       
      .google.cloud.visionai.v1.Processor.ProcessorType processor_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProcessorTypeValue in interface ProcessorOrBuilder
      Returns:
      The enum numeric value on the wire for processorType.
    • getProcessorType

      public Processor.ProcessorType getProcessorType()
       Output only. Processor Type.
       
      .google.cloud.visionai.v1.Processor.ProcessorType processor_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProcessorType in interface ProcessorOrBuilder
      Returns:
      The processorType.
    • getModelTypeValue

      public int getModelTypeValue()
       Model Type.
       
      .google.cloud.visionai.v1.ModelType model_type = 13;
      Specified by:
      getModelTypeValue in interface ProcessorOrBuilder
      Returns:
      The enum numeric value on the wire for modelType.
    • getModelType

      public ModelType getModelType()
       Model Type.
       
      .google.cloud.visionai.v1.ModelType model_type = 13;
      Specified by:
      getModelType in interface ProcessorOrBuilder
      Returns:
      The modelType.
    • hasCustomProcessorSourceInfo

      public boolean hasCustomProcessorSourceInfo()
       Source info for customer created processor.
       
      .google.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7;
      Specified by:
      hasCustomProcessorSourceInfo in interface ProcessorOrBuilder
      Returns:
      Whether the customProcessorSourceInfo field is set.
    • getCustomProcessorSourceInfo

      public CustomProcessorSourceInfo getCustomProcessorSourceInfo()
       Source info for customer created processor.
       
      .google.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7;
      Specified by:
      getCustomProcessorSourceInfo in interface ProcessorOrBuilder
      Returns:
      The customProcessorSourceInfo.
    • getCustomProcessorSourceInfoOrBuilder

      public CustomProcessorSourceInfoOrBuilder getCustomProcessorSourceInfoOrBuilder()
       Source info for customer created processor.
       
      .google.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7;
      Specified by:
      getCustomProcessorSourceInfoOrBuilder in interface ProcessorOrBuilder
    • getStateValue

      public int getStateValue()
       Output only. State of the Processor.
       
      .google.cloud.visionai.v1.Processor.ProcessorState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface ProcessorOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public Processor.ProcessorState getState()
       Output only. State of the Processor.
       
      .google.cloud.visionai.v1.Processor.ProcessorState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface ProcessorOrBuilder
      Returns:
      The state.
    • hasProcessorIoSpec

      public 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];
      Specified by:
      hasProcessorIoSpec in interface ProcessorOrBuilder
      Returns:
      Whether the processorIoSpec field is set.
    • getProcessorIoSpec

      public 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];
      Specified by:
      getProcessorIoSpec in interface ProcessorOrBuilder
      Returns:
      The processorIoSpec.
    • getProcessorIoSpecOrBuilder

      public 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];
      Specified by:
      getProcessorIoSpecOrBuilder in interface ProcessorOrBuilder
    • getConfigurationTypeurl

      public 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];
      Specified by:
      getConfigurationTypeurl in interface ProcessorOrBuilder
      Returns:
      The configurationTypeurl.
    • getConfigurationTypeurlBytes

      public 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];
      Specified by:
      getConfigurationTypeurlBytes in interface ProcessorOrBuilder
      Returns:
      The bytes for configurationTypeurl.
    • getSupportedAnnotationTypesList

      public List<StreamAnnotationType> getSupportedAnnotationTypesList()
      repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSupportedAnnotationTypesList in interface ProcessorOrBuilder
      Returns:
      A list containing the supportedAnnotationTypes.
    • getSupportedAnnotationTypesCount

      public int getSupportedAnnotationTypesCount()
      repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSupportedAnnotationTypesCount in interface ProcessorOrBuilder
      Returns:
      The count of supportedAnnotationTypes.
    • getSupportedAnnotationTypes

      public StreamAnnotationType getSupportedAnnotationTypes(int index)
      repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSupportedAnnotationTypes in interface ProcessorOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The supportedAnnotationTypes at the given index.
    • getSupportedAnnotationTypesValueList

      public List<Integer> getSupportedAnnotationTypesValueList()
      repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSupportedAnnotationTypesValueList in interface ProcessorOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for supportedAnnotationTypes.
    • getSupportedAnnotationTypesValue

      public int getSupportedAnnotationTypesValue(int index)
      repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSupportedAnnotationTypesValue in interface ProcessorOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of supportedAnnotationTypes at the given index.
    • getSupportsPostProcessing

      public boolean getSupportsPostProcessing()
       Indicates if the processor supports post processing.
       
      bool supports_post_processing = 17;
      Specified by:
      getSupportsPostProcessing in interface ProcessorOrBuilder
      Returns:
      The supportsPostProcessing.
    • getSupportedInstanceTypesList

      public 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;
      Specified by:
      getSupportedInstanceTypesList in interface ProcessorOrBuilder
      Returns:
      A list containing the supportedInstanceTypes.
    • getSupportedInstanceTypesCount

      public 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;
      Specified by:
      getSupportedInstanceTypesCount in interface ProcessorOrBuilder
      Returns:
      The count of supportedInstanceTypes.
    • getSupportedInstanceTypes

      public 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;
      Specified by:
      getSupportedInstanceTypes in interface ProcessorOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The supportedInstanceTypes at the given index.
    • getSupportedInstanceTypesValueList

      public 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;
      Specified by:
      getSupportedInstanceTypesValueList in interface ProcessorOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for supportedInstanceTypes.
    • getSupportedInstanceTypesValue

      public 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;
      Specified by:
      getSupportedInstanceTypesValue in interface ProcessorOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of supportedInstanceTypes at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Processor parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Processor parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Processor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Processor parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Processor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Processor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Processor parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Processor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Processor parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Processor parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Processor parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Processor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Processor.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Processor.Builder newBuilder()
    • newBuilder

      public static Processor.Builder newBuilder(Processor prototype)
    • toBuilder

      public Processor.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Processor.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Processor getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Processor> parser()
    • getParserForType

      public com.google.protobuf.Parser<Processor> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Processor getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder