Interface TensorFlowServingEndpointBuilderFactory.TensorFlowServingEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
TensorFlowServingEndpointBuilderFactory
public static interface TensorFlowServingEndpointBuilderFactory.TensorFlowServingEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the TensorFlow Serving component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()credentials(io.grpc.ChannelCredentials credentials) The credentials of the client.credentials(String credentials) The credentials of the client.Required servable name.modelVersion(Long modelVersion) Optional choice of which version of the model to use.modelVersion(String modelVersion) Optional choice of which version of the model to use.modelVersionLabel(String modelVersionLabel) Optional choice of which version of the model to use.signatureName(String signatureName) A named signature to evaluate.The target URI of the client.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
modelName
default TensorFlowServingEndpointBuilderFactory.TensorFlowServingEndpointBuilder modelName(String modelName) Required servable name. The option is a:java.lang.Stringtype. Group: common- Parameters:
modelName- the value to set- Returns:
- the dsl builder
-
modelVersion
default TensorFlowServingEndpointBuilderFactory.TensorFlowServingEndpointBuilder modelVersion(Long modelVersion) Optional choice of which version of the model to use. Use this specific version number. The option is a:java.lang.Longtype. Group: common- Parameters:
modelVersion- the value to set- Returns:
- the dsl builder
-
modelVersion
default TensorFlowServingEndpointBuilderFactory.TensorFlowServingEndpointBuilder modelVersion(String modelVersion) Optional choice of which version of the model to use. Use this specific version number. The option will be converted to ajava.lang.Longtype. Group: common- Parameters:
modelVersion- the value to set- Returns:
- the dsl builder
-
modelVersionLabel
default TensorFlowServingEndpointBuilderFactory.TensorFlowServingEndpointBuilder modelVersionLabel(String modelVersionLabel) Optional choice of which version of the model to use. Use the version associated with the given label. The option is a:java.lang.Stringtype. Group: common- Parameters:
modelVersionLabel- the value to set- Returns:
- the dsl builder
-
signatureName
default TensorFlowServingEndpointBuilderFactory.TensorFlowServingEndpointBuilder signatureName(String signatureName) A named signature to evaluate. If unspecified, the default signature will be used. The option is a:java.lang.Stringtype. Group: common- Parameters:
signatureName- the value to set- Returns:
- the dsl builder
-
target
default TensorFlowServingEndpointBuilderFactory.TensorFlowServingEndpointBuilder target(String target) 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. The option is a:java.lang.Stringtype. Default: localhost:8500 Group: common- Parameters:
target- the value to set- Returns:
- the dsl builder
-
credentials
default TensorFlowServingEndpointBuilderFactory.TensorFlowServingEndpointBuilder credentials(io.grpc.ChannelCredentials credentials) The credentials of the client. The option is a:io.grpc.ChannelCredentialstype. Group: security- Parameters:
credentials- the value to set- Returns:
- the dsl builder
-
credentials
default TensorFlowServingEndpointBuilderFactory.TensorFlowServingEndpointBuilder credentials(String credentials) The credentials of the client. The option will be converted to aio.grpc.ChannelCredentialstype. Group: security- Parameters:
credentials- the value to set- Returns:
- the dsl builder
-