Package tensorflow.serving
Interface SessionServiceOuterClass.SessionRunResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SessionServiceOuterClass.SessionRunResponse,SessionServiceOuterClass.SessionRunResponse.Builder
- Enclosing class:
- SessionServiceOuterClass
public static interface SessionServiceOuterClass.SessionRunResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RunMetadatagetMetadata()Returned metadata if requested in the options.RunMetadataOrBuildergetMetadataOrBuilder()Returned metadata if requested in the options.Model.ModelSpecgetModelSpec()Effective Model Specification used for session run.Model.ModelSpecOrBuildergetModelSpecOrBuilder()Effective Model Specification used for session run.NamedTensorProtogetTensor(int index)NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.intgetTensorCount()NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.java.util.List<NamedTensorProto>getTensorList()NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.NamedTensorProtoOrBuildergetTensorOrBuilder(int index)NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.java.util.List<? extends NamedTensorProtoOrBuilder>getTensorOrBuilderList()NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.booleanhasMetadata()Returned metadata if requested in the options.booleanhasModelSpec()Effective Model Specification used for session run.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasModelSpec
boolean hasModelSpec()
Effective Model Specification used for session run.
.tensorflow.serving.ModelSpec model_spec = 3;- Returns:
- Whether the modelSpec field is set.
-
getModelSpec
Model.ModelSpec getModelSpec()
Effective Model Specification used for session run.
.tensorflow.serving.ModelSpec model_spec = 3;- Returns:
- The modelSpec.
-
getModelSpecOrBuilder
Model.ModelSpecOrBuilder getModelSpecOrBuilder()
Effective Model Specification used for session run.
.tensorflow.serving.ModelSpec model_spec = 3;
-
getTensorList
java.util.List<NamedTensorProto> getTensorList()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
getTensor
NamedTensorProto getTensor(int index)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
getTensorCount
int getTensorCount()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
getTensorOrBuilderList
java.util.List<? extends NamedTensorProtoOrBuilder> getTensorOrBuilderList()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
getTensorOrBuilder
NamedTensorProtoOrBuilder getTensorOrBuilder(int index)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
hasMetadata
boolean hasMetadata()
Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;- Returns:
- Whether the metadata field is set.
-
getMetadata
RunMetadata getMetadata()
Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;- Returns:
- The metadata.
-
getMetadataOrBuilder
RunMetadataOrBuilder getMetadataOrBuilder()
Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;
-
-