Package com.viam.service.mlmodel.v1
Interface Mlmodel.InferRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Mlmodel.InferRequest,Mlmodel.InferRequest.Builder
- Enclosing class:
- Mlmodel
public static interface Mlmodel.InferRequestOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.StructgetExtra()Additional arguments to the methodthe input data is provided as set of named flat tensorsgetName()name of the model servicecom.google.protobuf.ByteStringname of the model servicebooleanhasExtra()Additional arguments to the methodbooleanthe input data is provided as set of named flat tensorsMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getName
String getName()name of the model service
string name = 1 [json_name = "name"];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()name of the model service
string name = 1 [json_name = "name"];- Returns:
- The bytes for name.
-
hasInputTensors
boolean hasInputTensors()the input data is provided as set of named flat tensors
.viam.service.mlmodel.v1.FlatTensors input_tensors = 3 [json_name = "inputTensors"];- Returns:
- Whether the inputTensors field is set.
-
getInputTensors
Mlmodel.FlatTensors getInputTensors()the input data is provided as set of named flat tensors
.viam.service.mlmodel.v1.FlatTensors input_tensors = 3 [json_name = "inputTensors"];- Returns:
- The inputTensors.
-
hasExtra
boolean hasExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];- Returns:
- Whether the extra field is set.
-
getExtra
com.google.protobuf.Struct getExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];- Returns:
- The extra.
-