Package com.viam.service.mlmodel.v1
Class Mlmodel.InferResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Mlmodel.InferResponse,Mlmodel.InferResponse.Builder>
com.viam.service.mlmodel.v1.Mlmodel.InferResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Mlmodel.InferResponseOrBuilder
,Cloneable
- Enclosing class:
- Mlmodel.InferResponse
public static final class Mlmodel.InferResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Mlmodel.InferResponse,Mlmodel.InferResponse.Builder>
implements Mlmodel.InferResponseOrBuilder
Protobuf type
viam.service.mlmodel.v1.InferResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionthe output data is provided as a set of named flat tensorsthe output data is provided as a set of named flat tensorsboolean
the output data is provided as a set of named flat tensorsthe output data is provided as a set of named flat tensorsthe output data is provided as a set of named flat tensorssetOutputTensors
(Mlmodel.FlatTensors.Builder builderForValue) the output data is provided as a set of named flat tensorsMethods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasOutputTensors
public boolean hasOutputTensors()the output data is provided as a set of named flat tensors
.viam.service.mlmodel.v1.FlatTensors output_tensors = 3 [json_name = "outputTensors"];
- Specified by:
hasOutputTensors
in interfaceMlmodel.InferResponseOrBuilder
- Returns:
- Whether the outputTensors field is set.
-
getOutputTensors
the output data is provided as a set of named flat tensors
.viam.service.mlmodel.v1.FlatTensors output_tensors = 3 [json_name = "outputTensors"];
- Specified by:
getOutputTensors
in interfaceMlmodel.InferResponseOrBuilder
- Returns:
- The outputTensors.
-
setOutputTensors
the output data is provided as a set of named flat tensors
.viam.service.mlmodel.v1.FlatTensors output_tensors = 3 [json_name = "outputTensors"];
-
setOutputTensors
the output data is provided as a set of named flat tensors
.viam.service.mlmodel.v1.FlatTensors output_tensors = 3 [json_name = "outputTensors"];
-
mergeOutputTensors
the output data is provided as a set of named flat tensors
.viam.service.mlmodel.v1.FlatTensors output_tensors = 3 [json_name = "outputTensors"];
-
clearOutputTensors
the output data is provided as a set of named flat tensors
.viam.service.mlmodel.v1.FlatTensors output_tensors = 3 [json_name = "outputTensors"];
-