Class TensorFlowServingConfiguration
java.lang.Object
org.apache.camel.component.tensorflow.serving.TensorFlowServingConfiguration
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()io.grpc.ChannelCredentialsvoidsetCredentials(io.grpc.ChannelCredentials credentials) The credentials of the client.voidsetModelName(String modelName) Required servable name.voidsetModelVersion(Long modelVersion) Optional choice of which version of the model to use.voidsetModelVersionLabel(String modelVersionLabel) Optional choice of which version of the model to use.voidsetSignatureName(String signatureName) A named signature to evaluate.voidThe target URI of the client.
-
Constructor Details
-
TensorFlowServingConfiguration
public TensorFlowServingConfiguration()
-
-
Method Details
-
getTarget
-
setTarget
The target URI of the client. See: https://grpc.github.io/grpc-java/javadoc/io/grpc/Grpc.html#newChannelBuilder%28java.lang.String,io.grpc.ChannelCredentials%29 -
getCredentials
public io.grpc.ChannelCredentials getCredentials() -
setCredentials
public void setCredentials(io.grpc.ChannelCredentials credentials) The credentials of the client. -
getModelName
-
setModelName
Required servable name. -
getModelVersion
-
setModelVersion
Optional choice of which version of the model to use. Use this specific version number. -
getModelVersionLabel
-
setModelVersionLabel
Optional choice of which version of the model to use. Use the version associated with the given label. -
getSignatureName
-
setSignatureName
A named signature to evaluate. If unspecified, the default signature will be used. -
copy
-