Class Processor.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Processor.Builder>
com.google.cloud.visionai.v1.Processor.Builder
All Implemented Interfaces:
ProcessorOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Processor

public static final class Processor.Builder extends com.google.protobuf.GeneratedMessage.Builder<Processor.Builder> implements ProcessorOrBuilder
 Message describing Processor object.
 Next ID: 19
 
Protobuf type google.cloud.visionai.v1.Processor
  • 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.Builder<Processor.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Processor.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Processor.Builder>
    • clear

      public Processor.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Processor.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Processor.Builder>
    • getDefaultInstanceForType

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

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

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

      public Processor.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Processor.Builder>
    • mergeFrom

      public Processor.Builder mergeFrom(Processor other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Processor.Builder>
    • mergeFrom

      public Processor.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Processor.Builder>
      Throws:
      IOException
    • 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.
    • setName

      public Processor.Builder setName(String value)
       name of resource.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Processor.Builder clearName()
       name of resource.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Processor.Builder setNameBytes(com.google.protobuf.ByteString value)
       name of resource.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • 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.
    • setCreateTime

      public Processor.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. [Output only] Create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Processor.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. [Output only] Create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Processor.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. [Output only] Create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Processor.Builder clearCreateTime()
       Output only. [Output only] Create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. [Output only] Create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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.
    • setUpdateTime

      public Processor.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. [Output only] Update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Processor.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. [Output only] Update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Processor.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. [Output only] Update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Processor.Builder clearUpdateTime()
       Output only. [Output only] Update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. [Output only] Update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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
    • clearLabels

      public Processor.Builder clearLabels()
    • removeLabels

      public Processor.Builder removeLabels(String key)
       Labels as key value pairs.
       
      map<string, string> labels = 4;
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public Processor.Builder putLabels(String key, String value)
       Labels as key value pairs.
       
      map<string, string> labels = 4;
    • putAllLabels

      public Processor.Builder putAllLabels(Map<String,String> values)
       Labels as key value pairs.
       
      map<string, string> labels = 4;
    • 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.
    • setDisplayName

      public Processor.Builder setDisplayName(String value)
       Required. A user friendly display name for the processor.
       
      string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public Processor.Builder clearDisplayName()
       Required. A user friendly display name for the processor.
       
      string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public Processor.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Required. A user friendly display name for the processor.
       
      string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • 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.
    • setDescription

      public Processor.Builder setDescription(String value)
       Illustrative sentences for describing the functionality of the processor.
       
      string description = 10;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public Processor.Builder clearDescription()
       Illustrative sentences for describing the functionality of the processor.
       
      string description = 10;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public Processor.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Illustrative sentences for describing the functionality of the processor.
       
      string description = 10;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • 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.
    • setProcessorTypeValue

      public Processor.Builder setProcessorTypeValue(int value)
       Output only. Processor Type.
       
      .google.cloud.visionai.v1.Processor.ProcessorType processor_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for processorType to set.
      Returns:
      This builder for chaining.
    • 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.
    • setProcessorType

      public Processor.Builder setProcessorType(Processor.ProcessorType value)
       Output only. Processor Type.
       
      .google.cloud.visionai.v1.Processor.ProcessorType processor_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The processorType to set.
      Returns:
      This builder for chaining.
    • clearProcessorType

      public Processor.Builder clearProcessorType()
       Output only. Processor Type.
       
      .google.cloud.visionai.v1.Processor.ProcessorType processor_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • 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.
    • setModelTypeValue

      public Processor.Builder setModelTypeValue(int value)
       Model Type.
       
      .google.cloud.visionai.v1.ModelType model_type = 13;
      Parameters:
      value - The enum numeric value on the wire for modelType to set.
      Returns:
      This builder for chaining.
    • getModelType

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

      public Processor.Builder setModelType(ModelType value)
       Model Type.
       
      .google.cloud.visionai.v1.ModelType model_type = 13;
      Parameters:
      value - The modelType to set.
      Returns:
      This builder for chaining.
    • clearModelType

      public Processor.Builder clearModelType()
       Model Type.
       
      .google.cloud.visionai.v1.ModelType model_type = 13;
      Returns:
      This builder for chaining.
    • 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.
    • setCustomProcessorSourceInfo

      public Processor.Builder setCustomProcessorSourceInfo(CustomProcessorSourceInfo value)
       Source info for customer created processor.
       
      .google.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7;
    • setCustomProcessorSourceInfo

      public Processor.Builder setCustomProcessorSourceInfo(CustomProcessorSourceInfo.Builder builderForValue)
       Source info for customer created processor.
       
      .google.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7;
    • mergeCustomProcessorSourceInfo

      public Processor.Builder mergeCustomProcessorSourceInfo(CustomProcessorSourceInfo value)
       Source info for customer created processor.
       
      .google.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7;
    • clearCustomProcessorSourceInfo

      public Processor.Builder clearCustomProcessorSourceInfo()
       Source info for customer created processor.
       
      .google.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7;
    • getCustomProcessorSourceInfoBuilder

      public CustomProcessorSourceInfo.Builder getCustomProcessorSourceInfoBuilder()
       Source info for customer created processor.
       
      .google.cloud.visionai.v1.CustomProcessorSourceInfo custom_processor_source_info = 7;
    • 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.
    • setStateValue

      public Processor.Builder setStateValue(int value)
       Output only. State of the Processor.
       
      .google.cloud.visionai.v1.Processor.ProcessorState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • 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.
    • setState

       Output only. State of the Processor.
       
      .google.cloud.visionai.v1.Processor.ProcessorState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public Processor.Builder clearState()
       Output only. State of the Processor.
       
      .google.cloud.visionai.v1.Processor.ProcessorState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • 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.
    • setProcessorIoSpec

      public Processor.Builder setProcessorIoSpec(ProcessorIOSpec value)
       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];
    • setProcessorIoSpec

      public Processor.Builder setProcessorIoSpec(ProcessorIOSpec.Builder builderForValue)
       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];
    • mergeProcessorIoSpec

      public Processor.Builder mergeProcessorIoSpec(ProcessorIOSpec value)
       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];
    • clearProcessorIoSpec

      public Processor.Builder clearProcessorIoSpec()
       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];
    • getProcessorIoSpecBuilder

      public ProcessorIOSpec.Builder getProcessorIoSpecBuilder()
       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];
    • 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.
    • setConfigurationTypeurl

      public Processor.Builder setConfigurationTypeurl(String value)
       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];
      Parameters:
      value - The configurationTypeurl to set.
      Returns:
      This builder for chaining.
    • clearConfigurationTypeurl

      public Processor.Builder clearConfigurationTypeurl()
       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:
      This builder for chaining.
    • setConfigurationTypeurlBytes

      public Processor.Builder setConfigurationTypeurlBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for configurationTypeurl to set.
      Returns:
      This builder for chaining.
    • 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.
    • setSupportedAnnotationTypes

      public Processor.Builder setSupportedAnnotationTypes(int index, StreamAnnotationType value)
      repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index to set the value at.
      value - The supportedAnnotationTypes to set.
      Returns:
      This builder for chaining.
    • addSupportedAnnotationTypes

      public Processor.Builder addSupportedAnnotationTypes(StreamAnnotationType value)
      repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The supportedAnnotationTypes to add.
      Returns:
      This builder for chaining.
    • addAllSupportedAnnotationTypes

      public Processor.Builder addAllSupportedAnnotationTypes(Iterable<? extends StreamAnnotationType> values)
      repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The supportedAnnotationTypes to add.
      Returns:
      This builder for chaining.
    • clearSupportedAnnotationTypes

      public Processor.Builder clearSupportedAnnotationTypes()
      repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • 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.
    • setSupportedAnnotationTypesValue

      public Processor.Builder setSupportedAnnotationTypesValue(int index, int value)
      repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for supportedAnnotationTypes to set.
      Returns:
      This builder for chaining.
    • addSupportedAnnotationTypesValue

      public Processor.Builder addSupportedAnnotationTypesValue(int value)
      repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for supportedAnnotationTypes to add.
      Returns:
      This builder for chaining.
    • addAllSupportedAnnotationTypesValue

      public Processor.Builder addAllSupportedAnnotationTypesValue(Iterable<Integer> values)
      repeated .google.cloud.visionai.v1.StreamAnnotationType supported_annotation_types = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The enum numeric values on the wire for supportedAnnotationTypes to add.
      Returns:
      This builder for chaining.
    • 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.
    • setSupportsPostProcessing

      public Processor.Builder setSupportsPostProcessing(boolean value)
       Indicates if the processor supports post processing.
       
      bool supports_post_processing = 17;
      Parameters:
      value - The supportsPostProcessing to set.
      Returns:
      This builder for chaining.
    • clearSupportsPostProcessing

      public Processor.Builder clearSupportsPostProcessing()
       Indicates if the processor supports post processing.
       
      bool supports_post_processing = 17;
      Returns:
      This builder for chaining.
    • 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.
    • setSupportedInstanceTypes

      public Processor.Builder setSupportedInstanceTypes(int index, Instance.InstanceType value)
       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 to set the value at.
      value - The supportedInstanceTypes to set.
      Returns:
      This builder for chaining.
    • addSupportedInstanceTypes

      public Processor.Builder addSupportedInstanceTypes(Instance.InstanceType value)
       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:
      value - The supportedInstanceTypes to add.
      Returns:
      This builder for chaining.
    • addAllSupportedInstanceTypes

      public Processor.Builder addAllSupportedInstanceTypes(Iterable<? extends Instance.InstanceType> values)
       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:
      values - The supportedInstanceTypes to add.
      Returns:
      This builder for chaining.
    • clearSupportedInstanceTypes

      public Processor.Builder clearSupportedInstanceTypes()
       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:
      This builder for chaining.
    • 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.
    • setSupportedInstanceTypesValue

      public Processor.Builder setSupportedInstanceTypesValue(int index, int value)
       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 to set the value at.
      value - The enum numeric value on the wire for supportedInstanceTypes to set.
      Returns:
      This builder for chaining.
    • addSupportedInstanceTypesValue

      public Processor.Builder addSupportedInstanceTypesValue(int value)
       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:
      value - The enum numeric value on the wire for supportedInstanceTypes to add.
      Returns:
      This builder for chaining.
    • addAllSupportedInstanceTypesValue

      public Processor.Builder addAllSupportedInstanceTypesValue(Iterable<Integer> values)
       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:
      values - The enum numeric values on the wire for supportedInstanceTypes to add.
      Returns:
      This builder for chaining.