from __future__ import absolute_import
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: beam_job_api.proto

import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from . import beam_runner_api_pb2 as beam__runner__api__pb2
from . import endpoints_pb2 as endpoints__pb2
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='beam_job_api.proto',
  package='org.apache.beam.model.job_management.v1',
  syntax='proto3',
  serialized_pb=_b('\n\x12\x62\x65\x61m_job_api.proto\x12\'org.apache.beam.model.job_management.v1\x1a\x15\x62\x65\x61m_runner_api.proto\x1a\x0f\x65ndpoints.proto\x1a\x1cgoogle/protobuf/struct.proto\"\x97\x01\n\x11PrepareJobRequest\x12=\n\x08pipeline\x18\x01 \x01(\x0b\x32+.org.apache.beam.model.pipeline.v1.Pipeline\x12\x31\n\x10pipeline_options\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x10\n\x08job_name\x18\x03 \x01(\t\"\xa7\x01\n\x12PrepareJobResponse\x12\x16\n\x0epreparation_id\x18\x01 \x01(\t\x12Z\n\x19\x61rtifact_staging_endpoint\x18\x02 \x01(\x0b\x32\x37.org.apache.beam.model.pipeline.v1.ApiServiceDescriptor\x12\x1d\n\x15staging_session_token\x18\x03 \x01(\t\"@\n\rRunJobRequest\x12\x16\n\x0epreparation_id\x18\x01 \x01(\t\x12\x17\n\x0fretrieval_token\x18\x02 \x01(\t\" \n\x0eRunJobResponse\x12\x0e\n\x06job_id\x18\x01 \x01(\t\"\"\n\x10\x43\x61ncelJobRequest\x12\x0e\n\x06job_id\x18\x01 \x01(\t\"Z\n\x11\x43\x61ncelJobResponse\x12\x45\n\x05state\x18\x01 \x01(\x0e\x32\x36.org.apache.beam.model.job_management.v1.JobState.Enum\"$\n\x12GetJobStateRequest\x12\x0e\n\x06job_id\x18\x01 \x01(\t\"\\\n\x13GetJobStateResponse\x12\x45\n\x05state\x18\x01 \x01(\x0e\x32\x36.org.apache.beam.model.job_management.v1.JobState.Enum\"$\n\x12JobMessagesRequest\x12\x0e\n\x06job_id\x18\x01 \x01(\t\"\xd1\x02\n\nJobMessage\x12\x12\n\nmessage_id\x18\x01 \x01(\t\x12\x0c\n\x04time\x18\x02 \x01(\t\x12Y\n\nimportance\x18\x03 \x01(\x0e\x32\x45.org.apache.beam.model.job_management.v1.JobMessage.MessageImportance\x12\x14\n\x0cmessage_text\x18\x04 \x01(\t\"\xaf\x01\n\x11MessageImportance\x12\"\n\x1eMESSAGE_IMPORTANCE_UNSPECIFIED\x10\x00\x12\x15\n\x11JOB_MESSAGE_DEBUG\x10\x01\x12\x18\n\x14JOB_MESSAGE_DETAILED\x10\x02\x12\x15\n\x11JOB_MESSAGE_BASIC\x10\x03\x12\x17\n\x13JOB_MESSAGE_WARNING\x10\x04\x12\x15\n\x11JOB_MESSAGE_ERROR\x10\x05\"\xca\x01\n\x13JobMessagesResponse\x12O\n\x10message_response\x18\x01 \x01(\x0b\x32\x33.org.apache.beam.model.job_management.v1.JobMessageH\x00\x12V\n\x0estate_response\x18\x02 \x01(\x0b\x32<.org.apache.beam.model.job_management.v1.GetJobStateResponseH\x00\x42\n\n\x08response\"\xa9\x01\n\x08JobState\"\x9c\x01\n\x04\x45num\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07STOPPED\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x08\n\x04\x44ONE\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\r\n\tCANCELLED\x10\x05\x12\x0b\n\x07UPDATED\x10\x06\x12\x0c\n\x08\x44RAINING\x10\x07\x12\x0b\n\x07\x44RAINED\x10\x08\x12\x0c\n\x08STARTING\x10\t\x12\x0e\n\nCANCELLING\x10\n2\xb4\x06\n\nJobService\x12\x82\x01\n\x07Prepare\x12:.org.apache.beam.model.job_management.v1.PrepareJobRequest\x1a;.org.apache.beam.model.job_management.v1.PrepareJobResponse\x12v\n\x03Run\x12\x36.org.apache.beam.model.job_management.v1.RunJobRequest\x1a\x37.org.apache.beam.model.job_management.v1.RunJobResponse\x12\x85\x01\n\x08GetState\x12;.org.apache.beam.model.job_management.v1.GetJobStateRequest\x1a<.org.apache.beam.model.job_management.v1.GetJobStateResponse\x12\x7f\n\x06\x43\x61ncel\x12\x39.org.apache.beam.model.job_management.v1.CancelJobRequest\x1a:.org.apache.beam.model.job_management.v1.CancelJobResponse\x12\x8d\x01\n\x0eGetStateStream\x12;.org.apache.beam.model.job_management.v1.GetJobStateRequest\x1a<.org.apache.beam.model.job_management.v1.GetJobStateResponse0\x01\x12\x8f\x01\n\x10GetMessageStream\x12;.org.apache.beam.model.job_management.v1.JobMessagesRequest\x1a<.org.apache.beam.model.job_management.v1.JobMessagesResponse0\x01\x42\x42\n&org.apache.beam.model.jobmanagement.v1B\x06JobApiZ\x10jobmanagement_v1b\x06proto3')
  ,
  dependencies=[beam__runner__api__pb2.DESCRIPTOR,endpoints__pb2.DESCRIPTOR,google_dot_protobuf_dot_struct__pb2.DESCRIPTOR,])



