Interface ProcessorIOSpec.GraphInputChannelSpecOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ProcessorIOSpec.GraphInputChannelSpec, ProcessorIOSpec.GraphInputChannelSpec.Builder
Enclosing class:
ProcessorIOSpec

public static interface ProcessorIOSpec.GraphInputChannelSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    If specified, only those detailed data types can be connected to the processor.
    com.google.protobuf.ByteString
    If specified, only those detailed data types can be connected to the processor.
    int
    If specified, only those detailed data types can be connected to the processor.
    If specified, only those detailed data types can be connected to the processor.
    The data types of the current input channel.
    int
    The data types of the current input channel.
    long
    How many input edges can be connected to this input channel. 0 means unlimited.
    The name of the current input channel.
    com.google.protobuf.ByteString
    The name of the current input channel.
    boolean
    Whether the current input channel is required by the processor.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       The name of the current input channel.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The name of the current input channel.
       
      string name = 1;
      Returns:
      The bytes for name.
    • getDataTypeValue

      int getDataTypeValue()
       The data types of the current input channel.
       When this field has more than 1 value, it means this input channel can be
       connected to either of these different data types.
       
      .google.cloud.visionai.v1.DataType data_type = 2;
      Returns:
      The enum numeric value on the wire for dataType.
    • getDataType

      DataType getDataType()
       The data types of the current input channel.
       When this field has more than 1 value, it means this input channel can be
       connected to either of these different data types.
       
      .google.cloud.visionai.v1.DataType data_type = 2;
      Returns:
      The dataType.
    • getAcceptedDataTypeUrisList

      List<String> getAcceptedDataTypeUrisList()
       If specified, only those detailed data types can be connected to the
       processor. For example, jpeg stream for MEDIA, or PredictionResult proto
       for PROTO type. If unspecified, then any proto is accepted.
       
      repeated string accepted_data_type_uris = 5;
      Returns:
      A list containing the acceptedDataTypeUris.
    • getAcceptedDataTypeUrisCount

      int getAcceptedDataTypeUrisCount()
       If specified, only those detailed data types can be connected to the
       processor. For example, jpeg stream for MEDIA, or PredictionResult proto
       for PROTO type. If unspecified, then any proto is accepted.
       
      repeated string accepted_data_type_uris = 5;
      Returns:
      The count of acceptedDataTypeUris.
    • getAcceptedDataTypeUris

      String getAcceptedDataTypeUris(int index)
       If specified, only those detailed data types can be connected to the
       processor. For example, jpeg stream for MEDIA, or PredictionResult proto
       for PROTO type. If unspecified, then any proto is accepted.
       
      repeated string accepted_data_type_uris = 5;
      Parameters:
      index - The index of the element to return.
      Returns:
      The acceptedDataTypeUris at the given index.
    • getAcceptedDataTypeUrisBytes

      com.google.protobuf.ByteString getAcceptedDataTypeUrisBytes(int index)
       If specified, only those detailed data types can be connected to the
       processor. For example, jpeg stream for MEDIA, or PredictionResult proto
       for PROTO type. If unspecified, then any proto is accepted.
       
      repeated string accepted_data_type_uris = 5;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the acceptedDataTypeUris at the given index.
    • getRequired

      boolean getRequired()
       Whether the current input channel is required by the processor.
       For example, for a processor with required video input and optional audio
       input, if video input is missing, the application will be rejected while
       the audio input can be missing as long as the video input exists.
       
      bool required = 3;
      Returns:
      The required.
    • getMaxConnectionAllowed

      long getMaxConnectionAllowed()
       How many input edges can be connected to this input channel. 0 means
       unlimited.
       
      int64 max_connection_allowed = 4;
      Returns:
      The maxConnectionAllowed.