serve_pb2.py 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559
  1. # -*- coding: utf-8 -*-
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: src/ray/protobuf/serve.proto
  4. """Generated protocol buffer code."""
  5. from google.protobuf.internal import enum_type_wrapper
  6. from google.protobuf import descriptor as _descriptor
  7. from google.protobuf import descriptor_pool as _descriptor_pool
  8. from google.protobuf import message as _message
  9. from google.protobuf import reflection as _reflection
  10. from google.protobuf import symbol_database as _symbol_database
  11. # @@protoc_insertion_point(imports)
  12. _sym_db = _symbol_database.Default()
  13. DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1csrc/ray/protobuf/serve.proto\x12\tray.serve\"q\n\x11\x41utoscalingPolicy\x12\'\n\x0fpolicy_function\x18\x01 \x01(\tR\x0epolicyFunction\x12\x33\n\x16_serialized_policy_def\x18\x02 \x01(\x0cR\x13SerializedPolicyDef\"\xc4\x07\n\x11\x41utoscalingConfig\x12!\n\x0cmin_replicas\x18\x01 \x01(\rR\x0bminReplicas\x12!\n\x0cmax_replicas\x18\x02 \x01(\rR\x0bmaxReplicas\x12,\n\x12metrics_interval_s\x18\x03 \x01(\x01R\x10metricsIntervalS\x12+\n\x12look_back_period_s\x18\x04 \x01(\x01R\x0flookBackPeriodS\x12)\n\x10smoothing_factor\x18\x05 \x01(\x01R\x0fsmoothingFactor\x12*\n\x11\x64ownscale_delay_s\x18\x06 \x01(\x01R\x0f\x64ownscaleDelayS\x12&\n\x0fupscale_delay_s\x18\x07 \x01(\x01R\rupscaleDelayS\x12.\n\x10initial_replicas\x18\x08 \x01(\rH\x00R\x0finitialReplicas\x88\x01\x01\x12=\n\x18upscale_smoothing_factor\x18\t \x01(\x01H\x01R\x16upscaleSmoothingFactor\x88\x01\x01\x12\x41\n\x1a\x64ownscale_smoothing_factor\x18\n \x01(\x01H\x02R\x18\x64ownscaleSmoothingFactor\x88\x01\x01\x12\x34\n\x06policy\x18\x0b \x01(\x0b\x32\x1c.ray.serve.AutoscalingPolicyR\x06policy\x12\x36\n\x17target_ongoing_requests\x18\x0c \x01(\x01R\x15targetOngoingRequests\x12.\n\x10upscaling_factor\x18\r \x01(\x01H\x03R\x0fupscalingFactor\x88\x01\x01\x12\x32\n\x12\x64ownscaling_factor\x18\x0e \x01(\x01H\x04R\x11\x64ownscalingFactor\x88\x01\x01\x12=\n\x19\x64ownscale_to_zero_delay_s\x18\x0f \x01(\x01H\x05R\x15\x64ownscaleToZeroDelayS\x88\x01\x01\x12\x31\n\x14\x61ggregation_function\x18\x10 \x01(\tR\x13\x61ggregationFunctionB\x13\n\x11_initial_replicasB\x1b\n\x19_upscale_smoothing_factorB\x1d\n\x1b_downscale_smoothing_factorB\x13\n\x11_upscaling_factorB\x15\n\x13_downscaling_factorB\x1c\n\x1a_downscale_to_zero_delay_s\"\xeb\x01\n\rLoggingConfig\x12\x33\n\x08\x65ncoding\x18\x01 \x01(\x0e\x32\x17.ray.serve.EncodingTypeR\x08\x65ncoding\x12\x1b\n\tlog_level\x18\x02 \x01(\tR\x08logLevel\x12\x19\n\x08logs_dir\x18\x03 \x01(\tR\x07logsDir\x12*\n\x11\x65nable_access_log\x18\x04 \x01(\x08R\x0f\x65nableAccessLog\x12\x41\n\x1d\x61\x64\x64itional_log_standard_attrs\x18\x05 \x03(\tR\x1a\x61\x64\x64itionalLogStandardAttrs\"\xc9\x02\n\x13RequestRouterConfig\x12\x42\n\x1e_serialized_request_router_cls\x18\x01 \x01(\x0cR\x1aSerializedRequestRouterCls\x12\x30\n\x14request_router_class\x18\x02 \x01(\tR\x12requestRouterClass\x12\x42\n\x1erequest_routing_stats_period_s\x18\x03 \x01(\x01R\x1arequestRoutingStatsPeriodS\x12\x44\n\x1frequest_routing_stats_timeout_s\x18\x04 \x01(\x01R\x1brequestRoutingStatsTimeoutS\x12\x32\n\x15request_router_kwargs\x18\x05 \x01(\x0cR\x13requestRouterKwargs\"\x99\x07\n\x10\x44\x65ploymentConfig\x12!\n\x0cnum_replicas\x18\x01 \x01(\x05R\x0bnumReplicas\x12\x30\n\x14max_ongoing_requests\x18\x02 \x01(\x05R\x12maxOngoingRequests\x12.\n\x13max_queued_requests\x18\x03 \x01(\x05R\x11maxQueuedRequests\x12\x1f\n\x0buser_config\x18\x04 \x01(\x0cR\nuserConfig\x12@\n\x1dgraceful_shutdown_wait_loop_s\x18\x05 \x01(\x01R\x19gracefulShutdownWaitLoopS\x12=\n\x1bgraceful_shutdown_timeout_s\x18\x06 \x01(\x01R\x18gracefulShutdownTimeoutS\x12\x31\n\x15health_check_period_s\x18\x07 \x01(\x01R\x12healthCheckPeriodS\x12\x33\n\x16health_check_timeout_s\x18\x08 \x01(\x01R\x13healthCheckTimeoutS\x12*\n\x11is_cross_language\x18\t \x01(\x08R\x0fisCrossLanguage\x12N\n\x13\x64\x65ployment_language\x18\n \x01(\x0e\x32\x1d.ray.serve.DeploymentLanguageR\x12\x64\x65ploymentLanguage\x12K\n\x12\x61utoscaling_config\x18\x0b \x01(\x0b\x32\x1c.ray.serve.AutoscalingConfigR\x11\x61utoscalingConfig\x12\x18\n\x07version\x18\x0c \x01(\tR\x07version\x12?\n\x1cuser_configured_option_names\x18\r \x03(\tR\x19userConfiguredOptionNames\x12?\n\x0elogging_config\x18\x0e \x01(\x0b\x32\x18.ray.serve.LoggingConfigR\rloggingConfig\x12R\n\x15request_router_config\x18\x13 \x01(\x0b\x32\x1e.ray.serve.RequestRouterConfigR\x13requestRouterConfig\x12=\n\x1bmax_constructor_retry_count\x18\x14 \x01(\x05R\x18maxConstructorRetryCount\"\xc8\x02\n\x0fRequestMetadata\x12\x1d\n\nrequest_id\x18\x01 \x01(\tR\trequestId\x12.\n\x13internal_request_id\x18\x02 \x01(\tR\x11internalRequestId\x12\x1f\n\x0b\x63\x61ll_method\x18\x03 \x01(\tR\ncallMethod\x12\x41\n\x07\x63ontext\x18\x04 \x03(\x0b\x32\'.ray.serve.RequestMetadata.ContextEntryR\x07\x63ontext\x12\x30\n\x14multiplexed_model_id\x18\x05 \x01(\tR\x12multiplexedModelId\x12\x14\n\x05route\x18\x06 \x01(\tR\x05route\x1a:\n\x0c\x43ontextEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"$\n\x0eRequestWrapper\x12\x12\n\x04\x62ody\x18\x01 \x01(\x0cR\x04\x62ody\"Y\n\rUpdatedObject\x12\'\n\x0fobject_snapshot\x18\x01 \x01(\x0cR\x0eobjectSnapshot\x12\x1f\n\x0bsnapshot_id\x18\x02 \x01(\x05R\nsnapshotId\"\xbb\x01\n\x0fLongPollRequest\x12\x62\n\x14keys_to_snapshot_ids\x18\x01 \x03(\x0b\x32\x31.ray.serve.LongPollRequest.KeysToSnapshotIdsEntryR\x11keysToSnapshotIds\x1a\x44\n\x16KeysToSnapshotIdsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"\xc5\x01\n\x0eLongPollResult\x12V\n\x0fupdated_objects\x18\x01 \x03(\x0b\x32-.ray.serve.LongPollResult.UpdatedObjectsEntryR\x0eupdatedObjects\x1a[\n\x13UpdatedObjectsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x18.ray.serve.UpdatedObjectR\x05value:\x02\x38\x01\"\xc1\x01\n\x0c\x45ndpointInfo\x12#\n\rendpoint_name\x18\x01 \x01(\tR\x0c\x65ndpointName\x12\x14\n\x05route\x18\x02 \x01(\tR\x05route\x12;\n\x06\x63onfig\x18\x03 \x03(\x0b\x32#.ray.serve.EndpointInfo.ConfigEntryR\x06\x63onfig\x1a\x39\n\x0b\x43onfigEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xa9\x01\n\x0b\x45ndpointSet\x12\x43\n\tendpoints\x18\x01 \x03(\x0b\x32%.ray.serve.EndpointSet.EndpointsEntryR\tendpoints\x1aU\n\x0e\x45ndpointsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12-\n\x05value\x18\x02 \x01(\x0b\x32\x17.ray.serve.EndpointInfoR\x05value:\x02\x38\x01\"%\n\rActorNameList\x12\x14\n\x05names\x18\x01 \x03(\tR\x05names\"^\n\x14\x44\x65ploymentTargetInfo\x12#\n\rreplica_names\x18\x01 \x03(\tR\x0creplicaNames\x12!\n\x0cis_available\x18\x02 \x01(\x08R\x0bisAvailable\"\xee\x03\n\x11\x44\x65ploymentVersion\x12!\n\x0c\x63ode_version\x18\x01 \x01(\tR\x0b\x63odeVersion\x12H\n\x11\x64\x65ployment_config\x18\x02 \x01(\x0b\x32\x1b.ray.serve.DeploymentConfigR\x10\x64\x65ploymentConfig\x12*\n\x11ray_actor_options\x18\x03 \x01(\tR\x0frayActorOptions\x12\x36\n\x17placement_group_bundles\x18\x04 \x01(\tR\x15placementGroupBundles\x12\x38\n\x18placement_group_strategy\x18\x05 \x01(\tR\x16placementGroupStrategy\x12\x31\n\x15max_replicas_per_node\x18\x06 \x01(\x05R\x12maxReplicasPerNode\x12P\n%placement_group_bundle_label_selector\x18\x07 \x01(\tR!placementGroupBundleLabelSelector\x12I\n!placement_group_fallback_strategy\x18\x08 \x01(\tR\x1eplacementGroupFallbackStrategy\"\x92\x04\n\rReplicaConfig\x12.\n\x13\x64\x65ployment_def_name\x18\x01 \x01(\tR\x11\x64\x65ploymentDefName\x12%\n\x0e\x64\x65ployment_def\x18\x02 \x01(\x0cR\rdeploymentDef\x12\x1b\n\tinit_args\x18\x03 \x01(\x0cR\x08initArgs\x12\x1f\n\x0binit_kwargs\x18\x04 \x01(\x0cR\ninitKwargs\x12*\n\x11ray_actor_options\x18\x05 \x01(\tR\x0frayActorOptions\x12\x36\n\x17placement_group_bundles\x18\x06 \x01(\tR\x15placementGroupBundles\x12\x38\n\x18placement_group_strategy\x18\x07 \x01(\tR\x16placementGroupStrategy\x12\x31\n\x15max_replicas_per_node\x18\x08 \x01(\x05R\x12maxReplicasPerNode\x12P\n%placement_group_bundle_label_selector\x18\t \x01(\tR!placementGroupBundleLabelSelector\x12I\n!placement_group_fallback_strategy\x18\n \x01(\tR\x1eplacementGroupFallbackStrategy\"\xb5\x03\n\x0e\x44\x65ploymentInfo\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12H\n\x11\x64\x65ployment_config\x18\x02 \x01(\x0b\x32\x1b.ray.serve.DeploymentConfigR\x10\x64\x65ploymentConfig\x12?\n\x0ereplica_config\x18\x03 \x01(\x0b\x32\x18.ray.serve.ReplicaConfigR\rreplicaConfig\x12\"\n\rstart_time_ms\x18\x04 \x01(\x03R\x0bstartTimeMs\x12\x1d\n\nactor_name\x18\x05 \x01(\tR\tactorName\x12\x18\n\x07version\x18\x06 \x01(\tR\x07version\x12\x1e\n\x0b\x65nd_time_ms\x18\x07 \x01(\x03R\tendTimeMs\x12\'\n\x0ftarget_capacity\x18\x08 \x01(\x01R\x0etargetCapacity\x12^\n\x19target_capacity_direction\x18\t \x01(\x0e\x32\".ray.serve.TargetCapacityDirectionR\x17targetCapacityDirection\"k\n\x0f\x44\x65ploymentRoute\x12\x42\n\x0f\x64\x65ployment_info\x18\x01 \x01(\x0b\x32\x19.ray.serve.DeploymentInfoR\x0e\x64\x65ploymentInfo\x12\x14\n\x05route\x18\x02 \x01(\tR\x05route\"^\n\x13\x44\x65ploymentRouteList\x12G\n\x11\x64\x65ployment_routes\x18\x01 \x03(\x0b\x32\x1a.ray.serve.DeploymentRouteR\x10\x64\x65ploymentRoutes\"\xc4\x01\n\x14\x44\x65ploymentStatusInfo\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x33\n\x06status\x18\x02 \x01(\x0e\x32\x1b.ray.serve.DeploymentStatusR\x06status\x12\x18\n\x07message\x18\x03 \x01(\tR\x07message\x12I\n\x0estatus_trigger\x18\x04 \x01(\x0e\x32\".ray.serve.DeploymentStatusTriggerR\rstatusTrigger\"s\n\x18\x44\x65ploymentStatusInfoList\x12W\n\x17\x64\x65ployment_status_infos\x18\x01 \x03(\x0b\x32\x1f.ray.serve.DeploymentStatusInfoR\x15\x64\x65ploymentStatusInfos\"\x9a\x01\n\x15\x41pplicationStatusInfo\x12\x34\n\x06status\x18\x01 \x01(\x0e\x32\x1c.ray.serve.ApplicationStatusR\x06status\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12\x31\n\x14\x64\x65ployment_timestamp\x18\x03 \x01(\x01R\x13\x64\x65ploymentTimestamp\"\xbb\x01\n\x0eStatusOverview\x12?\n\napp_status\x18\x01 \x01(\x0b\x32 .ray.serve.ApplicationStatusInfoR\tappStatus\x12T\n\x13\x64\x65ployment_statuses\x18\x02 \x01(\x0b\x32#.ray.serve.DeploymentStatusInfoListR\x12\x64\x65ploymentStatuses\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\"\x19\n\x17ListApplicationsRequest\"G\n\x18ListApplicationsResponse\x12+\n\x11\x61pplication_names\x18\x01 \x03(\tR\x10\x61pplicationNames\"\x10\n\x0eHealthzRequest\"+\n\x0fHealthzResponse\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message\"L\n\x12UserDefinedMessage\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x10\n\x03\x66oo\x18\x02 \x01(\tR\x03\x66oo\x12\x10\n\x03num\x18\x03 \x01(\x03R\x03num\"H\n\x13UserDefinedResponse\x12\x1a\n\x08greeting\x18\x01 \x01(\tR\x08greeting\x12\x15\n\x06num_x2\x18\x02 \x01(\x03R\x05numX2\"\x15\n\x13UserDefinedMessage2\"2\n\x14UserDefinedResponse2\x12\x1a\n\x08greeting\x18\x01 \x01(\tR\x08greeting\"T\n\x0c\x46ruitAmounts\x12\x16\n\x06orange\x18\x01 \x01(\x03R\x06orange\x12\x14\n\x05\x61pple\x18\x02 \x01(\x03R\x05\x61pple\x12\x16\n\x06\x62\x61nana\x18\x03 \x01(\x03R\x06\x62\x61nana\"\"\n\nFruitCosts\x12\x14\n\x05\x63osts\x18\x01 \x01(\x02R\x05\x63osts\"\x1f\n\tArrayData\x12\x12\n\x04nums\x18\x01 \x03(\x02R\x04nums\" \n\nStringData\x12\x12\n\x04\x64\x61ta\x18\x01 \x01(\tR\x04\x64\x61ta\"%\n\x0bModelOutput\x12\x16\n\x06output\x18\x01 \x01(\x02R\x06output\"\xb8\x02\n\x0e\x44\x65ploymentArgs\x12\'\n\x0f\x64\x65ployment_name\x18\x01 \x01(\tR\x0e\x64\x65ploymentName\x12+\n\x11\x64\x65ployment_config\x18\x02 \x01(\x0cR\x10\x64\x65ploymentConfig\x12%\n\x0ereplica_config\x18\x03 \x01(\x0cR\rreplicaConfig\x12&\n\x0f\x64\x65ployer_job_id\x18\x04 \x01(\tR\rdeployerJobId\x12&\n\x0croute_prefix\x18\x05 \x01(\tH\x00R\x0broutePrefix\x88\x01\x01\x12\x18\n\x07ingress\x18\x06 \x01(\x08R\x07ingress\x12 \n\tdocs_path\x18\x07 \x01(\tH\x01R\x08\x64ocsPath\x88\x01\x01\x42\x0f\n\r_route_prefixB\x0c\n\n_docs_path\"I\n\x0f\x41pplicationArgs\x12\x36\n\x17\x65xternal_scaler_enabled\x18\x01 \x01(\x08R\x15\x65xternalScalerEnabled\"\x91\x01\n\x0b\x41SGIRequest\x12\x38\n\x18pickled_request_metadata\x18\x01 \x01(\x0cR\x16pickledRequestMetadata\x12!\n\x0crequest_args\x18\x02 \x01(\x0cR\x0brequestArgs\x12%\n\x0erequest_kwargs\x18\x03 \x01(\x0cR\rrequestKwargs\"X\n\x0c\x41SGIResponse\x12-\n\x12serialized_message\x18\x01 \x01(\x0cR\x11serializedMessage\x12\x19\n\x08is_error\x18\x02 \x01(\x08R\x07isError*\"\n\x0c\x45ncodingType\x12\x08\n\x04TEXT\x10\x00\x12\x08\n\x04JSON\x10\x01**\n\x12\x44\x65ploymentLanguage\x12\n\n\x06PYTHON\x10\x00\x12\x08\n\x04JAVA\x10\x01*6\n\x17TargetCapacityDirection\x12\t\n\x05UNSET\x10\x00\x12\x06\n\x02UP\x10\x01\x12\x08\n\x04\x44OWN\x10\x02*\xdb\x01\n\x10\x44\x65ploymentStatus\x12\x1e\n\x1a\x44\x45PLOYMENT_STATUS_UPDATING\x10\x00\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_HEALTHY\x10\x01\x12\x1f\n\x1b\x44\x45PLOYMENT_STATUS_UNHEALTHY\x10\x02\x12#\n\x1f\x44\x45PLOYMENT_STATUS_DEPLOY_FAILED\x10\x03\x12\x1f\n\x1b\x44\x45PLOYMENT_STATUS_UPSCALING\x10\x04\x12!\n\x1d\x44\x45PLOYMENT_STATUS_DOWNSCALING\x10\x05*\xfe\x03\n\x17\x44\x65ploymentStatusTrigger\x12)\n%DEPLOYMENT_STATUS_TRIGGER_UNSPECIFIED\x10\x00\x12\x33\n/DEPLOYMENT_STATUS_TRIGGER_CONFIG_UPDATE_STARTED\x10\x01\x12\x35\n1DEPLOYMENT_STATUS_TRIGGER_CONFIG_UPDATE_COMPLETED\x10\x02\x12/\n+DEPLOYMENT_STATUS_TRIGGER_UPSCALE_COMPLETED\x10\x03\x12\x31\n-DEPLOYMENT_STATUS_TRIGGER_DOWNSCALE_COMPLETED\x10\x04\x12)\n%DEPLOYMENT_STATUS_TRIGGER_AUTOSCALING\x10\x05\x12\x34\n0DEPLOYMENT_STATUS_TRIGGER_REPLICA_STARTUP_FAILED\x10\x06\x12\x31\n-DEPLOYMENT_STATUS_TRIGGER_HEALTH_CHECK_FAILED\x10\x07\x12,\n(DEPLOYMENT_STATUS_TRIGGER_INTERNAL_ERROR\x10\x08\x12&\n\"DEPLOYMENT_STATUS_TRIGGER_DELETING\x10\t*\xe2\x01\n\x11\x41pplicationStatus\x12 \n\x1c\x41PPLICATION_STATUS_DEPLOYING\x10\x00\x12\x1e\n\x1a\x41PPLICATION_STATUS_RUNNING\x10\x01\x12$\n APPLICATION_STATUS_DEPLOY_FAILED\x10\x02\x12\x1f\n\x1b\x41PPLICATION_STATUS_DELETING\x10\x03\x12\"\n\x1e\x41PPLICATION_STATUS_NOT_STARTED\x10\x05\x12 \n\x1c\x41PPLICATION_STATUS_UNHEALTHY\x10\x06\x32\xb3\x01\n\x12RayServeAPIService\x12[\n\x10ListApplications\x12\".ray.serve.ListApplicationsRequest\x1a#.ray.serve.ListApplicationsResponse\x12@\n\x07Healthz\x12\x19.ray.serve.HealthzRequest\x1a\x1a.ray.serve.HealthzResponse2\xc3\x02\n\x12UserDefinedService\x12I\n\x08__call__\x12\x1d.ray.serve.UserDefinedMessage\x1a\x1e.ray.serve.UserDefinedResponse\x12H\n\x07Method1\x12\x1d.ray.serve.UserDefinedMessage\x1a\x1e.ray.serve.UserDefinedResponse\x12J\n\x07Method2\x12\x1e.ray.serve.UserDefinedMessage2\x1a\x1f.ray.serve.UserDefinedResponse2\x12L\n\tStreaming\x12\x1d.ray.serve.UserDefinedMessage\x1a\x1e.ray.serve.UserDefinedResponse0\x01\x32L\n\x0c\x46ruitService\x12<\n\nFruitStand\x12\x17.ray.serve.FruitAmounts\x1a\x15.ray.serve.FruitCosts2\x98\x01\n\x18RayServeBenchmarkService\x12\x39\n\tgrpc_call\x12\x14.ray.serve.ArrayData\x1a\x16.ray.serve.ModelOutput\x12\x41\n\x10\x63\x61ll_with_string\x12\x15.ray.serve.StringData\x1a\x16.ray.serve.ModelOutput2\xc5\x02\n\x0b\x41SGIService\x12@\n\rHandleRequest\x12\x16.ray.serve.ASGIRequest\x1a\x17.ray.serve.ASGIResponse\x12K\n\x16HandleRequestStreaming\x12\x16.ray.serve.ASGIRequest\x1a\x17.ray.serve.ASGIResponse0\x01\x12M\n\x1aHandleRequestWithRejection\x12\x16.ray.serve.ASGIRequest\x1a\x17.ray.serve.ASGIResponse\x12X\n#HandleRequestWithRejectionStreaming\x12\x16.ray.serve.ASGIRequest\x1a\x17.ray.serve.ASGIResponse0\x01\x42\'\n\x16io.ray.serve.generatedB\x0bServeProtosP\x01\x62\x06proto3')
  14. _ENCODINGTYPE = DESCRIPTOR.enum_types_by_name['EncodingType']
  15. EncodingType = enum_type_wrapper.EnumTypeWrapper(_ENCODINGTYPE)
  16. _DEPLOYMENTLANGUAGE = DESCRIPTOR.enum_types_by_name['DeploymentLanguage']
  17. DeploymentLanguage = enum_type_wrapper.EnumTypeWrapper(_DEPLOYMENTLANGUAGE)
  18. _TARGETCAPACITYDIRECTION = DESCRIPTOR.enum_types_by_name['TargetCapacityDirection']
  19. TargetCapacityDirection = enum_type_wrapper.EnumTypeWrapper(_TARGETCAPACITYDIRECTION)
  20. _DEPLOYMENTSTATUS = DESCRIPTOR.enum_types_by_name['DeploymentStatus']
  21. DeploymentStatus = enum_type_wrapper.EnumTypeWrapper(_DEPLOYMENTSTATUS)
  22. _DEPLOYMENTSTATUSTRIGGER = DESCRIPTOR.enum_types_by_name['DeploymentStatusTrigger']
  23. DeploymentStatusTrigger = enum_type_wrapper.EnumTypeWrapper(_DEPLOYMENTSTATUSTRIGGER)
  24. _APPLICATIONSTATUS = DESCRIPTOR.enum_types_by_name['ApplicationStatus']
  25. ApplicationStatus = enum_type_wrapper.EnumTypeWrapper(_APPLICATIONSTATUS)
  26. TEXT = 0
  27. JSON = 1
  28. PYTHON = 0
  29. JAVA = 1
  30. UNSET = 0
  31. UP = 1
  32. DOWN = 2
  33. DEPLOYMENT_STATUS_UPDATING = 0
  34. DEPLOYMENT_STATUS_HEALTHY = 1
  35. DEPLOYMENT_STATUS_UNHEALTHY = 2
  36. DEPLOYMENT_STATUS_DEPLOY_FAILED = 3
  37. DEPLOYMENT_STATUS_UPSCALING = 4
  38. DEPLOYMENT_STATUS_DOWNSCALING = 5
  39. DEPLOYMENT_STATUS_TRIGGER_UNSPECIFIED = 0
  40. DEPLOYMENT_STATUS_TRIGGER_CONFIG_UPDATE_STARTED = 1
  41. DEPLOYMENT_STATUS_TRIGGER_CONFIG_UPDATE_COMPLETED = 2
  42. DEPLOYMENT_STATUS_TRIGGER_UPSCALE_COMPLETED = 3
  43. DEPLOYMENT_STATUS_TRIGGER_DOWNSCALE_COMPLETED = 4
  44. DEPLOYMENT_STATUS_TRIGGER_AUTOSCALING = 5
  45. DEPLOYMENT_STATUS_TRIGGER_REPLICA_STARTUP_FAILED = 6
  46. DEPLOYMENT_STATUS_TRIGGER_HEALTH_CHECK_FAILED = 7
  47. DEPLOYMENT_STATUS_TRIGGER_INTERNAL_ERROR = 8
  48. DEPLOYMENT_STATUS_TRIGGER_DELETING = 9
  49. APPLICATION_STATUS_DEPLOYING = 0
  50. APPLICATION_STATUS_RUNNING = 1
  51. APPLICATION_STATUS_DEPLOY_FAILED = 2
  52. APPLICATION_STATUS_DELETING = 3
  53. APPLICATION_STATUS_NOT_STARTED = 5
  54. APPLICATION_STATUS_UNHEALTHY = 6
  55. _AUTOSCALINGPOLICY = DESCRIPTOR.message_types_by_name['AutoscalingPolicy']
  56. _AUTOSCALINGCONFIG = DESCRIPTOR.message_types_by_name['AutoscalingConfig']
  57. _LOGGINGCONFIG = DESCRIPTOR.message_types_by_name['LoggingConfig']
  58. _REQUESTROUTERCONFIG = DESCRIPTOR.message_types_by_name['RequestRouterConfig']
  59. _DEPLOYMENTCONFIG = DESCRIPTOR.message_types_by_name['DeploymentConfig']
  60. _REQUESTMETADATA = DESCRIPTOR.message_types_by_name['RequestMetadata']
  61. _REQUESTMETADATA_CONTEXTENTRY = _REQUESTMETADATA.nested_types_by_name['ContextEntry']
  62. _REQUESTWRAPPER = DESCRIPTOR.message_types_by_name['RequestWrapper']
  63. _UPDATEDOBJECT = DESCRIPTOR.message_types_by_name['UpdatedObject']
  64. _LONGPOLLREQUEST = DESCRIPTOR.message_types_by_name['LongPollRequest']
  65. _LONGPOLLREQUEST_KEYSTOSNAPSHOTIDSENTRY = _LONGPOLLREQUEST.nested_types_by_name['KeysToSnapshotIdsEntry']
  66. _LONGPOLLRESULT = DESCRIPTOR.message_types_by_name['LongPollResult']
  67. _LONGPOLLRESULT_UPDATEDOBJECTSENTRY = _LONGPOLLRESULT.nested_types_by_name['UpdatedObjectsEntry']
  68. _ENDPOINTINFO = DESCRIPTOR.message_types_by_name['EndpointInfo']
  69. _ENDPOINTINFO_CONFIGENTRY = _ENDPOINTINFO.nested_types_by_name['ConfigEntry']
  70. _ENDPOINTSET = DESCRIPTOR.message_types_by_name['EndpointSet']
  71. _ENDPOINTSET_ENDPOINTSENTRY = _ENDPOINTSET.nested_types_by_name['EndpointsEntry']
  72. _ACTORNAMELIST = DESCRIPTOR.message_types_by_name['ActorNameList']
  73. _DEPLOYMENTTARGETINFO = DESCRIPTOR.message_types_by_name['DeploymentTargetInfo']
  74. _DEPLOYMENTVERSION = DESCRIPTOR.message_types_by_name['DeploymentVersion']
  75. _REPLICACONFIG = DESCRIPTOR.message_types_by_name['ReplicaConfig']
  76. _DEPLOYMENTINFO = DESCRIPTOR.message_types_by_name['DeploymentInfo']
  77. _DEPLOYMENTROUTE = DESCRIPTOR.message_types_by_name['DeploymentRoute']
  78. _DEPLOYMENTROUTELIST = DESCRIPTOR.message_types_by_name['DeploymentRouteList']
  79. _DEPLOYMENTSTATUSINFO = DESCRIPTOR.message_types_by_name['DeploymentStatusInfo']
  80. _DEPLOYMENTSTATUSINFOLIST = DESCRIPTOR.message_types_by_name['DeploymentStatusInfoList']
  81. _APPLICATIONSTATUSINFO = DESCRIPTOR.message_types_by_name['ApplicationStatusInfo']
  82. _STATUSOVERVIEW = DESCRIPTOR.message_types_by_name['StatusOverview']
  83. _LISTAPPLICATIONSREQUEST = DESCRIPTOR.message_types_by_name['ListApplicationsRequest']
  84. _LISTAPPLICATIONSRESPONSE = DESCRIPTOR.message_types_by_name['ListApplicationsResponse']
  85. _HEALTHZREQUEST = DESCRIPTOR.message_types_by_name['HealthzRequest']
  86. _HEALTHZRESPONSE = DESCRIPTOR.message_types_by_name['HealthzResponse']
  87. _USERDEFINEDMESSAGE = DESCRIPTOR.message_types_by_name['UserDefinedMessage']
  88. _USERDEFINEDRESPONSE = DESCRIPTOR.message_types_by_name['UserDefinedResponse']
  89. _USERDEFINEDMESSAGE2 = DESCRIPTOR.message_types_by_name['UserDefinedMessage2']
  90. _USERDEFINEDRESPONSE2 = DESCRIPTOR.message_types_by_name['UserDefinedResponse2']
  91. _FRUITAMOUNTS = DESCRIPTOR.message_types_by_name['FruitAmounts']
  92. _FRUITCOSTS = DESCRIPTOR.message_types_by_name['FruitCosts']
  93. _ARRAYDATA = DESCRIPTOR.message_types_by_name['ArrayData']
  94. _STRINGDATA = DESCRIPTOR.message_types_by_name['StringData']
  95. _MODELOUTPUT = DESCRIPTOR.message_types_by_name['ModelOutput']
  96. _DEPLOYMENTARGS = DESCRIPTOR.message_types_by_name['DeploymentArgs']
  97. _APPLICATIONARGS = DESCRIPTOR.message_types_by_name['ApplicationArgs']
  98. _ASGIREQUEST = DESCRIPTOR.message_types_by_name['ASGIRequest']
  99. _ASGIRESPONSE = DESCRIPTOR.message_types_by_name['ASGIResponse']
  100. AutoscalingPolicy = _reflection.GeneratedProtocolMessageType('AutoscalingPolicy', (_message.Message,), {
  101. 'DESCRIPTOR' : _AUTOSCALINGPOLICY,
  102. '__module__' : 'ray.serve.generated.serve_pb2'
  103. # @@protoc_insertion_point(class_scope:ray.serve.AutoscalingPolicy)
  104. })
  105. _sym_db.RegisterMessage(AutoscalingPolicy)
  106. AutoscalingConfig = _reflection.GeneratedProtocolMessageType('AutoscalingConfig', (_message.Message,), {
  107. 'DESCRIPTOR' : _AUTOSCALINGCONFIG,
  108. '__module__' : 'ray.serve.generated.serve_pb2'
  109. # @@protoc_insertion_point(class_scope:ray.serve.AutoscalingConfig)
  110. })
  111. _sym_db.RegisterMessage(AutoscalingConfig)
  112. LoggingConfig = _reflection.GeneratedProtocolMessageType('LoggingConfig', (_message.Message,), {
  113. 'DESCRIPTOR' : _LOGGINGCONFIG,
  114. '__module__' : 'ray.serve.generated.serve_pb2'
  115. # @@protoc_insertion_point(class_scope:ray.serve.LoggingConfig)
  116. })
  117. _sym_db.RegisterMessage(LoggingConfig)
  118. RequestRouterConfig = _reflection.GeneratedProtocolMessageType('RequestRouterConfig', (_message.Message,), {
  119. 'DESCRIPTOR' : _REQUESTROUTERCONFIG,
  120. '__module__' : 'ray.serve.generated.serve_pb2'
  121. # @@protoc_insertion_point(class_scope:ray.serve.RequestRouterConfig)
  122. })
  123. _sym_db.RegisterMessage(RequestRouterConfig)
  124. DeploymentConfig = _reflection.GeneratedProtocolMessageType('DeploymentConfig', (_message.Message,), {
  125. 'DESCRIPTOR' : _DEPLOYMENTCONFIG,
  126. '__module__' : 'ray.serve.generated.serve_pb2'
  127. # @@protoc_insertion_point(class_scope:ray.serve.DeploymentConfig)
  128. })
  129. _sym_db.RegisterMessage(DeploymentConfig)
  130. RequestMetadata = _reflection.GeneratedProtocolMessageType('RequestMetadata', (_message.Message,), {
  131. 'ContextEntry' : _reflection.GeneratedProtocolMessageType('ContextEntry', (_message.Message,), {
  132. 'DESCRIPTOR' : _REQUESTMETADATA_CONTEXTENTRY,
  133. '__module__' : 'ray.serve.generated.serve_pb2'
  134. # @@protoc_insertion_point(class_scope:ray.serve.RequestMetadata.ContextEntry)
  135. })
  136. ,
  137. 'DESCRIPTOR' : _REQUESTMETADATA,
  138. '__module__' : 'ray.serve.generated.serve_pb2'
  139. # @@protoc_insertion_point(class_scope:ray.serve.RequestMetadata)
  140. })
  141. _sym_db.RegisterMessage(RequestMetadata)
  142. _sym_db.RegisterMessage(RequestMetadata.ContextEntry)
  143. RequestWrapper = _reflection.GeneratedProtocolMessageType('RequestWrapper', (_message.Message,), {
  144. 'DESCRIPTOR' : _REQUESTWRAPPER,
  145. '__module__' : 'ray.serve.generated.serve_pb2'
  146. # @@protoc_insertion_point(class_scope:ray.serve.RequestWrapper)
  147. })
  148. _sym_db.RegisterMessage(RequestWrapper)
  149. UpdatedObject = _reflection.GeneratedProtocolMessageType('UpdatedObject', (_message.Message,), {
  150. 'DESCRIPTOR' : _UPDATEDOBJECT,
  151. '__module__' : 'ray.serve.generated.serve_pb2'
  152. # @@protoc_insertion_point(class_scope:ray.serve.UpdatedObject)
  153. })
  154. _sym_db.RegisterMessage(UpdatedObject)
  155. LongPollRequest = _reflection.GeneratedProtocolMessageType('LongPollRequest', (_message.Message,), {
  156. 'KeysToSnapshotIdsEntry' : _reflection.GeneratedProtocolMessageType('KeysToSnapshotIdsEntry', (_message.Message,), {
  157. 'DESCRIPTOR' : _LONGPOLLREQUEST_KEYSTOSNAPSHOTIDSENTRY,
  158. '__module__' : 'ray.serve.generated.serve_pb2'
  159. # @@protoc_insertion_point(class_scope:ray.serve.LongPollRequest.KeysToSnapshotIdsEntry)
  160. })
  161. ,
  162. 'DESCRIPTOR' : _LONGPOLLREQUEST,
  163. '__module__' : 'ray.serve.generated.serve_pb2'
  164. # @@protoc_insertion_point(class_scope:ray.serve.LongPollRequest)
  165. })
  166. _sym_db.RegisterMessage(LongPollRequest)
  167. _sym_db.RegisterMessage(LongPollRequest.KeysToSnapshotIdsEntry)
  168. LongPollResult = _reflection.GeneratedProtocolMessageType('LongPollResult', (_message.Message,), {
  169. 'UpdatedObjectsEntry' : _reflection.GeneratedProtocolMessageType('UpdatedObjectsEntry', (_message.Message,), {
  170. 'DESCRIPTOR' : _LONGPOLLRESULT_UPDATEDOBJECTSENTRY,
  171. '__module__' : 'ray.serve.generated.serve_pb2'
  172. # @@protoc_insertion_point(class_scope:ray.serve.LongPollResult.UpdatedObjectsEntry)
  173. })
  174. ,
  175. 'DESCRIPTOR' : _LONGPOLLRESULT,
  176. '__module__' : 'ray.serve.generated.serve_pb2'
  177. # @@protoc_insertion_point(class_scope:ray.serve.LongPollResult)
  178. })
  179. _sym_db.RegisterMessage(LongPollResult)
  180. _sym_db.RegisterMessage(LongPollResult.UpdatedObjectsEntry)
  181. EndpointInfo = _reflection.GeneratedProtocolMessageType('EndpointInfo', (_message.Message,), {
  182. 'ConfigEntry' : _reflection.GeneratedProtocolMessageType('ConfigEntry', (_message.Message,), {
  183. 'DESCRIPTOR' : _ENDPOINTINFO_CONFIGENTRY,
  184. '__module__' : 'ray.serve.generated.serve_pb2'
  185. # @@protoc_insertion_point(class_scope:ray.serve.EndpointInfo.ConfigEntry)
  186. })
  187. ,
  188. 'DESCRIPTOR' : _ENDPOINTINFO,
  189. '__module__' : 'ray.serve.generated.serve_pb2'
  190. # @@protoc_insertion_point(class_scope:ray.serve.EndpointInfo)
  191. })
  192. _sym_db.RegisterMessage(EndpointInfo)
  193. _sym_db.RegisterMessage(EndpointInfo.ConfigEntry)
  194. EndpointSet = _reflection.GeneratedProtocolMessageType('EndpointSet', (_message.Message,), {
  195. 'EndpointsEntry' : _reflection.GeneratedProtocolMessageType('EndpointsEntry', (_message.Message,), {
  196. 'DESCRIPTOR' : _ENDPOINTSET_ENDPOINTSENTRY,
  197. '__module__' : 'ray.serve.generated.serve_pb2'
  198. # @@protoc_insertion_point(class_scope:ray.serve.EndpointSet.EndpointsEntry)
  199. })
  200. ,
  201. 'DESCRIPTOR' : _ENDPOINTSET,
  202. '__module__' : 'ray.serve.generated.serve_pb2'
  203. # @@protoc_insertion_point(class_scope:ray.serve.EndpointSet)
  204. })
  205. _sym_db.RegisterMessage(EndpointSet)
  206. _sym_db.RegisterMessage(EndpointSet.EndpointsEntry)
  207. ActorNameList = _reflection.GeneratedProtocolMessageType('ActorNameList', (_message.Message,), {
  208. 'DESCRIPTOR' : _ACTORNAMELIST,
  209. '__module__' : 'ray.serve.generated.serve_pb2'
  210. # @@protoc_insertion_point(class_scope:ray.serve.ActorNameList)
  211. })
  212. _sym_db.RegisterMessage(ActorNameList)
  213. DeploymentTargetInfo = _reflection.GeneratedProtocolMessageType('DeploymentTargetInfo', (_message.Message,), {
  214. 'DESCRIPTOR' : _DEPLOYMENTTARGETINFO,
  215. '__module__' : 'ray.serve.generated.serve_pb2'
  216. # @@protoc_insertion_point(class_scope:ray.serve.DeploymentTargetInfo)
  217. })
  218. _sym_db.RegisterMessage(DeploymentTargetInfo)
  219. DeploymentVersion = _reflection.GeneratedProtocolMessageType('DeploymentVersion', (_message.Message,), {
  220. 'DESCRIPTOR' : _DEPLOYMENTVERSION,
  221. '__module__' : 'ray.serve.generated.serve_pb2'
  222. # @@protoc_insertion_point(class_scope:ray.serve.DeploymentVersion)
  223. })
  224. _sym_db.RegisterMessage(DeploymentVersion)
  225. ReplicaConfig = _reflection.GeneratedProtocolMessageType('ReplicaConfig', (_message.Message,), {
  226. 'DESCRIPTOR' : _REPLICACONFIG,
  227. '__module__' : 'ray.serve.generated.serve_pb2'
  228. # @@protoc_insertion_point(class_scope:ray.serve.ReplicaConfig)
  229. })
  230. _sym_db.RegisterMessage(ReplicaConfig)
  231. DeploymentInfo = _reflection.GeneratedProtocolMessageType('DeploymentInfo', (_message.Message,), {
  232. 'DESCRIPTOR' : _DEPLOYMENTINFO,
  233. '__module__' : 'ray.serve.generated.serve_pb2'
  234. # @@protoc_insertion_point(class_scope:ray.serve.DeploymentInfo)
  235. })
  236. _sym_db.RegisterMessage(DeploymentInfo)
  237. DeploymentRoute = _reflection.GeneratedProtocolMessageType('DeploymentRoute', (_message.Message,), {
  238. 'DESCRIPTOR' : _DEPLOYMENTROUTE,
  239. '__module__' : 'ray.serve.generated.serve_pb2'
  240. # @@protoc_insertion_point(class_scope:ray.serve.DeploymentRoute)
  241. })
  242. _sym_db.RegisterMessage(DeploymentRoute)
  243. DeploymentRouteList = _reflection.GeneratedProtocolMessageType('DeploymentRouteList', (_message.Message,), {
  244. 'DESCRIPTOR' : _DEPLOYMENTROUTELIST,
  245. '__module__' : 'ray.serve.generated.serve_pb2'
  246. # @@protoc_insertion_point(class_scope:ray.serve.DeploymentRouteList)
  247. })
  248. _sym_db.RegisterMessage(DeploymentRouteList)
  249. DeploymentStatusInfo = _reflection.GeneratedProtocolMessageType('DeploymentStatusInfo', (_message.Message,), {
  250. 'DESCRIPTOR' : _DEPLOYMENTSTATUSINFO,
  251. '__module__' : 'ray.serve.generated.serve_pb2'
  252. # @@protoc_insertion_point(class_scope:ray.serve.DeploymentStatusInfo)
  253. })
  254. _sym_db.RegisterMessage(DeploymentStatusInfo)
  255. DeploymentStatusInfoList = _reflection.GeneratedProtocolMessageType('DeploymentStatusInfoList', (_message.Message,), {
  256. 'DESCRIPTOR' : _DEPLOYMENTSTATUSINFOLIST,
  257. '__module__' : 'ray.serve.generated.serve_pb2'
  258. # @@protoc_insertion_point(class_scope:ray.serve.DeploymentStatusInfoList)
  259. })
  260. _sym_db.RegisterMessage(DeploymentStatusInfoList)
  261. ApplicationStatusInfo = _reflection.GeneratedProtocolMessageType('ApplicationStatusInfo', (_message.Message,), {
  262. 'DESCRIPTOR' : _APPLICATIONSTATUSINFO,
  263. '__module__' : 'ray.serve.generated.serve_pb2'
  264. # @@protoc_insertion_point(class_scope:ray.serve.ApplicationStatusInfo)
  265. })
  266. _sym_db.RegisterMessage(ApplicationStatusInfo)
  267. StatusOverview = _reflection.GeneratedProtocolMessageType('StatusOverview', (_message.Message,), {
  268. 'DESCRIPTOR' : _STATUSOVERVIEW,
  269. '__module__' : 'ray.serve.generated.serve_pb2'
  270. # @@protoc_insertion_point(class_scope:ray.serve.StatusOverview)
  271. })
  272. _sym_db.RegisterMessage(StatusOverview)
  273. ListApplicationsRequest = _reflection.GeneratedProtocolMessageType('ListApplicationsRequest', (_message.Message,), {
  274. 'DESCRIPTOR' : _LISTAPPLICATIONSREQUEST,
  275. '__module__' : 'ray.serve.generated.serve_pb2'
  276. # @@protoc_insertion_point(class_scope:ray.serve.ListApplicationsRequest)
  277. })
  278. _sym_db.RegisterMessage(ListApplicationsRequest)
  279. ListApplicationsResponse = _reflection.GeneratedProtocolMessageType('ListApplicationsResponse', (_message.Message,), {
  280. 'DESCRIPTOR' : _LISTAPPLICATIONSRESPONSE,
  281. '__module__' : 'ray.serve.generated.serve_pb2'
  282. # @@protoc_insertion_point(class_scope:ray.serve.ListApplicationsResponse)
  283. })
  284. _sym_db.RegisterMessage(ListApplicationsResponse)
  285. HealthzRequest = _reflection.GeneratedProtocolMessageType('HealthzRequest', (_message.Message,), {
  286. 'DESCRIPTOR' : _HEALTHZREQUEST,
  287. '__module__' : 'ray.serve.generated.serve_pb2'
  288. # @@protoc_insertion_point(class_scope:ray.serve.HealthzRequest)
  289. })
  290. _sym_db.RegisterMessage(HealthzRequest)
  291. HealthzResponse = _reflection.GeneratedProtocolMessageType('HealthzResponse', (_message.Message,), {
  292. 'DESCRIPTOR' : _HEALTHZRESPONSE,
  293. '__module__' : 'ray.serve.generated.serve_pb2'
  294. # @@protoc_insertion_point(class_scope:ray.serve.HealthzResponse)
  295. })
  296. _sym_db.RegisterMessage(HealthzResponse)
  297. UserDefinedMessage = _reflection.GeneratedProtocolMessageType('UserDefinedMessage', (_message.Message,), {
  298. 'DESCRIPTOR' : _USERDEFINEDMESSAGE,
  299. '__module__' : 'ray.serve.generated.serve_pb2'
  300. # @@protoc_insertion_point(class_scope:ray.serve.UserDefinedMessage)
  301. })
  302. _sym_db.RegisterMessage(UserDefinedMessage)
  303. UserDefinedResponse = _reflection.GeneratedProtocolMessageType('UserDefinedResponse', (_message.Message,), {
  304. 'DESCRIPTOR' : _USERDEFINEDRESPONSE,
  305. '__module__' : 'ray.serve.generated.serve_pb2'
  306. # @@protoc_insertion_point(class_scope:ray.serve.UserDefinedResponse)
  307. })
  308. _sym_db.RegisterMessage(UserDefinedResponse)
  309. UserDefinedMessage2 = _reflection.GeneratedProtocolMessageType('UserDefinedMessage2', (_message.Message,), {
  310. 'DESCRIPTOR' : _USERDEFINEDMESSAGE2,
  311. '__module__' : 'ray.serve.generated.serve_pb2'
  312. # @@protoc_insertion_point(class_scope:ray.serve.UserDefinedMessage2)
  313. })
  314. _sym_db.RegisterMessage(UserDefinedMessage2)
  315. UserDefinedResponse2 = _reflection.GeneratedProtocolMessageType('UserDefinedResponse2', (_message.Message,), {
  316. 'DESCRIPTOR' : _USERDEFINEDRESPONSE2,
  317. '__module__' : 'ray.serve.generated.serve_pb2'
  318. # @@protoc_insertion_point(class_scope:ray.serve.UserDefinedResponse2)
  319. })
  320. _sym_db.RegisterMessage(UserDefinedResponse2)
  321. FruitAmounts = _reflection.GeneratedProtocolMessageType('FruitAmounts', (_message.Message,), {
  322. 'DESCRIPTOR' : _FRUITAMOUNTS,
  323. '__module__' : 'ray.serve.generated.serve_pb2'
  324. # @@protoc_insertion_point(class_scope:ray.serve.FruitAmounts)
  325. })
  326. _sym_db.RegisterMessage(FruitAmounts)
  327. FruitCosts = _reflection.GeneratedProtocolMessageType('FruitCosts', (_message.Message,), {
  328. 'DESCRIPTOR' : _FRUITCOSTS,
  329. '__module__' : 'ray.serve.generated.serve_pb2'
  330. # @@protoc_insertion_point(class_scope:ray.serve.FruitCosts)
  331. })
  332. _sym_db.RegisterMessage(FruitCosts)
  333. ArrayData = _reflection.GeneratedProtocolMessageType('ArrayData', (_message.Message,), {
  334. 'DESCRIPTOR' : _ARRAYDATA,
  335. '__module__' : 'ray.serve.generated.serve_pb2'
  336. # @@protoc_insertion_point(class_scope:ray.serve.ArrayData)
  337. })
  338. _sym_db.RegisterMessage(ArrayData)
  339. StringData = _reflection.GeneratedProtocolMessageType('StringData', (_message.Message,), {
  340. 'DESCRIPTOR' : _STRINGDATA,
  341. '__module__' : 'ray.serve.generated.serve_pb2'
  342. # @@protoc_insertion_point(class_scope:ray.serve.StringData)
  343. })
  344. _sym_db.RegisterMessage(StringData)
  345. ModelOutput = _reflection.GeneratedProtocolMessageType('ModelOutput', (_message.Message,), {
  346. 'DESCRIPTOR' : _MODELOUTPUT,
  347. '__module__' : 'ray.serve.generated.serve_pb2'
  348. # @@protoc_insertion_point(class_scope:ray.serve.ModelOutput)
  349. })
  350. _sym_db.RegisterMessage(ModelOutput)
  351. DeploymentArgs = _reflection.GeneratedProtocolMessageType('DeploymentArgs', (_message.Message,), {
  352. 'DESCRIPTOR' : _DEPLOYMENTARGS,
  353. '__module__' : 'ray.serve.generated.serve_pb2'
  354. # @@protoc_insertion_point(class_scope:ray.serve.DeploymentArgs)
  355. })
  356. _sym_db.RegisterMessage(DeploymentArgs)
  357. ApplicationArgs = _reflection.GeneratedProtocolMessageType('ApplicationArgs', (_message.Message,), {
  358. 'DESCRIPTOR' : _APPLICATIONARGS,
  359. '__module__' : 'ray.serve.generated.serve_pb2'
  360. # @@protoc_insertion_point(class_scope:ray.serve.ApplicationArgs)
  361. })
  362. _sym_db.RegisterMessage(ApplicationArgs)
  363. ASGIRequest = _reflection.GeneratedProtocolMessageType('ASGIRequest', (_message.Message,), {
  364. 'DESCRIPTOR' : _ASGIREQUEST,
  365. '__module__' : 'ray.serve.generated.serve_pb2'
  366. # @@protoc_insertion_point(class_scope:ray.serve.ASGIRequest)
  367. })
  368. _sym_db.RegisterMessage(ASGIRequest)
  369. ASGIResponse = _reflection.GeneratedProtocolMessageType('ASGIResponse', (_message.Message,), {
  370. 'DESCRIPTOR' : _ASGIRESPONSE,
  371. '__module__' : 'ray.serve.generated.serve_pb2'
  372. # @@protoc_insertion_point(class_scope:ray.serve.ASGIResponse)
  373. })
  374. _sym_db.RegisterMessage(ASGIResponse)
  375. _RAYSERVEAPISERVICE = DESCRIPTOR.services_by_name['RayServeAPIService']
  376. _USERDEFINEDSERVICE = DESCRIPTOR.services_by_name['UserDefinedService']
  377. _FRUITSERVICE = DESCRIPTOR.services_by_name['FruitService']
  378. _RAYSERVEBENCHMARKSERVICE = DESCRIPTOR.services_by_name['RayServeBenchmarkService']
  379. _ASGISERVICE = DESCRIPTOR.services_by_name['ASGIService']
  380. if _descriptor._USE_C_DESCRIPTORS == False:
  381. DESCRIPTOR._options = None
  382. DESCRIPTOR._serialized_options = b'\n\026io.ray.serve.generatedB\013ServeProtosP\001'
  383. _REQUESTMETADATA_CONTEXTENTRY._options = None
  384. _REQUESTMETADATA_CONTEXTENTRY._serialized_options = b'8\001'
  385. _LONGPOLLREQUEST_KEYSTOSNAPSHOTIDSENTRY._options = None
  386. _LONGPOLLREQUEST_KEYSTOSNAPSHOTIDSENTRY._serialized_options = b'8\001'
  387. _LONGPOLLRESULT_UPDATEDOBJECTSENTRY._options = None
  388. _LONGPOLLRESULT_UPDATEDOBJECTSENTRY._serialized_options = b'8\001'
  389. _ENDPOINTINFO_CONFIGENTRY._options = None
  390. _ENDPOINTINFO_CONFIGENTRY._serialized_options = b'8\001'
  391. _ENDPOINTSET_ENDPOINTSENTRY._options = None
  392. _ENDPOINTSET_ENDPOINTSENTRY._serialized_options = b'8\001'
  393. _ENCODINGTYPE._serialized_start=7556
  394. _ENCODINGTYPE._serialized_end=7590
  395. _DEPLOYMENTLANGUAGE._serialized_start=7592
  396. _DEPLOYMENTLANGUAGE._serialized_end=7634
  397. _TARGETCAPACITYDIRECTION._serialized_start=7636
  398. _TARGETCAPACITYDIRECTION._serialized_end=7690
  399. _DEPLOYMENTSTATUS._serialized_start=7693
  400. _DEPLOYMENTSTATUS._serialized_end=7912
  401. _DEPLOYMENTSTATUSTRIGGER._serialized_start=7915
  402. _DEPLOYMENTSTATUSTRIGGER._serialized_end=8425
  403. _APPLICATIONSTATUS._serialized_start=8428
  404. _APPLICATIONSTATUS._serialized_end=8654
  405. _AUTOSCALINGPOLICY._serialized_start=43
  406. _AUTOSCALINGPOLICY._serialized_end=156
  407. _AUTOSCALINGCONFIG._serialized_start=159
  408. _AUTOSCALINGCONFIG._serialized_end=1123
  409. _LOGGINGCONFIG._serialized_start=1126
  410. _LOGGINGCONFIG._serialized_end=1361
  411. _REQUESTROUTERCONFIG._serialized_start=1364
  412. _REQUESTROUTERCONFIG._serialized_end=1693
  413. _DEPLOYMENTCONFIG._serialized_start=1696
  414. _DEPLOYMENTCONFIG._serialized_end=2617
  415. _REQUESTMETADATA._serialized_start=2620
  416. _REQUESTMETADATA._serialized_end=2948
  417. _REQUESTMETADATA_CONTEXTENTRY._serialized_start=2890
  418. _REQUESTMETADATA_CONTEXTENTRY._serialized_end=2948
  419. _REQUESTWRAPPER._serialized_start=2950
  420. _REQUESTWRAPPER._serialized_end=2986
  421. _UPDATEDOBJECT._serialized_start=2988
  422. _UPDATEDOBJECT._serialized_end=3077
  423. _LONGPOLLREQUEST._serialized_start=3080
  424. _LONGPOLLREQUEST._serialized_end=3267
  425. _LONGPOLLREQUEST_KEYSTOSNAPSHOTIDSENTRY._serialized_start=3199
  426. _LONGPOLLREQUEST_KEYSTOSNAPSHOTIDSENTRY._serialized_end=3267
  427. _LONGPOLLRESULT._serialized_start=3270
  428. _LONGPOLLRESULT._serialized_end=3467
  429. _LONGPOLLRESULT_UPDATEDOBJECTSENTRY._serialized_start=3376
  430. _LONGPOLLRESULT_UPDATEDOBJECTSENTRY._serialized_end=3467
  431. _ENDPOINTINFO._serialized_start=3470
  432. _ENDPOINTINFO._serialized_end=3663
  433. _ENDPOINTINFO_CONFIGENTRY._serialized_start=3606
  434. _ENDPOINTINFO_CONFIGENTRY._serialized_end=3663
  435. _ENDPOINTSET._serialized_start=3666
  436. _ENDPOINTSET._serialized_end=3835
  437. _ENDPOINTSET_ENDPOINTSENTRY._serialized_start=3750
  438. _ENDPOINTSET_ENDPOINTSENTRY._serialized_end=3835
  439. _ACTORNAMELIST._serialized_start=3837
  440. _ACTORNAMELIST._serialized_end=3874
  441. _DEPLOYMENTTARGETINFO._serialized_start=3876
  442. _DEPLOYMENTTARGETINFO._serialized_end=3970
  443. _DEPLOYMENTVERSION._serialized_start=3973
  444. _DEPLOYMENTVERSION._serialized_end=4467
  445. _REPLICACONFIG._serialized_start=4470
  446. _REPLICACONFIG._serialized_end=5000
  447. _DEPLOYMENTINFO._serialized_start=5003
  448. _DEPLOYMENTINFO._serialized_end=5440
  449. _DEPLOYMENTROUTE._serialized_start=5442
  450. _DEPLOYMENTROUTE._serialized_end=5549
  451. _DEPLOYMENTROUTELIST._serialized_start=5551
  452. _DEPLOYMENTROUTELIST._serialized_end=5645
  453. _DEPLOYMENTSTATUSINFO._serialized_start=5648
  454. _DEPLOYMENTSTATUSINFO._serialized_end=5844
  455. _DEPLOYMENTSTATUSINFOLIST._serialized_start=5846
  456. _DEPLOYMENTSTATUSINFOLIST._serialized_end=5961
  457. _APPLICATIONSTATUSINFO._serialized_start=5964
  458. _APPLICATIONSTATUSINFO._serialized_end=6118
  459. _STATUSOVERVIEW._serialized_start=6121
  460. _STATUSOVERVIEW._serialized_end=6308
  461. _LISTAPPLICATIONSREQUEST._serialized_start=6310
  462. _LISTAPPLICATIONSREQUEST._serialized_end=6335
  463. _LISTAPPLICATIONSRESPONSE._serialized_start=6337
  464. _LISTAPPLICATIONSRESPONSE._serialized_end=6408
  465. _HEALTHZREQUEST._serialized_start=6410
  466. _HEALTHZREQUEST._serialized_end=6426
  467. _HEALTHZRESPONSE._serialized_start=6428
  468. _HEALTHZRESPONSE._serialized_end=6471
  469. _USERDEFINEDMESSAGE._serialized_start=6473
  470. _USERDEFINEDMESSAGE._serialized_end=6549
  471. _USERDEFINEDRESPONSE._serialized_start=6551
  472. _USERDEFINEDRESPONSE._serialized_end=6623
  473. _USERDEFINEDMESSAGE2._serialized_start=6625
  474. _USERDEFINEDMESSAGE2._serialized_end=6646
  475. _USERDEFINEDRESPONSE2._serialized_start=6648
  476. _USERDEFINEDRESPONSE2._serialized_end=6698
  477. _FRUITAMOUNTS._serialized_start=6700
  478. _FRUITAMOUNTS._serialized_end=6784
  479. _FRUITCOSTS._serialized_start=6786
  480. _FRUITCOSTS._serialized_end=6820
  481. _ARRAYDATA._serialized_start=6822
  482. _ARRAYDATA._serialized_end=6853
  483. _STRINGDATA._serialized_start=6855
  484. _STRINGDATA._serialized_end=6887
  485. _MODELOUTPUT._serialized_start=6889
  486. _MODELOUTPUT._serialized_end=6926
  487. _DEPLOYMENTARGS._serialized_start=6929
  488. _DEPLOYMENTARGS._serialized_end=7241
  489. _APPLICATIONARGS._serialized_start=7243
  490. _APPLICATIONARGS._serialized_end=7316
  491. _ASGIREQUEST._serialized_start=7319
  492. _ASGIREQUEST._serialized_end=7464
  493. _ASGIRESPONSE._serialized_start=7466
  494. _ASGIRESPONSE._serialized_end=7554
  495. _RAYSERVEAPISERVICE._serialized_start=8657
  496. _RAYSERVEAPISERVICE._serialized_end=8836
  497. _USERDEFINEDSERVICE._serialized_start=8839
  498. _USERDEFINEDSERVICE._serialized_end=9162
  499. _FRUITSERVICE._serialized_start=9164
  500. _FRUITSERVICE._serialized_end=9240
  501. _RAYSERVEBENCHMARKSERVICE._serialized_start=9243
  502. _RAYSERVEBENCHMARKSERVICE._serialized_end=9395
  503. _ASGISERVICE._serialized_start=9398
  504. _ASGISERVICE._serialized_end=9723
  505. # @@protoc_insertion_point(module_scope)