Package tensorflow.serving
Class Predict.PredictRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Predict.PredictRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Predict.PredictRequest.Builder>
tensorflow.serving.Predict.PredictRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Predict.PredictRequestOrBuilder
- Enclosing class:
Predict.PredictRequest
public static final class Predict.PredictRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Predict.PredictRequest.Builder>
implements Predict.PredictRequestOrBuilder
PredictRequest specifies which TensorFlow model to run, as well as how inputs are mapped to tensors and how outputs are filtered before returning to user.Protobuf type
tensorflow.serving.PredictRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllOutputFilter(Iterable<String> values) Output filter.addOutputFilter(String value) Output filter.addOutputFilterBytes(com.google.protobuf.ByteString value) Output filter.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Client identifier to group requests belonging to a specific entity.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Model Specification.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Output filter.Options for streaming requests to control how multiple requests/responses are handled within a single stream.optional .tensorflow.serving.PredictRequest.RequestOptions request_options = 7;clone()booleancontainsInputs(String key) Input tensors.com.google.protobuf.ByteStringClient identifier to group requests belonging to a specific entity.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intInput tensors.Input tensors.getInputsOrDefault(String key, TensorProto defaultValue) Input tensors.getInputsOrThrow(String key) Input tensors.Model Specification.Model Specification.Model Specification.Deprecated.getOutputFilter(int index) Output filter.com.google.protobuf.ByteStringgetOutputFilterBytes(int index) Output filter.intOutput filter.com.google.protobuf.ProtocolStringListOutput filter.Options for streaming requests to control how multiple requests/responses are handled within a single stream.Options for streaming requests to control how multiple requests/responses are handled within a single stream.Options for streaming requests to control how multiple requests/responses are handled within a single stream.optional .tensorflow.serving.PredictRequest.RequestOptions request_options = 7;optional .tensorflow.serving.PredictRequest.RequestOptions request_options = 7;optional .tensorflow.serving.PredictRequest.RequestOptions request_options = 7;booleanClient identifier to group requests belonging to a specific entity.booleanModel Specification.booleanOptions for streaming requests to control how multiple requests/responses are handled within a single stream.booleanoptional .tensorflow.serving.PredictRequest.RequestOptions request_options = 7;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) mergeFrom(Predict.PredictRequest other) mergeModelSpec(Model.ModelSpec value) Model Specification.Options for streaming requests to control how multiple requests/responses are handled within a single stream.optional .tensorflow.serving.PredictRequest.RequestOptions request_options = 7;mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllInputs(Map<String, TensorProto> values) Input tensors.putInputs(String key, TensorProto value) Input tensors.Input tensors.removeInputs(String key) Input tensors.setClientId(com.google.protobuf.ByteString value) Client identifier to group requests belonging to a specific entity.setModelSpec(Model.ModelSpec value) Model Specification.setModelSpec(Model.ModelSpec.Builder builderForValue) Model Specification.setOutputFilter(int index, String value) Output filter.Options for streaming requests to control how multiple requests/responses are handled within a single stream.setPredictStreamedOptions(Predict.PredictStreamedOptions.Builder builderForValue) Options for streaming requests to control how multiple requests/responses are handled within a single stream.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) optional .tensorflow.serving.PredictRequest.RequestOptions request_options = 7;setRequestOptions(Predict.PredictRequest.RequestOptions.Builder builderForValue) optional .tensorflow.serving.PredictRequest.RequestOptions request_options = 7;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<Predict.PredictRequest.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<Predict.PredictRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Predict.PredictRequest.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<Predict.PredictRequest.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<Predict.PredictRequest.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<Predict.PredictRequest.Builder>
-
setField
public Predict.PredictRequest.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<Predict.PredictRequest.Builder>
-
clearField
public Predict.PredictRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Predict.PredictRequest.Builder>
-
clearOneof
public Predict.PredictRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Predict.PredictRequest.Builder>
-
setRepeatedField
public Predict.PredictRequest.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<Predict.PredictRequest.Builder>
-
addRepeatedField
public Predict.PredictRequest.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<Predict.PredictRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Predict.PredictRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Predict.PredictRequest.Builder>
-
mergeFrom
public Predict.PredictRequest.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<Predict.PredictRequest.Builder>- Throws:
IOException
-
hasModelSpec
public boolean hasModelSpec()Model Specification. If version is not specified, will use the latest (numerical) version.
.tensorflow.serving.ModelSpec model_spec = 1;- Specified by:
hasModelSpecin interfacePredict.PredictRequestOrBuilder- Returns:
- Whether the modelSpec field is set.
-
getModelSpec
Model Specification. If version is not specified, will use the latest (numerical) version.
.tensorflow.serving.ModelSpec model_spec = 1;- Specified by:
getModelSpecin interfacePredict.PredictRequestOrBuilder- Returns:
- The modelSpec.
-
setModelSpec
Model Specification. If version is not specified, will use the latest (numerical) version.
.tensorflow.serving.ModelSpec model_spec = 1; -
setModelSpec
Model Specification. If version is not specified, will use the latest (numerical) version.
.tensorflow.serving.ModelSpec model_spec = 1; -
mergeModelSpec
Model Specification. If version is not specified, will use the latest (numerical) version.
.tensorflow.serving.ModelSpec model_spec = 1; -
clearModelSpec
Model Specification. If version is not specified, will use the latest (numerical) version.
.tensorflow.serving.ModelSpec model_spec = 1; -
getModelSpecBuilder
Model Specification. If version is not specified, will use the latest (numerical) version.
.tensorflow.serving.ModelSpec model_spec = 1; -
getModelSpecOrBuilder
Model Specification. If version is not specified, will use the latest (numerical) version.
.tensorflow.serving.ModelSpec model_spec = 1;- Specified by:
getModelSpecOrBuilderin interfacePredict.PredictRequestOrBuilder
-
getInputsCount
public int getInputsCount()Description copied from interface:Predict.PredictRequestOrBuilderInput tensors. Names of input tensor are alias names. The mapping from aliases to real input tensor names is stored in the SavedModel export as a prediction SignatureDef under the 'inputs' field.
map<string, .tensorflow.TensorProto> inputs = 2;- Specified by:
getInputsCountin interfacePredict.PredictRequestOrBuilder
-
containsInputs
Input tensors. Names of input tensor are alias names. The mapping from aliases to real input tensor names is stored in the SavedModel export as a prediction SignatureDef under the 'inputs' field.
map<string, .tensorflow.TensorProto> inputs = 2;- Specified by:
containsInputsin interfacePredict.PredictRequestOrBuilder
-
getInputs
Deprecated.UsegetInputsMap()instead.- Specified by:
getInputsin interfacePredict.PredictRequestOrBuilder
-
getInputsMap
Input tensors. Names of input tensor are alias names. The mapping from aliases to real input tensor names is stored in the SavedModel export as a prediction SignatureDef under the 'inputs' field.
map<string, .tensorflow.TensorProto> inputs = 2;- Specified by:
getInputsMapin interfacePredict.PredictRequestOrBuilder
-
getInputsOrDefault
Input tensors. Names of input tensor are alias names. The mapping from aliases to real input tensor names is stored in the SavedModel export as a prediction SignatureDef under the 'inputs' field.
map<string, .tensorflow.TensorProto> inputs = 2;- Specified by:
getInputsOrDefaultin interfacePredict.PredictRequestOrBuilder
-
getInputsOrThrow
Input tensors. Names of input tensor are alias names. The mapping from aliases to real input tensor names is stored in the SavedModel export as a prediction SignatureDef under the 'inputs' field.
map<string, .tensorflow.TensorProto> inputs = 2;- Specified by:
getInputsOrThrowin interfacePredict.PredictRequestOrBuilder
-
clearInputs
-
removeInputs
Input tensors. Names of input tensor are alias names. The mapping from aliases to real input tensor names is stored in the SavedModel export as a prediction SignatureDef under the 'inputs' field.
map<string, .tensorflow.TensorProto> inputs = 2; -
getMutableInputs
Deprecated.Use alternate mutation accessors instead. -
putInputs
Input tensors. Names of input tensor are alias names. The mapping from aliases to real input tensor names is stored in the SavedModel export as a prediction SignatureDef under the 'inputs' field.
map<string, .tensorflow.TensorProto> inputs = 2; -
putAllInputs
Input tensors. Names of input tensor are alias names. The mapping from aliases to real input tensor names is stored in the SavedModel export as a prediction SignatureDef under the 'inputs' field.
map<string, .tensorflow.TensorProto> inputs = 2; -
putInputsBuilderIfAbsent
Input tensors. Names of input tensor are alias names. The mapping from aliases to real input tensor names is stored in the SavedModel export as a prediction SignatureDef under the 'inputs' field.
map<string, .tensorflow.TensorProto> inputs = 2; -
getOutputFilterList
public com.google.protobuf.ProtocolStringList getOutputFilterList()Output filter. Names specified are alias names. The mapping from aliases to real output tensor names is stored in the SavedModel export as a prediction SignatureDef under the 'outputs' field. Only tensors specified here will be run/fetched and returned, with the exception that when none is specified, all tensors specified in the named signature will be run/fetched and returned.
repeated string output_filter = 3;- Specified by:
getOutputFilterListin interfacePredict.PredictRequestOrBuilder- Returns:
- A list containing the outputFilter.
-
getOutputFilterCount
public int getOutputFilterCount()Output filter. Names specified are alias names. The mapping from aliases to real output tensor names is stored in the SavedModel export as a prediction SignatureDef under the 'outputs' field. Only tensors specified here will be run/fetched and returned, with the exception that when none is specified, all tensors specified in the named signature will be run/fetched and returned.
repeated string output_filter = 3;- Specified by:
getOutputFilterCountin interfacePredict.PredictRequestOrBuilder- Returns:
- The count of outputFilter.
-
getOutputFilter
Output filter. Names specified are alias names. The mapping from aliases to real output tensor names is stored in the SavedModel export as a prediction SignatureDef under the 'outputs' field. Only tensors specified here will be run/fetched and returned, with the exception that when none is specified, all tensors specified in the named signature will be run/fetched and returned.
repeated string output_filter = 3;- Specified by:
getOutputFilterin interfacePredict.PredictRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The outputFilter at the given index.
-
getOutputFilterBytes
public com.google.protobuf.ByteString getOutputFilterBytes(int index) Output filter. Names specified are alias names. The mapping from aliases to real output tensor names is stored in the SavedModel export as a prediction SignatureDef under the 'outputs' field. Only tensors specified here will be run/fetched and returned, with the exception that when none is specified, all tensors specified in the named signature will be run/fetched and returned.
repeated string output_filter = 3;- Specified by:
getOutputFilterBytesin interfacePredict.PredictRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the outputFilter at the given index.
-
setOutputFilter
Output filter. Names specified are alias names. The mapping from aliases to real output tensor names is stored in the SavedModel export as a prediction SignatureDef under the 'outputs' field. Only tensors specified here will be run/fetched and returned, with the exception that when none is specified, all tensors specified in the named signature will be run/fetched and returned.
repeated string output_filter = 3;- Parameters:
index- The index to set the value at.value- The outputFilter to set.- Returns:
- This builder for chaining.
-
addOutputFilter
Output filter. Names specified are alias names. The mapping from aliases to real output tensor names is stored in the SavedModel export as a prediction SignatureDef under the 'outputs' field. Only tensors specified here will be run/fetched and returned, with the exception that when none is specified, all tensors specified in the named signature will be run/fetched and returned.
repeated string output_filter = 3;- Parameters:
value- The outputFilter to add.- Returns:
- This builder for chaining.
-
addAllOutputFilter
Output filter. Names specified are alias names. The mapping from aliases to real output tensor names is stored in the SavedModel export as a prediction SignatureDef under the 'outputs' field. Only tensors specified here will be run/fetched and returned, with the exception that when none is specified, all tensors specified in the named signature will be run/fetched and returned.
repeated string output_filter = 3;- Parameters:
values- The outputFilter to add.- Returns:
- This builder for chaining.
-
clearOutputFilter
Output filter. Names specified are alias names. The mapping from aliases to real output tensor names is stored in the SavedModel export as a prediction SignatureDef under the 'outputs' field. Only tensors specified here will be run/fetched and returned, with the exception that when none is specified, all tensors specified in the named signature will be run/fetched and returned.
repeated string output_filter = 3;- Returns:
- This builder for chaining.
-
addOutputFilterBytes
Output filter. Names specified are alias names. The mapping from aliases to real output tensor names is stored in the SavedModel export as a prediction SignatureDef under the 'outputs' field. Only tensors specified here will be run/fetched and returned, with the exception that when none is specified, all tensors specified in the named signature will be run/fetched and returned.
repeated string output_filter = 3;- Parameters:
value- The bytes of the outputFilter to add.- Returns:
- This builder for chaining.
-
hasPredictStreamedOptions
public boolean hasPredictStreamedOptions()Options for streaming requests to control how multiple requests/responses are handled within a single stream.
.tensorflow.serving.PredictStreamedOptions predict_streamed_options = 5;- Specified by:
hasPredictStreamedOptionsin interfacePredict.PredictRequestOrBuilder- Returns:
- Whether the predictStreamedOptions field is set.
-
getPredictStreamedOptions
Options for streaming requests to control how multiple requests/responses are handled within a single stream.
.tensorflow.serving.PredictStreamedOptions predict_streamed_options = 5;- Specified by:
getPredictStreamedOptionsin interfacePredict.PredictRequestOrBuilder- Returns:
- The predictStreamedOptions.
-
setPredictStreamedOptions
public Predict.PredictRequest.Builder setPredictStreamedOptions(Predict.PredictStreamedOptions value) Options for streaming requests to control how multiple requests/responses are handled within a single stream.
.tensorflow.serving.PredictStreamedOptions predict_streamed_options = 5; -
setPredictStreamedOptions
public Predict.PredictRequest.Builder setPredictStreamedOptions(Predict.PredictStreamedOptions.Builder builderForValue) Options for streaming requests to control how multiple requests/responses are handled within a single stream.
.tensorflow.serving.PredictStreamedOptions predict_streamed_options = 5; -
mergePredictStreamedOptions
public Predict.PredictRequest.Builder mergePredictStreamedOptions(Predict.PredictStreamedOptions value) Options for streaming requests to control how multiple requests/responses are handled within a single stream.
.tensorflow.serving.PredictStreamedOptions predict_streamed_options = 5; -
clearPredictStreamedOptions
Options for streaming requests to control how multiple requests/responses are handled within a single stream.
.tensorflow.serving.PredictStreamedOptions predict_streamed_options = 5; -
getPredictStreamedOptionsBuilder
Options for streaming requests to control how multiple requests/responses are handled within a single stream.
.tensorflow.serving.PredictStreamedOptions predict_streamed_options = 5; -
getPredictStreamedOptionsOrBuilder
Options for streaming requests to control how multiple requests/responses are handled within a single stream.
.tensorflow.serving.PredictStreamedOptions predict_streamed_options = 5;- Specified by:
getPredictStreamedOptionsOrBuilderin interfacePredict.PredictRequestOrBuilder
-
hasClientId
public boolean hasClientId()Client identifier to group requests belonging to a specific entity. Example entities can be product ids, service names, user ids etc. Servers can use this to optimize placement, caching and colocation. TODO(b/329897437): Migrate to client_id in RequestOptions.
optional bytes client_id = 6;- Specified by:
hasClientIdin interfacePredict.PredictRequestOrBuilder- Returns:
- Whether the clientId field is set.
-
getClientId
public com.google.protobuf.ByteString getClientId()Client identifier to group requests belonging to a specific entity. Example entities can be product ids, service names, user ids etc. Servers can use this to optimize placement, caching and colocation. TODO(b/329897437): Migrate to client_id in RequestOptions.
optional bytes client_id = 6;- Specified by:
getClientIdin interfacePredict.PredictRequestOrBuilder- Returns:
- The clientId.
-
setClientId
Client identifier to group requests belonging to a specific entity. Example entities can be product ids, service names, user ids etc. Servers can use this to optimize placement, caching and colocation. TODO(b/329897437): Migrate to client_id in RequestOptions.
optional bytes client_id = 6;- Parameters:
value- The clientId to set.- Returns:
- This builder for chaining.
-
clearClientId
Client identifier to group requests belonging to a specific entity. Example entities can be product ids, service names, user ids etc. Servers can use this to optimize placement, caching and colocation. TODO(b/329897437): Migrate to client_id in RequestOptions.
optional bytes client_id = 6;- Returns:
- This builder for chaining.
-
hasRequestOptions
public boolean hasRequestOptions()optional .tensorflow.serving.PredictRequest.RequestOptions request_options = 7;- Specified by:
hasRequestOptionsin interfacePredict.PredictRequestOrBuilder- Returns:
- Whether the requestOptions field is set.
-
getRequestOptions
optional .tensorflow.serving.PredictRequest.RequestOptions request_options = 7;- Specified by:
getRequestOptionsin interfacePredict.PredictRequestOrBuilder- Returns:
- The requestOptions.
-
setRequestOptions
public Predict.PredictRequest.Builder setRequestOptions(Predict.PredictRequest.RequestOptions value) optional .tensorflow.serving.PredictRequest.RequestOptions request_options = 7; -
setRequestOptions
public Predict.PredictRequest.Builder setRequestOptions(Predict.PredictRequest.RequestOptions.Builder builderForValue) optional .tensorflow.serving.PredictRequest.RequestOptions request_options = 7; -
mergeRequestOptions
public Predict.PredictRequest.Builder mergeRequestOptions(Predict.PredictRequest.RequestOptions value) optional .tensorflow.serving.PredictRequest.RequestOptions request_options = 7; -
clearRequestOptions
optional .tensorflow.serving.PredictRequest.RequestOptions request_options = 7; -
getRequestOptionsBuilder
optional .tensorflow.serving.PredictRequest.RequestOptions request_options = 7; -
getRequestOptionsOrBuilder
optional .tensorflow.serving.PredictRequest.RequestOptions request_options = 7;- Specified by:
getRequestOptionsOrBuilderin interfacePredict.PredictRequestOrBuilder
-
setUnknownFields
public final Predict.PredictRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Predict.PredictRequest.Builder>
-
mergeUnknownFields
public final Predict.PredictRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Predict.PredictRequest.Builder>
-