# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: ai/h2o/notebook/v1/kernel_task.proto
# Protobuf Python Version: 4.25.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 symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.api import resource_pb2 as google_dot_api_dot_resource__pb2
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$ai/h2o/notebook/v1/kernel_task.proto\x12\x12\x61i.h2o.notebook.v1\x1a\x19google/api/resource.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9d\x06\n\nKernelTask\x12\x18\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08R\x04name\x12\x19\n\x04\x63ode\x18\x02 \x01(\tB\x05\xe2\x41\x02\x02\x05R\x04\x63ode\x12@\n\x05state\x18\x03 \x01(\x0e\x32$.ai.h2o.notebook.v1.KernelTask.StateB\x04\xe2\x41\x01\x03R\x05state\x12-\n\x0fsequence_number\x18\x04 \x01(\x05\x42\x04\xe2\x41\x01\x03R\x0esequenceNumber\x12\x30\n\x11tasks_ahead_count\x18\x05 \x01(\x05\x42\x04\xe2\x41\x01\x03R\x0ftasksAheadCount\x12\x1c\n\x06stdout\x18\x06 \x01(\tB\x04\xe2\x41\x01\x03R\x06stdout\x12\x1a\n\x05\x65rror\x18\x07 \x01(\tB\x04\xe2\x41\x01\x03R\x05\x65rror\x12%\n\x0b\x65rror_value\x18\x08 \x01(\tB\x04\xe2\x41\x01\x03R\nerrorValue\x12\"\n\ttraceback\x18\t \x01(\tB\x04\xe2\x41\x01\x03R\ttraceback\x12\x41\n\x0b\x63reate_time\x18\x64 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\ncreateTime\x12R\n\x14\x65xecution_start_time\x18\x65 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\x12\x65xecutionStartTime\x12\x45\n\rcomplete_time\x18\x66 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\x0c\x63ompleteTime\"{\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cSTATE_QUEUED\x10\x01\x12\x13\n\x0fSTATE_EXECUTING\x10\x02\x12\x18\n\x14STATE_COMPLETE_ERROR\x10\x03\x12\x1a\n\x16STATE_COMPLETE_SUCCESS\x10\x04:W\xea\x41T\n\x1anotebook.h2o.ai/KernelTask\x12\x1dkernels/{kernel}/tasks/{task}*\x0bkernelTasks2\nkernelTaskB\xd1\x01\n\x16\x63om.ai.h2o.notebook.v1B\x0fKernelTaskProtoP\x01Z;github.com/h2oai/notebook/api/ai/h2o/notebook/v1;notebookv1\xa2\x02\x03\x41HN\xaa\x02\x12\x41i.H2o.Notebook.V1\xca\x02\x12\x41i\\H2o\\Notebook\\V1\xe2\x02\x1e\x41i\\H2o\\Notebook\\V1\\GPBMetadata\xea\x02\x15\x41i::H2o::Notebook::V1b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ai.h2o.notebook.v1.kernel_task_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
  _globals['DESCRIPTOR']._options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n\026com.ai.h2o.notebook.v1B\017KernelTaskProtoP\001Z;github.com/h2oai/notebook/api/ai/h2o/notebook/v1;notebookv1\242\002\003AHN\252\002\022Ai.H2o.Notebook.V1\312\002\022Ai\\H2o\\Notebook\\V1\342\002\036Ai\\H2o\\Notebook\\V1\\GPBMetadata\352\002\025Ai::H2o::Notebook::V1'
  _globals['_KERNELTASK'].fields_by_name['name']._options = None
  _globals['_KERNELTASK'].fields_by_name['name']._serialized_options = b'\342A\001\010'
  _globals['_KERNELTASK'].fields_by_name['code']._options = None
  _globals['_KERNELTASK'].fields_by_name['code']._serialized_options = b'\342A\002\002\005'
  _globals['_KERNELTASK'].fields_by_name['state']._options = None
  _globals['_KERNELTASK'].fields_by_name['state']._serialized_options = b'\342A\001\003'
  _globals['_KERNELTASK'].fields_by_name['sequence_number']._options = None
  _globals['_KERNELTASK'].fields_by_name['sequence_number']._serialized_options = b'\342A\001\003'
  _globals['_KERNELTASK'].fields_by_name['tasks_ahead_count']._options = None
  _globals['_KERNELTASK'].fields_by_name['tasks_ahead_count']._serialized_options = b'\342A\001\003'
  _globals['_KERNELTASK'].fields_by_name['stdout']._options = None
  _globals['_KERNELTASK'].fields_by_name['stdout']._serialized_options = b'\342A\001\003'
  _globals['_KERNELTASK'].fields_by_name['error']._options = None
  _globals['_KERNELTASK'].fields_by_name['error']._serialized_options = b'\342A\001\003'
  _globals['_KERNELTASK'].fields_by_name['error_value']._options = None
  _globals['_KERNELTASK'].fields_by_name['error_value']._serialized_options = b'\342A\001\003'
  _globals['_KERNELTASK'].fields_by_name['traceback']._options = None
  _globals['_KERNELTASK'].fields_by_name['traceback']._serialized_options = b'\342A\001\003'
  _globals['_KERNELTASK'].fields_by_name['create_time']._options = None
  _globals['_KERNELTASK'].fields_by_name['create_time']._serialized_options = b'\342A\001\003'
  _globals['_KERNELTASK'].fields_by_name['execution_start_time']._options = None
  _globals['_KERNELTASK'].fields_by_name['execution_start_time']._serialized_options = b'\342A\001\003'
  _globals['_KERNELTASK'].fields_by_name['complete_time']._options = None
  _globals['_KERNELTASK'].fields_by_name['complete_time']._serialized_options = b'\342A\001\003'
  _globals['_KERNELTASK']._options = None
  _globals['_KERNELTASK']._serialized_options = b'\352AT\n\032notebook.h2o.ai/KernelTask\022\035kernels/{kernel}/tasks/{task}*\013kernelTasks2\nkernelTask'
  _globals['_KERNELTASK']._serialized_start=154
  _globals['_KERNELTASK']._serialized_end=951
  _globals['_KERNELTASK_STATE']._serialized_start=739
  _globals['_KERNELTASK_STATE']._serialized_end=862
# @@protoc_insertion_point(module_scope)
