Package inference

Class ModelConfigOuterClass.BatchInput

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
inference.ModelConfigOuterClass.BatchInput
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ModelConfigOuterClass.BatchInputOrBuilder, Serializable
Enclosing class:
ModelConfigOuterClass

public static final class ModelConfigOuterClass.BatchInput extends com.google.protobuf.GeneratedMessageV3 implements ModelConfigOuterClass.BatchInputOrBuilder
@@  .. cpp:var:: message BatchInput
@@
@@     A batch input is an additional input that must be added by
@@     the backend based on all the requests in a batch.
@@
 
Protobuf type inference.BatchInput
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getKindValue

      public int getKindValue()
      @@    .. cpp:var:: Kind kind
      @@
      @@       The kind of this batch input.
      @@
       
      .inference.BatchInput.Kind kind = 1;
      Specified by:
      getKindValue in interface ModelConfigOuterClass.BatchInputOrBuilder
      Returns:
      The enum numeric value on the wire for kind.
    • getKind

      @@    .. cpp:var:: Kind kind
      @@
      @@       The kind of this batch input.
      @@
       
      .inference.BatchInput.Kind kind = 1;
      Specified by:
      getKind in interface ModelConfigOuterClass.BatchInputOrBuilder
      Returns:
      The kind.
    • getTargetNameList

      public com.google.protobuf.ProtocolStringList getTargetNameList()
      @@    .. cpp:var:: string target_name (repeated)
      @@
      @@       The name of the model inputs that the backend will create
      @@       for this batch input.
      @@
       
      repeated string target_name = 2;
      Specified by:
      getTargetNameList in interface ModelConfigOuterClass.BatchInputOrBuilder
      Returns:
      A list containing the targetName.
    • getTargetNameCount

      public int getTargetNameCount()
      @@    .. cpp:var:: string target_name (repeated)
      @@
      @@       The name of the model inputs that the backend will create
      @@       for this batch input.
      @@
       
      repeated string target_name = 2;
      Specified by:
      getTargetNameCount in interface ModelConfigOuterClass.BatchInputOrBuilder
      Returns:
      The count of targetName.
    • getTargetName

      public String getTargetName(int index)
      @@    .. cpp:var:: string target_name (repeated)
      @@
      @@       The name of the model inputs that the backend will create
      @@       for this batch input.
      @@
       
      repeated string target_name = 2;
      Specified by:
      getTargetName in interface ModelConfigOuterClass.BatchInputOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The targetName at the given index.
    • getTargetNameBytes

      public com.google.protobuf.ByteString getTargetNameBytes(int index)
      @@    .. cpp:var:: string target_name (repeated)
      @@
      @@       The name of the model inputs that the backend will create
      @@       for this batch input.
      @@
       
      repeated string target_name = 2;
      Specified by:
      getTargetNameBytes in interface ModelConfigOuterClass.BatchInputOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the targetName at the given index.
    • getDataTypeValue

      public int getDataTypeValue()
      @@    .. cpp:var:: DataType data_type
      @@
      @@       The input's datatype. The data type can be TYPE_INT32 or
      @@       TYPE_FP32.
      @@
       
      .inference.DataType data_type = 3;
      Specified by:
      getDataTypeValue in interface ModelConfigOuterClass.BatchInputOrBuilder
      Returns:
      The enum numeric value on the wire for dataType.
    • getDataType

      public ModelConfigOuterClass.DataType getDataType()
      @@    .. cpp:var:: DataType data_type
      @@
      @@       The input's datatype. The data type can be TYPE_INT32 or
      @@       TYPE_FP32.
      @@
       
      .inference.DataType data_type = 3;
      Specified by:
      getDataType in interface ModelConfigOuterClass.BatchInputOrBuilder
      Returns:
      The dataType.
    • getSourceInputList

      public com.google.protobuf.ProtocolStringList getSourceInputList()
      @@    .. cpp:var:: string source_input (repeated)
      @@
      @@       The backend derives the value for each batch input from one or
      @@       more other inputs. 'source_input' gives the names of those
      @@       inputs.
      @@
       
      repeated string source_input = 4;
      Specified by:
      getSourceInputList in interface ModelConfigOuterClass.BatchInputOrBuilder
      Returns:
      A list containing the sourceInput.
    • getSourceInputCount

      public int getSourceInputCount()
      @@    .. cpp:var:: string source_input (repeated)
      @@
      @@       The backend derives the value for each batch input from one or
      @@       more other inputs. 'source_input' gives the names of those
      @@       inputs.
      @@
       
      repeated string source_input = 4;
      Specified by:
      getSourceInputCount in interface ModelConfigOuterClass.BatchInputOrBuilder
      Returns:
      The count of sourceInput.
    • getSourceInput

      public String getSourceInput(int index)
      @@    .. cpp:var:: string source_input (repeated)
      @@
      @@       The backend derives the value for each batch input from one or
      @@       more other inputs. 'source_input' gives the names of those
      @@       inputs.
      @@
       
      repeated string source_input = 4;
      Specified by:
      getSourceInput in interface ModelConfigOuterClass.BatchInputOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The sourceInput at the given index.
    • getSourceInputBytes

      public com.google.protobuf.ByteString getSourceInputBytes(int index)
      @@    .. cpp:var:: string source_input (repeated)
      @@
      @@       The backend derives the value for each batch input from one or
      @@       more other inputs. 'source_input' gives the names of those
      @@       inputs.
      @@
       
      repeated string source_input = 4;
      Specified by:
      getSourceInputBytes in interface ModelConfigOuterClass.BatchInputOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the sourceInput at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • 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.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • 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 ModelConfigOuterClass.BatchInput parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static ModelConfigOuterClass.BatchInput parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static ModelConfigOuterClass.BatchInput parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static ModelConfigOuterClass.BatchInput.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ModelConfigOuterClass.BatchInput.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static ModelConfigOuterClass.BatchInput getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ModelConfigOuterClass.BatchInput> 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.GeneratedMessageV3
    • getDefaultInstanceForType

      public ModelConfigOuterClass.BatchInput getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder