# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proto/datasource/v1/datasource.proto
# Protobuf Python Version: 6.31.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
    _runtime_version.Domain.PUBLIC,
    6,
    31,
    1,
    '',
    'proto/datasource/v1/datasource.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$proto/datasource/v1/datasource.proto\x12\rdatasource.v1\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xcf\x01\n\x0fRequestEnvelope\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x10\n\x08\x62iz_name\x18\x02 \x01(\t\x12>\n\x08metadata\x18\x03 \x03(\x0b\x32,.datasource.v1.RequestEnvelope.MetadataEntry\x12%\n\x07payload\x18\x04 \x01(\x0b\x32\x14.google.protobuf.Any\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x84\x01\n\x10ResponseEnvelope\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12%\n\x06status\x18\x02 \x01(\x0b\x32\x15.datasource.v1.Status\x12%\n\x07payload\x18\x03 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0e\n\x06\x61\x63tion\x18\x04 \x01(\t\"Q\n\x06Status\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12(\n\x07\x64\x65tails\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x16\n\x14GetPluginInfoRequest\"\xd3\x01\n\x15GetPluginInfoResponse\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x1c\n\x14\x64\x65scription_markdown\x18\x04 \x01(\t\x12\x33\n\x10\x63ontract_version\x18\x05 \x01(\x0b\x32\x19.datasource.v1.ApiVersion\x12\x1a\n\x12supported_payloads\x18\x06 \x03(\t\x12\x1e\n\x16supported_capabilities\x18\x07 \x03(\t\"9\n\nApiVersion\x12\r\n\x05major\x18\x01 \x01(\x05\x12\r\n\x05minor\x18\x02 \x01(\x05\x12\r\n\x05patch\x18\x03 \x01(\x05\":\n\x10\x44\x61taQueryRequest\x12&\n\x05query\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\"8\n\x0f\x44\x61taQueryResult\x12%\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\"P\n\x11\x44\x61taMutateRequest\x12\x11\n\toperation\x18\x01 \x01(\t\x12(\n\x07payload\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\"9\n\x10\x44\x61taMutateResult\x12%\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\"&\n\x10GetSchemaRequest\x12\x12\n\ntable_name\x18\x01 \x01(\t\"\x92\x01\n\x0cSchemaResult\x12\x37\n\x06tables\x18\x01 \x03(\x0b\x32\'.datasource.v1.SchemaResult.TablesEntry\x1aI\n\x0bTablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.datasource.v1.TableSchema:\x02\x38\x01\">\n\x0bTableSchema\x12/\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x1f.datasource.v1.FieldDescription\"\x8a\x01\n\x10\x46ieldDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tdata_type\x18\x02 \x01(\t\x12\x15\n\ris_searchable\x18\x03 \x01(\x08\x12\x15\n\ris_returnable\x18\x04 \x01(\x08\x12\x12\n\nis_primary\x18\x05 \x01(\x08\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\"I\n\x1aUpdateConfigurationRequest\x12+\n\nnew_config\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\",\n\x19UpdateConfigurationResult\x12\x0f\n\x07message\x18\x01 \x01(\t\"\x14\n\x12HealthCheckRequest\"\x93\x01\n\x13HealthCheckResponse\x12@\n\x06status\x18\x01 \x01(\x0e\x32\x30.datasource.v1.HealthCheckResponse.ServingStatus\":\n\rServingStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07SERVING\x10\x01\x12\x0f\n\x0bNOT_SERVING\x10\x02\"6\n\x14TriggerBackupRequest\x12\x1e\n\x16\x62\x61\x63kup_destination_dir\x18\x01 \x01(\t\"[\n\x13TriggerBackupResult\x12\x19\n\x11\x66inal_backup_path\x18\x01 \x01(\t\x12\x11\n\tfile_size\x18\x02 \x01(\x03\x12\x16\n\x0e\x64\x62_files_count\x18\x03 \x01(\x05\"\xd9\x01\n\x12SharedMemoryHandle\x12\x11\n\tfile_path\x18\x01 \x01(\t\x12\x0e\n\x06offset\x18\x02 \x01(\x03\x12\x0e\n\x06length\x18\x03 \x01(\x03\x12\x0e\n\x06\x66ormat\x18\x04 \x01(\t\x12\x0c\n\x04rows\x18\x05 \x01(\x03\x12\x41\n\x08metadata\x18\x06 \x03(\x0b\x32/.datasource.v1.SharedMemoryHandle.MetadataEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x32\x8a\x02\n\nDataSource\x12Z\n\rGetPluginInfo\x12#.datasource.v1.GetPluginInfoRequest\x1a$.datasource.v1.GetPluginInfoResponse\x12J\n\x07\x45xecute\x12\x1e.datasource.v1.RequestEnvelope\x1a\x1f.datasource.v1.ResponseEnvelope\x12T\n\x0bHealthCheck\x12!.datasource.v1.HealthCheckRequest\x1a\".datasource.v1.HealthCheckResponseB#Z!gen/go/datasource/v1;datasourcev1b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.datasource.v1.datasource_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'Z!gen/go/datasource/v1;datasourcev1'
  _globals['_REQUESTENVELOPE_METADATAENTRY']._loaded_options = None
  _globals['_REQUESTENVELOPE_METADATAENTRY']._serialized_options = b'8\001'
  _globals['_SCHEMARESULT_TABLESENTRY']._loaded_options = None
  _globals['_SCHEMARESULT_TABLESENTRY']._serialized_options = b'8\001'
  _globals['_SHAREDMEMORYHANDLE_METADATAENTRY']._loaded_options = None
  _globals['_SHAREDMEMORYHANDLE_METADATAENTRY']._serialized_options = b'8\001'
  _globals['_REQUESTENVELOPE']._serialized_start=113
  _globals['_REQUESTENVELOPE']._serialized_end=320
  _globals['_REQUESTENVELOPE_METADATAENTRY']._serialized_start=273
  _globals['_REQUESTENVELOPE_METADATAENTRY']._serialized_end=320
  _globals['_RESPONSEENVELOPE']._serialized_start=323
  _globals['_RESPONSEENVELOPE']._serialized_end=455
  _globals['_STATUS']._serialized_start=457
  _globals['_STATUS']._serialized_end=538
  _globals['_GETPLUGININFOREQUEST']._serialized_start=540
  _globals['_GETPLUGININFOREQUEST']._serialized_end=562
  _globals['_GETPLUGININFORESPONSE']._serialized_start=565
  _globals['_GETPLUGININFORESPONSE']._serialized_end=776
  _globals['_APIVERSION']._serialized_start=778
  _globals['_APIVERSION']._serialized_end=835
  _globals['_DATAQUERYREQUEST']._serialized_start=837
  _globals['_DATAQUERYREQUEST']._serialized_end=895
  _globals['_DATAQUERYRESULT']._serialized_start=897
  _globals['_DATAQUERYRESULT']._serialized_end=953
  _globals['_DATAMUTATEREQUEST']._serialized_start=955
  _globals['_DATAMUTATEREQUEST']._serialized_end=1035
  _globals['_DATAMUTATERESULT']._serialized_start=1037
  _globals['_DATAMUTATERESULT']._serialized_end=1094
  _globals['_GETSCHEMAREQUEST']._serialized_start=1096
  _globals['_GETSCHEMAREQUEST']._serialized_end=1134
  _globals['_SCHEMARESULT']._serialized_start=1137
  _globals['_SCHEMARESULT']._serialized_end=1283
  _globals['_SCHEMARESULT_TABLESENTRY']._serialized_start=1210
  _globals['_SCHEMARESULT_TABLESENTRY']._serialized_end=1283
  _globals['_TABLESCHEMA']._serialized_start=1285
  _globals['_TABLESCHEMA']._serialized_end=1347
  _globals['_FIELDDESCRIPTION']._serialized_start=1350
  _globals['_FIELDDESCRIPTION']._serialized_end=1488
  _globals['_UPDATECONFIGURATIONREQUEST']._serialized_start=1490
  _globals['_UPDATECONFIGURATIONREQUEST']._serialized_end=1563
  _globals['_UPDATECONFIGURATIONRESULT']._serialized_start=1565
  _globals['_UPDATECONFIGURATIONRESULT']._serialized_end=1609
  _globals['_HEALTHCHECKREQUEST']._serialized_start=1611
  _globals['_HEALTHCHECKREQUEST']._serialized_end=1631
  _globals['_HEALTHCHECKRESPONSE']._serialized_start=1634
  _globals['_HEALTHCHECKRESPONSE']._serialized_end=1781
  _globals['_HEALTHCHECKRESPONSE_SERVINGSTATUS']._serialized_start=1723
  _globals['_HEALTHCHECKRESPONSE_SERVINGSTATUS']._serialized_end=1781
  _globals['_TRIGGERBACKUPREQUEST']._serialized_start=1783
  _globals['_TRIGGERBACKUPREQUEST']._serialized_end=1837
  _globals['_TRIGGERBACKUPRESULT']._serialized_start=1839
  _globals['_TRIGGERBACKUPRESULT']._serialized_end=1930
  _globals['_SHAREDMEMORYHANDLE']._serialized_start=1933
  _globals['_SHAREDMEMORYHANDLE']._serialized_end=2150
  _globals['_SHAREDMEMORYHANDLE_METADATAENTRY']._serialized_start=273
  _globals['_SHAREDMEMORYHANDLE_METADATAENTRY']._serialized_end=320
  _globals['_DATASOURCE']._serialized_start=2153
  _globals['_DATASOURCE']._serialized_end=2419
# @@protoc_insertion_point(module_scope)
