# -*- coding: utf-8 -*-

#  Licensed to the Apache Software Foundation (ASF) under one
#  or more contributor license agreements. See the NOTICE file
#  distributed with this work for additional information
#  regarding copyright ownership. The ASF licenses this file
#  to you 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.

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: AgentProfileService.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
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()




DESCRIPTOR = _descriptor.FileDescriptor(
  name='AgentProfileService.proto',
  package='org.apache.custos.agent.profile.service',
  syntax='proto3',
  serialized_options=b'P\001Z\004./pb',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x19\x41gentProfileService.proto\x12\'org.apache.custos.agent.profile.service\"\xff\x01\n\x05\x41gent\x12\n\n\x02id\x18\x01 \x01(\t\x12\x44\n\x06status\x18\x02 \x01(\x0e\x32\x34.org.apache.custos.agent.profile.service.AgentStatus\x12\x12\n\ncreated_at\x18\x03 \x01(\x03\x12\x18\n\x10last_modified_at\x18\x04 \x01(\x03\x12\r\n\x05roles\x18\x05 \x03(\t\x12K\n\nattributes\x18\x06 \x03(\x0b\x32\x37.org.apache.custos.agent.profile.service.AgentAttribute\x12\x1a\n\x12\x61gent_client_roles\x18\x08 \x03(\t\"8\n\x0e\x41gentAttribute\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0b\n\x03key\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x03(\t\"`\n\x0c\x41gentRequest\x12\x11\n\ttenant_id\x18\x01 \x01(\x03\x12=\n\x05\x61gent\x18\x02 \x01(\x0b\x32..org.apache.custos.agent.profile.service.Agent\"!\n\x0fOperationStatus\x12\x0e\n\x06status\x18\x01 \x01(\x08*(\n\x0b\x41gentStatus\x12\x0b\n\x07\x45NABLED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x32\xf4\x03\n\x13\x41gentProfileService\x12t\n\x0b\x63reateAgent\x12\x35.org.apache.custos.agent.profile.service.AgentRequest\x1a..org.apache.custos.agent.profile.service.Agent\x12t\n\x0bupdateAgent\x12\x35.org.apache.custos.agent.profile.service.AgentRequest\x1a..org.apache.custos.agent.profile.service.Agent\x12~\n\x0b\x64\x65leteAgent\x12\x35.org.apache.custos.agent.profile.service.AgentRequest\x1a\x38.org.apache.custos.agent.profile.service.OperationStatus\x12q\n\x08getAgent\x12\x35.org.apache.custos.agent.profile.service.AgentRequest\x1a..org.apache.custos.agent.profile.service.AgentB\x08P\x01Z\x04./pbb\x06proto3'
)

_AGENTSTATUS = _descriptor.EnumDescriptor(
  name='AgentStatus',
  full_name='org.apache.custos.agent.profile.service.AgentStatus',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='ENABLED', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='DISABLED', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=519,
  serialized_end=559,
)
_sym_db.RegisterEnumDescriptor(_AGENTSTATUS)

AgentStatus = enum_type_wrapper.EnumTypeWrapper(_AGENTSTATUS)
ENABLED = 0
DISABLED = 1



_AGENT = _descriptor.Descriptor(
  name='Agent',
  full_name='org.apache.custos.agent.profile.service.Agent',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='org.apache.custos.agent.profile.service.Agent.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,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='status', full_name='org.apache.custos.agent.profile.service.Agent.status', index=1,
      number=2, 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,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='created_at', full_name='org.apache.custos.agent.profile.service.Agent.created_at', index=2,
      number=3, type=3, cpp_type=2, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='last_modified_at', full_name='org.apache.custos.agent.profile.service.Agent.last_modified_at', index=3,
      number=4, type=3, cpp_type=2, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='roles', full_name='org.apache.custos.agent.profile.service.Agent.roles', index=4,
      number=5, type=9, cpp_type=9, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='attributes', full_name='org.apache.custos.agent.profile.service.Agent.attributes', index=5,
      number=6, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='agent_client_roles', full_name='org.apache.custos.agent.profile.service.Agent.agent_client_roles', index=6,
      number=8, type=9, cpp_type=9, 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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=71,
  serialized_end=326,
)


