Class ProcessorIOSpec

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

@Generated public final class ProcessorIOSpec extends com.google.protobuf.GeneratedMessage implements ProcessorIOSpecOrBuilder
 Message describing the input / output specifications of a processor.
 
Protobuf type google.cloud.visionai.v1.ProcessorIOSpec
See Also:
  • Field Details

    • GRAPH_INPUT_CHANNEL_SPECS_FIELD_NUMBER

      public static final int GRAPH_INPUT_CHANNEL_SPECS_FIELD_NUMBER
      See Also:
    • GRAPH_OUTPUT_CHANNEL_SPECS_FIELD_NUMBER

      public static final int GRAPH_OUTPUT_CHANNEL_SPECS_FIELD_NUMBER
      See Also:
    • INSTANCE_RESOURCE_INPUT_BINDING_SPECS_FIELD_NUMBER

      public static final int INSTANCE_RESOURCE_INPUT_BINDING_SPECS_FIELD_NUMBER
      See Also:
    • INSTANCE_RESOURCE_OUTPUT_BINDING_SPECS_FIELD_NUMBER

      public static final int INSTANCE_RESOURCE_OUTPUT_BINDING_SPECS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

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

      public List<ProcessorIOSpec.GraphInputChannelSpec> getGraphInputChannelSpecsList()
       For processors with input_channel_specs, the processor must be explicitly
       connected to another processor.
       
      repeated .google.cloud.visionai.v1.ProcessorIOSpec.GraphInputChannelSpec graph_input_channel_specs = 3;
      Specified by:
      getGraphInputChannelSpecsList in interface ProcessorIOSpecOrBuilder
    • getGraphInputChannelSpecsOrBuilderList

      public List<? extends ProcessorIOSpec.GraphInputChannelSpecOrBuilder> getGraphInputChannelSpecsOrBuilderList()
       For processors with input_channel_specs, the processor must be explicitly
       connected to another processor.
       
      repeated .google.cloud.visionai.v1.ProcessorIOSpec.GraphInputChannelSpec graph_input_channel_specs = 3;
      Specified by:
      getGraphInputChannelSpecsOrBuilderList in interface ProcessorIOSpecOrBuilder
    • getGraphInputChannelSpecsCount

      public int getGraphInputChannelSpecsCount()
       For processors with input_channel_specs, the processor must be explicitly
       connected to another processor.
       
      repeated .google.cloud.visionai.v1.ProcessorIOSpec.GraphInputChannelSpec graph_input_channel_specs = 3;
      Specified by:
      getGraphInputChannelSpecsCount in interface ProcessorIOSpecOrBuilder
    • getGraphInputChannelSpecs

      public ProcessorIOSpec.GraphInputChannelSpec getGraphInputChannelSpecs(int index)
       For processors with input_channel_specs, the processor must be explicitly
       connected to another processor.
       
      repeated .google.cloud.visionai.v1.ProcessorIOSpec.GraphInputChannelSpec graph_input_channel_specs = 3;
      Specified by:
      getGraphInputChannelSpecs in interface ProcessorIOSpecOrBuilder
    • getGraphInputChannelSpecsOrBuilder

      public ProcessorIOSpec.GraphInputChannelSpecOrBuilder getGraphInputChannelSpecsOrBuilder(int index)
       For processors with input_channel_specs, the processor must be explicitly
       connected to another processor.
       
      repeated .google.cloud.visionai.v1.ProcessorIOSpec.GraphInputChannelSpec graph_input_channel_specs = 3;
      Specified by:
      getGraphInputChannelSpecsOrBuilder in interface ProcessorIOSpecOrBuilder
    • getGraphOutputChannelSpecsList

      public List<ProcessorIOSpec.GraphOutputChannelSpec> getGraphOutputChannelSpecsList()
       The output artifact specifications for the current processor.
       
      repeated .google.cloud.visionai.v1.ProcessorIOSpec.GraphOutputChannelSpec graph_output_channel_specs = 4;
      Specified by:
      getGraphOutputChannelSpecsList in interface ProcessorIOSpecOrBuilder
    • getGraphOutputChannelSpecsOrBuilderList

      public List<? extends ProcessorIOSpec.GraphOutputChannelSpecOrBuilder> getGraphOutputChannelSpecsOrBuilderList()
       The output artifact specifications for the current processor.
       
      repeated .google.cloud.visionai.v1.ProcessorIOSpec.GraphOutputChannelSpec graph_output_channel_specs = 4;
      Specified by:
      getGraphOutputChannelSpecsOrBuilderList in interface ProcessorIOSpecOrBuilder
    • getGraphOutputChannelSpecsCount

      public int getGraphOutputChannelSpecsCount()
       The output artifact specifications for the current processor.
       
      repeated .google.cloud.visionai.v1.ProcessorIOSpec.GraphOutputChannelSpec graph_output_channel_specs = 4;
      Specified by:
      getGraphOutputChannelSpecsCount in interface ProcessorIOSpecOrBuilder
    • getGraphOutputChannelSpecs

      public ProcessorIOSpec.GraphOutputChannelSpec getGraphOutputChannelSpecs(int index)
       The output artifact specifications for the current processor.
       
      repeated .google.cloud.visionai.v1.ProcessorIOSpec.GraphOutputChannelSpec graph_output_channel_specs = 4;
      Specified by:
      getGraphOutputChannelSpecs in interface ProcessorIOSpecOrBuilder
    • getGraphOutputChannelSpecsOrBuilder

      public ProcessorIOSpec.GraphOutputChannelSpecOrBuilder getGraphOutputChannelSpecsOrBuilder(int index)
       The output artifact specifications for the current processor.
       
      repeated .google.cloud.visionai.v1.ProcessorIOSpec.GraphOutputChannelSpec graph_output_channel_specs = 4;
      Specified by:
      getGraphOutputChannelSpecsOrBuilder in interface ProcessorIOSpecOrBuilder
    • getInstanceResourceInputBindingSpecsList

      public List<ProcessorIOSpec.InstanceResourceInputBindingSpec> getInstanceResourceInputBindingSpecsList()
       The input resource that needs to be fed from the application instance.
       
      repeated .google.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceInputBindingSpec instance_resource_input_binding_specs = 5;
      Specified by:
      getInstanceResourceInputBindingSpecsList in interface ProcessorIOSpecOrBuilder
    • getInstanceResourceInputBindingSpecsOrBuilderList

      public List<? extends ProcessorIOSpec.InstanceResourceInputBindingSpecOrBuilder> getInstanceResourceInputBindingSpecsOrBuilderList()
       The input resource that needs to be fed from the application instance.
       
      repeated .google.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceInputBindingSpec instance_resource_input_binding_specs = 5;
      Specified by:
      getInstanceResourceInputBindingSpecsOrBuilderList in interface ProcessorIOSpecOrBuilder
    • getInstanceResourceInputBindingSpecsCount

      public int getInstanceResourceInputBindingSpecsCount()
       The input resource that needs to be fed from the application instance.
       
      repeated .google.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceInputBindingSpec instance_resource_input_binding_specs = 5;
      Specified by:
      getInstanceResourceInputBindingSpecsCount in interface ProcessorIOSpecOrBuilder
    • getInstanceResourceInputBindingSpecs

      public ProcessorIOSpec.InstanceResourceInputBindingSpec getInstanceResourceInputBindingSpecs(int index)
       The input resource that needs to be fed from the application instance.
       
      repeated .google.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceInputBindingSpec instance_resource_input_binding_specs = 5;
      Specified by:
      getInstanceResourceInputBindingSpecs in interface ProcessorIOSpecOrBuilder
    • getInstanceResourceInputBindingSpecsOrBuilder

      public ProcessorIOSpec.InstanceResourceInputBindingSpecOrBuilder getInstanceResourceInputBindingSpecsOrBuilder(int index)
       The input resource that needs to be fed from the application instance.
       
      repeated .google.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceInputBindingSpec instance_resource_input_binding_specs = 5;
      Specified by:
      getInstanceResourceInputBindingSpecsOrBuilder in interface ProcessorIOSpecOrBuilder
    • getInstanceResourceOutputBindingSpecsList

      public List<ProcessorIOSpec.InstanceResourceOutputBindingSpec> getInstanceResourceOutputBindingSpecsList()
       The output resource that the processor will generate per instance.
       Other than the explicitly listed output bindings here, all the processors'
       GraphOutputChannels can be binded to stream resource. The bind name then is
       the same as the GraphOutputChannel's name.
       
      repeated .google.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceOutputBindingSpec instance_resource_output_binding_specs = 6;
      Specified by:
      getInstanceResourceOutputBindingSpecsList in interface ProcessorIOSpecOrBuilder
    • getInstanceResourceOutputBindingSpecsOrBuilderList

      public List<? extends ProcessorIOSpec.InstanceResourceOutputBindingSpecOrBuilder> getInstanceResourceOutputBindingSpecsOrBuilderList()
       The output resource that the processor will generate per instance.
       Other than the explicitly listed output bindings here, all the processors'
       GraphOutputChannels can be binded to stream resource. The bind name then is
       the same as the GraphOutputChannel's name.
       
      repeated .google.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceOutputBindingSpec instance_resource_output_binding_specs = 6;
      Specified by:
      getInstanceResourceOutputBindingSpecsOrBuilderList in interface ProcessorIOSpecOrBuilder
    • getInstanceResourceOutputBindingSpecsCount

      public int getInstanceResourceOutputBindingSpecsCount()
       The output resource that the processor will generate per instance.
       Other than the explicitly listed output bindings here, all the processors'
       GraphOutputChannels can be binded to stream resource. The bind name then is
       the same as the GraphOutputChannel's name.
       
      repeated .google.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceOutputBindingSpec instance_resource_output_binding_specs = 6;
      Specified by:
      getInstanceResourceOutputBindingSpecsCount in interface ProcessorIOSpecOrBuilder
    • getInstanceResourceOutputBindingSpecs

      public ProcessorIOSpec.InstanceResourceOutputBindingSpec getInstanceResourceOutputBindingSpecs(int index)
       The output resource that the processor will generate per instance.
       Other than the explicitly listed output bindings here, all the processors'
       GraphOutputChannels can be binded to stream resource. The bind name then is
       the same as the GraphOutputChannel's name.
       
      repeated .google.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceOutputBindingSpec instance_resource_output_binding_specs = 6;
      Specified by:
      getInstanceResourceOutputBindingSpecs in interface ProcessorIOSpecOrBuilder
    • getInstanceResourceOutputBindingSpecsOrBuilder

      public ProcessorIOSpec.InstanceResourceOutputBindingSpecOrBuilder getInstanceResourceOutputBindingSpecsOrBuilder(int index)
       The output resource that the processor will generate per instance.
       Other than the explicitly listed output bindings here, all the processors'
       GraphOutputChannels can be binded to stream resource. The bind name then is
       the same as the GraphOutputChannel's name.
       
      repeated .google.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceOutputBindingSpec instance_resource_output_binding_specs = 6;
      Specified by:
      getInstanceResourceOutputBindingSpecsOrBuilder in interface ProcessorIOSpecOrBuilder
    • 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 ProcessorIOSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ProcessorIOSpec.Builder newBuilder()
    • newBuilder

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

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

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

      public static ProcessorIOSpec getDefaultInstance()
    • parser

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

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