# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: spaceone/api/inventory/v1/job.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 empty_pb2 as google_dot_protobuf_dot_empty__pb2
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from spaceone.api.core.v2 import query_pb2 as spaceone_dot_api_dot_core_dot_v2_dot_query__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#spaceone/api/inventory/v1/job.proto\x12\x19spaceone.api.inventory.v1\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1cgoogle/api/annotations.proto\x1a spaceone/api/core/v2/query.proto\"\x1c\n\nJobRequest\x12\x0e\n\x06job_id\x18\x01 \x01(\t\"\xad\x02\n\tJobsQuery\x12*\n\x05query\x18\x01 \x01(\x0b\x32\x1b.spaceone.api.core.v2.Query\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12>\n\x06status\x18\x03 \x01(\x0e\x32..spaceone.api.inventory.v1.JobsQuery.JobStatus\x12\x14\n\x0cworkspace_id\x18\x15 \x01(\t\x12\x14\n\x0c\x63ollector_id\x18\x16 \x01(\t\x12\x11\n\tplugin_id\x18\x17 \x01(\t\"e\n\tJobStatus\x12\x12\n\x0eJOB_STATE_NONE\x10\x00\x12\x0c\n\x08\x43\x41NCELED\x10\x02\x12\x0f\n\x0bIN_PROGRESS\x10\x03\x12\x0b\n\x07SUCCESS\x10\x04\x12\x0b\n\x07\x46\x41ILURE\x10\x05\x12\x0b\n\x07TIMEOUT\x10\x06\"\xd3\x04\n\x07JobInfo\x12\x0e\n\x06job_id\x18\x01 \x01(\t\x12\x39\n\x06status\x18\x02 \x01(\x0e\x32).spaceone.api.inventory.v1.JobInfo.Status\x12\x13\n\x0btotal_tasks\x18\x04 \x01(\x05\x12\x16\n\x0eremained_tasks\x18\x05 \x01(\x05\x12\x15\n\rsuccess_tasks\x18\x06 \x01(\x05\x12\x15\n\rfailure_tasks\x18\x07 \x01(\x05\x12\x19\n\x11request_secret_id\x18\x08 \x01(\t\x12\x1c\n\x14request_workspace_id\x18\t \x01(\t\x12H\n\x0eresource_group\x18\x14 \x01(\x0e\x32\x30.spaceone.api.inventory.v1.JobInfo.ResourceGroup\x12\x11\n\tdomain_id\x18\x15 \x01(\t\x12\x14\n\x0cworkspace_id\x18\x16 \x01(\t\x12\x14\n\x0c\x63ollector_id\x18\x17 \x01(\t\x12\x11\n\tplugin_id\x18\x18 \x01(\t\x12\x12\n\ncreated_at\x18\x1f \x01(\t\x12\x12\n\nupdated_at\x18  \x01(\t\x12\x13\n\x0b\x66inished_at\x18! \x01(\t\"K\n\x06Status\x12\x08\n\x04NONE\x10\x00\x12\x0b\n\x07\x46\x41ILURE\x10\x01\x12\x0c\n\x08\x43\x41NCELED\x10\x02\x12\x0f\n\x0bIN_PROGRESS\x10\x03\x12\x0b\n\x07SUCCESS\x10\x04\"C\n\rResourceGroup\x12\x17\n\x13RESOURCE_GROUP_NONE\x10\x00\x12\n\n\x06\x44OMAIN\x10\x01\x12\r\n\tWORKSPACE\x10\x02\"T\n\x08JobsInfo\x12\x33\n\x07results\x18\x01 \x03(\x0b\x32\".spaceone.api.inventory.v1.JobInfo\x12\x13\n\x0btotal_count\x18\x02 \x01(\x05\"D\n\x0fJobAnalyzeQuery\x12\x31\n\x05query\x18\x01 \x01(\x0b\x32\".spaceone.api.core.v2.AnalyzeQuery\"D\n\x0cJobStatQuery\x12\x34\n\x05query\x18\x01 \x01(\x0b\x32%.spaceone.api.core.v2.StatisticsQuery2\xc0\x04\n\x03Job\x12l\n\x06\x64\x65lete\x12%.spaceone.api.inventory.v1.JobRequest\x1a\x16.google.protobuf.Empty\"#\x82\xd3\xe4\x93\x02\x1d\"\x18/inventory/v1/job/delete:\x01*\x12r\n\x03get\x12%.spaceone.api.inventory.v1.JobRequest\x1a\".spaceone.api.inventory.v1.JobInfo\" \x82\xd3\xe4\x93\x02\x1a\"\x15/inventory/v1/job/get:\x01*\x12t\n\x04list\x12$.spaceone.api.inventory.v1.JobsQuery\x1a#.spaceone.api.inventory.v1.JobsInfo\"!\x82\xd3\xe4\x93\x02\x1b\"\x16/inventory/v1/job/list:\x01*\x12t\n\x07\x61nalyze\x12*.spaceone.api.inventory.v1.JobAnalyzeQuery\x1a\x17.google.protobuf.Struct\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/inventory/v1/job/analyze:\x01*\x12k\n\x04stat\x12\'.spaceone.api.inventory.v1.JobStatQuery\x1a\x17.google.protobuf.Struct\"!\x82\xd3\xe4\x93\x02\x1b\"\x16/inventory/v1/job/stat:\x01*B@Z>github.com/cloudforet-io/api/dist/go/spaceone/api/inventory/v1b\x06proto3')