_AGENTATTRIBUTE = _descriptor.Descriptor(
  name='AgentAttribute',
  full_name='org.apache.custos.agent.profile.service.AgentAttribute',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='org.apache.custos.agent.profile.service.AgentAttribute.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,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='key', full_name='org.apache.custos.agent.profile.service.AgentAttribute.key', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='value', full_name='org.apache.custos.agent.profile.service.AgentAttribute.value', index=2,
      number=3, type=9, cpp_type=9, 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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=328,
  serialized_end=384,
)


_AGENTREQUEST = _descriptor.Descriptor(
  name='AgentRequest',
  full_name='org.apache.custos.agent.profile.service.AgentRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='tenant_id', full_name='org.apache.custos.agent.profile.service.AgentRequest.tenant_id', index=0,
      number=1, type=3, cpp_type=2, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='agent', full_name='org.apache.custos.agent.profile.service.AgentRequest.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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=386,
  serialized_end=482,
)


_OPERATIONSTATUS = _descriptor.Descriptor(
  name='OperationStatus',
  full_name='org.apache.custos.agent.profile.service.OperationStatus',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='status', full_name='org.apache.custos.agent.profile.service.OperationStatus.status', index=0,
      number=1, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=484,
  serialized_end=517,
)

_AGENT.fields_by_name['status'].enum_type = _AGENTSTATUS
_AGENT.fields_by_name['attributes'].message_type = _AGENTATTRIBUTE
_AGENTREQUEST.fields_by_name['agent'].message_type = _AGENT
DESCRIPTOR.message_types_by_name['Agent'] = _AGENT
DESCRIPTOR.message_types_by_name['AgentAttribute'] = _AGENTATTRIBUTE
DESCRIPTOR.message_types_by_name['AgentRequest'] = _AGENTREQUEST
DESCRIPTOR.message_types_by_name['OperationStatus'] = _OPERATIONSTATUS
DESCRIPTOR.enum_types_by_name['AgentStatus'] = _AGENTSTATUS
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

Agent = _reflection.GeneratedProtocolMessageType('Agent', (_message.Message,), {
  'DESCRIPTOR' : _AGENT,
  '__module__' : 'AgentProfileService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.agent.profile.service.Agent)
  })
_sym_db.RegisterMessage(Agent)

AgentAttribute = _reflection.GeneratedProtocolMessageType('AgentAttribute', (_message.Message,), {
  'DESCRIPTOR' : _AGENTATTRIBUTE,
  '__module__' : 'AgentProfileService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.agent.profile.service.AgentAttribute)
  })
_sym_db.RegisterMessage(AgentAttribute)

AgentRequest = _reflection.GeneratedProtocolMessageType('AgentRequest', (_message.Message,), {
  'DESCRIPTOR' : _AGENTREQUEST,
  '__module__' : 'AgentProfileService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.agent.profile.service.AgentRequest)
  })
_sym_db.RegisterMessage(AgentRequest)

OperationStatus = _reflection.GeneratedProtocolMessageType('OperationStatus', (_message.Message,), {
  'DESCRIPTOR' : _OPERATIONSTATUS,
  '__module__' : 'AgentProfileService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.agent.profile.service.OperationStatus)
  })
_sym_db.RegisterMessage(OperationStatus)


DESCRIPTOR._options = None

_AGENTPROFILESERVICE = _descriptor.ServiceDescriptor(
  name='AgentProfileService',
  full_name='org.apache.custos.agent.profile.service.AgentProfileService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=562,
  serialized_end=1062,
  methods=[
  _descriptor.MethodDescriptor(
    name='createAgent',
    full_name='org.apache.custos.agent.profile.service.AgentProfileService.createAgent',
    index=0,
    containing_service=None,
    input_type=_AGENTREQUEST,
    output_type=_AGENT,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='updateAgent',
    full_name='org.apache.custos.agent.profile.service.AgentProfileService.updateAgent',
    index=1,
    containing_service=None,
    input_type=_AGENTREQUEST,
    output_type=_AGENT,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='deleteAgent',
    full_name='org.apache.custos.agent.profile.service.AgentProfileService.deleteAgent',
    index=2,
    containing_service=None,
    input_type=_AGENTREQUEST,
    output_type=_OPERATIONSTATUS,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getAgent',
    full_name='org.apache.custos.agent.profile.service.AgentProfileService.getAgent',
    index=3,
    containing_service=None,
    input_type=_AGENTREQUEST,
    output_type=_AGENT,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_AGENTPROFILESERVICE)

DESCRIPTOR.services_by_name['AgentProfileService'] = _AGENTPROFILESERVICE

# @@protoc_insertion_point(module_scope)
