Package tensorflow.serving
Interface Classification.ClassificationRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Classification.ClassificationRequest,Classification.ClassificationRequest.Builder
- Enclosing class:
Classification
public static interface Classification.ClassificationRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasModelSpec
boolean hasModelSpec()Model Specification. If version is not specified, will use the latest (numerical) version.
.tensorflow.serving.ModelSpec model_spec = 1;- Returns:
- Whether the modelSpec field is set.
-
getModelSpec
Model.ModelSpec getModelSpec()Model Specification. If version is not specified, will use the latest (numerical) version.
.tensorflow.serving.ModelSpec model_spec = 1;- Returns:
- The modelSpec.
-
getModelSpecOrBuilder
Model.ModelSpecOrBuilder getModelSpecOrBuilder()Model Specification. If version is not specified, will use the latest (numerical) version.
.tensorflow.serving.ModelSpec model_spec = 1; -
hasInput
boolean hasInput()Input data.
.tensorflow.serving.Input input = 2;- Returns:
- Whether the input field is set.
-
getInput
InputOuterClass.Input getInput()Input data.
.tensorflow.serving.Input input = 2;- Returns:
- The input.
-
getInputOrBuilder
InputOuterClass.InputOrBuilder getInputOrBuilder()Input data.
.tensorflow.serving.Input input = 2;
-