# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: ai/h2o/notebook/v1/kernel.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\x1f\x61i/h2o/notebook/v1/kernel.proto\x12\x12\x61i.h2o.notebook.v1\x1a\x19google/api/resource.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfb\t\n\x06Kernel\x12\x19\n\x04name\x18\x01 \x01(\tB\x05\xe2\x41\x02\x08\x03R\x04name\x12\'\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01R\x0b\x64isplayName\x12;\n\x05image\x18\x03 \x01(\tB%\xe2\x41\x02\x02\x05\xfa\x41\x1d\n\x1bnotebook.h2o.ai/KernelImageR\x05image\x12\x44\n\x08template\x18\x04 \x01(\tB(\xe2\x41\x02\x02\x05\xfa\x41 \n\x1enotebook.h2o.ai/KernelTemplateR\x08template\x12]\n\x14notebook_kernel_spec\x18\x05 \x01(\tB+\xe2\x41\x01\x03\xfa\x41$\n\"notebook.h2o.ai/NotebookKernelSpecR\x12notebookKernelSpec\x12v\n\x17\x65nvironmental_variables\x18\x06 \x03(\x0b\x32\x36.ai.h2o.notebook.v1.Kernel.EnvironmentalVariablesEntryB\x05\xe2\x41\x02\x01\x05R\x16\x65nvironmentalVariables\x12\x1e\n\x07\x63reator\x18\x07 \x01(\tB\x04\xe2\x41\x01\x03R\x07\x63reator\x12\x36\n\x14\x63reator_display_name\x18\x08 \x01(\tB\x04\xe2\x41\x01\x03R\x12\x63reatorDisplayName\x12<\n\x05state\x18\t \x01(\x0e\x32 .ai.h2o.notebook.v1.Kernel.StateB\x04\xe2\x41\x01\x03R\x05state\x12\x39\n\x04type\x18\n \x01(\x0e\x32\x1f.ai.h2o.notebook.v1.Kernel.TypeB\x04\xe2\x41\x01\x03R\x04type\x12\x46\n\x0c\x63urrent_task\x18\x0b \x01(\tB#\xe2\x41\x01\x03\xfa\x41\x1c\n\x1anotebook.h2o.ai/KernelTaskR\x0b\x63urrentTask\x12\x45\n\x1c\x63urrent_task_sequence_number\x18\x0c \x01(\x05\x42\x04\xe2\x41\x01\x03R\x19\x63urrentTaskSequenceNumber\x12,\n\x0ftask_queue_size\x18\r \x01(\x05\x42\x04\xe2\x41\x01\x03R\rtaskQueueSize\x12N\n\x12last_activity_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\x10lastActivityTime\x12\x41\n\x0b\x63reate_time\x18\x64 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\ncreateTime\x1aI\n\x1b\x45nvironmentalVariablesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"b\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x12\n\x0eSTATE_STARTING\x10\x01\x12\x16\n\x12STATE_RUNNING_IDLE\x10\x02\x12\x16\n\x12STATE_RUNNING_BUSY\x10\x03\"C\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x11\n\rTYPE_NOTEBOOK\x10\x01\x12\x12\n\x0eTYPE_ON_DEMAND\x10\x02:>\xea\x41;\n\x16notebook.h2o.ai/Kernel\x12\x10kernels/{kernel}*\x07kernels2\x06kernelB\xcd\x01\n\x16\x63om.ai.h2o.notebook.v1B\x0bKernelProtoP\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_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
  _globals['DESCRIPTOR']._options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n\026com.ai.h2o.notebook.v1B\013KernelProtoP\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['_KERNEL_ENVIRONMENTALVARIABLESENTRY']._options = None
  _globals['_KERNEL_ENVIRONMENTALVARIABLESENTRY']._serialized_options = b'8\001'
  _globals['_KERNEL'].fields_by_name['name']._options = None
  _globals['_KERNEL'].fields_by_name['name']._serialized_options = b'\342A\002\010\003'
  _globals['_KERNEL'].fields_by_name['display_name']._options = None
  _globals['_KERNEL'].fields_by_name['display_name']._serialized_options = b'\342A\001\001'
  _globals['_KERNEL'].fields_by_name['image']._options = None
  _globals['_KERNEL'].fields_by_name['image']._serialized_options = b'\342A\002\002\005\372A\035\n\033notebook.h2o.ai/KernelImage'
  _globals['_KERNEL'].fields_by_name['template']._options = None
  _globals['_KERNEL'].fields_by_name['template']._serialized_options = b'\342A\002\002\005\372A \n\036notebook.h2o.ai/KernelTemplate'
  _globals['_KERNEL'].fields_by_name['notebook_kernel_spec']._options = None
  _globals['_KERNEL'].fields_by_name['notebook_kernel_spec']._serialized_options = b'\342A\001\003\372A$\n\"notebook.h2o.ai/NotebookKernelSpec'
  _globals['_KERNEL'].fields_by_name['environmental_variables']._options = None
  _globals['_KERNEL'].fields_by_name['environmental_variables']._serialized_options = b'\342A\002\001\005'
  _globals['_KERNEL'].fields_by_name['creator']._options = None
  _globals['_KERNEL'].fields_by_name['creator']._serialized_options = b'\342A\001\003'
  _globals['_KERNEL'].fields_by_name['creator_display_name']._options = None
  _globals['_KERNEL'].fields_by_name['creator_display_name']._serialized_options = b'\342A\001\003'
  _globals['_KERNEL'].fields_by_name['state']._options = None
  _globals['_KERNEL'].fields_by_name['state']._serialized_options = b'\342A\001\003'
  _globals['_KERNEL'].fields_by_name['type']._options = None
  _globals['_KERNEL'].fields_by_name['type']._serialized_options = b'\342A\001\003'
  _globals['_KERNEL'].fields_by_name['current_task']._options = None
  _globals['_KERNEL'].fields_by_name['current_task']._serialized_options = b'\342A\001\003\372A\034\n\032notebook.h2o.ai/KernelTask'
  _globals['_KERNEL'].fields_by_name['current_task_sequence_number']._options = None
  _globals['_KERNEL'].fields_by_name['current_task_sequence_number']._serialized_options = b'\342A\001\003'
  _globals['_KERNEL'].fields_by_name['task_queue_size']._options = None
  _globals['_KERNEL'].fields_by_name['task_queue_size']._serialized_options = b'\342A\001\003'
  _globals['_KERNEL'].fields_by_name['last_activity_time']._options = None
  _globals['_KERNEL'].fields_by_name['last_activity_time']._serialized_options = b'\342A\001\003'
  _globals['_KERNEL'].fields_by_name['create_time']._options = None
  _globals['_KERNEL'].fields_by_name['create_time']._serialized_options = b'\342A\001\003'
  _globals['_KERNEL']._options = None
  _globals['_KERNEL']._serialized_options = b'\352A;\n\026notebook.h2o.ai/Kernel\022\020kernels/{kernel}*\007kernels2\006kernel'
  _globals['_KERNEL']._serialized_start=149
  _globals['_KERNEL']._serialized_end=1424
  _globals['_KERNEL_ENVIRONMENTALVARIABLESENTRY']._serialized_start=1118
  _globals['_KERNEL_ENVIRONMENTALVARIABLESENTRY']._serialized_end=1191
  _globals['_KERNEL_STATE']._serialized_start=1193
  _globals['_KERNEL_STATE']._serialized_end=1291
  _globals['_KERNEL_TYPE']._serialized_start=1293
  _globals['_KERNEL_TYPE']._serialized_end=1360
# @@protoc_insertion_point(module_scope)