_JOBMESSAGE_MESSAGEIMPORTANCE = _descriptor.EnumDescriptor(
  name='MessageImportance',
  full_name='org.apache.beam.model.job_management.v1.JobMessage.MessageImportance',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='MESSAGE_IMPORTANCE_UNSPECIFIED', index=0, number=0,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='JOB_MESSAGE_DEBUG', index=1, number=1,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='JOB_MESSAGE_DETAILED', index=2, number=2,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='JOB_MESSAGE_BASIC', index=3, number=3,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='JOB_MESSAGE_WARNING', index=4, number=4,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='JOB_MESSAGE_ERROR', index=5, number=5,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=1018,
  serialized_end=1193,
)
_sym_db.RegisterEnumDescriptor(_JOBMESSAGE_MESSAGEIMPORTANCE)

_JOBSTATE_ENUM = _descriptor.EnumDescriptor(
  name='Enum',
  full_name='org.apache.beam.model.job_management.v1.JobState.Enum',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='UNSPECIFIED', index=0, number=0,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='STOPPED', index=1, number=1,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='RUNNING', index=2, number=2,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='DONE', index=3, number=3,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='FAILED', index=4, number=4,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='CANCELLED', index=5, number=5,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='UPDATED', index=6, number=6,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='DRAINING', index=7, number=7,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='DRAINED', index=8, number=8,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='STARTING', index=9, number=9,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='CANCELLING', index=10, number=10,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=1414,
  serialized_end=1570,
)
_sym_db.RegisterEnumDescriptor(_JOBSTATE_ENUM)


_PREPAREJOBREQUEST = _descriptor.Descriptor(
  name='PrepareJobRequest',
  full_name='org.apache.beam.model.job_management.v1.PrepareJobRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='pipeline', full_name='org.apache.beam.model.job_management.v1.PrepareJobRequest.pipeline', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='pipeline_options', full_name='org.apache.beam.model.job_management.v1.PrepareJobRequest.pipeline_options', index=1,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='job_name', full_name='org.apache.beam.model.job_management.v1.PrepareJobRequest.job_name', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=134,
  serialized_end=285,
)


_PREPAREJOBRESPONSE = _descriptor.Descriptor(
  name='PrepareJobResponse',
  full_name='org.apache.beam.model.job_management.v1.PrepareJobResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='preparation_id', full_name='org.apache.beam.model.job_management.v1.PrepareJobResponse.preparation_id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='artifact_staging_endpoint', full_name='org.apache.beam.model.job_management.v1.PrepareJobResponse.artifact_staging_endpoint', index=1,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='staging_session_token', full_name='org.apache.beam.model.job_management.v1.PrepareJobResponse.staging_session_token', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=288,
  serialized_end=455,
)


_RUNJOBREQUEST = _descriptor.Descriptor(
  name='RunJobRequest',
  full_name='org.apache.beam.model.job_management.v1.RunJobRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='preparation_id', full_name='org.apache.beam.model.job_management.v1.RunJobRequest.preparation_id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='retrieval_token', full_name='org.apache.beam.model.job_management.v1.RunJobRequest.retrieval_token', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=457,
  serialized_end=521,
)


