package tensorflow.serving

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service ModelService

model_service.proto:12

ModelService provides methods to query and update the state of the server, e.g. which models/versions are being served.

service PredictionService

prediction_service.proto:15

open source marker; do not remove PredictionService provides access to machine-learned models loaded by model_servers.

service SessionService

session_service.proto:48

SessionService defines a service with which a client can interact to execute Tensorflow model inference. The SessionService::SessionRun method is similar to MasterService::RunStep of Tensorflow, except that all sessions are ready to run, and you request a specific model/session with ModelSpec.

message BatchingParameters

session_bundle_config.proto:70

Batching parameters. Each individual parameter is optional. If omitted, the default value from the relevant batching config struct (SharedBatchScheduler ::Options or BatchSchedulerRetrier::Options) is used.

SharedBatchScheduler options (see shared_batch_scheduler.h):

Used in: SessionBundleConfig

message Class

classification.proto:11

A single class.

Used in: Classifications

message ClassificationRequest

classification.proto:33

Used as request type in: PredictionService.Classify

Used as field type in: ClassifyLog

message ClassificationResponse

classification.proto:42

Used as response type in: PredictionService.Classify

Used as field type in: ClassifyLog

message ClassificationResult

classification.proto:27

Contains one result per input example, in the same order as the input in ClassificationRequest.

Used in: ClassificationResponse, InferenceResult

message Classifications

classification.proto:21

List of classes for a single item (tensorflow.Example).

Used in: ClassificationResult

message ClassifyLog

prediction_log.proto:14

Used in: PredictionLog

message Config1

class_registration_test.proto:9

message Config2

class_registration_test.proto:13

message ExampleList

input.proto:15

Specifies one or more fully independent input Examples. See examples at: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/example/example.proto

Used in: Input

message ExampleListWithContext

input.proto:66

Specifies one or more independent input Examples, with a common context Example. The common use case for context is to cleanly and optimally specify some features that are common across multiple examples. See example below with a search query as the context and multiple restaurants to perform some inference on. context: { feature: { key : "query" value: { bytes_list: { value: [ "pizza" ] } } } } examples: { feature: { key : "cuisine" value: { bytes_list: { value: [ "Pizzeria" ] } } } } examples: { feature: { key : "cuisine" value: { bytes_list: { value: [ "Taqueria" ] } } } } Implementations of ExampleListWithContext merge the context Example into each of the Examples. Note that feature keys must not be duplicated between the Examples and context Example, or the behavior is undefined. See also: tensorflow/core/example/example.proto https://developers.google.com/protocol-buffers/docs/proto3#maps

Used in: Input

message FileSystemStoragePathSourceConfig

file_system_storage_path_source.proto:6

Config proto for FileSystemStoragePathSource.

message FileSystemStoragePathSourceConfig.ServableToMonitor

file_system_storage_path_source.proto:40

A servable name and base path to look for versions of the servable.

Used in: FileSystemStoragePathSourceConfig

message FileSystemStoragePathSourceConfig.ServableVersionPolicy

file_system_storage_path_source.proto:8

A policy that dictates which version(s) of a servable should be served.

Used in: ServableToMonitor, ModelConfig

message FileSystemStoragePathSourceConfig.ServableVersionPolicy.All

file_system_storage_path_source.proto:19

Serve all versions found on disk.

Used in: ServableVersionPolicy

(message has no fields)

message FileSystemStoragePathSourceConfig.ServableVersionPolicy.Latest

file_system_storage_path_source.proto:13

Serve the latest versions (i.e. the ones with the highest version numbers), among those found on disk. This is the default policy, with the default number of versions as 1.

Used in: ServableVersionPolicy

message FileSystemStoragePathSourceConfig.ServableVersionPolicy.Specific

file_system_storage_path_source.proto:27

Serve a specific version (or set of versions). This policy is useful for rolling back to a specific version, or for canarying a specific version while still serving a separate stable version.

Used in: ServableVersionPolicy

message HashmapSourceAdapterConfig

hashmap_source_adapter.proto:6

Config proto for HashmapSourceAdapter.

enum HashmapSourceAdapterConfig.Format

hashmap_source_adapter.proto:8

The format used by the file containing a serialized hashmap.

Used in: HashmapSourceAdapterConfig

message InferenceResult

inference.proto:36

Inference result, matches the type of request or is an error.

Used in: MultiInferenceResponse

message InferenceTask

inference.proto:23

Inference request such as classification, regression, etc...

Used in: MultiInferenceRequest

message Input

input.proto:71

Used in: ClassificationRequest, MultiInferenceRequest, RegressionRequest

message LogCollectorConfig

log_collector_config.proto:6

Used in: LoggingConfig

message LogMetadata

logging.proto:10

Metadata logged along with the request logs.

Used in: PredictionLog

message LoggingConfig

logging_config.proto:15

Configuration for logging query/responses.

Used in: ModelConfig

message MessageWithAny

class_registration_test.proto:17

message ModelConfig

model_server_config.proto:19

Common configuration for loading a model being served.

