# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: ydb/public/api/protos/ydb_operation.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.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
from ydb.public.api.protos.annotations import validation_pb2 as ydb_dot_public_dot_api_dot_protos_dot_annotations_dot_validation__pb2
from ydb.public.api.protos import ydb_common_pb2 as ydb_dot_public_dot_api_dot_protos_dot_ydb__common__pb2
from ydb.public.api.protos import ydb_issue_message_pb2 as ydb_dot_public_dot_api_dot_protos_dot_ydb__issue__message__pb2
from ydb.public.api.protos import ydb_status_codes_pb2 as ydb_dot_public_dot_api_dot_protos_dot_ydb__status__codes__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)ydb/public/api/protos/ydb_operation.proto\x12\x0eYdb.Operations\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x32ydb/public/api/protos/annotations/validation.proto\x1a&ydb/public/api/protos/ydb_common.proto\x1a-ydb/public/api/protos/ydb_issue_message.proto\x1a,ydb/public/api/protos/ydb_status_codes.proto\"\xb6\x03\n\x0fOperationParams\x12\x45\n\x0eoperation_mode\x18\x01 \x01(\x0e\x32-.Ydb.Operations.OperationParams.OperationMode\x12\x34\n\x11operation_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12/\n\x0c\x63\x61ncel_after\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12M\n\x06labels\x18\x04 \x03(\x0b\x32+.Ydb.Operations.OperationParams.LabelsEntryB\x10\xaa\xe6*\x05\n\x03\x18\x80\x01\xa2\xe6*\x03\x18\x80\x01\x12\x31\n\x10report_cost_info\x18\x05 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"D\n\rOperationMode\x12\x1e\n\x1aOPERATION_MODE_UNSPECIFIED\x10\x00\x12\x08\n\x04SYNC\x10\x01\x12\t\n\x05\x41SYNC\x10\x02\"\'\n\x13GetOperationRequest\x12\x10\n\x02id\x18\x01 \x01(\tB\x04\x90\xe6*\x01\"D\n\x14GetOperationResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"*\n\x16\x43\x61ncelOperationRequest\x12\x10\n\x02id\x18\x01 \x01(\tB\x04\x90\xe6*\x01\"m\n\x17\x43\x61ncelOperationResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"*\n\x16\x46orgetOperationRequest\x12\x10\n\x02id\x18\x01 \x01(\tB\x04\x90\xe6*\x01\"m\n\x17\x46orgetOperationResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"R\n\x15ListOperationsRequest\x12\x12\n\x04kind\x18\x01 \x01(\tB\x04\x90\xe6*\x01\x12\x11\n\tpage_size\x18\x02 \x01(\x04\x12\x12\n\npage_token\x18\x03 \x01(\t\"\xb4\x01\n\x16ListOperationsResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12-\n\noperations\x18\x03 \x03(\x0b\x32\x19.Ydb.Operations.Operation\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\t\"\xea\x01\n\tOperation\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05ready\x18\x02 \x01(\x08\x12)\n\x06status\x18\x03 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x04 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12$\n\x06result\x18\x05 \x01(\x0b\x32\x14.google.protobuf.Any\x12&\n\x08metadata\x18\x06 \x01(\x0b\x32\x14.google.protobuf.Any\x12 \n\tcost_info\x18\x07 \x01(\x0b\x32\r.Ydb.CostInfoB$\n\x0e\x63om.yandex.ydbB\x0fOperationProtos\xf8\x01\x01\x62\x06proto3')

_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ydb.public.api.protos.ydb_operation_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\016com.yandex.ydbB\017OperationProtos\370\001\001'
  _OPERATIONPARAMS_LABELSENTRY._options = None
  _OPERATIONPARAMS_LABELSENTRY._serialized_options = b'8\001'
  _OPERATIONPARAMS.fields_by_name['labels']._options = None
  _OPERATIONPARAMS.fields_by_name['labels']._serialized_options = b'\252\346*\005\n\003\030\200\001\242\346*\003\030\200\001'
  _GETOPERATIONREQUEST.fields_by_name['id']._options = None
  _GETOPERATIONREQUEST.fields_by_name['id']._serialized_options = b'\220\346*\001'
  _CANCELOPERATIONREQUEST.fields_by_name['id']._options = None
  _CANCELOPERATIONREQUEST.fields_by_name['id']._serialized_options = b'\220\346*\001'
  _FORGETOPERATIONREQUEST.fields_by_name['id']._options = None
  _FORGETOPERATIONREQUEST.fields_by_name['id']._serialized_options = b'\220\346*\001'
  _LISTOPERATIONSREQUEST.fields_by_name['kind']._options = None
  _LISTOPERATIONSREQUEST.fields_by_name['kind']._serialized_options = b'\220\346*\001'
  _OPERATIONPARAMS._serialized_start=306
  _OPERATIONPARAMS._serialized_end=744
  _OPERATIONPARAMS_LABELSENTRY._serialized_start=629
  _OPERATIONPARAMS_LABELSENTRY._serialized_end=674
  _OPERATIONPARAMS_OPERATIONMODE._serialized_start=676
  _OPERATIONPARAMS_OPERATIONMODE._serialized_end=744
  _GETOPERATIONREQUEST._serialized_start=746
  _GETOPERATIONREQUEST._serialized_end=785
  _GETOPERATIONRESPONSE._serialized_start=787
  _GETOPERATIONRESPONSE._serialized_end=855
  _CANCELOPERATIONREQUEST._serialized_start=857
  _CANCELOPERATIONREQUEST._serialized_end=899
  _CANCELOPERATIONRESPONSE._serialized_start=901
  _CANCELOPERATIONRESPONSE._serialized_end=1010
  _FORGETOPERATIONREQUEST._serialized_start=1012
  _FORGETOPERATIONREQUEST._serialized_end=1054
  _FORGETOPERATIONRESPONSE._serialized_start=1056
  _FORGETOPERATIONRESPONSE._serialized_end=1165
  _LISTOPERATIONSREQUEST._serialized_start=1167
  _LISTOPERATIONSREQUEST._serialized_end=1249
  _LISTOPERATIONSRESPONSE._serialized_start=1252
  _LISTOPERATIONSRESPONSE._serialized_end=1432
  _OPERATION._serialized_start=1435
  _OPERATION._serialized_end=1669
# @@protoc_insertion_point(module_scope)