_RUNJOBRESPONSE = _descriptor.Descriptor(
  name='RunJobResponse',
  full_name='org.apache.beam.model.job_management.v1.RunJobResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='job_id', full_name='org.apache.beam.model.job_management.v1.RunJobResponse.job_id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=523,
  serialized_end=555,
)


_CANCELJOBREQUEST = _descriptor.Descriptor(
  name='CancelJobRequest',
  full_name='org.apache.beam.model.job_management.v1.CancelJobRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='job_id', full_name='org.apache.beam.model.job_management.v1.CancelJobRequest.job_id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=557,
  serialized_end=591,
)


_CANCELJOBRESPONSE = _descriptor.Descriptor(
  name='CancelJobResponse',
  full_name='org.apache.beam.model.job_management.v1.CancelJobResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='state', full_name='org.apache.beam.model.job_management.v1.CancelJobResponse.state', index=0,
      number=1, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=593,
  serialized_end=683,
)


_GETJOBSTATEREQUEST = _descriptor.Descriptor(
  name='GetJobStateRequest',
  full_name='org.apache.beam.model.job_management.v1.GetJobStateRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='job_id', full_name='org.apache.beam.model.job_management.v1.GetJobStateRequest.job_id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=685,
  serialized_end=721,
)


_GETJOBSTATERESPONSE = _descriptor.Descriptor(
  name='GetJobStateResponse',
  full_name='org.apache.beam.model.job_management.v1.GetJobStateResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='state', full_name='org.apache.beam.model.job_management.v1.GetJobStateResponse.state', index=0,
      number=1, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=723,
  serialized_end=815,
)


_JOBMESSAGESREQUEST = _descriptor.Descriptor(
  name='JobMessagesRequest',
  full_name='org.apache.beam.model.job_management.v1.JobMessagesRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='job_id', full_name='org.apache.beam.model.job_management.v1.JobMessagesRequest.job_id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=817,
  serialized_end=853,
)


_JOBMESSAGE = _descriptor.Descriptor(
  name='JobMessage',
  full_name='org.apache.beam.model.job_management.v1.JobMessage',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='message_id', full_name='org.apache.beam.model.job_management.v1.JobMessage.message_id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='time', full_name='org.apache.beam.model.job_management.v1.JobMessage.time', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='importance', full_name='org.apache.beam.model.job_management.v1.JobMessage.importance', index=2,
      number=3, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='message_text', full_name='org.apache.beam.model.job_management.v1.JobMessage.message_text', index=3,
      number=4, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _JOBMESSAGE_MESSAGEIMPORTANCE,
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=856,
  serialized_end=1193,
)


_JOBMESSAGESRESPONSE = _descriptor.Descriptor(
  name='JobMessagesResponse',
  full_name='org.apache.beam.model.job_management.v1.JobMessagesResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='message_response', full_name='org.apache.beam.model.job_management.v1.JobMessagesResponse.message_response', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='state_response', full_name='org.apache.beam.model.job_management.v1.JobMessagesResponse.state_response', index=1,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='response', full_name='org.apache.beam.model.job_management.v1.JobMessagesResponse.response',
      index=0, containing_type=None, fields=[]),
  ],
  serialized_start=1196,
  serialized_end=1398,
)


_JOBSTATE = _descriptor.Descriptor(
  name='JobState',
  full_name='org.apache.beam.model.job_management.v1.JobState',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _JOBSTATE_ENUM,
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1401,
  serialized_end=1570,
)

_PREPAREJOBREQUEST.fields_by_name['pipeline'].message_type = beam__runner__api__pb2._PIPELINE
_PREPAREJOBREQUEST.fields_by_name['pipeline_options'].message_type = google_dot_protobuf_dot_struct__pb2._STRUCT
_PREPAREJOBRESPONSE.fields_by_name['artifact_staging_endpoint'].message_type = endpoints__pb2._APISERVICEDESCRIPTOR
_CANCELJOBRESPONSE.fields_by_name['state'].enum_type = _JOBSTATE_ENUM
_GETJOBSTATERESPONSE.fields_by_name['state'].enum_type = _JOBSTATE_ENUM
_JOBMESSAGE.fields_by_name['importance'].enum_type = _JOBMESSAGE_MESSAGEIMPORTANCE
_JOBMESSAGE_MESSAGEIMPORTANCE.containing_type = _JOBMESSAGE
_JOBMESSAGESRESPONSE.fields_by_name['message_response'].message_type = _JOBMESSAGE
_JOBMESSAGESRESPONSE.fields_by_name['state_response'].message_type = _GETJOBSTATERESPONSE
_JOBMESSAGESRESPONSE.oneofs_by_name['response'].fields.append(
  _JOBMESSAGESRESPONSE.fields_by_name['message_response'])
