Package inference

Class ModelConfigOuterClass.ModelEnsembling.Step

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

public static final class ModelConfigOuterClass.ModelEnsembling.Step extends com.google.protobuf.GeneratedMessageV3 implements ModelConfigOuterClass.ModelEnsembling.StepOrBuilder
@@  .. cpp:var:: message Step
@@
@@     Each step specifies a model included in the ensemble,
@@     maps ensemble tensor names to the model input tensors,
@@     and maps model output tensors to ensemble tensor names
@@
 
Protobuf type inference.ModelEnsembling.Step
See Also:
  • Field Details

    • MODEL_NAME_FIELD_NUMBER

      public static final int MODEL_NAME_FIELD_NUMBER
      See Also:
    • MODEL_VERSION_FIELD_NUMBER

      public static final int MODEL_VERSION_FIELD_NUMBER
      See Also:
    • INPUT_MAP_FIELD_NUMBER

      public static final int INPUT_MAP_FIELD_NUMBER
      See Also:
    • OUTPUT_MAP_FIELD_NUMBER

      public static final int OUTPUT_MAP_FIELD_NUMBER
      See Also:
    • MODEL_NAMESPACE_FIELD_NUMBER

      public static final int MODEL_NAMESPACE_FIELD_NUMBER
      See Also:
  • 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()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

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

      public String getModelName()
      @@  .. cpp:var:: string model_name
      @@
      @@     The name of the model to execute for this step of the ensemble.
      @@
       
      string model_name = 1;
      Specified by:
      getModelName in interface ModelConfigOuterClass.ModelEnsembling.StepOrBuilder
      Returns:
      The modelName.
    • getModelNameBytes

      public com.google.protobuf.ByteString getModelNameBytes()
      @@  .. cpp:var:: string model_name
      @@
      @@     The name of the model to execute for this step of the ensemble.
      @@
       
      string model_name = 1;
      Specified by:
      getModelNameBytes in interface ModelConfigOuterClass.ModelEnsembling.StepOrBuilder
      Returns:
      The bytes for modelName.
    • getModelVersion

      public long getModelVersion()
      @@  .. cpp:var:: int64 model_version
      @@
      @@     The version of the model to use for inference. If -1
      @@     the latest/most-recent version of the model is used.
      @@
       
      int64 model_version = 2;
      Specified by:
      getModelVersion in interface ModelConfigOuterClass.ModelEnsembling.StepOrBuilder
      Returns:
      The modelVersion.
    • getInputMapCount

      public int getInputMapCount()
      Description copied from interface: ModelConfigOuterClass.ModelEnsembling.StepOrBuilder
      @@  .. cpp:var:: map<string,string> input_map
      @@
      @@     Map from name of an input tensor on this step's model to ensemble
      @@     tensor name. The ensemble tensor must have the same data type and
      @@     shape as the model input. Each model input must be assigned to
      @@     one ensemble tensor, but the same ensemble tensor can be assigned
      @@     to multiple model inputs.
      @@
       
      map<string, string> input_map = 3;
      Specified by:
      getInputMapCount in interface ModelConfigOuterClass.ModelEnsembling.StepOrBuilder
    • containsInputMap

      public boolean containsInputMap(String key)
      @@  .. cpp:var:: map<string,string> input_map
      @@
      @@     Map from name of an input tensor on this step's model to ensemble
      @@     tensor name. The ensemble tensor must have the same data type and
      @@     shape as the model input. Each model input must be assigned to
      @@     one ensemble tensor, but the same ensemble tensor can be assigned
      @@     to multiple model inputs.
      @@
       
      map<string, string> input_map = 3;
      Specified by:
      containsInputMap in interface ModelConfigOuterClass.ModelEnsembling.StepOrBuilder
    • getInputMap

      @Deprecated public Map<String,String> getInputMap()
      Deprecated.
      Use getInputMapMap() instead.
      Specified by:
      getInputMap in interface ModelConfigOuterClass.ModelEnsembling.StepOrBuilder
    • getInputMapMap

      public Map<String,String> getInputMapMap()
      @@  .. cpp:var:: map<string,string> input_map
      @@
      @@     Map from name of an input tensor on this step's model to ensemble
      @@     tensor name. The ensemble tensor must have the same data type and
      @@     shape as the model input. Each model input must be assigned to
      @@     one ensemble tensor, but the same ensemble tensor can be assigned
      @@     to multiple model inputs.
      @@
       
      map<string, string> input_map = 3;
      Specified by:
      getInputMapMap in interface ModelConfigOuterClass.ModelEnsembling.StepOrBuilder
    • getInputMapOrDefault

      public String getInputMapOrDefault(String key, String defaultValue)
      @@  .. cpp:var:: map<string,string> input_map
      @@
      @@     Map from name of an input tensor on this step's model to ensemble
      @@     tensor name. The ensemble tensor must have the same data type and
      @@     shape as the model input. Each model input must be assigned to
      @@     one ensemble tensor, but the same ensemble tensor can be assigned
      @@     to multiple model inputs.
      @@
       
      map<string, string> input_map = 3;
      Specified by:
      getInputMapOrDefault in interface ModelConfigOuterClass.ModelEnsembling.StepOrBuilder
    • getInputMapOrThrow

      public String getInputMapOrThrow(String key)
      @@  .. cpp:var:: map<string,string> input_map
      @@
      @@     Map from name of an input tensor on this step's model to ensemble
      @@     tensor name. The ensemble tensor must have the same data type and
      @@     shape as the model input. Each model input must be assigned to
      @@     one ensemble tensor, but the same ensemble tensor can be assigned
      @@     to multiple model inputs.
      @@
       
      map<string, string> input_map = 3;
      Specified by:
      getInputMapOrThrow in interface ModelConfigOuterClass.ModelEnsembling.StepOrBuilder
    • getOutputMapCount

      public int getOutputMapCount()
      Description copied from interface: ModelConfigOuterClass.ModelEnsembling.StepOrBuilder
      @@  .. cpp:var:: map<string,string> output_map
      @@
      @@     Map from name of an output tensor on this step's model to ensemble
      @@     tensor name. The data type and shape of the ensemble tensor will
      @@     be inferred from the model output. It is optional to assign all
      @@     model outputs to ensemble tensors. One ensemble tensor name
      @@     can appear in an output map only once.
      @@
       
      map<string, string> output_map = 4;
      Specified by:
      getOutputMapCount in interface ModelConfigOuterClass.ModelEnsembling.StepOrBuilder
    • containsOutputMap

      public boolean containsOutputMap(String key)
      @@  .. cpp:var:: map<string,string> output_map
      @@
      @@     Map from name of an output tensor on this step's model to ensemble
      @@     tensor name. The data type and shape of the ensemble tensor will
      @@     be inferred from the model output. It is optional to assign all
      @@     model outputs to ensemble tensors. One ensemble tensor name
      @@     can appear in an output map only once.
      @@
       
      map<string, string> output_map = 4;
      Specified by:
      containsOutputMap in interface ModelConfigOuterClass.ModelEnsembling.StepOrBuilder
    • getOutputMap

      @Deprecated public Map<String,String> getOutputMap()
      Deprecated.
      Use getOutputMapMap() instead.
      Specified by:
      getOutputMap in interface ModelConfigOuterClass.ModelEnsembling.StepOrBuilder
    • getOutputMapMap

      public Map<String,String> getOutputMapMap()
      @@  .. cpp:var:: map<string,string> output_map
      @@
      @@     Map from name of an output tensor on this step's model to ensemble
      @@     tensor name. The data type and shape of the ensemble tensor will
      @@     be inferred from the model output. It is optional to assign all
      @@     model outputs to ensemble tensors. One ensemble tensor name
      @@     can appear in an output map only once.
      @@
       
      map<string, string> output_map = 4;
      Specified by:
      getOutputMapMap in interface ModelConfigOuterClass.ModelEnsembling.StepOrBuilder
    • getOutputMapOrDefault

      public String getOutputMapOrDefault(String key, String defaultValue)
      @@  .. cpp:var:: map<string,string> output_map
      @@
      @@     Map from name of an output tensor on this step's model to ensemble
      @@     tensor name. The data type and shape of the ensemble tensor will
      @@     be inferred from the model output. It is optional to assign all
      @@     model outputs to ensemble tensors. One ensemble tensor name
      @@     can appear in an output map only once.
      @@
       
      map<string, string> output_map = 4;
      Specified by:
      getOutputMapOrDefault in interface ModelConfigOuterClass.ModelEnsembling.StepOrBuilder
    • getOutputMapOrThrow

      public String getOutputMapOrThrow(String key)
      @@  .. cpp:var:: map<string,string> output_map
      @@
      @@     Map from name of an output tensor on this step's model to ensemble
      @@     tensor name. The data type and shape of the ensemble tensor will
      @@     be inferred from the model output. It is optional to assign all
      @@     model outputs to ensemble tensors. One ensemble tensor name
      @@     can appear in an output map only once.
      @@
       
      map<string, string> output_map = 4;
      Specified by:
      getOutputMapOrThrow in interface ModelConfigOuterClass.ModelEnsembling.StepOrBuilder
    • getModelNamespace

      public String getModelNamespace()
      @@  .. cpp:var:: string model_namespace
      @@
      @@     [RESERVED] currently this field is reserved for internal use, users
      @@     must not set any value to this field to avoid unexpected behavior.
      @@
       
      string model_namespace = 5;
      Specified by:
      getModelNamespace in interface ModelConfigOuterClass.ModelEnsembling.StepOrBuilder
      Returns:
      The modelNamespace.
    • getModelNamespaceBytes

      public com.google.protobuf.ByteString getModelNamespaceBytes()
      @@  .. cpp:var:: string model_namespace
      @@
      @@     [RESERVED] currently this field is reserved for internal use, users
      @@     must not set any value to this field to avoid unexpected behavior.
      @@
       
      string model_namespace = 5;
      Specified by:
      getModelNamespaceBytes in interface ModelConfigOuterClass.ModelEnsembling.StepOrBuilder
      Returns:
      The bytes for modelNamespace.
    • 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.ModelEnsembling.Step parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static ModelConfigOuterClass.ModelEnsembling.Step 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.ModelEnsembling.Step parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

    • newBuilder

    • toBuilder

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

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

      public static ModelConfigOuterClass.ModelEnsembling.Step getDefaultInstance()
    • parser

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

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