Package viam.app.mlinference.v1
Class MlInference.GetInferenceResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<MlInference.GetInferenceResponse,MlInference.GetInferenceResponse.Builder>
viam.app.mlinference.v1.MlInference.GetInferenceResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,MlInference.GetInferenceResponseOrBuilder
- Enclosing class:
- MlInference.GetInferenceResponse
public static final class MlInference.GetInferenceResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<MlInference.GetInferenceResponse,MlInference.GetInferenceResponse.Builder>
implements MlInference.GetInferenceResponseOrBuilder
Protobuf type
viam.app.mlinference.v1.GetInferenceResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.viam.app.data.v1.Annotations annotations = 2 [json_name = "annotations"];
.viam.service.mlmodel.v1.FlatTensors output_tensors = 1 [json_name = "outputTensors"];
.viam.app.data.v1.Annotations annotations = 2 [json_name = "annotations"];
.viam.service.mlmodel.v1.FlatTensors output_tensors = 1 [json_name = "outputTensors"];
boolean
.viam.app.data.v1.Annotations annotations = 2 [json_name = "annotations"];
boolean
.viam.service.mlmodel.v1.FlatTensors output_tensors = 1 [json_name = "outputTensors"];
mergeAnnotations
(Data.Annotations value) .viam.app.data.v1.Annotations annotations = 2 [json_name = "annotations"];
.viam.service.mlmodel.v1.FlatTensors output_tensors = 1 [json_name = "outputTensors"];
setAnnotations
(Data.Annotations value) .viam.app.data.v1.Annotations annotations = 2 [json_name = "annotations"];
setAnnotations
(Data.Annotations.Builder builderForValue) .viam.app.data.v1.Annotations annotations = 2 [json_name = "annotations"];
.viam.service.mlmodel.v1.FlatTensors output_tensors = 1 [json_name = "outputTensors"];
setOutputTensors
(Mlmodel.FlatTensors.Builder builderForValue) .viam.service.mlmodel.v1.FlatTensors output_tensors = 1 [json_name = "outputTensors"];
Methods 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().viam.service.mlmodel.v1.FlatTensors output_tensors = 1 [json_name = "outputTensors"];
- Specified by:
hasOutputTensors
in interfaceMlInference.GetInferenceResponseOrBuilder
- Returns:
- Whether the outputTensors field is set.
-
getOutputTensors
.viam.service.mlmodel.v1.FlatTensors output_tensors = 1 [json_name = "outputTensors"];
- Specified by:
getOutputTensors
in interfaceMlInference.GetInferenceResponseOrBuilder
- Returns:
- The outputTensors.
-
setOutputTensors
.viam.service.mlmodel.v1.FlatTensors output_tensors = 1 [json_name = "outputTensors"];
-
setOutputTensors
public MlInference.GetInferenceResponse.Builder setOutputTensors(Mlmodel.FlatTensors.Builder builderForValue) .viam.service.mlmodel.v1.FlatTensors output_tensors = 1 [json_name = "outputTensors"];
-
mergeOutputTensors
.viam.service.mlmodel.v1.FlatTensors output_tensors = 1 [json_name = "outputTensors"];
-
clearOutputTensors
.viam.service.mlmodel.v1.FlatTensors output_tensors = 1 [json_name = "outputTensors"];
-
hasAnnotations
public boolean hasAnnotations().viam.app.data.v1.Annotations annotations = 2 [json_name = "annotations"];
- Specified by:
hasAnnotations
in interfaceMlInference.GetInferenceResponseOrBuilder
- Returns:
- Whether the annotations field is set.
-
getAnnotations
.viam.app.data.v1.Annotations annotations = 2 [json_name = "annotations"];
- Specified by:
getAnnotations
in interfaceMlInference.GetInferenceResponseOrBuilder
- Returns:
- The annotations.
-
setAnnotations
.viam.app.data.v1.Annotations annotations = 2 [json_name = "annotations"];
-
setAnnotations
public MlInference.GetInferenceResponse.Builder setAnnotations(Data.Annotations.Builder builderForValue) .viam.app.data.v1.Annotations annotations = 2 [json_name = "annotations"];
-
mergeAnnotations
.viam.app.data.v1.Annotations annotations = 2 [json_name = "annotations"];
-
clearAnnotations
.viam.app.data.v1.Annotations annotations = 2 [json_name = "annotations"];
-