_JOBMESSAGESRESPONSE.fields_by_name['message_response'].containing_oneof = _JOBMESSAGESRESPONSE.oneofs_by_name['response']
_JOBMESSAGESRESPONSE.oneofs_by_name['response'].fields.append(
  _JOBMESSAGESRESPONSE.fields_by_name['state_response'])
_JOBMESSAGESRESPONSE.fields_by_name['state_response'].containing_oneof = _JOBMESSAGESRESPONSE.oneofs_by_name['response']
_JOBSTATE_ENUM.containing_type = _JOBSTATE
DESCRIPTOR.message_types_by_name['PrepareJobRequest'] = _PREPAREJOBREQUEST
DESCRIPTOR.message_types_by_name['PrepareJobResponse'] = _PREPAREJOBRESPONSE
DESCRIPTOR.message_types_by_name['RunJobRequest'] = _RUNJOBREQUEST
DESCRIPTOR.message_types_by_name['RunJobResponse'] = _RUNJOBRESPONSE
DESCRIPTOR.message_types_by_name['CancelJobRequest'] = _CANCELJOBREQUEST
DESCRIPTOR.message_types_by_name['CancelJobResponse'] = _CANCELJOBRESPONSE
DESCRIPTOR.message_types_by_name['GetJobStateRequest'] = _GETJOBSTATEREQUEST
DESCRIPTOR.message_types_by_name['GetJobStateResponse'] = _GETJOBSTATERESPONSE
DESCRIPTOR.message_types_by_name['JobMessagesRequest'] = _JOBMESSAGESREQUEST
DESCRIPTOR.message_types_by_name['JobMessage'] = _JOBMESSAGE
DESCRIPTOR.message_types_by_name['JobMessagesResponse'] = _JOBMESSAGESRESPONSE
DESCRIPTOR.message_types_by_name['JobState'] = _JOBSTATE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

PrepareJobRequest = _reflection.GeneratedProtocolMessageType('PrepareJobRequest', (_message.Message,), dict(
  DESCRIPTOR = _PREPAREJOBREQUEST,
  __module__ = 'beam_job_api_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.beam.model.job_management.v1.PrepareJobRequest)
  ))
_sym_db.RegisterMessage(PrepareJobRequest)

PrepareJobResponse = _reflection.GeneratedProtocolMessageType('PrepareJobResponse', (_message.Message,), dict(
  DESCRIPTOR = _PREPAREJOBRESPONSE,
  __module__ = 'beam_job_api_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.beam.model.job_management.v1.PrepareJobResponse)
  ))
_sym_db.RegisterMessage(PrepareJobResponse)

RunJobRequest = _reflection.GeneratedProtocolMessageType('RunJobRequest', (_message.Message,), dict(
  DESCRIPTOR = _RUNJOBREQUEST,
  __module__ = 'beam_job_api_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.beam.model.job_management.v1.RunJobRequest)
  ))
_sym_db.RegisterMessage(RunJobRequest)

RunJobResponse = _reflection.GeneratedProtocolMessageType('RunJobResponse', (_message.Message,), dict(
  DESCRIPTOR = _RUNJOBRESPONSE,
  __module__ = 'beam_job_api_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.beam.model.job_management.v1.RunJobResponse)
  ))
_sym_db.RegisterMessage(RunJobResponse)

CancelJobRequest = _reflection.GeneratedProtocolMessageType('CancelJobRequest', (_message.Message,), dict(
  DESCRIPTOR = _CANCELJOBREQUEST,
  __module__ = 'beam_job_api_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.beam.model.job_management.v1.CancelJobRequest)
  ))
_sym_db.RegisterMessage(CancelJobRequest)

CancelJobResponse = _reflection.GeneratedProtocolMessageType('CancelJobResponse', (_message.Message,), dict(
  DESCRIPTOR = _CANCELJOBRESPONSE,
  __module__ = 'beam_job_api_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.beam.model.job_management.v1.CancelJobResponse)
  ))
_sym_db.RegisterMessage(CancelJobResponse)

GetJobStateRequest = _reflection.GeneratedProtocolMessageType('GetJobStateRequest', (_message.Message,), dict(
  DESCRIPTOR = _GETJOBSTATEREQUEST,
  __module__ = 'beam_job_api_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.beam.model.job_management.v1.GetJobStateRequest)
  ))
