text: #!/usr/bin/python
  #
  # Copyright 2019 Polyaxon, Inc.
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  #
  #      http://www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  
  # -*- coding: utf-8 -*-
  # Generated by the protocol buffer compiler.  DO NOT EDIT!
  # source: v1/agent.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
  # @@protoc_insertion_point(imports)
  
  _sym_db = _symbol_database.Default()
  
  
  from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
  
  
  DESCRIPTOR = _descriptor.FileDescriptor(
    name='v1/agent.proto',
    package='v1',
    syntax='proto3',
    serialized_options=None,
    serialized_pb=_b('\n\x0ev1/agent.proto\x12\x02v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf9\x01\n\x05\x41gent\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12.\n\x0bversion_api\x18\x04 \x03(\x0b\x32\x19.v1.Agent.VersionApiEntry\x12.\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x31\n\x0fVersionApiEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\";\n\x10\x41gentBodyRequest\x12\r\n\x05owner\x18\x01 \x01(\t\x12\x18\n\x05\x61gent\x18\x02 \x01(\x0b\x32\t.v1.Agent\"_\n\x12ListAgentsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x05\x12\x1a\n\x07results\x18\x02 \x03(\x0b\x32\t.v1.Agent\x12\x10\n\x08previous\x18\x03 \x01(\t\x12\x0c\n\x04next\x18\x04 \x01(\t\"\xb9\x01\n\x05Queue\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x12\r\n\x05\x61gent\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x10\n\x08priority\x18\x04 \x01(\x05\x12\x13\n\x0b\x63oncurrency\x18\x05 \x01(\x05\x12.\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"J\n\x10QueueBodyRequest\x12\r\n\x05owner\x18\x01 \x01(\t\x12\r\n\x05\x61gent\x18\x02 \x01(\t\x12\x18\n\x05queue\x18\x03 \x01(\x0b\x32\t.v1.Queue\"_\n\x12ListQueuesResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x05\x12\x1a\n\x07results\x18\x02 \x03(\x0b\x32\t.v1.Queue\x12\x10\n\x08previous\x18\x03 \x01(\t\x12\x0c\n\x04next\x18\x04 \x01(\tb\x06proto3')
    ,
    dependencies=[google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,])
  
  
  
  
  _AGENT_VERSIONAPIENTRY = _descriptor.Descriptor(
    name='VersionApiEntry',
    full_name='v1.Agent.VersionApiEntry',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
      _descriptor.FieldDescriptor(
        name='key', full_name='v1.Agent.VersionApiEntry.key', 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,
        serialized_options=None, file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='value', full_name='v1.Agent.VersionApiEntry.value', 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,
        serialized_options=None, file=DESCRIPTOR),
    ],
    extensions=[
    ],
    nested_types=[],
    enum_types=[
    ],
    serialized_options=_b('8\001'),
    is_extendable=False,
    syntax='proto3',
    extension_ranges=[],
    oneofs=[
    ],
    serialized_start=256,
    serialized_end=305,
  )
  
  _AGENT = _descriptor.Descriptor(
    name='Agent',
    full_name='v1.Agent',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
      _descriptor.FieldDescriptor(
        name='uuid', full_name='v1.Agent.uuid', 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,
        serialized_options=None, file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='name', full_name='v1.Agent.name', 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,
        serialized_options=None, file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='namespace', full_name='v1.Agent.namespace', 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,
        serialized_options=None, file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='version_api', full_name='v1.Agent.version_api', index=3,
        number=4, type=11, cpp_type=10, label=3,
        has_default_value=False, default_value=[],
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        serialized_options=None, file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='created_at', full_name='v1.Agent.created_at', index=4,
        number=5, 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,
        serialized_options=None, file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='updated_at', full_name='v1.Agent.updated_at', index=5,
        number=6, 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,
        serialized_options=None, file=DESCRIPTOR),
    ],
    extensions=[
    ],
    nested_types=[_AGENT_VERSIONAPIENTRY, ],
    enum_types=[
    ],
    serialized_options=None,
    is_extendable=False,
    syntax='proto3',
    extension_ranges=[],
    oneofs=[
    ],
    serialized_start=56,
    serialized_end=305,
  )
  
  
  _AGENTBODYREQUEST = _descriptor.Descriptor(
    name='AgentBodyRequest',
    full_name='v1.AgentBodyRequest',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
      _descriptor.FieldDescriptor(
        name='owner', full_name='v1.AgentBodyRequest.owner', 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,
        serialized_options=None, file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='agent', full_name='v1.AgentBodyRequest.agent', 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,
        serialized_options=None, file=DESCRIPTOR),
    ],
    extensions=[
    ],
    nested_types=[],
    enum_types=[
    ],
    serialized_options=None,
    is_extendable=False,
    syntax='proto3',
    extension_ranges=[],
    oneofs=[
    ],
    serialized_start=307,
    serialized_end=366,
  )
  
  
  _LISTAGENTSRESPONSE = _descriptor.Descriptor(
    name='ListAgentsResponse',
    full_name='v1.ListAgentsResponse',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
      _descriptor.FieldDescriptor(
        name='count', full_name='v1.ListAgentsResponse.count', index=0,
        number=1, type=5, cpp_type=1, label=1,
        has_default_value=False, default_value=0,
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        serialized_options=None, file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='results', full_name='v1.ListAgentsResponse.results', index=1,
        number=2, type=11, cpp_type=10, label=3,
        has_default_value=False, default_value=[],
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        serialized_options=None, file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='previous', full_name='v1.ListAgentsResponse.previous', 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,
        serialized_options=None, file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='next', full_name='v1.ListAgentsResponse.next', 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,
        serialized_options=None, file=DESCRIPTOR),
    ],
    extensions=[
    ],
    nested_types=[],
    enum_types=[
    ],
    serialized_options=None,
    is_extendable=False,
    syntax='proto3',
    extension_ranges=[],
    oneofs=[
    ],
    serialized_start=368,
    serialized_end=463,
  )
  
  
  _QUEUE = _descriptor.Descriptor(
    name='Queue',
    full_name='v1.Queue',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
      _descriptor.FieldDescriptor(
        name='uuid', full_name='v1.Queue.uuid', 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,
        serialized_options=None, file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='agent', full_name='v1.Queue.agent', 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,
        serialized_options=None, file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='name', full_name='v1.Queue.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,
        serialized_options=None, file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='priority', full_name='v1.Queue.priority', index=3,
        number=4, type=5, cpp_type=1, label=1,
        has_default_value=False, default_value=0,
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        serialized_options=None, file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='concurrency', full_name='v1.Queue.concurrency', index=4,
        number=5, type=5, cpp_type=1, label=1,
        has_default_value=False, default_value=0,
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        serialized_options=None, file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='created_at', full_name='v1.Queue.created_at', index=5,
        number=6, 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,
        serialized_options=None, file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='updated_at', full_name='v1.Queue.updated_at', index=6,
        number=7, 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,
        serialized_options=None, file=DESCRIPTOR),
    ],
    extensions=[
    ],
    nested_types=[],
    enum_types=[
    ],
    serialized_options=None,
    is_extendable=False,
    syntax='proto3',
    extension_ranges=[],
    oneofs=[
    ],
    serialized_start=466,
    serialized_end=651,
  )
  
  
  _QUEUEBODYREQUEST = _descriptor.Descriptor(
    name='QueueBodyRequest',
    full_name='v1.QueueBodyRequest',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
      _descriptor.FieldDescriptor(
        name='owner', full_name='v1.QueueBodyRequest.owner', 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,
        serialized_options=None, file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='agent', full_name='v1.QueueBodyRequest.agent', 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,
        serialized_options=None, file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='queue', full_name='v1.QueueBodyRequest.queue', index=2,
        number=3, 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,
        serialized_options=None, file=DESCRIPTOR),
    ],
    extensions=[
    ],
    nested_types=[],
    enum_types=[
    ],
    serialized_options=None,
    is_extendable=False,
    syntax='proto3',
    extension_ranges=[],
    oneofs=[
    ],
    serialized_start=653,
    serialized_end=727,
  )
  
  
  _LISTQUEUESRESPONSE = _descriptor.Descriptor(
    name='ListQueuesResponse',
    full_name='v1.ListQueuesResponse',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
      _descriptor.FieldDescriptor(
        name='count', full_name='v1.ListQueuesResponse.count', index=0,
        number=1, type=5, cpp_type=1, label=1,
        has_default_value=False, default_value=0,
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        serialized_options=None, file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='results', full_name='v1.ListQueuesResponse.results', index=1,
        number=2, type=11, cpp_type=10, label=3,
        has_default_value=False, default_value=[],
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        serialized_options=None, file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='previous', full_name='v1.ListQueuesResponse.previous', 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,
        serialized_options=None, file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='next', full_name='v1.ListQueuesResponse.next', 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,
        serialized_options=None, file=DESCRIPTOR),
    ],
    extensions=[
    ],
    nested_types=[],
    enum_types=[
    ],
    serialized_options=None,
    is_extendable=False,
    syntax='proto3',
    extension_ranges=[],
    oneofs=[
    ],
    serialized_start=729,
    serialized_end=824,
  )
  
  _AGENT_VERSIONAPIENTRY.containing_type = _AGENT
  _AGENT.fields_by_name['version_api'].message_type = _AGENT_VERSIONAPIENTRY
  _AGENT.fields_by_name['created_at'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
  _AGENT.fields_by_name['updated_at'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
  _AGENTBODYREQUEST.fields_by_name['agent'].message_type = _AGENT
  _LISTAGENTSRESPONSE.fields_by_name['results'].message_type = _AGENT
  _QUEUE.fields_by_name['created_at'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
  _QUEUE.fields_by_name['updated_at'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
  _QUEUEBODYREQUEST.fields_by_name['queue'].message_type = _QUEUE
  _LISTQUEUESRESPONSE.fields_by_name['results'].message_type = _QUEUE
  DESCRIPTOR.message_types_by_name['Agent'] = _AGENT
  DESCRIPTOR.message_types_by_name['AgentBodyRequest'] = _AGENTBODYREQUEST
  DESCRIPTOR.message_types_by_name['ListAgentsResponse'] = _LISTAGENTSRESPONSE
  DESCRIPTOR.message_types_by_name['Queue'] = _QUEUE
  DESCRIPTOR.message_types_by_name['QueueBodyRequest'] = _QUEUEBODYREQUEST
  DESCRIPTOR.message_types_by_name['ListQueuesResponse'] = _LISTQUEUESRESPONSE
  _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  
  Agent = _reflection.GeneratedProtocolMessageType('Agent', (_message.Message,), {
  
    'VersionApiEntry' : _reflection.GeneratedProtocolMessageType('VersionApiEntry', (_message.Message,), {
      'DESCRIPTOR' : _AGENT_VERSIONAPIENTRY,
      '__module__' : 'v1.agent_pb2'
      # @@protoc_insertion_point(class_scope:v1.Agent.VersionApiEntry)
      })
    ,
    'DESCRIPTOR' : _AGENT,
    '__module__' : 'v1.agent_pb2'
    # @@protoc_insertion_point(class_scope:v1.Agent)
    })
  _sym_db.RegisterMessage(Agent)
  _sym_db.RegisterMessage(Agent.VersionApiEntry)
  
  AgentBodyRequest = _reflection.GeneratedProtocolMessageType('AgentBodyRequest', (_message.Message,), {
    'DESCRIPTOR' : _AGENTBODYREQUEST,
    '__module__' : 'v1.agent_pb2'
    # @@protoc_insertion_point(class_scope:v1.AgentBodyRequest)
    })
  _sym_db.RegisterMessage(AgentBodyRequest)
  
  ListAgentsResponse = _reflection.GeneratedProtocolMessageType('ListAgentsResponse', (_message.Message,), {
    'DESCRIPTOR' : _LISTAGENTSRESPONSE,
    '__module__' : 'v1.agent_pb2'
    # @@protoc_insertion_point(class_scope:v1.ListAgentsResponse)
    })
  _sym_db.RegisterMessage(ListAgentsResponse)
  
  Queue = _reflection.GeneratedProtocolMessageType('Queue', (_message.Message,), {
    'DESCRIPTOR' : _QUEUE,
    '__module__' : 'v1.agent_pb2'
    # @@protoc_insertion_point(class_scope:v1.Queue)
    })
  _sym_db.RegisterMessage(Queue)
  
  QueueBodyRequest = _reflection.GeneratedProtocolMessageType('QueueBodyRequest', (_message.Message,), {
    'DESCRIPTOR' : _QUEUEBODYREQUEST,
    '__module__' : 'v1.agent_pb2'
    # @@protoc_insertion_point(class_scope:v1.QueueBodyRequest)
    })
  _sym_db.RegisterMessage(QueueBodyRequest)
  
  ListQueuesResponse = _reflection.GeneratedProtocolMessageType('ListQueuesResponse', (_message.Message,), {
    'DESCRIPTOR' : _LISTQUEUESRESPONSE,
    '__module__' : 'v1.agent_pb2'
    # @@protoc_insertion_point(class_scope:v1.ListQueuesResponse)
    })
  _sym_db.RegisterMessage(ListQueuesResponse)
  
  
  _AGENT_VERSIONAPIENTRY._options = None
  # @@protoc_insertion_point(module_scope)
  