_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'spaceone.api.inventory.v1.job_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'Z>github.com/cloudforet-io/api/dist/go/spaceone/api/inventory/v1'
  _JOB.methods_by_name['delete']._options = None
  _JOB.methods_by_name['delete']._serialized_options = b'\202\323\344\223\002\035\"\030/inventory/v1/job/delete:\001*'
  _JOB.methods_by_name['get']._options = None
  _JOB.methods_by_name['get']._serialized_options = b'\202\323\344\223\002\032\"\025/inventory/v1/job/get:\001*'
  _JOB.methods_by_name['list']._options = None
  _JOB.methods_by_name['list']._serialized_options = b'\202\323\344\223\002\033\"\026/inventory/v1/job/list:\001*'
  _JOB.methods_by_name['analyze']._options = None
  _JOB.methods_by_name['analyze']._serialized_options = b'\202\323\344\223\002\036\"\031/inventory/v1/job/analyze:\001*'
  _JOB.methods_by_name['stat']._options = None
  _JOB.methods_by_name['stat']._serialized_options = b'\202\323\344\223\002\033\"\026/inventory/v1/job/stat:\001*'
  _JOBREQUEST._serialized_start=189
  _JOBREQUEST._serialized_end=217
  _JOBSQUERY._serialized_start=220
  _JOBSQUERY._serialized_end=521
  _JOBSQUERY_JOBSTATUS._serialized_start=420
  _JOBSQUERY_JOBSTATUS._serialized_end=521
  _JOBINFO._serialized_start=524
  _JOBINFO._serialized_end=1119
  _JOBINFO_STATUS._serialized_start=975
  _JOBINFO_STATUS._serialized_end=1050
  _JOBINFO_RESOURCEGROUP._serialized_start=1052
  _JOBINFO_RESOURCEGROUP._serialized_end=1119
  _JOBSINFO._serialized_start=1121
  _JOBSINFO._serialized_end=1205
  _JOBANALYZEQUERY._serialized_start=1207
  _JOBANALYZEQUERY._serialized_end=1275
  _JOBSTATQUERY._serialized_start=1277
  _JOBSTATQUERY._serialized_end=1345
  _JOB._serialized_start=1348
  _JOB._serialized_end=1924
# @@protoc_insertion_point(module_scope)