_sym_db.RegisterMessage(GetJobStateRequest)

GetJobStateResponse = _reflection.GeneratedProtocolMessageType('GetJobStateResponse', (_message.Message,), dict(
  DESCRIPTOR = _GETJOBSTATERESPONSE,
  __module__ = 'beam_job_api_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.beam.model.job_management.v1.GetJobStateResponse)
  ))
_sym_db.RegisterMessage(GetJobStateResponse)

JobMessagesRequest = _reflection.GeneratedProtocolMessageType('JobMessagesRequest', (_message.Message,), dict(
  DESCRIPTOR = _JOBMESSAGESREQUEST,
  __module__ = 'beam_job_api_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.beam.model.job_management.v1.JobMessagesRequest)
  ))
_sym_db.RegisterMessage(JobMessagesRequest)

JobMessage = _reflection.GeneratedProtocolMessageType('JobMessage', (_message.Message,), dict(
  DESCRIPTOR = _JOBMESSAGE,
  __module__ = 'beam_job_api_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.beam.model.job_management.v1.JobMessage)
  ))
_sym_db.RegisterMessage(JobMessage)

JobMessagesResponse = _reflection.GeneratedProtocolMessageType('JobMessagesResponse', (_message.Message,), dict(
  DESCRIPTOR = _JOBMESSAGESRESPONSE,
  __module__ = 'beam_job_api_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.beam.model.job_management.v1.JobMessagesResponse)
  ))
_sym_db.RegisterMessage(JobMessagesResponse)

JobState = _reflection.GeneratedProtocolMessageType('JobState', (_message.Message,), dict(
  DESCRIPTOR = _JOBSTATE,
  __module__ = 'beam_job_api_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.beam.model.job_management.v1.JobState)
  ))
_sym_db.RegisterMessage(JobState)


DESCRIPTOR.has_options = True
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n&org.apache.beam.model.jobmanagement.v1B\006JobApiZ\020jobmanagement_v1'))

_JOBSERVICE = _descriptor.ServiceDescriptor(
  name='JobService',
  full_name='org.apache.beam.model.job_management.v1.JobService',
  file=DESCRIPTOR,
  index=0,
  options=None,
  serialized_start=1573,
  serialized_end=2393,
  methods=[
  _descriptor.MethodDescriptor(
    name='Prepare',
    full_name='org.apache.beam.model.job_management.v1.JobService.Prepare',
    index=0,
    containing_service=None,
    input_type=_PREPAREJOBREQUEST,
    output_type=_PREPAREJOBRESPONSE,
    options=None,
  ),
  _descriptor.MethodDescriptor(
    name='Run',
    full_name='org.apache.beam.model.job_management.v1.JobService.Run',
    index=1,
    containing_service=None,
    input_type=_RUNJOBREQUEST,
    output_type=_RUNJOBRESPONSE,
    options=None,
  ),
  _descriptor.MethodDescriptor(
    name='GetState',
    full_name='org.apache.beam.model.job_management.v1.JobService.GetState',
    index=2,
    containing_service=None,
    input_type=_GETJOBSTATEREQUEST,
    output_type=_GETJOBSTATERESPONSE,
    options=None,
  ),
  _descriptor.MethodDescriptor(
    name='Cancel',
    full_name='org.apache.beam.model.job_management.v1.JobService.Cancel',
    index=3,
    containing_service=None,
    input_type=_CANCELJOBREQUEST,
    output_type=_CANCELJOBRESPONSE,
    options=None,
  ),
  _descriptor.MethodDescriptor(
    name='GetStateStream',
    full_name='org.apache.beam.model.job_management.v1.JobService.GetStateStream',
    index=4,
    containing_service=None,
    input_type=_GETJOBSTATEREQUEST,
    output_type=_GETJOBSTATERESPONSE,
    options=None,
  ),
  _descriptor.MethodDescriptor(
    name='GetMessageStream',
    full_name='org.apache.beam.model.job_management.v1.JobService.GetMessageStream',
    index=5,
    containing_service=None,
    input_type=_JOBMESSAGESREQUEST,
    output_type=_JOBMESSAGESRESPONSE,
    options=None,
  ),
])
_sym_db.RegisterServiceDescriptor(_JOBSERVICE)

DESCRIPTOR.services_by_name['JobService'] = _JOBSERVICE

# @@protoc_insertion_point(module_scope)
