# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: kaskada/kaskada/v2alpha/query_service.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
from kaskada.kaskada.v1alpha import common_pb2 as kaskada_dot_kaskada_dot_v1alpha_dot_common__pb2
from kaskada.kaskada.v1alpha import destinations_pb2 as kaskada_dot_kaskada_dot_v1alpha_dot_destinations__pb2
from kaskada.kaskada.v1alpha import fenl_diagnostics_pb2 as kaskada_dot_kaskada_dot_v1alpha_dot_fenl__diagnostics__pb2
from kaskada.kaskada.v1alpha import schema_pb2 as kaskada_dot_kaskada_dot_v1alpha_dot_schema__pb2
from validate import validate_pb2 as validate_dot_validate__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+kaskada/kaskada/v2alpha/query_service.proto\x12\x17kaskada.kaskada.v2alpha\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$kaskada/kaskada/v1alpha/common.proto\x1a*kaskada/kaskada/v1alpha/destinations.proto\x1a.kaskada/kaskada/v1alpha/fenl_diagnostics.proto\x1a$kaskada/kaskada/v1alpha/schema.proto\x1a\x17validate/validate.proto\":\n\x0fLatestDataToken\x12\'\n\rdata_token_id\x18\x01 \x01(\tB\x03\xe0\x41\x03R\x0b\x64\x61taTokenId\"@\n\x11SpecificDataToken\x12+\n\rdata_token_id\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x0b\x64\x61taTokenId\"\xd4\x01\n\tDataToken\x12V\n\x11latest_data_token\x18\x01 \x01(\x0b\x32(.kaskada.kaskada.v2alpha.LatestDataTokenH\x00R\x0flatestDataToken\x12\\\n\x13specific_data_token\x18\x02 \x01(\x0b\x32*.kaskada.kaskada.v2alpha.SpecificDataTokenH\x00R\x11specificDataTokenB\x11\n\ndata_token\x12\x03\xf8\x42\x01\"Z\n\tQueryView\x12$\n\tview_name\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x08viewName\x12\'\n\nexpression\x18\x02 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\nexpression\"V\n\nAllResults\x12H\n\x12\x63hanged_since_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x10\x63hangedSinceTime\"\xa0\x01\n\x0c\x46inalResults\x12H\n\x12\x63hanged_since_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x10\x63hangedSinceTime\x12\x46\n\x11\x66inal_result_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0f\x66inalResultTime\"\xa6\x01\n\x12\x46inalResultsAtTime\x12H\n\x12\x63hanged_since_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x10\x63hangedSinceTime\x12\x46\n\x11\x66inal_result_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0f\x66inalResultTime\"\xa0\x02\n\x0eResultBehavior\x12\x46\n\x0b\x61ll_results\x18\x01 \x01(\x0b\x32#.kaskada.kaskada.v2alpha.AllResultsH\x00R\nallResults\x12L\n\rfinal_results\x18\x02 \x01(\x0b\x32%.kaskada.kaskada.v2alpha.FinalResultsH\x00R\x0c\x66inalResults\x12`\n\x15\x66inal_results_at_time\x18\x03 \x01(\x0b\x32+.kaskada.kaskada.v2alpha.FinalResultsAtTimeH\x00R\x12\x66inalResultsAtTimeB\x16\n\x0fresult_behavior\x12\x03\xf8\x42\x01\"0\n\x0bQueryLimits\x12!\n\x0cpreview_rows\x18\x01 \x01(\x03R\x0bpreviewRows\"F\n\nQueryViews\x12\x38\n\x05views\x18\x01 \x03(\x0b\x32\".kaskada.kaskada.v2alpha.QueryViewR\x05views\"\x9a\x03\n\x0bQueryConfig\x12\x41\n\ndata_token\x18\x01 \x01(\x0b\x32\".kaskada.kaskada.v2alpha.DataTokenR\tdataToken\x12;\n\x05slice\x18\x02 \x01(\x0b\x32%.kaskada.kaskada.v1alpha.SliceRequestR\x05slice\x12\x46\n\x0b\x64\x65stination\x18\x03 \x01(\x0b\x32$.kaskada.kaskada.v1alpha.DestinationR\x0b\x64\x65stination\x12P\n\x0fresult_behavior\x18\x04 \x01(\x0b\x32\'.kaskada.kaskada.v2alpha.ResultBehaviorR\x0eresultBehavior\x12<\n\x06limits\x18\x05 \x01(\x0b\x32$.kaskada.kaskada.v2alpha.QueryLimitsR\x06limits\x12\x33\n\x15\x65xperimental_features\x18\x06 \x03(\tR\x14\x65xperimentalFeatures\"\"\n\nCSVResults\x12\x14\n\x05paths\x18\x01 \x03(\tR\x05paths\"&\n\x0eParquetResults\x12\x14\n\x05paths\x18\x01 \x03(\tR\x05paths\"(\n\x10RedisBulkResults\x12\x14\n\x05paths\x18\x01 \x03(\tR\x05paths\"V\n\x0bQueryOutput\x12G\n\x0c\x66ile_results\x18\x01 \x01(\x0b\x32$.kaskada.kaskada.v1alpha.FileResultsR\x0b\x66ileResults\"\xda\x01\n\x0cQueryResults\x12<\n\x06output\x18\x01 \x01(\x0b\x32$.kaskada.kaskada.v2alpha.QueryOutputR\x06output\x12S\n\x10\x66\x65nl_diagnostics\x18\x02 \x01(\x0b\x32(.kaskada.kaskada.v1alpha.FenlDiagnosticsR\x0f\x66\x65nlDiagnostics\x12\x37\n\x06schema\x18\x03 \x01(\x0b\x32\x1f.kaskada.kaskada.v1alpha.SchemaR\x06schema\"\xc3\x02\n\x0cQueryMetrics\x12@\n\x0etime_preparing\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationR\rtimePreparing\x12@\n\x0etime_computing\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationR\rtimeComputing\x12!\n\x0coutput_files\x18\x03 \x01(\x03R\x0boutputFiles\x12(\n\x10total_input_rows\x18\x04 \x01(\x03R\x0etotalInputRows\x12\x30\n\x14processed_input_rows\x18\x05 \x01(\x03R\x12processedInputRows\x12\x30\n\x14produced_output_rows\x18\x06 \x01(\x03R\x12producedOutputRows\"\xa3\x04\n\x05Query\x12\x1e\n\x08query_id\x18\x01 \x01(\tB\x03\xe0\x41\x03R\x07queryId\x12@\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03R\ncreateTime\x12@\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03R\nupdateTime\x12\'\n\nexpression\x18\x04 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\nexpression\x12>\n\x05views\x18\x05 \x01(\x0b\x32#.kaskada.kaskada.v2alpha.QueryViewsB\x03\xe0\x41\x03R\x05views\x12\x41\n\x06\x63onfig\x18\x06 \x01(\x0b\x32$.kaskada.kaskada.v2alpha.QueryConfigB\x03\xe0\x41\x03R\x06\x63onfig\x12>\n\x05state\x18\x07 \x01(\x0e\x32#.kaskada.kaskada.v2alpha.QueryStateB\x03\xe0\x41\x03R\x05state\x12\x44\n\x07results\x18\x08 \x01(\x0b\x32%.kaskada.kaskada.v2alpha.QueryResultsB\x03\xe0\x41\x03R\x07results\x12\x44\n\x07metrics\x18\t \x01(\x0b\x32%.kaskada.kaskada.v2alpha.QueryMetricsB\x03\xe0\x41\x03R\x07metrics\"\xcf\x01\n\x12\x43reateQueryRequest\x12\'\n\nexpression\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\nexpression\x12\x39\n\x05views\x18\x02 \x01(\x0b\x32#.kaskada.kaskada.v2alpha.QueryViewsR\x05views\x12<\n\x06\x63onfig\x18\x03 \x01(\x0b\x32$.kaskada.kaskada.v2alpha.QueryConfigR\x06\x63onfig\x12\x17\n\x07\x64ry_run\x18\x04 \x01(\x08R\x06\x64ryRun\"\x9d\x01\n\x13\x43reateQueryResponse\x12\x34\n\x05query\x18\x01 \x01(\x0b\x32\x1e.kaskada.kaskada.v2alpha.QueryR\x05query\x12P\n\x0frequest_details\x18\x02 \x01(\x0b\x32\'.kaskada.kaskada.v1alpha.RequestDetailsR\x0erequestDetails\"8\n\x12\x44\x65leteQueryRequest\x12\"\n\x08query_id\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x07queryId\"g\n\x13\x44\x65leteQueryResponse\x12P\n\x0frequest_details\x18\x01 \x01(\x0b\x32\'.kaskada.kaskada.v1alpha.RequestDetailsR\x0erequestDetails\"^\n\x0fGetQueryRequest\x12\"\n\x08query_id\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x07queryId\x12\'\n\x0fpresign_results\x18\x02 \x01(\x08R\x0epresignResults\"\x9a\x01\n\x10GetQueryResponse\x12\x34\n\x05query\x18\x01 \x01(\x0b\x32\x1e.kaskada.kaskada.v2alpha.QueryR\x05query\x12P\n\x0frequest_details\x18\x02 \x01(\x0b\x32\'.kaskada.kaskada.v1alpha.RequestDetailsR\x0erequestDetails\"t\n\x12ListQueriesRequest\x12\x16\n\x06search\x18\x01 \x01(\tR\x06search\x12\'\n\tpage_size\x18\x02 \x01(\x05\x42\n\xfa\x42\x07\x1a\x05\x18\xe8\x07(\x00R\x08pageSize\x12\x1d\n\npage_token\x18\x03 \x01(\tR\tpageToken\"\xc9\x01\n\x13ListQueriesResponse\x12\x38\n\x07queries\x18\x01 \x03(\x0b\x32\x1e.kaskada.kaskada.v2alpha.QueryR\x07queries\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12P\n\x0frequest_details\x18\x03 \x01(\x0b\x32\'.kaskada.kaskada.v1alpha.RequestDetailsR\x0erequestDetails*\xc5\x01\n\nQueryState\x12\x1b\n\x17QUERY_STATE_UNSPECIFIED\x10\x00\x12\x18\n\x14QUERY_STATE_COMPILED\x10\x01\x12\x19\n\x15QUERY_STATE_PREPARING\x10\x02\x12\x18\n\x14QUERY_STATE_PREPARED\x10\x03\x12\x19\n\x15QUERY_STATE_COMPUTING\x10\x04\x12\x17\n\x13QUERY_STATE_SUCCESS\x10\x05\x12\x17\n\x13QUERY_STATE_FAILURE\x10\x06\x32\xae\x04\n\x0cQueryService\x12\x83\x01\n\x0b\x43reateQuery\x12+.kaskada.kaskada.v2alpha.CreateQueryRequest\x1a,.kaskada.kaskada.v2alpha.CreateQueryResponse\"\x19\x82\xd3\xe4\x93\x02\x13:\x01*\"\x0e/v2alpha/query\x12\x8d\x01\n\x0b\x44\x65leteQuery\x12+.kaskada.kaskada.v2alpha.DeleteQueryRequest\x1a,.kaskada.kaskada.v2alpha.DeleteQueryResponse\"#\x82\xd3\xe4\x93\x02\x1d*\x1b/v2alpha/query/{query_id=*}\x12\x84\x01\n\x08GetQuery\x12(.kaskada.kaskada.v2alpha.GetQueryRequest\x1a).kaskada.kaskada.v2alpha.GetQueryResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/v2alpha/query/{query_id=*}\x12\x80\x01\n\x0bListQueries\x12+.kaskada.kaskada.v2alpha.ListQueriesRequest\x1a,.kaskada.kaskada.v2alpha.ListQueriesResponse\"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/v2alpha/queryB\x81\x02\n\x1b\x63om.kaskada.kaskada.v2alphaB\x11QueryServiceProtoP\x01ZQgithub.com/kaskada-ai/kaskada/gen/proto/go/kaskada/kaskada/v2alpha;kaskadav2alpha\xa2\x02\x03KKX\xaa\x02\x17Kaskada.Kaskada.V2alpha\xca\x02\x17Kaskada\\Kaskada\\V2alpha\xe2\x02#Kaskada\\Kaskada\\V2alpha\\GPBMetadata\xea\x02\x19Kaskada::Kaskada::V2alphab\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'kaskada.kaskada.v2alpha.query_service_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\033com.kaskada.kaskada.v2alphaB\021QueryServiceProtoP\001ZQgithub.com/kaskada-ai/kaskada/gen/proto/go/kaskada/kaskada/v2alpha;kaskadav2alpha\242\002\003KKX\252\002\027Kaskada.Kaskada.V2alpha\312\002\027Kaskada\\Kaskada\\V2alpha\342\002#Kaskada\\Kaskada\\V2alpha\\GPBMetadata\352\002\031Kaskada::Kaskada::V2alpha'
  _LATESTDATATOKEN.fields_by_name['data_token_id']._options = None
  _LATESTDATATOKEN.fields_by_name['data_token_id']._serialized_options = b'\340A\003'
  _SPECIFICDATATOKEN.fields_by_name['data_token_id']._options = None
  _SPECIFICDATATOKEN.fields_by_name['data_token_id']._serialized_options = b'\372B\004r\002\020\001'
  _DATATOKEN.oneofs_by_name['data_token']._options = None
  _DATATOKEN.oneofs_by_name['data_token']._serialized_options = b'\370B\001'
  _QUERYVIEW.fields_by_name['view_name']._options = None
  _QUERYVIEW.fields_by_name['view_name']._serialized_options = b'\372B\004r\002\020\001'
  _QUERYVIEW.fields_by_name['expression']._options = None
  _QUERYVIEW.fields_by_name['expression']._serialized_options = b'\372B\004r\002\020\001'
  _RESULTBEHAVIOR.oneofs_by_name['result_behavior']._options = None
  _RESULTBEHAVIOR.oneofs_by_name['result_behavior']._serialized_options = b'\370B\001'
  _QUERY.fields_by_name['query_id']._options = None
  _QUERY.fields_by_name['query_id']._serialized_options = b'\340A\003'
  _QUERY.fields_by_name['create_time']._options = None
  _QUERY.fields_by_name['create_time']._serialized_options = b'\340A\003'
  _QUERY.fields_by_name['update_time']._options = None
  _QUERY.fields_by_name['update_time']._serialized_options = b'\340A\003'
  _QUERY.fields_by_name['expression']._options = None
  _QUERY.fields_by_name['expression']._serialized_options = b'\372B\004r\002\020\001'
  _QUERY.fields_by_name['views']._options = None
  _QUERY.fields_by_name['views']._serialized_options = b'\340A\003'
  _QUERY.fields_by_name['config']._options = None
  _QUERY.fields_by_name['config']._serialized_options = b'\340A\003'
  _QUERY.fields_by_name['state']._options = None
  _QUERY.fields_by_name['state']._serialized_options = b'\340A\003'
  _QUERY.fields_by_name['results']._options = None
  _QUERY.fields_by_name['results']._serialized_options = b'\340A\003'
  _QUERY.fields_by_name['metrics']._options = None
  _QUERY.fields_by_name['metrics']._serialized_options = b'\340A\003'
  _CREATEQUERYREQUEST.fields_by_name['expression']._options = None
  _CREATEQUERYREQUEST.fields_by_name['expression']._serialized_options = b'\372B\004r\002\020\001'
  _DELETEQUERYREQUEST.fields_by_name['query_id']._options = None
  _DELETEQUERYREQUEST.fields_by_name['query_id']._serialized_options = b'\372B\004r\002\020\001'
  _GETQUERYREQUEST.fields_by_name['query_id']._options = None
  _GETQUERYREQUEST.fields_by_name['query_id']._serialized_options = b'\372B\004r\002\020\001'
  _LISTQUERIESREQUEST.fields_by_name['page_size']._options = None
  _LISTQUERIESREQUEST.fields_by_name['page_size']._serialized_options = b'\372B\007\032\005\030\350\007(\000'
  _QUERYSERVICE.methods_by_name['CreateQuery']._options = None
  _QUERYSERVICE.methods_by_name['CreateQuery']._serialized_options = b'\202\323\344\223\002\023:\001*\"\016/v2alpha/query'
  _QUERYSERVICE.methods_by_name['DeleteQuery']._options = None
  _QUERYSERVICE.methods_by_name['DeleteQuery']._serialized_options = b'\202\323\344\223\002\035*\033/v2alpha/query/{query_id=*}'
  _QUERYSERVICE.methods_by_name['GetQuery']._options = None
  _QUERYSERVICE.methods_by_name['GetQuery']._serialized_options = b'\202\323\344\223\002\035\022\033/v2alpha/query/{query_id=*}'
  _QUERYSERVICE.methods_by_name['ListQueries']._options = None
  _QUERYSERVICE.methods_by_name['ListQueries']._serialized_options = b'\202\323\344\223\002\020\022\016/v2alpha/query'
  _globals['_QUERYSTATE']._serialized_start=4484
  _globals['_QUERYSTATE']._serialized_end=4681
  _globals['_LATESTDATATOKEN']._serialized_start=393
  _globals['_LATESTDATATOKEN']._serialized_end=451
  _globals['_SPECIFICDATATOKEN']._serialized_start=453
  _globals['_SPECIFICDATATOKEN']._serialized_end=517
  _globals['_DATATOKEN']._serialized_start=520
  _globals['_DATATOKEN']._serialized_end=732
  _globals['_QUERYVIEW']._serialized_start=734
  _globals['_QUERYVIEW']._serialized_end=824
  _globals['_ALLRESULTS']._serialized_start=826
  _globals['_ALLRESULTS']._serialized_end=912
  _globals['_FINALRESULTS']._serialized_start=915
  _globals['_FINALRESULTS']._serialized_end=1075
  _globals['_FINALRESULTSATTIME']._serialized_start=1078
  _globals['_FINALRESULTSATTIME']._serialized_end=1244
  _globals['_RESULTBEHAVIOR']._serialized_start=1247
  _globals['_RESULTBEHAVIOR']._serialized_end=1535
  _globals['_QUERYLIMITS']._serialized_start=1537
  _globals['_QUERYLIMITS']._serialized_end=1585
  _globals['_QUERYVIEWS']._serialized_start=1587
  _globals['_QUERYVIEWS']._serialized_end=1657
  _globals['_QUERYCONFIG']._serialized_start=1660
  _globals['_QUERYCONFIG']._serialized_end=2070
  _globals['_CSVRESULTS']._serialized_start=2072
  _globals['_CSVRESULTS']._serialized_end=2106
  _globals['_PARQUETRESULTS']._serialized_start=2108
  _globals['_PARQUETRESULTS']._serialized_end=2146
  _globals['_REDISBULKRESULTS']._serialized_start=2148
  _globals['_REDISBULKRESULTS']._serialized_end=2188
  _globals['_QUERYOUTPUT']._serialized_start=2190
  _globals['_QUERYOUTPUT']._serialized_end=2276
  _globals['_QUERYRESULTS']._serialized_start=2279
  _globals['_QUERYRESULTS']._serialized_end=2497
  _globals['_QUERYMETRICS']._serialized_start=2500
  _globals['_QUERYMETRICS']._serialized_end=2823
  _globals['_QUERY']._serialized_start=2826
  _globals['_QUERY']._serialized_end=3373
  _globals['_CREATEQUERYREQUEST']._serialized_start=3376
  _globals['_CREATEQUERYREQUEST']._serialized_end=3583
  _globals['_CREATEQUERYRESPONSE']._serialized_start=3586
  _globals['_CREATEQUERYRESPONSE']._serialized_end=3743
  _globals['_DELETEQUERYREQUEST']._serialized_start=3745
  _globals['_DELETEQUERYREQUEST']._serialized_end=3801
  _globals['_DELETEQUERYRESPONSE']._serialized_start=3803
  _globals['_DELETEQUERYRESPONSE']._serialized_end=3906
  _globals['_GETQUERYREQUEST']._serialized_start=3908
  _globals['_GETQUERYREQUEST']._serialized_end=4002
  _globals['_GETQUERYRESPONSE']._serialized_start=4005
  _globals['_GETQUERYRESPONSE']._serialized_end=4159
  _globals['_LISTQUERIESREQUEST']._serialized_start=4161
  _globals['_LISTQUERIESREQUEST']._serialized_end=4277
  _globals['_LISTQUERIESRESPONSE']._serialized_start=4280
  _globals['_LISTQUERIESRESPONSE']._serialized_end=4481
  _globals['_QUERYSERVICE']._serialized_start=4684
  _globals['_QUERYSERVICE']._serialized_end=5242
# @@protoc_insertion_point(module_scope)
