Package inference

Class GrpcService.ModelInferRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GrpcService.ModelInferRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>
inference.GrpcService.ModelInferRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GrpcService.ModelInferRequestOrBuilder, Cloneable
Enclosing class:
GrpcService.ModelInferRequest

public static final class GrpcService.ModelInferRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder> implements GrpcService.ModelInferRequestOrBuilder
@@
@@.. cpp:var:: message ModelInferRequest
@@
@@   Request message for ModelInfer.
@@
 
Protobuf type inference.ModelInferRequest
  • 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.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>
    • getDefaultInstanceForType

      public GrpcService.ModelInferRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public GrpcService.ModelInferRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>
    • setField

      public GrpcService.ModelInferRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>
    • clearField

      public GrpcService.ModelInferRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>
    • clearOneof

      public GrpcService.ModelInferRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>
    • setRepeatedField

      public GrpcService.ModelInferRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>
    • addRepeatedField

      public GrpcService.ModelInferRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>
    • mergeFrom

      public GrpcService.ModelInferRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GrpcService.ModelInferRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>
    • mergeFrom

      public GrpcService.ModelInferRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GrpcService.ModelInferRequest.Builder>
      Throws:
      IOException
    • getModelName

      public String getModelName()
      @@  .. cpp:var:: string model_name
      @@
      @@     The name of the model to use for inferencing.
      @@
       
      string model_name = 1;
      Specified by:
      getModelName in interface GrpcService.ModelInferRequestOrBuilder
      Returns:
      The modelName.
    • getModelNameBytes

      public com.google.protobuf.ByteString getModelNameBytes()
      @@  .. cpp:var:: string model_name
      @@
      @@     The name of the model to use for inferencing.
      @@
       
      string model_name = 1;
      Specified by:
      getModelNameBytes in interface GrpcService.ModelInferRequestOrBuilder
      Returns:
      The bytes for modelName.
    • setModelName

      public GrpcService.ModelInferRequest.Builder setModelName(String value)
      @@  .. cpp:var:: string model_name
      @@
      @@     The name of the model to use for inferencing.
      @@
       
      string model_name = 1;
      Parameters:
      value - The modelName to set.
      Returns:
      This builder for chaining.
    • clearModelName

      public GrpcService.ModelInferRequest.Builder clearModelName()
      @@  .. cpp:var:: string model_name
      @@
      @@     The name of the model to use for inferencing.
      @@
       
      string model_name = 1;
      Returns:
      This builder for chaining.
    • setModelNameBytes

      public GrpcService.ModelInferRequest.Builder setModelNameBytes(com.google.protobuf.ByteString value)
      @@  .. cpp:var:: string model_name
      @@
      @@     The name of the model to use for inferencing.
      @@
       
      string model_name = 1;
      Parameters:
      value - The bytes for modelName to set.
      Returns:
      This builder for chaining.
    • getModelVersion

      public String getModelVersion()
      @@  .. cpp:var:: string model_version
      @@
      @@     The version of the model to use for inference. If not
      @@     given the latest/most-recent version of the model is used.
      @@
       
      string model_version = 2;
      Specified by:
      getModelVersion in interface GrpcService.ModelInferRequestOrBuilder
      Returns:
      The modelVersion.
    • getModelVersionBytes

      public com.google.protobuf.ByteString getModelVersionBytes()
      @@  .. cpp:var:: string model_version
      @@
      @@     The version of the model to use for inference. If not
      @@     given the latest/most-recent version of the model is used.
      @@
       
      string model_version = 2;
      Specified by:
      getModelVersionBytes in interface GrpcService.ModelInferRequestOrBuilder
      Returns:
      The bytes for modelVersion.
    • setModelVersion

      public GrpcService.ModelInferRequest.Builder setModelVersion(String value)
      @@  .. cpp:var:: string model_version
      @@
      @@     The version of the model to use for inference. If not
      @@     given the latest/most-recent version of the model is used.
      @@
       
      string model_version = 2;
      Parameters:
      value - The modelVersion to set.
      Returns:
      This builder for chaining.
    • clearModelVersion

      public GrpcService.ModelInferRequest.Builder clearModelVersion()
      @@  .. cpp:var:: string model_version
      @@
      @@     The version of the model to use for inference. If not
      @@     given the latest/most-recent version of the model is used.
      @@
       
      string model_version = 2;
      Returns:
      This builder for chaining.
    • setModelVersionBytes

      public GrpcService.ModelInferRequest.Builder setModelVersionBytes(com.google.protobuf.ByteString value)
      @@  .. cpp:var:: string model_version
      @@
      @@     The version of the model to use for inference. If not
      @@     given the latest/most-recent version of the model is used.
      @@
       
      string model_version = 2;
      Parameters:
      value - The bytes for modelVersion to set.
      Returns:
      This builder for chaining.
    • getId

      public String getId()
      @@  .. cpp:var:: string id
      @@
      @@     Optional identifier for the request. If specified will be
      @@     returned in the response.
      @@
       
      string id = 3;
      Specified by:
      getId in interface GrpcService.ModelInferRequestOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      @@  .. cpp:var:: string id
      @@
      @@     Optional identifier for the request. If specified will be
      @@     returned in the response.
      @@
       
      string id = 3;
      Specified by:
      getIdBytes in interface GrpcService.ModelInferRequestOrBuilder
      Returns:
      The bytes for id.
    • setId

      @@  .. cpp:var:: string id
      @@
      @@     Optional identifier for the request. If specified will be
      @@     returned in the response.
      @@
       
      string id = 3;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      @@  .. cpp:var:: string id
      @@
      @@     Optional identifier for the request. If specified will be
      @@     returned in the response.
      @@
       
      string id = 3;
      Returns:
      This builder for chaining.
    • setIdBytes

      public GrpcService.ModelInferRequest.Builder setIdBytes(com.google.protobuf.ByteString value)
      @@  .. cpp:var:: string id
      @@
      @@     Optional identifier for the request. If specified will be
      @@     returned in the response.
      @@
       
      string id = 3;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getParametersCount

      public int getParametersCount()
      Description copied from interface: GrpcService.ModelInferRequestOrBuilder
      @@  .. cpp:var:: map<string,InferParameter> parameters
      @@
      @@     Optional inference parameters.
      @@
       
      map<string, .inference.InferParameter> parameters = 4;
      Specified by:
      getParametersCount in interface GrpcService.ModelInferRequestOrBuilder
    • containsParameters

      public boolean containsParameters(String key)
      @@  .. cpp:var:: map<string,InferParameter> parameters
      @@
      @@     Optional inference parameters.
      @@
       
      map<string, .inference.InferParameter> parameters = 4;
      Specified by:
      containsParameters in interface GrpcService.ModelInferRequestOrBuilder
    • getParameters

      Deprecated.
      Use getParametersMap() instead.
      Specified by:
      getParameters in interface GrpcService.ModelInferRequestOrBuilder
    • getParametersMap

      public Map<String,GrpcService.InferParameter> getParametersMap()
      @@  .. cpp:var:: map<string,InferParameter> parameters
      @@
      @@     Optional inference parameters.
      @@
       
      map<string, .inference.InferParameter> parameters = 4;
      Specified by:
      getParametersMap in interface GrpcService.ModelInferRequestOrBuilder
    • getParametersOrDefault

      public GrpcService.InferParameter getParametersOrDefault(String key, GrpcService.InferParameter defaultValue)
      @@  .. cpp:var:: map<string,InferParameter> parameters
      @@
      @@     Optional inference parameters.
      @@
       
      map<string, .inference.InferParameter> parameters = 4;
      Specified by:
      getParametersOrDefault in interface GrpcService.ModelInferRequestOrBuilder
    • getParametersOrThrow

      public GrpcService.InferParameter getParametersOrThrow(String key)
      @@  .. cpp:var:: map<string,InferParameter> parameters
      @@
      @@     Optional inference parameters.
      @@
       
      map<string, .inference.InferParameter> parameters = 4;
      Specified by:
      getParametersOrThrow in interface GrpcService.ModelInferRequestOrBuilder
    • clearParameters

      public GrpcService.ModelInferRequest.Builder clearParameters()
    • removeParameters

      public GrpcService.ModelInferRequest.Builder removeParameters(String key)
      @@  .. cpp:var:: map<string,InferParameter> parameters
      @@
      @@     Optional inference parameters.
      @@
       
      map<string, .inference.InferParameter> parameters = 4;
    • getMutableParameters

      @Deprecated public Map<String,GrpcService.InferParameter> getMutableParameters()
      Deprecated.
      Use alternate mutation accessors instead.
    • putParameters

      @@  .. cpp:var:: map<string,InferParameter> parameters
      @@
      @@     Optional inference parameters.
      @@
       
      map<string, .inference.InferParameter> parameters = 4;
    • putAllParameters

      @@  .. cpp:var:: map<string,InferParameter> parameters
      @@
      @@     Optional inference parameters.
      @@
       
      map<string, .inference.InferParameter> parameters = 4;
    • putParametersBuilderIfAbsent

      public GrpcService.InferParameter.Builder putParametersBuilderIfAbsent(String key)
      @@  .. cpp:var:: map<string,InferParameter> parameters
      @@
      @@     Optional inference parameters.
      @@
       
      map<string, .inference.InferParameter> parameters = 4;
    • getInputsList

      @@
      @@  .. cpp:var:: InferInputTensor inputs (repeated)
      @@
      @@     The input tensors for the inference.
      @@
       
      repeated .inference.ModelInferRequest.InferInputTensor inputs = 5;
      Specified by:
      getInputsList in interface GrpcService.ModelInferRequestOrBuilder
    • getInputsCount

      public int getInputsCount()
      @@
      @@  .. cpp:var:: InferInputTensor inputs (repeated)
      @@
      @@     The input tensors for the inference.
      @@
       
      repeated .inference.ModelInferRequest.InferInputTensor inputs = 5;
      Specified by:
      getInputsCount in interface GrpcService.ModelInferRequestOrBuilder
    • getInputs

      public GrpcService.ModelInferRequest.InferInputTensor getInputs(int index)
      @@
      @@  .. cpp:var:: InferInputTensor inputs (repeated)
      @@
      @@     The input tensors for the inference.
      @@
       
      repeated .inference.ModelInferRequest.InferInputTensor inputs = 5;
      Specified by:
      getInputs in interface GrpcService.ModelInferRequestOrBuilder
    • setInputs

      @@
      @@  .. cpp:var:: InferInputTensor inputs (repeated)
      @@
      @@     The input tensors for the inference.
      @@
       
      repeated .inference.ModelInferRequest.InferInputTensor inputs = 5;
    • setInputs

      @@
      @@  .. cpp:var:: InferInputTensor inputs (repeated)
      @@
      @@     The input tensors for the inference.
      @@
       
      repeated .inference.ModelInferRequest.InferInputTensor inputs = 5;
    • addInputs

      @@
      @@  .. cpp:var:: InferInputTensor inputs (repeated)
      @@
      @@     The input tensors for the inference.
      @@
       
      repeated .inference.ModelInferRequest.InferInputTensor inputs = 5;
    • addInputs

      @@
      @@  .. cpp:var:: InferInputTensor inputs (repeated)
      @@
      @@     The input tensors for the inference.
      @@
       
      repeated .inference.ModelInferRequest.InferInputTensor inputs = 5;
    • addInputs

      @@
      @@  .. cpp:var:: InferInputTensor inputs (repeated)
      @@
      @@     The input tensors for the inference.
      @@
       
      repeated .inference.ModelInferRequest.InferInputTensor inputs = 5;
    • addInputs

      @@
      @@  .. cpp:var:: InferInputTensor inputs (repeated)
      @@
      @@     The input tensors for the inference.
      @@
       
      repeated .inference.ModelInferRequest.InferInputTensor inputs = 5;
    • addAllInputs

      @@
      @@  .. cpp:var:: InferInputTensor inputs (repeated)
      @@
      @@     The input tensors for the inference.
      @@
       
      repeated .inference.ModelInferRequest.InferInputTensor inputs = 5;
    • clearInputs

      @@
      @@  .. cpp:var:: InferInputTensor inputs (repeated)
      @@
      @@     The input tensors for the inference.
      @@
       
      repeated .inference.ModelInferRequest.InferInputTensor inputs = 5;
    • removeInputs

      public GrpcService.ModelInferRequest.Builder removeInputs(int index)
      @@
      @@  .. cpp:var:: InferInputTensor inputs (repeated)
      @@
      @@     The input tensors for the inference.
      @@
       
      repeated .inference.ModelInferRequest.InferInputTensor inputs = 5;
    • getInputsBuilder

      public GrpcService.ModelInferRequest.InferInputTensor.Builder getInputsBuilder(int index)
      @@
      @@  .. cpp:var:: InferInputTensor inputs (repeated)
      @@
      @@     The input tensors for the inference.
      @@
       
      repeated .inference.ModelInferRequest.InferInputTensor inputs = 5;
    • getInputsOrBuilder

      public GrpcService.ModelInferRequest.InferInputTensorOrBuilder getInputsOrBuilder(int index)
      @@
      @@  .. cpp:var:: InferInputTensor inputs (repeated)
      @@
      @@     The input tensors for the inference.
      @@
       
      repeated .inference.ModelInferRequest.InferInputTensor inputs = 5;
      Specified by:
      getInputsOrBuilder in interface GrpcService.ModelInferRequestOrBuilder
    • getInputsOrBuilderList

      public List<? extends GrpcService.ModelInferRequest.InferInputTensorOrBuilder> getInputsOrBuilderList()
      @@
      @@  .. cpp:var:: InferInputTensor inputs (repeated)
      @@
      @@     The input tensors for the inference.
      @@
       
      repeated .inference.ModelInferRequest.InferInputTensor inputs = 5;
      Specified by:
      getInputsOrBuilderList in interface GrpcService.ModelInferRequestOrBuilder
    • addInputsBuilder

      @@
      @@  .. cpp:var:: InferInputTensor inputs (repeated)
      @@
      @@     The input tensors for the inference.
      @@
       
      repeated .inference.ModelInferRequest.InferInputTensor inputs = 5;
    • addInputsBuilder

      public GrpcService.ModelInferRequest.InferInputTensor.Builder addInputsBuilder(int index)
      @@
      @@  .. cpp:var:: InferInputTensor inputs (repeated)
      @@
      @@     The input tensors for the inference.
      @@
       
      repeated .inference.ModelInferRequest.InferInputTensor inputs = 5;
    • getInputsBuilderList

      @@
      @@  .. cpp:var:: InferInputTensor inputs (repeated)
      @@
      @@     The input tensors for the inference.
      @@
       
      repeated .inference.ModelInferRequest.InferInputTensor inputs = 5;
    • getOutputsList

      @@
      @@  .. cpp:var:: InferRequestedOutputTensor outputs (repeated)
      @@
      @@     The requested output tensors for the inference. Optional, if not
      @@     specified all outputs specified in the model config will be
      @@     returned.
      @@
       
      repeated .inference.ModelInferRequest.InferRequestedOutputTensor outputs = 6;
      Specified by:
      getOutputsList in interface GrpcService.ModelInferRequestOrBuilder
    • getOutputsCount

      public int getOutputsCount()
      @@
      @@  .. cpp:var:: InferRequestedOutputTensor outputs (repeated)
      @@
      @@     The requested output tensors for the inference. Optional, if not
      @@     specified all outputs specified in the model config will be
      @@     returned.
      @@
       
      repeated .inference.ModelInferRequest.InferRequestedOutputTensor outputs = 6;
      Specified by:
      getOutputsCount in interface GrpcService.ModelInferRequestOrBuilder
    • getOutputs

      @@
      @@  .. cpp:var:: InferRequestedOutputTensor outputs (repeated)
      @@
      @@     The requested output tensors for the inference. Optional, if not
      @@     specified all outputs specified in the model config will be
      @@     returned.
      @@
       
      repeated .inference.ModelInferRequest.InferRequestedOutputTensor outputs = 6;
      Specified by:
      getOutputs in interface GrpcService.ModelInferRequestOrBuilder
    • setOutputs

      @@
      @@  .. cpp:var:: InferRequestedOutputTensor outputs (repeated)
      @@
      @@     The requested output tensors for the inference. Optional, if not
      @@     specified all outputs specified in the model config will be
      @@     returned.
      @@
       
      repeated .inference.ModelInferRequest.InferRequestedOutputTensor outputs = 6;
    • setOutputs

      @@
      @@  .. cpp:var:: InferRequestedOutputTensor outputs (repeated)
      @@
      @@     The requested output tensors for the inference. Optional, if not
      @@     specified all outputs specified in the model config will be
      @@     returned.
      @@
       
      repeated .inference.ModelInferRequest.InferRequestedOutputTensor outputs = 6;
    • addOutputs

      @@
      @@  .. cpp:var:: InferRequestedOutputTensor outputs (repeated)
      @@
      @@     The requested output tensors for the inference. Optional, if not
      @@     specified all outputs specified in the model config will be
      @@     returned.
      @@
       
      repeated .inference.ModelInferRequest.InferRequestedOutputTensor outputs = 6;
    • addOutputs

      @@
      @@  .. cpp:var:: InferRequestedOutputTensor outputs (repeated)
      @@
      @@     The requested output tensors for the inference. Optional, if not
      @@     specified all outputs specified in the model config will be
      @@     returned.
      @@
       
      repeated .inference.ModelInferRequest.InferRequestedOutputTensor outputs = 6;
    • addOutputs

      @@
      @@  .. cpp:var:: InferRequestedOutputTensor outputs (repeated)
      @@
      @@     The requested output tensors for the inference. Optional, if not
      @@     specified all outputs specified in the model config will be
      @@     returned.
      @@
       
      repeated .inference.ModelInferRequest.InferRequestedOutputTensor outputs = 6;
    • addOutputs

      @@
      @@  .. cpp:var:: InferRequestedOutputTensor outputs (repeated)
      @@
      @@     The requested output tensors for the inference. Optional, if not
      @@     specified all outputs specified in the model config will be
      @@     returned.
      @@
       
      repeated .inference.ModelInferRequest.InferRequestedOutputTensor outputs = 6;
    • addAllOutputs

      @@
      @@  .. cpp:var:: InferRequestedOutputTensor outputs (repeated)
      @@
      @@     The requested output tensors for the inference. Optional, if not
      @@     specified all outputs specified in the model config will be
      @@     returned.
      @@
       
      repeated .inference.ModelInferRequest.InferRequestedOutputTensor outputs = 6;
    • clearOutputs

      @@
      @@  .. cpp:var:: InferRequestedOutputTensor outputs (repeated)
      @@
      @@     The requested output tensors for the inference. Optional, if not
      @@     specified all outputs specified in the model config will be
      @@     returned.
      @@
       
      repeated .inference.ModelInferRequest.InferRequestedOutputTensor outputs = 6;
    • removeOutputs

      public GrpcService.ModelInferRequest.Builder removeOutputs(int index)
      @@
      @@  .. cpp:var:: InferRequestedOutputTensor outputs (repeated)
      @@
      @@     The requested output tensors for the inference. Optional, if not
      @@     specified all outputs specified in the model config will be
      @@     returned.
      @@
       
      repeated .inference.ModelInferRequest.InferRequestedOutputTensor outputs = 6;
    • getOutputsBuilder

      @@
      @@  .. cpp:var:: InferRequestedOutputTensor outputs (repeated)
      @@
      @@     The requested output tensors for the inference. Optional, if not
      @@     specified all outputs specified in the model config will be
      @@     returned.
      @@
       
      repeated .inference.ModelInferRequest.InferRequestedOutputTensor outputs = 6;
    • getOutputsOrBuilder

      @@
      @@  .. cpp:var:: InferRequestedOutputTensor outputs (repeated)
      @@
      @@     The requested output tensors for the inference. Optional, if not
      @@     specified all outputs specified in the model config will be
      @@     returned.
      @@
       
      repeated .inference.ModelInferRequest.InferRequestedOutputTensor outputs = 6;
      Specified by:
      getOutputsOrBuilder in interface GrpcService.ModelInferRequestOrBuilder
    • getOutputsOrBuilderList

      public List<? extends GrpcService.ModelInferRequest.InferRequestedOutputTensorOrBuilder> getOutputsOrBuilderList()
      @@
      @@  .. cpp:var:: InferRequestedOutputTensor outputs (repeated)
      @@
      @@     The requested output tensors for the inference. Optional, if not
      @@     specified all outputs specified in the model config will be
      @@     returned.
      @@
       
      repeated .inference.ModelInferRequest.InferRequestedOutputTensor outputs = 6;
      Specified by:
      getOutputsOrBuilderList in interface GrpcService.ModelInferRequestOrBuilder
    • addOutputsBuilder

      @@
      @@  .. cpp:var:: InferRequestedOutputTensor outputs (repeated)
      @@
      @@     The requested output tensors for the inference. Optional, if not
      @@     specified all outputs specified in the model config will be
      @@     returned.
      @@
       
      repeated .inference.ModelInferRequest.InferRequestedOutputTensor outputs = 6;
    • addOutputsBuilder

      @@
      @@  .. cpp:var:: InferRequestedOutputTensor outputs (repeated)
      @@
      @@     The requested output tensors for the inference. Optional, if not
      @@     specified all outputs specified in the model config will be
      @@     returned.
      @@
       
      repeated .inference.ModelInferRequest.InferRequestedOutputTensor outputs = 6;
    • getOutputsBuilderList

      @@
      @@  .. cpp:var:: InferRequestedOutputTensor outputs (repeated)
      @@
      @@     The requested output tensors for the inference. Optional, if not
      @@     specified all outputs specified in the model config will be
      @@     returned.
      @@
       
      repeated .inference.ModelInferRequest.InferRequestedOutputTensor outputs = 6;
    • getRawInputContentsList

      public List<com.google.protobuf.ByteString> getRawInputContentsList()
      @@
      @@  .. cpp:var:: bytes raw_input_contents
      @@
      @@     The data contained in an input tensor can be represented in
      @@     "raw" bytes form or in the repeated type that matches the
      @@     tensor's data type. Using the "raw" bytes form will
      @@     typically allow higher performance due to the way protobuf
      @@     allocation and reuse interacts with GRPC. For example, see
      @@     https://github.com/grpc/grpc/issues/23231.
      @@
      @@     To use the raw representation 'raw_input_contents' must be
      @@     initialized with data for each tensor in the same order as
      @@     'inputs'. For each tensor, the size of this content must
      @@     match what is expected by the tensor's shape and data
      @@     type. The raw data must be the flattened, one-dimensional,
      @@     row-major order of the tensor elements without any stride
      @@     or padding between the elements. Note that the FP16 and BF16 data
      @@     types must be represented as raw content as there is no
      @@     specific data type for a 16-bit float type.
      @@
      @@     If this field is specified then InferInputTensor::contents
      @@     must not be specified for any input tensor.
      @@
       
      repeated bytes raw_input_contents = 7;
      Specified by:
      getRawInputContentsList in interface GrpcService.ModelInferRequestOrBuilder
      Returns:
      A list containing the rawInputContents.
    • getRawInputContentsCount

      public int getRawInputContentsCount()
      @@
      @@  .. cpp:var:: bytes raw_input_contents
      @@
      @@     The data contained in an input tensor can be represented in
      @@     "raw" bytes form or in the repeated type that matches the
      @@     tensor's data type. Using the "raw" bytes form will
      @@     typically allow higher performance due to the way protobuf
      @@     allocation and reuse interacts with GRPC. For example, see
      @@     https://github.com/grpc/grpc/issues/23231.
      @@
      @@     To use the raw representation 'raw_input_contents' must be
      @@     initialized with data for each tensor in the same order as
      @@     'inputs'. For each tensor, the size of this content must
      @@     match what is expected by the tensor's shape and data
      @@     type. The raw data must be the flattened, one-dimensional,
      @@     row-major order of the tensor elements without any stride
      @@     or padding between the elements. Note that the FP16 and BF16 data
      @@     types must be represented as raw content as there is no
      @@     specific data type for a 16-bit float type.
      @@
      @@     If this field is specified then InferInputTensor::contents
      @@     must not be specified for any input tensor.
      @@
       
      repeated bytes raw_input_contents = 7;
      Specified by:
      getRawInputContentsCount in interface GrpcService.ModelInferRequestOrBuilder
      Returns:
      The count of rawInputContents.
    • getRawInputContents

      public com.google.protobuf.ByteString getRawInputContents(int index)
      @@
      @@  .. cpp:var:: bytes raw_input_contents
      @@
      @@     The data contained in an input tensor can be represented in
      @@     "raw" bytes form or in the repeated type that matches the
      @@     tensor's data type. Using the "raw" bytes form will
      @@     typically allow higher performance due to the way protobuf
      @@     allocation and reuse interacts with GRPC. For example, see
      @@     https://github.com/grpc/grpc/issues/23231.
      @@
      @@     To use the raw representation 'raw_input_contents' must be
      @@     initialized with data for each tensor in the same order as
      @@     'inputs'. For each tensor, the size of this content must
      @@     match what is expected by the tensor's shape and data
      @@     type. The raw data must be the flattened, one-dimensional,
      @@     row-major order of the tensor elements without any stride
      @@     or padding between the elements. Note that the FP16 and BF16 data
      @@     types must be represented as raw content as there is no
      @@     specific data type for a 16-bit float type.
      @@
      @@     If this field is specified then InferInputTensor::contents
      @@     must not be specified for any input tensor.
      @@
       
      repeated bytes raw_input_contents = 7;
      Specified by:
      getRawInputContents in interface GrpcService.ModelInferRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The rawInputContents at the given index.
    • setRawInputContents

      public GrpcService.ModelInferRequest.Builder setRawInputContents(int index, com.google.protobuf.ByteString value)
      @@
      @@  .. cpp:var:: bytes raw_input_contents
      @@
      @@     The data contained in an input tensor can be represented in
      @@     "raw" bytes form or in the repeated type that matches the
      @@     tensor's data type. Using the "raw" bytes form will
      @@     typically allow higher performance due to the way protobuf
      @@     allocation and reuse interacts with GRPC. For example, see
      @@     https://github.com/grpc/grpc/issues/23231.
      @@
      @@     To use the raw representation 'raw_input_contents' must be
      @@     initialized with data for each tensor in the same order as
      @@     'inputs'. For each tensor, the size of this content must
      @@     match what is expected by the tensor's shape and data
      @@     type. The raw data must be the flattened, one-dimensional,
      @@     row-major order of the tensor elements without any stride
      @@     or padding between the elements. Note that the FP16 and BF16 data
      @@     types must be represented as raw content as there is no
      @@     specific data type for a 16-bit float type.
      @@
      @@     If this field is specified then InferInputTensor::contents
      @@     must not be specified for any input tensor.
      @@
       
      repeated bytes raw_input_contents = 7;
      Parameters:
      index - The index to set the value at.
      value - The rawInputContents to set.
      Returns:
      This builder for chaining.
    • addRawInputContents

      public GrpcService.ModelInferRequest.Builder addRawInputContents(com.google.protobuf.ByteString value)
      @@
      @@  .. cpp:var:: bytes raw_input_contents
      @@
      @@     The data contained in an input tensor can be represented in
      @@     "raw" bytes form or in the repeated type that matches the
      @@     tensor's data type. Using the "raw" bytes form will
      @@     typically allow higher performance due to the way protobuf
      @@     allocation and reuse interacts with GRPC. For example, see
      @@     https://github.com/grpc/grpc/issues/23231.
      @@
      @@     To use the raw representation 'raw_input_contents' must be
      @@     initialized with data for each tensor in the same order as
      @@     'inputs'. For each tensor, the size of this content must
      @@     match what is expected by the tensor's shape and data
      @@     type. The raw data must be the flattened, one-dimensional,
      @@     row-major order of the tensor elements without any stride
      @@     or padding between the elements. Note that the FP16 and BF16 data
      @@     types must be represented as raw content as there is no
      @@     specific data type for a 16-bit float type.
      @@
      @@     If this field is specified then InferInputTensor::contents
      @@     must not be specified for any input tensor.
      @@
       
      repeated bytes raw_input_contents = 7;
      Parameters:
      value - The rawInputContents to add.
      Returns:
      This builder for chaining.
    • addAllRawInputContents

      public GrpcService.ModelInferRequest.Builder addAllRawInputContents(Iterable<? extends com.google.protobuf.ByteString> values)
      @@
      @@  .. cpp:var:: bytes raw_input_contents
      @@
      @@     The data contained in an input tensor can be represented in
      @@     "raw" bytes form or in the repeated type that matches the
      @@     tensor's data type. Using the "raw" bytes form will
      @@     typically allow higher performance due to the way protobuf
      @@     allocation and reuse interacts with GRPC. For example, see
      @@     https://github.com/grpc/grpc/issues/23231.
      @@
      @@     To use the raw representation 'raw_input_contents' must be
      @@     initialized with data for each tensor in the same order as
      @@     'inputs'. For each tensor, the size of this content must
      @@     match what is expected by the tensor's shape and data
      @@     type. The raw data must be the flattened, one-dimensional,
      @@     row-major order of the tensor elements without any stride
      @@     or padding between the elements. Note that the FP16 and BF16 data
      @@     types must be represented as raw content as there is no
      @@     specific data type for a 16-bit float type.
      @@
      @@     If this field is specified then InferInputTensor::contents
      @@     must not be specified for any input tensor.
      @@
       
      repeated bytes raw_input_contents = 7;
      Parameters:
      values - The rawInputContents to add.
      Returns:
      This builder for chaining.
    • clearRawInputContents

      public GrpcService.ModelInferRequest.Builder clearRawInputContents()
      @@
      @@  .. cpp:var:: bytes raw_input_contents
      @@
      @@     The data contained in an input tensor can be represented in
      @@     "raw" bytes form or in the repeated type that matches the
      @@     tensor's data type. Using the "raw" bytes form will
      @@     typically allow higher performance due to the way protobuf
      @@     allocation and reuse interacts with GRPC. For example, see
      @@     https://github.com/grpc/grpc/issues/23231.
      @@
      @@     To use the raw representation 'raw_input_contents' must be
      @@     initialized with data for each tensor in the same order as
      @@     'inputs'. For each tensor, the size of this content must
      @@     match what is expected by the tensor's shape and data
      @@     type. The raw data must be the flattened, one-dimensional,
      @@     row-major order of the tensor elements without any stride
      @@     or padding between the elements. Note that the FP16 and BF16 data
      @@     types must be represented as raw content as there is no
      @@     specific data type for a 16-bit float type.
      @@
      @@     If this field is specified then InferInputTensor::contents
      @@     must not be specified for any input tensor.
      @@
       
      repeated bytes raw_input_contents = 7;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final GrpcService.ModelInferRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>
    • mergeUnknownFields

      public final GrpcService.ModelInferRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>