Class AnalyzerDefinition

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

@Generated public final class AnalyzerDefinition extends com.google.protobuf.GeneratedMessage implements AnalyzerDefinitionOrBuilder
 Defines an Analyzer.

 An analyzer processes data from its input streams using the logic defined in
 the Operator that it represents. Of course, it produces data for the output
 streams declared in the Operator.
 
Protobuf type google.cloud.visionai.v1.AnalyzerDefinition
See Also:
  • Field Details

  • 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
    • getAnalyzer

      public String getAnalyzer()
       The name of this analyzer.
      
       Tentatively [a-z][a-z0-9]*(_[a-z0-9]+)*.
       
      string analyzer = 1;
      Specified by:
      getAnalyzer in interface AnalyzerDefinitionOrBuilder
      Returns:
      The analyzer.
    • getAnalyzerBytes

      public com.google.protobuf.ByteString getAnalyzerBytes()
       The name of this analyzer.
      
       Tentatively [a-z][a-z0-9]*(_[a-z0-9]+)*.
       
      string analyzer = 1;
      Specified by:
      getAnalyzerBytes in interface AnalyzerDefinitionOrBuilder
      Returns:
      The bytes for analyzer.
    • getOperator

      public String getOperator()
       The name of the operator that this analyzer runs.
      
       Must match the name of a supported operator.
       
      string operator = 2;
      Specified by:
      getOperator in interface AnalyzerDefinitionOrBuilder
      Returns:
      The operator.
    • getOperatorBytes

      public com.google.protobuf.ByteString getOperatorBytes()
       The name of the operator that this analyzer runs.
      
       Must match the name of a supported operator.
       
      string operator = 2;
      Specified by:
      getOperatorBytes in interface AnalyzerDefinitionOrBuilder
      Returns:
      The bytes for operator.
    • getInputsList

      public List<AnalyzerDefinition.StreamInput> getInputsList()
       Input streams.
       
      repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3;
      Specified by:
      getInputsList in interface AnalyzerDefinitionOrBuilder
    • getInputsOrBuilderList

      public List<? extends AnalyzerDefinition.StreamInputOrBuilder> getInputsOrBuilderList()
       Input streams.
       
      repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3;
      Specified by:
      getInputsOrBuilderList in interface AnalyzerDefinitionOrBuilder
    • getInputsCount

      public int getInputsCount()
       Input streams.
       
      repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3;
      Specified by:
      getInputsCount in interface AnalyzerDefinitionOrBuilder
    • getInputs

      public AnalyzerDefinition.StreamInput getInputs(int index)
       Input streams.
       
      repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3;
      Specified by:
      getInputs in interface AnalyzerDefinitionOrBuilder
    • getInputsOrBuilder

      public AnalyzerDefinition.StreamInputOrBuilder getInputsOrBuilder(int index)
       Input streams.
       
      repeated .google.cloud.visionai.v1.AnalyzerDefinition.StreamInput inputs = 3;
      Specified by:
      getInputsOrBuilder in interface AnalyzerDefinitionOrBuilder
    • getAttrsCount

      public int getAttrsCount()
      Description copied from interface: AnalyzerDefinitionOrBuilder
       The attribute values that this analyzer applies to the operator.
      
       Supply a mapping between the attribute names and the actual value you wish
       to apply. If an attribute name is omitted, then it will take a
       preconfigured default value.
       
      map<string, .google.cloud.visionai.v1.AttributeValue> attrs = 4;
      Specified by:
      getAttrsCount in interface AnalyzerDefinitionOrBuilder
    • containsAttrs

      public boolean containsAttrs(String key)
       The attribute values that this analyzer applies to the operator.
      
       Supply a mapping between the attribute names and the actual value you wish
       to apply. If an attribute name is omitted, then it will take a
       preconfigured default value.
       
      map<string, .google.cloud.visionai.v1.AttributeValue> attrs = 4;
      Specified by:
      containsAttrs in interface AnalyzerDefinitionOrBuilder
    • getAttrs

      @Deprecated public Map<String,AttributeValue> getAttrs()
      Deprecated.
      Use getAttrsMap() instead.
      Specified by:
      getAttrs in interface AnalyzerDefinitionOrBuilder
    • getAttrsMap

      public Map<String,AttributeValue> getAttrsMap()
       The attribute values that this analyzer applies to the operator.
      
       Supply a mapping between the attribute names and the actual value you wish
       to apply. If an attribute name is omitted, then it will take a
       preconfigured default value.
       
      map<string, .google.cloud.visionai.v1.AttributeValue> attrs = 4;
      Specified by:
      getAttrsMap in interface AnalyzerDefinitionOrBuilder
    • getAttrsOrDefault

      public AttributeValue getAttrsOrDefault(String key, AttributeValue defaultValue)
       The attribute values that this analyzer applies to the operator.
      
       Supply a mapping between the attribute names and the actual value you wish
       to apply. If an attribute name is omitted, then it will take a
       preconfigured default value.
       
      map<string, .google.cloud.visionai.v1.AttributeValue> attrs = 4;
      Specified by:
      getAttrsOrDefault in interface AnalyzerDefinitionOrBuilder
    • getAttrsOrThrow

      public AttributeValue getAttrsOrThrow(String key)
       The attribute values that this analyzer applies to the operator.
      
       Supply a mapping between the attribute names and the actual value you wish
       to apply. If an attribute name is omitted, then it will take a
       preconfigured default value.
       
      map<string, .google.cloud.visionai.v1.AttributeValue> attrs = 4;
      Specified by:
      getAttrsOrThrow in interface AnalyzerDefinitionOrBuilder
    • hasDebugOptions

      public boolean hasDebugOptions()
       Debug options.
       
      .google.cloud.visionai.v1.AnalyzerDefinition.DebugOptions debug_options = 5;
      Specified by:
      hasDebugOptions in interface AnalyzerDefinitionOrBuilder
      Returns:
      Whether the debugOptions field is set.
    • getDebugOptions

      public AnalyzerDefinition.DebugOptions getDebugOptions()
       Debug options.
       
      .google.cloud.visionai.v1.AnalyzerDefinition.DebugOptions debug_options = 5;
      Specified by:
      getDebugOptions in interface AnalyzerDefinitionOrBuilder
      Returns:
      The debugOptions.
    • getDebugOptionsOrBuilder

      public AnalyzerDefinition.DebugOptionsOrBuilder getDebugOptionsOrBuilder()
       Debug options.
       
      .google.cloud.visionai.v1.AnalyzerDefinition.DebugOptions debug_options = 5;
      Specified by:
      getDebugOptionsOrBuilder in interface AnalyzerDefinitionOrBuilder
    • hasOperatorOption

      public boolean hasOperatorOption()
       Operator option.
       
      .google.cloud.visionai.v1.AnalyzerDefinition.OperatorOption operator_option = 6;
      Specified by:
      hasOperatorOption in interface AnalyzerDefinitionOrBuilder
      Returns:
      Whether the operatorOption field is set.
    • getOperatorOption

      public AnalyzerDefinition.OperatorOption getOperatorOption()
       Operator option.
       
      .google.cloud.visionai.v1.AnalyzerDefinition.OperatorOption operator_option = 6;
      Specified by:
      getOperatorOption in interface AnalyzerDefinitionOrBuilder
      Returns:
      The operatorOption.
    • getOperatorOptionOrBuilder

      public AnalyzerDefinition.OperatorOptionOrBuilder getOperatorOptionOrBuilder()
       Operator option.
       
      .google.cloud.visionai.v1.AnalyzerDefinition.OperatorOption operator_option = 6;
      Specified by:
      getOperatorOptionOrBuilder in interface AnalyzerDefinitionOrBuilder
    • 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 AnalyzerDefinition parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static AnalyzerDefinition.Builder newBuilder()
    • newBuilder

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

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

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

      public static AnalyzerDefinition getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<AnalyzerDefinition> 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 AnalyzerDefinition getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder