/ mlflow / protos / webhooks_pb2.py
webhooks_pb2.py
  1  
  2  import google.protobuf
  3  from packaging.version import Version
  4  if Version(google.protobuf.__version__).major >= 5:
  5    # -*- coding: utf-8 -*-
  6    # Generated by the protocol buffer compiler.  DO NOT EDIT!
  7    # source: webhooks.proto
  8    # Protobuf Python Version: 5.26.0
  9    """Generated protocol buffer code."""
 10    from google.protobuf import descriptor as _descriptor
 11    from google.protobuf import descriptor_pool as _descriptor_pool
 12    from google.protobuf import symbol_database as _symbol_database
 13    from google.protobuf.internal import builder as _builder
 14    # @@protoc_insertion_point(imports)
 15  
 16    _sym_db = _symbol_database.Default()
 17  
 18  
 19    from . import databricks_pb2 as databricks__pb2
 20    from .scalapb import scalapb_pb2 as scalapb_dot_scalapb__pb2
 21  
 22  
 23    DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0ewebhooks.proto\x12\x06mlflow\x1a\x10\x64\x61tabricks.proto\x1a\x15scalapb/scalapb.proto\"h\n\x0cWebhookEvent\x12+\n\x06\x65ntity\x18\x01 \x01(\x0e\x32\x15.mlflow.WebhookEntityB\x04\xf8\x86\x19\x01\x12+\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32\x15.mlflow.WebhookActionB\x04\xf8\x86\x19\x01\"\xd6\x01\n\x07Webhook\x12\x12\n\nwebhook_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x0b\n\x03url\x18\x04 \x01(\t\x12$\n\x06\x65vents\x18\x05 \x03(\x0b\x32\x14.mlflow.WebhookEvent\x12%\n\x06status\x18\x06 \x01(\x0e\x32\x15.mlflow.WebhookStatus\x12\x1a\n\x12\x63reation_timestamp\x18\x07 \x01(\x03\x12\x1e\n\x16last_updated_timestamp\x18\x08 \x01(\x03\"k\n\x11WebhookTestResult\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x17\n\x0fresponse_status\x18\x02 \x01(\x05\x12\x15\n\rresponse_body\x18\x03 \x01(\t\x12\x15\n\rerror_message\x18\x04 \x01(\t\"\x89\x02\n\rCreateWebhook\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xf8\x86\x19\x01\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\x03url\x18\x03 \x01(\tB\x04\xf8\x86\x19\x01\x12*\n\x06\x65vents\x18\x04 \x03(\x0b\x32\x14.mlflow.WebhookEventB\x04\xf8\x86\x19\x01\x12\x0e\n\x06secret\x18\x05 \x01(\t\x12%\n\x06status\x18\x06 \x01(\x0e\x32\x15.mlflow.WebhookStatus\x1a,\n\x08Response\x12 \n\x07webhook\x18\x01 \x01(\x0b\x32\x0f.mlflow.Webhook:+\xe2?(\n&com.databricks.rpc.RPC[$this.Response]\"\xb1\x01\n\x0cListWebhooks\x12\x18\n\x0bmax_results\x18\x01 \x01(\x05:\x03\x31\x30\x30\x12\x12\n\npage_token\x18\x02 \x01(\t\x1a\x46\n\x08Response\x12!\n\x08webhooks\x18\x01 \x03(\x0b\x32\x0f.mlflow.Webhook\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t:+\xe2?(\n&com.databricks.rpc.RPC[$this.Response]\"\x81\x01\n\nGetWebhook\x12\x18\n\nwebhook_id\x18\x01 \x01(\tB\x04\xf8\x86\x19\x01\x1a,\n\x08Response\x12 \n\x07webhook\x18\x01 \x01(\x0b\x32\x0f.mlflow.Webhook:+\xe2?(\n&com.databricks.rpc.RPC[$this.Response]\"\x91\x02\n\rUpdateWebhook\x12\x18\n\nwebhook_id\x18\x01 \x01(\tB\x04\xf8\x86\x19\x01\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x0b\n\x03url\x18\x04 \x01(\t\x12$\n\x06\x65vents\x18\x05 \x03(\x0b\x32\x14.mlflow.WebhookEvent\x12\x0e\n\x06secret\x18\x06 \x01(\t\x12%\n\x06status\x18\x07 \x01(\x0e\x32\x15.mlflow.WebhookStatus\x1a,\n\x08Response\x12 \n\x07webhook\x18\x01 \x01(\x0b\x32\x0f.mlflow.Webhook:+\xe2?(\n&com.databricks.rpc.RPC[$this.Response]\"b\n\rDeleteWebhook\x12\x18\n\nwebhook_id\x18\x01 \x01(\tB\x04\xf8\x86\x19\x01\x1a\n\n\x08Response:+\xe2?(\n&com.databricks.rpc.RPC[$this.Response]\"\xb0\x01\n\x0bTestWebhook\x12\x18\n\nwebhook_id\x18\x01 \x01(\tB\x04\xf8\x86\x19\x01\x12#\n\x05\x65vent\x18\x02 \x01(\x0b\x32\x14.mlflow.WebhookEvent\x1a\x35\n\x08Response\x12)\n\x06result\x18\x01 \x01(\x0b\x32\x19.mlflow.WebhookTestResult:+\xe2?(\n&com.databricks.rpc.RPC[$this.Response]*)\n\rWebhookStatus\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02*\xed\x01\n\rWebhookEntity\x12\x16\n\x12\x45NTITY_UNSPECIFIED\x10\x00\x12\x14\n\x10REGISTERED_MODEL\x10\x01\x12\x11\n\rMODEL_VERSION\x10\x02\x12\x15\n\x11MODEL_VERSION_TAG\x10\x03\x12\x17\n\x13MODEL_VERSION_ALIAS\x10\x04\x12\n\n\x06PROMPT\x10\x05\x12\x12\n\x0ePROMPT_VERSION\x10\x06\x12\x0e\n\nPROMPT_TAG\x10\x07\x12\x16\n\x12PROMPT_VERSION_TAG\x10\x08\x12\x10\n\x0cPROMPT_ALIAS\x10\t\x12\x11\n\rBUDGET_POLICY\x10\n*e\n\rWebhookAction\x12\x16\n\x12\x41\x43TION_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x43REATED\x10\x01\x12\x0b\n\x07UPDATED\x10\x02\x12\x0b\n\x07\x44\x45LETED\x10\x03\x12\x07\n\x03SET\x10\x04\x12\x0c\n\x08\x45XCEEDED\x10\x05\x32\xb5\x06\n\x0eWebhookService\x12~\n\rcreateWebhook\x12\x15.mlflow.CreateWebhook\x1a\x1e.mlflow.CreateWebhook.Response\"6\xf2\x86\x19\x32\n\x1e\n\x04POST\x12\x10/mlflow/webhooks\x1a\x04\x08\x02\x10\x00\x10\x01*\x0e\x43reate Webhook\x12y\n\x0clistWebhooks\x12\x14.mlflow.ListWebhooks\x1a\x1d.mlflow.ListWebhooks.Response\"4\xf2\x86\x19\x30\n\x1d\n\x03GET\x12\x10/mlflow/webhooks\x1a\x04\x08\x02\x10\x00\x10\x01*\rList Webhooks\x12~\n\ngetWebhook\x12\x12.mlflow.GetWebhook\x1a\x1b.mlflow.GetWebhook.Response\"?\xf2\x86\x19;\n*\n\x03GET\x12\x1d/mlflow/webhooks/{webhook_id}\x1a\x04\x08\x02\x10\x00\x10\x01*\x0bGet Webhook\x12\x8c\x01\n\rupdateWebhook\x12\x15.mlflow.UpdateWebhook\x1a\x1e.mlflow.UpdateWebhook.Response\"D\xf2\x86\x19@\n,\n\x05PATCH\x12\x1d/mlflow/webhooks/{webhook_id}\x1a\x04\x08\x02\x10\x00\x10\x01*\x0eUpdate Webhook\x12\x8d\x01\n\rdeleteWebhook\x12\x15.mlflow.DeleteWebhook\x1a\x1e.mlflow.DeleteWebhook.Response\"E\xf2\x86\x19\x41\n-\n\x06\x44\x45LETE\x12\x1d/mlflow/webhooks/{webhook_id}\x1a\x04\x08\x02\x10\x00\x10\x01*\x0e\x44\x65lete Webhook\x12\x88\x01\n\x0btestWebhook\x12\x13.mlflow.TestWebhook\x1a\x1c.mlflow.TestWebhook.Response\"F\xf2\x86\x19\x42\n0\n\x04POST\x12\"/mlflow/webhooks/{webhook_id}/test\x1a\x04\x08\x02\x10\x00\x10\x01*\x0cTest WebhookB!\n\x14org.mlflow.api.proto\x90\x01\x01\xa0\x01\x01\xe2?\x02\x10\x01')
 24  
 25    _globals = globals()
 26    _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
 27    _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'webhooks_pb2', _globals)
 28    if not _descriptor._USE_C_DESCRIPTORS:
 29      _globals['DESCRIPTOR']._loaded_options = None
 30      _globals['DESCRIPTOR']._serialized_options = b'\n\024org.mlflow.api.proto\220\001\001\240\001\001\342?\002\020\001'
 31      _globals['_WEBHOOKEVENT'].fields_by_name['entity']._loaded_options = None
 32      _globals['_WEBHOOKEVENT'].fields_by_name['entity']._serialized_options = b'\370\206\031\001'
 33      _globals['_WEBHOOKEVENT'].fields_by_name['action']._loaded_options = None
 34      _globals['_WEBHOOKEVENT'].fields_by_name['action']._serialized_options = b'\370\206\031\001'
 35      _globals['_CREATEWEBHOOK'].fields_by_name['name']._loaded_options = None
 36      _globals['_CREATEWEBHOOK'].fields_by_name['name']._serialized_options = b'\370\206\031\001'
 37      _globals['_CREATEWEBHOOK'].fields_by_name['url']._loaded_options = None
 38      _globals['_CREATEWEBHOOK'].fields_by_name['url']._serialized_options = b'\370\206\031\001'
 39      _globals['_CREATEWEBHOOK'].fields_by_name['events']._loaded_options = None
 40      _globals['_CREATEWEBHOOK'].fields_by_name['events']._serialized_options = b'\370\206\031\001'
 41      _globals['_CREATEWEBHOOK']._loaded_options = None
 42      _globals['_CREATEWEBHOOK']._serialized_options = b'\342?(\n&com.databricks.rpc.RPC[$this.Response]'
 43      _globals['_LISTWEBHOOKS']._loaded_options = None
 44      _globals['_LISTWEBHOOKS']._serialized_options = b'\342?(\n&com.databricks.rpc.RPC[$this.Response]'
 45      _globals['_GETWEBHOOK'].fields_by_name['webhook_id']._loaded_options = None
 46      _globals['_GETWEBHOOK'].fields_by_name['webhook_id']._serialized_options = b'\370\206\031\001'
 47      _globals['_GETWEBHOOK']._loaded_options = None
 48      _globals['_GETWEBHOOK']._serialized_options = b'\342?(\n&com.databricks.rpc.RPC[$this.Response]'
 49      _globals['_UPDATEWEBHOOK'].fields_by_name['webhook_id']._loaded_options = None
 50      _globals['_UPDATEWEBHOOK'].fields_by_name['webhook_id']._serialized_options = b'\370\206\031\001'
 51      _globals['_UPDATEWEBHOOK']._loaded_options = None
 52      _globals['_UPDATEWEBHOOK']._serialized_options = b'\342?(\n&com.databricks.rpc.RPC[$this.Response]'
 53      _globals['_DELETEWEBHOOK'].fields_by_name['webhook_id']._loaded_options = None
 54      _globals['_DELETEWEBHOOK'].fields_by_name['webhook_id']._serialized_options = b'\370\206\031\001'
 55      _globals['_DELETEWEBHOOK']._loaded_options = None
 56      _globals['_DELETEWEBHOOK']._serialized_options = b'\342?(\n&com.databricks.rpc.RPC[$this.Response]'
 57      _globals['_TESTWEBHOOK'].fields_by_name['webhook_id']._loaded_options = None
 58      _globals['_TESTWEBHOOK'].fields_by_name['webhook_id']._serialized_options = b'\370\206\031\001'
 59      _globals['_TESTWEBHOOK']._loaded_options = None
 60      _globals['_TESTWEBHOOK']._serialized_options = b'\342?(\n&com.databricks.rpc.RPC[$this.Response]'
 61      _globals['_WEBHOOKSERVICE'].methods_by_name['createWebhook']._loaded_options = None
 62      _globals['_WEBHOOKSERVICE'].methods_by_name['createWebhook']._serialized_options = b'\362\206\0312\n\036\n\004POST\022\020/mlflow/webhooks\032\004\010\002\020\000\020\001*\016Create Webhook'
 63      _globals['_WEBHOOKSERVICE'].methods_by_name['listWebhooks']._loaded_options = None
 64      _globals['_WEBHOOKSERVICE'].methods_by_name['listWebhooks']._serialized_options = b'\362\206\0310\n\035\n\003GET\022\020/mlflow/webhooks\032\004\010\002\020\000\020\001*\rList Webhooks'
 65      _globals['_WEBHOOKSERVICE'].methods_by_name['getWebhook']._loaded_options = None
 66      _globals['_WEBHOOKSERVICE'].methods_by_name['getWebhook']._serialized_options = b'\362\206\031;\n*\n\003GET\022\035/mlflow/webhooks/{webhook_id}\032\004\010\002\020\000\020\001*\013Get Webhook'
 67      _globals['_WEBHOOKSERVICE'].methods_by_name['updateWebhook']._loaded_options = None
 68      _globals['_WEBHOOKSERVICE'].methods_by_name['updateWebhook']._serialized_options = b'\362\206\031@\n,\n\005PATCH\022\035/mlflow/webhooks/{webhook_id}\032\004\010\002\020\000\020\001*\016Update Webhook'
 69      _globals['_WEBHOOKSERVICE'].methods_by_name['deleteWebhook']._loaded_options = None
 70      _globals['_WEBHOOKSERVICE'].methods_by_name['deleteWebhook']._serialized_options = b'\362\206\031A\n-\n\006DELETE\022\035/mlflow/webhooks/{webhook_id}\032\004\010\002\020\000\020\001*\016Delete Webhook'
 71      _globals['_WEBHOOKSERVICE'].methods_by_name['testWebhook']._loaded_options = None
 72      _globals['_WEBHOOKSERVICE'].methods_by_name['testWebhook']._serialized_options = b'\362\206\031B\n0\n\004POST\022\"/mlflow/webhooks/{webhook_id}/test\032\004\010\002\020\000\020\001*\014Test Webhook'
 73      _globals['_WEBHOOKSTATUS']._serialized_start=1634
 74      _globals['_WEBHOOKSTATUS']._serialized_end=1675
 75      _globals['_WEBHOOKENTITY']._serialized_start=1678
 76      _globals['_WEBHOOKENTITY']._serialized_end=1915
 77      _globals['_WEBHOOKACTION']._serialized_start=1917
 78      _globals['_WEBHOOKACTION']._serialized_end=2018
 79      _globals['_WEBHOOKEVENT']._serialized_start=67
 80      _globals['_WEBHOOKEVENT']._serialized_end=171
 81      _globals['_WEBHOOK']._serialized_start=174
 82      _globals['_WEBHOOK']._serialized_end=388
 83      _globals['_WEBHOOKTESTRESULT']._serialized_start=390
 84      _globals['_WEBHOOKTESTRESULT']._serialized_end=497
 85      _globals['_CREATEWEBHOOK']._serialized_start=500
 86      _globals['_CREATEWEBHOOK']._serialized_end=765
 87      _globals['_CREATEWEBHOOK_RESPONSE']._serialized_start=676
 88      _globals['_CREATEWEBHOOK_RESPONSE']._serialized_end=720
 89      _globals['_LISTWEBHOOKS']._serialized_start=768
 90      _globals['_LISTWEBHOOKS']._serialized_end=945
 91      _globals['_LISTWEBHOOKS_RESPONSE']._serialized_start=830
 92      _globals['_LISTWEBHOOKS_RESPONSE']._serialized_end=900
 93      _globals['_GETWEBHOOK']._serialized_start=948
 94      _globals['_GETWEBHOOK']._serialized_end=1077
 95      _globals['_GETWEBHOOK_RESPONSE']._serialized_start=676
 96      _globals['_GETWEBHOOK_RESPONSE']._serialized_end=720
 97      _globals['_UPDATEWEBHOOK']._serialized_start=1080
 98      _globals['_UPDATEWEBHOOK']._serialized_end=1353
 99      _globals['_UPDATEWEBHOOK_RESPONSE']._serialized_start=676
