Package biopb.image

Interface OpInfoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
OpInfo, OpInfo.Builder

public interface OpInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    The tensor arguments.
    string description = 2;
    com.google.protobuf.ByteString
    string description = 2;
    .biopb.image.OpInfo.InputMode input = 6;
    int
    .biopb.image.OpInfo.InputMode input = 6;
    The non-tensor arguments, written as they'd appear in a call: "name=default" per argument, comma-separated, bare "name" when there is no default.
    com.google.protobuf.ByteString
    The non-tensor arguments, written as they'd appear in a call: "name=default" per argument, comma-separated, bare "name" when there is no default.
    getLabels(int index)
    For grouping, e.g.
    com.google.protobuf.ByteString
    getLabelsBytes(int index)
    For grouping, e.g.
    int
    For grouping, e.g.
    For grouping, e.g.
    string name = 1;
    com.google.protobuf.ByteString
    string name = 1;
    boolean
    A streaming op sends more than one Event per call (see Event); a plain op sends exactly one.
    Deprecated.
    int
    The tensor arguments.
    The tensor arguments.
    getTensorsOrDefault(String key, TensorArg defaultValue)
    The tensor arguments.
    The tensor arguments.

    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()
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
      string name = 1;
      Returns:
      The bytes for name.
    • getDescription

      String getDescription()
      string description = 2;
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
      string description = 2;
      Returns:
      The bytes for description.
    • getLabelsList

      List<String> getLabelsList()
       For grouping, e.g. ["segmentation"] or ["denoising", "pretrained"].
       
      repeated string labels = 3;
      Returns:
      A list containing the labels.
    • getLabelsCount

      int getLabelsCount()
       For grouping, e.g. ["segmentation"] or ["denoising", "pretrained"].
       
      repeated string labels = 3;
      Returns:
      The count of labels.
    • getLabels

      String getLabels(int index)
       For grouping, e.g. ["segmentation"] or ["denoising", "pretrained"].
       
      repeated string labels = 3;
      Parameters:
      index - The index of the element to return.
      Returns:
      The labels at the given index.
    • getLabelsBytes

      com.google.protobuf.ByteString getLabelsBytes(int index)
       For grouping, e.g. ["segmentation"] or ["denoising", "pretrained"].
       
      repeated string labels = 3;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the labels at the given index.
    • getKwargs

      String getKwargs()
       The non-tensor arguments, written as they'd appear in a call: "name=default"
       per argument, comma-separated, bare "name" when there is no default. This
       is documentation for whoever calls the op, not a value any client parses
       back -- nothing here is typed.
       
      string kwargs = 4;
      Returns:
      The kwargs.
    • getKwargsBytes

      com.google.protobuf.ByteString getKwargsBytes()
       The non-tensor arguments, written as they'd appear in a call: "name=default"
       per argument, comma-separated, bare "name" when there is no default. This
       is documentation for whoever calls the op, not a value any client parses
       back -- nothing here is typed.
       
      string kwargs = 4;
      Returns:
      The bytes for kwargs.
    • getTensorsCount

      int getTensorsCount()
       The tensor arguments.
       
      map<string, .biopb.image.TensorArg> tensors = 5;
    • containsTensors

      boolean containsTensors(String key)
       The tensor arguments.
       
      map<string, .biopb.image.TensorArg> tensors = 5;
    • getTensors

      Deprecated.
      Use getTensorsMap() instead.
    • getTensorsMap

      Map<String,TensorArg> getTensorsMap()
       The tensor arguments.
       
      map<string, .biopb.image.TensorArg> tensors = 5;
    • getTensorsOrDefault

      TensorArg getTensorsOrDefault(String key, TensorArg defaultValue)
       The tensor arguments.
       
      map<string, .biopb.image.TensorArg> tensors = 5;
    • getTensorsOrThrow

      TensorArg getTensorsOrThrow(String key)
       The tensor arguments.
       
      map<string, .biopb.image.TensorArg> tensors = 5;
    • getInputValue

      int getInputValue()
      .biopb.image.OpInfo.InputMode input = 6;
      Returns:
      The enum numeric value on the wire for input.
    • getInput

      OpInfo.InputMode getInput()
      .biopb.image.OpInfo.InputMode input = 6;
      Returns:
      The input.
    • getStreaming

      boolean getStreaming()
       A streaming op sends more than one Event per call (see Event); a plain
       op sends exactly one. Known ahead of the call, not just by making one.
       
      bool streaming = 7;
      Returns:
      The streaming.