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 Summary
Modifier and TypeMethodDescriptionaddAllInputs(Iterable<? extends GrpcService.ModelInferRequest.InferInputTensor> values) @@ @@ ..addAllOutputs(Iterable<? extends GrpcService.ModelInferRequest.InferRequestedOutputTensor> values) @@ @@ ..addAllRawInputContents(Iterable<? extends com.google.protobuf.ByteString> values) @@ @@ ..addInputs(int index, GrpcService.ModelInferRequest.InferInputTensor value) @@ @@ ..addInputs(int index, GrpcService.ModelInferRequest.InferInputTensor.Builder builderForValue) @@ @@ ..@@ @@ ..addInputs(GrpcService.ModelInferRequest.InferInputTensor.Builder builderForValue) @@ @@ ..@@ @@ ..addInputsBuilder(int index) @@ @@ ..addOutputs(int index, GrpcService.ModelInferRequest.InferRequestedOutputTensor value) @@ @@ ..addOutputs(int index, GrpcService.ModelInferRequest.InferRequestedOutputTensor.Builder builderForValue) @@ @@ ..@@ @@ ..@@ @@ ..@@ @@ ..addOutputsBuilder(int index) @@ @@ ..addRawInputContents(com.google.protobuf.ByteString value) @@ @@ ..addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()@@ ..@@ @@ ..@@ ..@@ ..clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) @@ @@ ..@@ @@ ..clone()booleancontainsParameters(String key) @@ ..static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetId()@@ ..com.google.protobuf.ByteString@@ ..getInputs(int index) @@ @@ ..getInputsBuilder(int index) @@ @@ ..@@ @@ ..int@@ @@ ..@@ @@ ..getInputsOrBuilder(int index) @@ @@ ..@@ @@ ..@@ ..com.google.protobuf.ByteString@@ ..@@ ..com.google.protobuf.ByteString@@ ..Deprecated.getOutputs(int index) @@ @@ ..getOutputsBuilder(int index) @@ @@ ..@@ @@ ..int@@ @@ ..@@ @@ ..getOutputsOrBuilder(int index) @@ @@ ..@@ @@ ..Deprecated.int@@ ..@@ ..getParametersOrDefault(String key, GrpcService.InferParameter defaultValue) @@ ..@@ ..com.google.protobuf.ByteStringgetRawInputContents(int index) @@ @@ ..int@@ @@ ..List<com.google.protobuf.ByteString> @@ @@ ..protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) @@ ..putParameters(String key, GrpcService.InferParameter value) @@ ..@@ ..removeInputs(int index) @@ @@ ..removeOutputs(int index) @@ @@ ..removeParameters(String key) @@ ..@@ ..setIdBytes(com.google.protobuf.ByteString value) @@ ..setInputs(int index, GrpcService.ModelInferRequest.InferInputTensor value) @@ @@ ..setInputs(int index, GrpcService.ModelInferRequest.InferInputTensor.Builder builderForValue) @@ @@ ..setModelName(String value) @@ ..setModelNameBytes(com.google.protobuf.ByteString value) @@ ..setModelVersion(String value) @@ ..setModelVersionBytes(com.google.protobuf.ByteString value) @@ ..setOutputs(int index, GrpcService.ModelInferRequest.InferRequestedOutputTensor value) @@ @@ ..setOutputs(int index, GrpcService.ModelInferRequest.InferRequestedOutputTensor.Builder builderForValue) @@ @@ ..setRawInputContents(int index, com.google.protobuf.ByteString value) @@ @@ ..setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>
-
setField
public GrpcService.ModelInferRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>
-
clearField
public GrpcService.ModelInferRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>
-
clearOneof
public GrpcService.ModelInferRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>
-
addRepeatedField
public GrpcService.ModelInferRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GrpcService.ModelInferRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GrpcService.ModelInferRequest.Builder>- Throws:
IOException
-
getModelName
@@ .. cpp:var:: string model_name @@ @@ The name of the model to use for inferencing. @@
string model_name = 1;- Specified by:
getModelNamein interfaceGrpcService.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:
getModelNameBytesin interfaceGrpcService.ModelInferRequestOrBuilder- Returns:
- The bytes for modelName.
-
setModelName
@@ .. 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
@@ .. 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
@@ .. 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:
getModelVersionin interfaceGrpcService.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:
getModelVersionBytesin interfaceGrpcService.ModelInferRequestOrBuilder- Returns:
- The bytes for modelVersion.
-
setModelVersion
@@ .. 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
@@ .. 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
@@ .. cpp:var:: string id @@ @@ Optional identifier for the request. If specified will be @@ returned in the response. @@
string id = 3;- Specified by:
getIdin interfaceGrpcService.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:
getIdBytesin interfaceGrpcService.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
@@ .. 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:
getParametersCountin interfaceGrpcService.ModelInferRequestOrBuilder
-
containsParameters
@@ .. cpp:var:: map<string,InferParameter> parameters @@ @@ Optional inference parameters. @@
map<string, .inference.InferParameter> parameters = 4;- Specified by:
containsParametersin interfaceGrpcService.ModelInferRequestOrBuilder
-
getParameters
Deprecated.UsegetParametersMap()instead.- Specified by:
getParametersin interfaceGrpcService.ModelInferRequestOrBuilder
-
getParametersMap
@@ .. cpp:var:: map<string,InferParameter> parameters @@ @@ Optional inference parameters. @@
map<string, .inference.InferParameter> parameters = 4;- Specified by:
getParametersMapin interfaceGrpcService.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:
getParametersOrDefaultin interfaceGrpcService.ModelInferRequestOrBuilder
-
getParametersOrThrow
@@ .. cpp:var:: map<string,InferParameter> parameters @@ @@ Optional inference parameters. @@
map<string, .inference.InferParameter> parameters = 4;- Specified by:
getParametersOrThrowin interfaceGrpcService.ModelInferRequestOrBuilder
-
clearParameters
-
removeParameters
@@ .. cpp:var:: map<string,InferParameter> parameters @@ @@ Optional inference parameters. @@
map<string, .inference.InferParameter> parameters = 4; -
getMutableParameters
Deprecated.Use alternate mutation accessors instead. -
putParameters
public GrpcService.ModelInferRequest.Builder putParameters(String key, GrpcService.InferParameter value) @@ .. cpp:var:: map<string,InferParameter> parameters @@ @@ Optional inference parameters. @@
map<string, .inference.InferParameter> parameters = 4; -
putAllParameters
public GrpcService.ModelInferRequest.Builder putAllParameters(Map<String, GrpcService.InferParameter> values) @@ .. cpp:var:: map<string,InferParameter> parameters @@ @@ Optional inference parameters. @@
map<string, .inference.InferParameter> parameters = 4; -
putParametersBuilderIfAbsent
@@ .. 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:
getInputsListin interfaceGrpcService.ModelInferRequestOrBuilder
-
getInputsCount
public int getInputsCount()@@ @@ .. cpp:var:: InferInputTensor inputs (repeated) @@ @@ The input tensors for the inference. @@
repeated .inference.ModelInferRequest.InferInputTensor inputs = 5;- Specified by:
getInputsCountin interfaceGrpcService.ModelInferRequestOrBuilder
-
getInputs
@@ @@ .. cpp:var:: InferInputTensor inputs (repeated) @@ @@ The input tensors for the inference. @@
repeated .inference.ModelInferRequest.InferInputTensor inputs = 5;- Specified by:
getInputsin interfaceGrpcService.ModelInferRequestOrBuilder
-
setInputs
public GrpcService.ModelInferRequest.Builder setInputs(int index, GrpcService.ModelInferRequest.InferInputTensor value) @@ @@ .. cpp:var:: InferInputTensor inputs (repeated) @@ @@ The input tensors for the inference. @@
repeated .inference.ModelInferRequest.InferInputTensor inputs = 5; -
setInputs
public GrpcService.ModelInferRequest.Builder setInputs(int index, GrpcService.ModelInferRequest.InferInputTensor.Builder builderForValue) @@ @@ .. cpp:var:: InferInputTensor inputs (repeated) @@ @@ The input tensors for the inference. @@
repeated .inference.ModelInferRequest.InferInputTensor inputs = 5; -
addInputs
public GrpcService.ModelInferRequest.Builder addInputs(GrpcService.ModelInferRequest.InferInputTensor value) @@ @@ .. cpp:var:: InferInputTensor inputs (repeated) @@ @@ The input tensors for the inference. @@
repeated .inference.ModelInferRequest.InferInputTensor inputs = 5; -
addInputs
public GrpcService.ModelInferRequest.Builder addInputs(int index, GrpcService.ModelInferRequest.InferInputTensor value) @@ @@ .. cpp:var:: InferInputTensor inputs (repeated) @@ @@ The input tensors for the inference. @@
repeated .inference.ModelInferRequest.InferInputTensor inputs = 5; -
addInputs
public GrpcService.ModelInferRequest.Builder addInputs(GrpcService.ModelInferRequest.InferInputTensor.Builder builderForValue) @@ @@ .. cpp:var:: InferInputTensor inputs (repeated) @@ @@ The input tensors for the inference. @@
repeated .inference.ModelInferRequest.InferInputTensor inputs = 5; -
addInputs
public GrpcService.ModelInferRequest.Builder addInputs(int index, GrpcService.ModelInferRequest.InferInputTensor.Builder builderForValue) @@ @@ .. cpp:var:: InferInputTensor inputs (repeated) @@ @@ The input tensors for the inference. @@
repeated .inference.ModelInferRequest.InferInputTensor inputs = 5; -
addAllInputs
public GrpcService.ModelInferRequest.Builder addAllInputs(Iterable<? extends GrpcService.ModelInferRequest.InferInputTensor> values) @@ @@ .. 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
@@ @@ .. cpp:var:: InferInputTensor inputs (repeated) @@ @@ The input tensors for the inference. @@
repeated .inference.ModelInferRequest.InferInputTensor inputs = 5; -
getInputsBuilder
@@ @@ .. cpp:var:: InferInputTensor inputs (repeated) @@ @@ The input tensors for the inference. @@
repeated .inference.ModelInferRequest.InferInputTensor inputs = 5; -
getInputsOrBuilder
@@ @@ .. cpp:var:: InferInputTensor inputs (repeated) @@ @@ The input tensors for the inference. @@
repeated .inference.ModelInferRequest.InferInputTensor inputs = 5;- Specified by:
getInputsOrBuilderin interfaceGrpcService.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:
getInputsOrBuilderListin interfaceGrpcService.ModelInferRequestOrBuilder
-
addInputsBuilder
@@ @@ .. cpp:var:: InferInputTensor inputs (repeated) @@ @@ The input tensors for the inference. @@
repeated .inference.ModelInferRequest.InferInputTensor inputs = 5; -
addInputsBuilder
@@ @@ .. 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:
getOutputsListin interfaceGrpcService.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:
getOutputsCountin interfaceGrpcService.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:
getOutputsin interfaceGrpcService.ModelInferRequestOrBuilder
-
setOutputs
public GrpcService.ModelInferRequest.Builder setOutputs(int index, GrpcService.ModelInferRequest.InferRequestedOutputTensor value) @@ @@ .. 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
public GrpcService.ModelInferRequest.Builder setOutputs(int index, GrpcService.ModelInferRequest.InferRequestedOutputTensor.Builder builderForValue) @@ @@ .. 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
public GrpcService.ModelInferRequest.Builder addOutputs(GrpcService.ModelInferRequest.InferRequestedOutputTensor value) @@ @@ .. 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
public GrpcService.ModelInferRequest.Builder addOutputs(int index, GrpcService.ModelInferRequest.InferRequestedOutputTensor value) @@ @@ .. 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
public GrpcService.ModelInferRequest.Builder addOutputs(GrpcService.ModelInferRequest.InferRequestedOutputTensor.Builder builderForValue) @@ @@ .. 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
public GrpcService.ModelInferRequest.Builder addOutputs(int index, GrpcService.ModelInferRequest.InferRequestedOutputTensor.Builder builderForValue) @@ @@ .. 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
public GrpcService.ModelInferRequest.Builder addAllOutputs(Iterable<? extends GrpcService.ModelInferRequest.InferRequestedOutputTensor> values) @@ @@ .. 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
@@ @@ .. 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
public GrpcService.ModelInferRequest.InferRequestedOutputTensor.Builder getOutputsBuilder(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; -
getOutputsOrBuilder
public GrpcService.ModelInferRequest.InferRequestedOutputTensorOrBuilder getOutputsOrBuilder(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;- Specified by:
getOutputsOrBuilderin interfaceGrpcService.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:
getOutputsOrBuilderListin interfaceGrpcService.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
public GrpcService.ModelInferRequest.InferRequestedOutputTensor.Builder addOutputsBuilder(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; -
getOutputsBuilderList
public List<GrpcService.ModelInferRequest.InferRequestedOutputTensor.Builder> 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
@@ @@ .. 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:
getRawInputContentsListin interfaceGrpcService.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:
getRawInputContentsCountin interfaceGrpcService.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:
getRawInputContentsin interfaceGrpcService.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
@@ @@ .. 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>
-
mergeUnknownFields
public final GrpcService.ModelInferRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.ModelInferRequest.Builder>
-