# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: bitdeer/aicloud/training/v1/training.proto
# Protobuf Python Version: 4.25.3
"""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 . import resource_pb2 as bitdeer_dot_aicloud_dot_resource_dot_v1_dot_resource__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*bitdeer/aicloud/training/v1/training.proto\x12\x1b\x62itdeer.aicloud.training.v1\x1a*bitdeer/aicloud/resource/v1/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"7\n\x0b\x45nvVariable\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\"\xbb\x05\n\x18\x43reateTrainingJobRequest\x12\x1d\n\nproject_id\x18\x01 \x01(\tR\tprojectId\x12\x19\n\x08job_name\x18\x02 \x01(\tR\x07jobName\x12?\n\x08job_type\x18\x03 \x01(\x0e\x32$.bitdeer.aicloud.training.v1.JobTypeR\x07jobType\x12\x1f\n\x0bworker_spec\x18\x04 \x01(\tR\nworkerSpec\x12\x1f\n\x0bnum_workers\x18\x05 \x01(\x05R\nnumWorkers\x12!\n\x0cworker_image\x18\x06 \x01(\tR\x0bworkerImage\x12\x1a\n\x08\x63ommands\x18\x07 \x03(\tR\x08\x63ommands\x12\x1c\n\targuments\x18\x08 \x03(\tR\targuments\x12<\n\x04\x65nvs\x18\t \x03(\x0b\x32(.bitdeer.aicloud.training.v1.EnvVariableR\x04\x65nvs\x12$\n\x0bworking_dir\x18\n \x01(\tH\x00R\nworkingDir\x88\x01\x01\x12$\n\x0bvolume_name\x18\x0b \x01(\tH\x01R\nvolumeName\x88\x01\x01\x12/\n\x11volume_mount_path\x18\x0c \x01(\tH\x02R\x0fvolumeMountPath\x88\x01\x01\x12&\n\x0f\x62\x61se_image_mode\x18\r \x01(\x08R\rbaseImageMode\x12\x36\n\x17\x65nable_image_inspection\x18\x0e \x01(\x08R\x15\x65nableImageInspection\x12\x1b\n\tregion_id\x18\x0f \x01(\tR\x08regionId\x12\x17\n\x07zone_id\x18\x10 \x01(\tR\x06zoneIdB\x0e\n\x0c_working_dirB\x0e\n\x0c_volume_nameB\x14\n\x12_volume_mount_path\"C\n\x19\x43reateTrainingJobResponse\x12&\n\x0ftraining_job_id\x18\x01 \x01(\tR\rtrainingJobId\"?\n\x15GetTrainingJobRequest\x12&\n\x0ftraining_job_id\x18\x01 \x01(\tR\rtrainingJobId\"\xcf\x06\n\x16GetTrainingJobResponse\x12\x1d\n\nproject_id\x18\x01 \x01(\tR\tprojectId\x12!\n\x0cproject_name\x18\x02 \x01(\tR\x0bprojectName\x12&\n\x0ftraining_job_id\x18\x03 \x01(\tR\rtrainingJobId\x12\x19\n\x08job_name\x18\x04 \x01(\tR\x07jobName\x12?\n\x08job_type\x18\x05 \x01(\x0e\x32$.bitdeer.aicloud.training.v1.JobTypeR\x07jobType\x12\x45\n\njob_status\x18\x06 \x01(\x0e\x32&.bitdeer.aicloud.training.v1.JobStatusR\tjobStatus\x12K\n\x0bworker_spec\x18\x07 \x01(\x0b\x32*.bitdeer.aicloud.resource.v1.SpecificationR\nworkerSpec\x12\x1f\n\x0bnum_workers\x18\x08 \x01(\x05R\nnumWorkers\x12!\n\x0cworker_image\x18\t \x01(\tR\x0bworkerImage\x12\x1f\n\x0bvolume_name\x18\n \x01(\tR\nvolumeName\x12$\n\x0evolume_size_gb\x18\x0b \x01(\x05R\x0cvolumeSizeGb\x12*\n\x11volume_mount_path\x18\x0c \x01(\tR\x0fvolumeMountPath\x12\x39\n\nstart_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartTime\x12\x35\n\x08\x65nd_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x07\x65ndTime\x12\x39\n\ncreated_at\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x41\n\x07workers\x18\x10 \x03(\x0b\x32\'.bitdeer.aicloud.training.v1.WorkerInfoR\x07workers\x12\x1b\n\tregion_id\x18\x11 \x01(\tR\x08regionId\x12\x17\n\x07zone_id\x18\x12 \x01(\tR\x06zoneId\"C\n\x17ListTrainingJobsRequest\x12(\n\x10training_job_ids\x18\x01 \x03(\tR\x0etrainingJobIds\"\xef\x04\n\x0fTrainingJobInfo\x12\x1d\n\nproject_id\x18\x01 \x01(\tR\tprojectId\x12!\n\x0cproject_name\x18\x02 \x01(\tR\x0bprojectName\x12&\n\x0ftraining_job_id\x18\x03 \x01(\tR\rtrainingJobId\x12\x19\n\x08job_name\x18\x04 \x01(\tR\x07jobName\x12?\n\x08job_type\x18\x05 \x01(\x0e\x32$.bitdeer.aicloud.training.v1.JobTypeR\x07jobType\x12\x45\n\njob_status\x18\x06 \x01(\x0e\x32&.bitdeer.aicloud.training.v1.JobStatusR\tjobStatus\x12K\n\x0bworker_spec\x18\x07 \x01(\x0b\x32*.bitdeer.aicloud.resource.v1.SpecificationR\nworkerSpec\x12\x1f\n\x0bnum_workers\x18\x08 \x01(\x05R\nnumWorkers\x12\x39\n\nstart_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartTime\x12\x35\n\x08\x65nd_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x07\x65ndTime\x12\x39\n\ncreated_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x1b\n\tregion_id\x18\x0c \x01(\tR\x08regionId\x12\x17\n\x07zone_id\x18\r \x01(\tR\x06zoneId\"\x83\x01\n\x18ListTrainingJobsResponse\x12Q\n\rtraining_jobs\x18\x01 \x03(\x0b\x32,.bitdeer.aicloud.training.v1.TrainingJobInfoR\x0ctrainingJobs\x12\x14\n\x05\x63ount\x18\x02 \x01(\x03R\x05\x63ount\"B\n\x18\x44\x65leteTrainingJobRequest\x12&\n\x0ftraining_job_id\x18\x01 \x01(\tR\rtrainingJobId\"\x1b\n\x19\x44\x65leteTrainingJobResponse\"B\n\x18ResumeTrainingJobRequest\x12&\n\x0ftraining_job_id\x18\x01 \x01(\tR\rtrainingJobId\"\x1b\n\x19ResumeTrainingJobResponse\"C\n\x19SuspendTrainingJobRequest\x12&\n\x0ftraining_job_id\x18\x01 \x01(\tR\rtrainingJobId\"\x1c\n\x1aSuspendTrainingJobResponse\"F\n\x1cGetTrainingJobWorkersRequest\x12&\n\x0ftraining_job_id\x18\x01 \x01(\tR\rtrainingJobId\"8\n\nWorkerInfo\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n\x06status\x18\x02 \x01(\tR\x06status\"b\n\x1dGetTrainingJobWorkersResponse\x12\x41\n\x07workers\x18\x01 \x03(\x0b\x32\'.bitdeer.aicloud.training.v1.WorkerInfoR\x07workers\"|\n\x19GetTrainingJobLogsRequest\x12&\n\x0ftraining_job_id\x18\x01 \x01(\tR\rtrainingJobId\x12\x1f\n\x0bworker_name\x18\x02 \x01(\tR\nworkerName\x12\x16\n\x06\x66ollow\x18\x03 \x01(\x08R\x06\x66ollow\"0\n\x1aGetTrainingJobLogsResponse\x12\x12\n\x04logs\x18\x01 \x01(\tR\x04logs*K\n\x07JobType\x12\x18\n\x14JOB_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tTORCH_JOB\x10\x01\x12\n\n\x06TF_JOB\x10\x02\x12\x0b\n\x07MPI_JOB\x10\x03*\x9b\x01\n\tJobStatus\x12\x1a\n\x16JOB_STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0e\n\nSCHEDULING\x10\x02\x12\x0b\n\x07RUNNING\x10\x03\x12\r\n\tCOMPLETED\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\x12\r\n\tSUSPENDED\x10\x06\x12\x0e\n\nRESTARTING\x10\x07\x12\x0e\n\nSUSPENDING\x10\x08\x32\xd0\x08\n\x0fTrainingService\x12\x84\x01\n\x11\x43reateTrainingJob\x12\x35.bitdeer.aicloud.training.v1.CreateTrainingJobRequest\x1a\x36.bitdeer.aicloud.training.v1.CreateTrainingJobResponse\"\x00\x12{\n\x0eGetTrainingJob\x12\x32.bitdeer.aicloud.training.v1.GetTrainingJobRequest\x1a\x33.bitdeer.aicloud.training.v1.GetTrainingJobResponse\"\x00\x12\x81\x01\n\x10ListTrainingJobs\x12\x34.bitdeer.aicloud.training.v1.ListTrainingJobsRequest\x1a\x35.bitdeer.aicloud.training.v1.ListTrainingJobsResponse\"\x00\x12\x84\x01\n\x11\x44\x65leteTrainingJob\x12\x35.bitdeer.aicloud.training.v1.DeleteTrainingJobRequest\x1a\x36.bitdeer.aicloud.training.v1.DeleteTrainingJobResponse\"\x00\x12\x84\x01\n\x11ResumeTrainingJob\x12\x35.bitdeer.aicloud.training.v1.ResumeTrainingJobRequest\x1a\x36.bitdeer.aicloud.training.v1.ResumeTrainingJobResponse\"\x00\x12\x87\x01\n\x12SuspendTrainingJob\x12\x36.bitdeer.aicloud.training.v1.SuspendTrainingJobRequest\x1a\x37.bitdeer.aicloud.training.v1.SuspendTrainingJobResponse\"\x00\x12\x90\x01\n\x15GetTrainingJobWorkers\x12\x39.bitdeer.aicloud.training.v1.GetTrainingJobWorkersRequest\x1a:.bitdeer.aicloud.training.v1.GetTrainingJobWorkersResponse\"\x00\x12\x89\x01\n\x12GetTrainingJobLogs\x12\x36.bitdeer.aicloud.training.v1.GetTrainingJobLogsRequest\x1a\x37.bitdeer.aicloud.training.v1.GetTrainingJobLogsResponse\"\x00\x30\x01\x42TZRgitlab.bitdeer.vip/mininglab/playground/gen/bitdeer/aicloud/training/v1;trainingv1b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'bitdeer.aicloud.training.v1.training_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
  _globals['DESCRIPTOR']._options = None
  _globals['DESCRIPTOR']._serialized_options = b'ZRgitlab.bitdeer.vip/mininglab/playground/gen/bitdeer/aicloud/training/v1;trainingv1'
  _globals['_JOBTYPE']._serialized_start=3423
  _globals['_JOBTYPE']._serialized_end=3498
  _globals['_JOBSTATUS']._serialized_start=3501
  _globals['_JOBSTATUS']._serialized_end=3656
  _globals['_ENVVARIABLE']._serialized_start=152
  _globals['_ENVVARIABLE']._serialized_end=207
  _globals['_CREATETRAININGJOBREQUEST']._serialized_start=210
  _globals['_CREATETRAININGJOBREQUEST']._serialized_end=909
  _globals['_CREATETRAININGJOBRESPONSE']._serialized_start=911
  _globals['_CREATETRAININGJOBRESPONSE']._serialized_end=978
  _globals['_GETTRAININGJOBREQUEST']._serialized_start=980
  _globals['_GETTRAININGJOBREQUEST']._serialized_end=1043
  _globals['_GETTRAININGJOBRESPONSE']._serialized_start=1046
  _globals['_GETTRAININGJOBRESPONSE']._serialized_end=1893
  _globals['_LISTTRAININGJOBSREQUEST']._serialized_start=1895
  _globals['_LISTTRAININGJOBSREQUEST']._serialized_end=1962
  _globals['_TRAININGJOBINFO']._serialized_start=1965
  _globals['_TRAININGJOBINFO']._serialized_end=2588
  _globals['_LISTTRAININGJOBSRESPONSE']._serialized_start=2591
  _globals['_LISTTRAININGJOBSRESPONSE']._serialized_end=2722
  _globals['_DELETETRAININGJOBREQUEST']._serialized_start=2724
  _globals['_DELETETRAININGJOBREQUEST']._serialized_end=2790
  _globals['_DELETETRAININGJOBRESPONSE']._serialized_start=2792
  _globals['_DELETETRAININGJOBRESPONSE']._serialized_end=2819
  _globals['_RESUMETRAININGJOBREQUEST']._serialized_start=2821
  _globals['_RESUMETRAININGJOBREQUEST']._serialized_end=2887
  _globals['_RESUMETRAININGJOBRESPONSE']._serialized_start=2889
  _globals['_RESUMETRAININGJOBRESPONSE']._serialized_end=2916
  _globals['_SUSPENDTRAININGJOBREQUEST']._serialized_start=2918
  _globals['_SUSPENDTRAININGJOBREQUEST']._serialized_end=2985
  _globals['_SUSPENDTRAININGJOBRESPONSE']._serialized_start=2987
  _globals['_SUSPENDTRAININGJOBRESPONSE']._serialized_end=3015
  _globals['_GETTRAININGJOBWORKERSREQUEST']._serialized_start=3017
  _globals['_GETTRAININGJOBWORKERSREQUEST']._serialized_end=3087
  _globals['_WORKERINFO']._serialized_start=3089
  _globals['_WORKERINFO']._serialized_end=3145
  _globals['_GETTRAININGJOBWORKERSRESPONSE']._serialized_start=3147
  _globals['_GETTRAININGJOBWORKERSRESPONSE']._serialized_end=3245
  _globals['_GETTRAININGJOBLOGSREQUEST']._serialized_start=3247
  _globals['_GETTRAININGJOBLOGSREQUEST']._serialized_end=3371
  _globals['_GETTRAININGJOBLOGSRESPONSE']._serialized_start=3373
  _globals['_GETTRAININGJOBLOGSRESPONSE']._serialized_end=3421
  _globals['_TRAININGSERVICE']._serialized_start=3659
  _globals['_TRAININGSERVICE']._serialized_end=4763
# @@protoc_insertion_point(module_scope)