100      _globals['_UPDATEWEBHOOK_RESPONSE']._serialized_end=720
101      _globals['_DELETEWEBHOOK']._serialized_start=1355
102      _globals['_DELETEWEBHOOK']._serialized_end=1453
103      _globals['_DELETEWEBHOOK_RESPONSE']._serialized_start=676
104      _globals['_DELETEWEBHOOK_RESPONSE']._serialized_end=686
105      _globals['_TESTWEBHOOK']._serialized_start=1456
106      _globals['_TESTWEBHOOK']._serialized_end=1632
107      _globals['_TESTWEBHOOK_RESPONSE']._serialized_start=1534
108      _globals['_TESTWEBHOOK_RESPONSE']._serialized_end=1587
109      _globals['_WEBHOOKSERVICE']._serialized_start=2021
110      _globals['_WEBHOOKSERVICE']._serialized_end=2842
111    _builder.BuildServices(DESCRIPTOR, 'webhooks_pb2', _globals)
112    # @@protoc_insertion_point(module_scope)
113  
114  else:
115    # -*- coding: utf-8 -*-
116    # Generated by the protocol buffer compiler.  DO NOT EDIT!
117    # source: webhooks.proto
118    """Generated protocol buffer code."""
119    from google.protobuf.internal import enum_type_wrapper
120    from google.protobuf import descriptor as _descriptor
121    from google.protobuf import descriptor_pool as _descriptor_pool
122    from google.protobuf import message as _message
123    from google.protobuf import reflection as _reflection
124    from google.protobuf import symbol_database as _symbol_database
125    from google.protobuf import service as _service
126    from google.protobuf import service_reflection
127    # @@protoc_insertion_point(imports)
128  
129    _sym_db = _symbol_database.Default()
130  
131  
132    from . import databricks_pb2 as databricks__pb2
133    from .scalapb import scalapb_pb2 as scalapb_dot_scalapb__pb2
134  
135  
136    DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0ewebhooks.proto\x12\x06mlflow\x1a\x10\x64\x61tabricks.proto\x1a\x15scalapb/scalapb.proto\"h\n\x0cWebhookEvent\x12+\n\x06\x65ntity\x18\x01 \x01(\x0e\x32\x15.mlflow.WebhookEntityB\x04\xf8\x86\x19\x01\x12+\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32\x15.mlflow.WebhookActionB\x04\xf8\x86\x19\x01\"\xd6\x01\n\x07Webhook\x12\x12\n\nwebhook_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x0b\n\x03url\x18\x04 \x01(\t\x12$\n\x06\x65vents\x18\x05 \x03(\x0b\x32\x14.mlflow.WebhookEvent\x12%\n\x06status\x18\x06 \x01(\x0e\x32\x15.mlflow.WebhookStatus\x12\x1a\n\x12\x63reation_timestamp\x18\x07 \x01(\x03\x12\x1e\n\x16last_updated_timestamp\x18\x08 \x01(\x03\"k\n\x11WebhookTestResult\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x17\n\x0fresponse_status\x18\x02 \x01(\x05\x12\x15\n\rresponse_body\x18\x03 \x01(\t\x12\x15\n\rerror_message\x18\x04 \x01(\t\"\x89\x02\n\rCreateWebhook\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xf8\x86\x19\x01\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\x03url\x18\x03 \x01(\tB\x04\xf8\x86\x19\x01\x12*\n\x06\x65vents\x18\x04 \x03(\x0b\x32\x14.mlflow.WebhookEventB\x04\xf8\x86\x19\x01\x12\x0e\n\x06secret\x18\x05 \x01(\t\x12%\n\x06status\x18\x06 \x01(\x0e\x32\x15.mlflow.WebhookStatus\x1a,\n\x08Response\x12 \n\x07webhook\x18\x01 \x01(\x0b\x32\x0f.mlflow.Webhook:+\xe2?(\n&com.databricks.rpc.RPC[$this.Response]\"\xb1\x01\n\x0cListWebhooks\x12\x18\n\x0bmax_results\x18\x01 \x01(\x05:\x03\x31\x30\x30\x12\x12\n\npage_token\x18\x02 \x01(\t\x1a\x46\n\x08Response\x12!\n\x08webhooks\x18\x01 \x03(\x0b\x32\x0f.mlflow.Webhook\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t:+\xe2?(\n&com.databricks.rpc.RPC[$this.Response]\"\x81\x01\n\nGetWebhook\x12\x18\n\nwebhook_id\x18\x01 \x01(\tB\x04\xf8\x86\x19\x01\x1a,\n\x08Response\x12 \n\x07webhook\x18\x01 \x01(\x0b\x32\x0f.mlflow.Webhook:+\xe2?(\n&com.databricks.rpc.RPC[$this.Response]\"\x91\x02\n\rUpdateWebhook\x12\x18\n\nwebhook_id\x18\x01 \x01(\tB\x04\xf8\x86\x19\x01\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x0b\n\x03url\x18\x04 \x01(\t\x12$\n\x06\x65vents\x18\x05 \x03(\x0b\x32\x14.mlflow.WebhookEvent\x12\x0e\n\x06secret\x18\x06 \x01(\t\x12%\n\x06status\x18\x07 \x01(\x0e\x32\x15.mlflow.WebhookStatus\x1a,\n\x08Response\x12 \n\x07webhook\x18\x01 \x01(\x0b\x32\x0f.mlflow.Webhook:+\xe2?(\n&com.databricks.rpc.RPC[$this.Response]\"b\n\rDeleteWebhook\x12\x18\n\nwebhook_id\x18\x01 \x01(\tB\x04\xf8\x86\x19\x01\x1a\n\n\x08Response:+\xe2?(\n&com.databricks.rpc.RPC[$this.Response]\"\xb0\x01\n\x0bTestWebhook\x12\x18\n\nwebhook_id\x18\x01 \x01(\tB\x04\xf8\x86\x19\x01\x12#\n\x05\x65vent\x18\x02 \x01(\x0b\x32\x14.mlflow.WebhookEvent\x1a\x35\n\x08Response\x12)\n\x06result\x18\x01 \x01(\x0b\x32\x19.mlflow.WebhookTestResult:+\xe2?(\n&com.databricks.rpc.RPC[$this.Response]*)\n\rWebhookStatus\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02*\xed\x01\n\rWebhookEntity\x12\x16\n\x12\x45NTITY_UNSPECIFIED\x10\x00\x12\x14\n\x10REGISTERED_MODEL\x10\x01\x12\x11\n\rMODEL_VERSION\x10\x02\x12\x15\n\x11MODEL_VERSION_TAG\x10\x03\x12\x17\n\x13MODEL_VERSION_ALIAS\x10\x04\x12\n\n\x06PROMPT\x10\x05\x12\x12\n\x0ePROMPT_VERSION\x10\x06\x12\x0e\n\nPROMPT_TAG\x10\x07\x12\x16\n\x12PROMPT_VERSION_TAG\x10\x08\x12\x10\n\x0cPROMPT_ALIAS\x10\t\x12\x11\n\rBUDGET_POLICY\x10\n*e\n\rWebhookAction\x12\x16\n\x12\x41\x43TION_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x43REATED\x10\x01\x12\x0b\n\x07UPDATED\x10\x02\x12\x0b\n\x07\x44\x45LETED\x10\x03\x12\x07\n\x03SET\x10\x04\x12\x0c\n\x08\x45XCEEDED\x10\x05\x32\xb5\x06\n\x0eWebhookService\x12~\n\rcreateWebhook\x12\x15.mlflow.CreateWebhook\x1a\x1e.mlflow.CreateWebhook.Response\"6\xf2\x86\x19\x32\n\x1e\n\x04POST\x12\x10/mlflow/webhooks\x1a\x04\x08\x02\x10\x00\x10\x01*\x0e\x43reate Webhook\x12y\n\x0clistWebhooks\x12\x14.mlflow.ListWebhooks\x1a\x1d.mlflow.ListWebhooks.Response\"4\xf2\x86\x19\x30\n\x1d\n\x03GET\x12\x10/mlflow/webhooks\x1a\x04\x08\x02\x10\x00\x10\x01*\rList Webhooks\x12~\n\ngetWebhook\x12\x12.mlflow.GetWebhook\x1a\x1b.mlflow.GetWebhook.Response\"?\xf2\x86\x19;\n*\n\x03GET\x12\x1d/mlflow/webhooks/{webhook_id}\x1a\x04\x08\x02\x10\x00\x10\x01*\x0bGet Webhook\x12\x8c\x01\n\rupdateWebhook\x12\x15.mlflow.UpdateWebhook\x1a\x1e.mlflow.UpdateWebhook.Response\"D\xf2\x86\x19@\n,\n\x05PATCH\x12\x1d/mlflow/webhooks/{webhook_id}\x1a\x04\x08\x02\x10\x00\x10\x01*\x0eUpdate Webhook\x12\x8d\x01\n\rdeleteWebhook\x12\x15.mlflow.DeleteWebhook\x1a\x1e.mlflow.DeleteWebhook.Response\"E\xf2\x86\x19\x41\n-\n\x06\x44\x45LETE\x12\x1d/mlflow/webhooks/{webhook_id}\x1a\x04\x08\x02\x10\x00\x10\x01*\x0e\x44\x65lete Webhook\x12\x88\x01\n\x0btestWebhook\x12\x13.mlflow.TestWebhook\x1a\x1c.mlflow.TestWebhook.Response\"F\xf2\x86\x19\x42\n0\n\x04POST\x12\"/mlflow/webhooks/{webhook_id}/test\x1a\x04\x08\x02\x10\x00\x10\x01*\x0cTest WebhookB!\n\x14org.mlflow.api.proto\x90\x01\x01\xa0\x01\x01\xe2?\x02\x10\x01')
137  
138    _WEBHOOKSTATUS = DESCRIPTOR.enum_types_by_name['WebhookStatus']
139    WebhookStatus = enum_type_wrapper.EnumTypeWrapper(_WEBHOOKSTATUS)
140    _WEBHOOKENTITY = DESCRIPTOR.enum_types_by_name['WebhookEntity']
141    WebhookEntity = enum_type_wrapper.EnumTypeWrapper(_WEBHOOKENTITY)
142    _WEBHOOKACTION = DESCRIPTOR.enum_types_by_name['WebhookAction']
143    WebhookAction = enum_type_wrapper.EnumTypeWrapper(_WEBHOOKACTION)
144    ACTIVE = 1
145    DISABLED = 2
146    ENTITY_UNSPECIFIED = 0
147    REGISTERED_MODEL = 1
148    MODEL_VERSION = 2
149    MODEL_VERSION_TAG = 3
150    MODEL_VERSION_ALIAS = 4
151    PROMPT = 5
152    PROMPT_VERSION = 6
153    PROMPT_TAG = 7
154    PROMPT_VERSION_TAG = 8
155    PROMPT_ALIAS = 9
156    BUDGET_POLICY = 10
157    ACTION_UNSPECIFIED = 0
158    CREATED = 1
159    UPDATED = 2
160    DELETED = 3
161    SET = 4
162    EXCEEDED = 5
163  
164  
165    _WEBHOOKEVENT = DESCRIPTOR.message_types_by_name['WebhookEvent']
166    _WEBHOOK = DESCRIPTOR.message_types_by_name['Webhook']
167    _WEBHOOKTESTRESULT = DESCRIPTOR.message_types_by_name['WebhookTestResult']
168    _CREATEWEBHOOK = DESCRIPTOR.message_types_by_name['CreateWebhook']
169    _CREATEWEBHOOK_RESPONSE = _CREATEWEBHOOK.nested_types_by_name['Response']
170    _LISTWEBHOOKS = DESCRIPTOR.message_types_by_name['ListWebhooks']
171    _LISTWEBHOOKS_RESPONSE = _LISTWEBHOOKS.nested_types_by_name['Response']
172    _GETWEBHOOK = DESCRIPTOR.message_types_by_name['GetWebhook']
173    _GETWEBHOOK_RESPONSE = _GETWEBHOOK.nested_types_by_name['Response']
174    _UPDATEWEBHOOK = DESCRIPTOR.message_types_by_name['UpdateWebhook']
175    _UPDATEWEBHOOK_RESPONSE = _UPDATEWEBHOOK.nested_types_by_name['Response']
176    _DELETEWEBHOOK = DESCRIPTOR.message_types_by_name['DeleteWebhook']
177    _DELETEWEBHOOK_RESPONSE = _DELETEWEBHOOK.nested_types_by_name['Response']
178    _TESTWEBHOOK = DESCRIPTOR.message_types_by_name['TestWebhook']
179    _TESTWEBHOOK_RESPONSE = _TESTWEBHOOK.nested_types_by_name['Response']
180    WebhookEvent = _reflection.GeneratedProtocolMessageType('WebhookEvent', (_message.Message,), {
181      'DESCRIPTOR' : _WEBHOOKEVENT,
182      '__module__' : 'webhooks_pb2'
183      # @@protoc_insertion_point(class_scope:mlflow.WebhookEvent)
184      })
185    _sym_db.RegisterMessage(WebhookEvent)
186  
187    Webhook = _reflection.GeneratedProtocolMessageType('Webhook', (_message.Message,), {
188      'DESCRIPTOR' : _WEBHOOK,
189      '__module__' : 'webhooks_pb2'
190      # @@protoc_insertion_point(class_scope:mlflow.Webhook)
191      })
192    _sym_db.RegisterMessage(Webhook)
193  
194    WebhookTestResult = _reflection.GeneratedProtocolMessageType('WebhookTestResult', (_message.Message,), {
195      'DESCRIPTOR' : _WEBHOOKTESTRESULT,
196      '__module__' : 'webhooks_pb2'
197      # @@protoc_insertion_point(class_scope:mlflow.WebhookTestResult)
198      })
199    _sym_db.RegisterMessage(WebhookTestResult)
200  
201    CreateWebhook = _reflection.GeneratedProtocolMessageType('CreateWebhook', (_message.Message,), {
202  
203      'Response' : _reflection.GeneratedProtocolMessageType('Response', (_message.Message,), {
204        'DESCRIPTOR' : _CREATEWEBHOOK_RESPONSE,
205        '__module__' : 'webhooks_pb2'
206        # @@protoc_insertion_point(class_scope:mlflow.CreateWebhook.Response)
207        })
208      ,
209      'DESCRIPTOR' : _CREATEWEBHOOK,
210      '__module__' : 'webhooks_pb2'
211      # @@protoc_insertion_point(class_scope:mlflow.CreateWebhook)
212      })
213    _sym_db.RegisterMessage(CreateWebhook)
214    _sym_db.RegisterMessage(CreateWebhook.Response)
215  
216    ListWebhooks = _reflection.GeneratedProtocolMessageType('ListWebhooks', (_message.Message,), {
217  
218      'Response' : _reflection.GeneratedProtocolMessageType('Response', (_message.Message,), {
219        'DESCRIPTOR' : _LISTWEBHOOKS_RESPONSE,
220        '__module__' : 'webhooks_pb2'
221        # @@protoc_insertion_point(class_scope:mlflow.ListWebhooks.Response)
222        })
223      ,
224      'DESCRIPTOR' : _LISTWEBHOOKS,
225      '__module__' : 'webhooks_pb2'
226      # @@protoc_insertion_point(class_scope:mlflow.ListWebhooks)
227      })
228    _sym_db.RegisterMessage(ListWebhooks)
229    _sym_db.RegisterMessage(ListWebhooks.Response)
230  
231    GetWebhook = _reflection.GeneratedProtocolMessageType('GetWebhook', (_message.Message,), {
232  
233      'Response' : _reflection.GeneratedProtocolMessageType('Response', (_message.Message,), {
234        'DESCRIPTOR' : _GETWEBHOOK_RESPONSE,
235        '__module__' : 'webhooks_pb2'
236        # @@protoc_insertion_point(class_scope:mlflow.GetWebhook.Response)
237        })
238      ,
239      'DESCRIPTOR' : _GETWEBHOOK,
240      '__module__' : 'webhooks_pb2'
241      # @@protoc_insertion_point(class_scope:mlflow.GetWebhook)
242      })
243    _sym_db.RegisterMessage(GetWebhook)
244    _sym_db.RegisterMessage(GetWebhook.Response)
245  
246    UpdateWebhook = _reflection.GeneratedProtocolMessageType('UpdateWebhook', (_message.Message,), {
247  
248      'Response' : _reflection.GeneratedProtocolMessageType('Response', (_message.Message,), {
249        'DESCRIPTOR' : _UPDATEWEBHOOK_RESPONSE,
250        '__module__' : 'webhooks_pb2'
251        # @@protoc_insertion_point(class_scope:mlflow.UpdateWebhook.Response)
252        })
253      ,
254      'DESCRIPTOR' : _UPDATEWEBHOOK,
255      '__module__' : 'webhooks_pb2'
256      # @@protoc_insertion_point(class_scope:mlflow.UpdateWebhook)
257      })
258    _sym_db.RegisterMessage(UpdateWebhook)
259    _sym_db.RegisterMessage(UpdateWebhook.Response)
260  
261    DeleteWebhook = _reflection.GeneratedProtocolMessageType('DeleteWebhook', (_message.Message,), {
262  
263      'Response' : _reflection.GeneratedProtocolMessageType('Response', (_message.Message,), {
264        'DESCRIPTOR' : _DELETEWEBHOOK_RESPONSE,
265        '__module__' : 'webhooks_pb2'
266        # @@protoc_insertion_point(class_scope:mlflow.DeleteWebhook.Response)
267        })
268      ,
269      'DESCRIPTOR' : _DELETEWEBHOOK,
270      '__module__' : 'webhooks_pb2'
271      # @@protoc_insertion_point(class_scope:mlflow.DeleteWebhook)
272      })
273    _sym_db.RegisterMessage(DeleteWebhook)
274    _sym_db.RegisterMessage(DeleteWebhook.Response)
275  
276    TestWebhook = _reflection.GeneratedProtocolMessageType('TestWebhook', (_message.Message,), {
277  
278      'Response' : _reflection.GeneratedProtocolMessageType('Response', (_message.Message,), {
279        'DESCRIPTOR' : _TESTWEBHOOK_RESPONSE,
280        '__module__' : 'webhooks_pb2'
281        # @@protoc_insertion_point(class_scope:mlflow.TestWebhook.Response)
282        })
283      ,
284      'DESCRIPTOR' : _TESTWEBHOOK,
285      '__module__' : 'webhooks_pb2'
286      # @@protoc_insertion_point(class_scope:mlflow.TestWebhook)
287      })
288    _sym_db.RegisterMessage(TestWebhook)
289    _sym_db.RegisterMessage(TestWebhook.Response)
290  
291    _WEBHOOKSERVICE = DESCRIPTOR.services_by_name['WebhookService']
292    if _descriptor._USE_C_DESCRIPTORS == False:
293  
294      DESCRIPTOR._options = None
295      DESCRIPTOR._serialized_options = b'\n\024org.mlflow.api.proto\220\001\001\240\001\001\342?\002\020\001'
296      _WEBHOOKEVENT.fields_by_name['entity']._options = None
297      _WEBHOOKEVENT.fields_by_name['entity']._serialized_options = b'\370\206\031\001'
298      _WEBHOOKEVENT.fields_by_name['action']._options = None
299      _WEBHOOKEVENT.fields_by_name['action']._serialized_options = b'\370\206\031\001'
300      _CREATEWEBHOOK.fields_by_name['name']._options = None
301      _CREATEWEBHOOK.fields_by_name['name']._serialized_options = b'\370\206\031\001'
302      _CREATEWEBHOOK.fields_by_name['url']._options = None
303      _CREATEWEBHOOK.fields_by_name['url']._serialized_options = b'\370\206\031\001'
304      _CREATEWEBHOOK.fields_by_name['events']._options = None
305      _CREATEWEBHOOK.fields_by_name['events']._serialized_options = b'\370\206\031\001'
306      _CREATEWEBHOOK._options = None
307      _CREATEWEBHOOK._serialized_options = b'\342?(\n&com.databricks.rpc.RPC[$this.Response]'
308      _LISTWEBHOOKS._options = None
309      _LISTWEBHOOKS._serialized_options = b'\342?(\n&com.databricks.rpc.RPC[$this.Response]'
310      _GETWEBHOOK.fields_by_name['webhook_id']._options = None
311      _GETWEBHOOK.fields_by_name['webhook_id']._serialized_options = b'\370\206\031\001'
312      _GETWEBHOOK._options = None
313      _GETWEBHOOK._serialized_options = b'\342?(\n&com.databricks.rpc.RPC[$this.Response]'
314      _UPDATEWEBHOOK.fields_by_name['webhook_id']._options = None
315      _UPDATEWEBHOOK.fields_by_name['webhook_id']._serialized_options = b'\370\206\031\001'
316      _UPDATEWEBHOOK._options = None
317      _UPDATEWEBHOOK._serialized_options = b'\342?(\n&com.databricks.rpc.RPC[$this.Response]'
318      _DELETEWEBHOOK.fields_by_name['webhook_id']._options = None
319      _DELETEWEBHOOK.fields_by_name['webhook_id']._serialized_options = b'\370\206\031\001'
320      _DELETEWEBHOOK._options = None
321      _DELETEWEBHOOK._serialized_options = b'\342?(\n&com.databricks.rpc.RPC[$this.Response]'
322      _TESTWEBHOOK.fields_by_name['webhook_id']._options = None
323      _TESTWEBHOOK.fields_by_name['webhook_id']._serialized_options = b'\370\206\031\001'
324      _TESTWEBHOOK._options = None
325      _TESTWEBHOOK._serialized_options = b'\342?(\n&com.databricks.rpc.RPC[$this.Response]'
326      _WEBHOOKSERVICE.methods_by_name['createWebhook']._options = None
327      _WEBHOOKSERVICE.methods_by_name['createWebhook']._serialized_options = b'\362\206\0312\n\036\n\004POST\022\020/mlflow/webhooks\032\004\010\002\020\000\020\001*\016Create Webhook'
328      _WEBHOOKSERVICE.methods_by_name['listWebhooks']._options = None
329      _WEBHOOKSERVICE.methods_by_name['listWebhooks']._serialized_options = b'\362\206\0310\n\035\n\003GET\022\020/mlflow/webhooks\032\004\010\002\020\000\020\001*\rList Webhooks'
330      _WEBHOOKSERVICE.methods_by_name['getWebhook']._options = None
331      _WEBHOOKSERVICE.methods_by_name['getWebhook']._serialized_options = b'\362\206\031;\n*\n\003GET\022\035/mlflow/webhooks/{webhook_id}\032\004\010\002\020\000\020\001*\013Get Webhook'
332      _WEBHOOKSERVICE.methods_by_name['updateWebhook']._options = None
333      _WEBHOOKSERVICE.methods_by_name['updateWebhook']._serialized_options = b'\362\206\031@\n,\n\005PATCH\022\035/mlflow/webhooks/{webhook_id}\032\004\010\002\020\000\020\001*\016Update Webhook'
334      _WEBHOOKSERVICE.methods_by_name['deleteWebhook']._options = None
335      _WEBHOOKSERVICE.methods_by_name['deleteWebhook']._serialized_options = b'\362\206\031A\n-\n\006DELETE\022\035/mlflow/webhooks/{webhook_id}\032\004\010\002\020\000\020\001*\016Delete Webhook'
336      _WEBHOOKSERVICE.methods_by_name['testWebhook']._options = None
337      _WEBHOOKSERVICE.methods_by_name['testWebhook']._serialized_options = b'\362\206\031B\n0\n\004POST\022\"/mlflow/webhooks/{webhook_id}/test\032\004\010\002\020\000\020\001*\014Test Webhook'
338      _WEBHOOKSTATUS._serialized_start=1634
339      _WEBHOOKSTATUS._serialized_end=1675
340      _WEBHOOKENTITY._serialized_start=1678
341      _WEBHOOKENTITY._serialized_end=1915
342      _WEBHOOKACTION._serialized_start=1917
343      _WEBHOOKACTION._serialized_end=2018
344      _WEBHOOKEVENT._serialized_start=67
345      _WEBHOOKEVENT._serialized_end=171
346      _WEBHOOK._serialized_start=174
347      _WEBHOOK._serialized_end=388
348      _WEBHOOKTESTRESULT._serialized_start=390
349      _WEBHOOKTESTRESULT._serialized_end=497
350      _CREATEWEBHOOK._serialized_start=500
351      _CREATEWEBHOOK._serialized_end=765
352      _CREATEWEBHOOK_RESPONSE._serialized_start=676
353      _CREATEWEBHOOK_RESPONSE._serialized_end=720
354      _LISTWEBHOOKS._serialized_start=768
355      _LISTWEBHOOKS._serialized_end=945
356      _LISTWEBHOOKS_RESPONSE._serialized_start=830
357      _LISTWEBHOOKS_RESPONSE._serialized_end=900
358      _GETWEBHOOK._serialized_start=948
359      _GETWEBHOOK._serialized_end=1077
360      _GETWEBHOOK_RESPONSE._serialized_start=676
361      _GETWEBHOOK_RESPONSE._serialized_end=720
362      _UPDATEWEBHOOK._serialized_start=1080
363      _UPDATEWEBHOOK._serialized_end=1353
364      _UPDATEWEBHOOK_RESPONSE._serialized_start=676
365      _UPDATEWEBHOOK_RESPONSE._serialized_end=720
366      _DELETEWEBHOOK._serialized_start=1355
367      _DELETEWEBHOOK._serialized_end=1453
368      _DELETEWEBHOOK_RESPONSE._serialized_start=676
369      _DELETEWEBHOOK_RESPONSE._serialized_end=686
370      _TESTWEBHOOK._serialized_start=1456
371      _TESTWEBHOOK._serialized_end=1632
372      _TESTWEBHOOK_RESPONSE._serialized_start=1534
373      _TESTWEBHOOK_RESPONSE._serialized_end=1587
374      _WEBHOOKSERVICE._serialized_start=2021
375      _WEBHOOKSERVICE._serialized_end=2842
376    WebhookService = service_reflection.GeneratedServiceType('WebhookService', (_service.Service,), dict(
377      DESCRIPTOR = _WEBHOOKSERVICE,
378      __module__ = 'webhooks_pb2'
379      ))
380  
381    WebhookService_Stub = service_reflection.GeneratedServiceStubType('WebhookService_Stub', (WebhookService,), dict(
382      DESCRIPTOR = _WEBHOOKSERVICE,
383      __module__ = 'webhooks_pb2'
384      ))
385  
386  
387    # @@protoc_insertion_point(module_scope)
388