Used in: ModelConfigList

message ModelConfigList

model_server_config.proto:71

Static list of models to be loaded for serving.

Used in: ModelServerConfig

message ModelServerConfig

model_server_config.proto:76

ModelServer config.

Used in: ReloadConfigRequest

message ModelSpec

model.proto:9

Metadata for an inference request such as the model name and version.

Used in: ClassificationRequest, ClassificationResponse, GetModelMetadataRequest, GetModelMetadataResponse, GetModelStatusRequest, InferenceResult, InferenceTask, LogMetadata, PredictRequest, PredictResponse, RegressionRequest, RegressionResponse, SessionRunRequest, SessionRunResponse

enum ModelType

model_server_config.proto:12

The type of model. TODO(b/31336131): DEPRECATED.

Used in: ModelConfig

message ModelVersionStatus

get_model_status.proto:20

Version number, state, and status for a single version of a model.

Used in: GetModelStatusResponse

enum ModelVersionStatus.State

get_model_status.proto:26

States that map to ManagerState enum in tensorflow_serving/core/servable_state.h

Used in: ModelVersionStatus

message MonitoringConfig

monitoring_config.proto:17

Configuration for monitoring.

message MultiInferenceLog

prediction_log.proto:29

Used in: PredictionLog

message MultiInferenceRequest

inference.proto:46

Inference request containing one or more requests.

Used as request type in: PredictionService.MultiInference

Used as field type in: MultiInferenceLog

message MultiInferenceResponse

inference.proto:55

Inference request containing one or more responses.

Used as response type in: PredictionService.MultiInference

Used as field type in: MultiInferenceLog

message PlatformConfig

platform_config.proto:9

Configuration for a servable platform e.g. tensorflow or other ML systems.

Used in: PlatformConfigMap

message PlatformConfigMap

platform_config.proto:15

message PredictLog

prediction_log.proto:24

Used in: PredictionLog

message PredictRequest

predict.proto:12

PredictRequest specifies which TensorFlow model to run, as well as how inputs are mapped to tensors and how outputs are filtered before returning to user.

Used as request type in: PredictionService.Predict

Used as field type in: PredictLog

message PredictResponse

predict.proto:34

Response for PredictRequest on successful run.

Used as response type in: PredictionService.Predict

Used as field type in: PredictLog

message PredictionLog

prediction_log.proto:40

Logged model inference request.

message PrometheusConfig

monitoring_config.proto:7

Configuration for Prometheus monitoring.

Used in: MonitoringConfig

message RegressLog

prediction_log.proto:19

Used in: PredictionLog

message Regression

regression.proto:11

Regression result for a single item (tensorflow.Example).

Used in: RegressionResult

message RegressionRequest

regression.proto:23

Used as request type in: PredictionService.Regress

Used as field type in: RegressLog

message RegressionResponse

regression.proto:32

Used as response type in: PredictionService.Regress

Used as field type in: RegressLog

message RegressionResult

regression.proto:17

Contains one result per input example, in the same order as the input in RegressionRequest.

Used in: InferenceResult, RegressionResponse

message Resource

resources.proto:14

One kind of resource on one device (or type of device).

Used in: ResourceAllocation.Entry

message ResourceAllocation

resources.proto:38

An allocation of one or more kinds of resources, along with the quantity of each. Used to denote the resources that a servable (or collection of servables) will use or is currently using. Also used to denote resources available to the serving system for loading more servables.

message ResourceAllocation.Entry

resources.proto:41

A collection of resources, each with a quantity. Treated as a resource-> quantity map, i.e. no resource can repeat and the order is immaterial.

Used in: ResourceAllocation

message SSLConfig

ssl_config.proto:7

Configuration for a secure gRPC channel

message SamplingConfig

logging_config.proto:8

Used in: LogMetadata, LoggingConfig

message SavedModelBundleSourceAdapterConfig

saved_model_bundle_source_adapter.proto:8

Config proto for SavedModelBundleSourceAdapter.

message SessionBundleConfig

session_bundle_config.proto:10

Configuration parameters for a SessionBundle, with optional batching.

Used in: SavedModelBundleSourceAdapterConfig, SessionBundleSourceAdapterConfig

message SessionBundleSourceAdapterConfig

session_bundle_source_adapter.proto:8

Config proto for SessionBundleSourceAdapter.

message SessionRunLog

prediction_log.proto:34

Used in: PredictionLog

message SessionRunRequest

session_service.proto:11

Used as request type in: SessionService.SessionRun

Used as field type in: SessionRunLog

message SessionRunResponse

session_service.proto:32

Used as response type in: SessionService.SessionRun

Used as field type in: SessionRunLog

message SignatureDefMap

get_model_metadata.proto:11

Message returned for "signature_def" field.

message StaticStoragePathSourceConfig

static_storage_path_source.proto:6

Config proto for StaticStoragePathSource.

message StatusProto

status.proto:11

Status that corresponds to Status in third_party/tensorflow/core/lib/core/status.h.

Used in: ModelVersionStatus, ReloadConfigResponse