Package tensorflow.serving
Interface Classification.ClassificationResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Classification.ClassificationResponse,Classification.ClassificationResponse.Builder
- Enclosing class:
Classification
public static interface Classification.ClassificationResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionEffective Model Specification used for classification.Effective Model Specification used for classification.Result of the classification.Result of the classification.booleanEffective Model Specification used for classification.booleanResult of the classification.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()Effective Model Specification used for classification.
.tensorflow.serving.ModelSpec model_spec = 2;- Returns:
- Whether the modelSpec field is set.
-
getModelSpec
Model.ModelSpec getModelSpec()Effective Model Specification used for classification.
.tensorflow.serving.ModelSpec model_spec = 2;- Returns:
- The modelSpec.
-
getModelSpecOrBuilder
Model.ModelSpecOrBuilder getModelSpecOrBuilder()Effective Model Specification used for classification.
.tensorflow.serving.ModelSpec model_spec = 2; -
hasResult
boolean hasResult()Result of the classification.
.tensorflow.serving.ClassificationResult result = 1;- Returns:
- Whether the result field is set.
-
getResult
Classification.ClassificationResult getResult()Result of the classification.
.tensorflow.serving.ClassificationResult result = 1;- Returns:
- The result.
-
getResultOrBuilder
Classification.ClassificationResultOrBuilder getResultOrBuilder()Result of the classification.
.tensorflow.serving.ClassificationResult result = 1;
-