# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: internal/module/managed_resources/rpc/rpc.proto

require 'google/protobuf'

require 'buf/validate/validate_pb'
require 'internal/module/managed_resources/managed_resources_pb'
require 'pkg/entity/entity_pb'
require 'pkg/constraint/constraint_pb'


descriptor_data = "\n/internal/module/managed_resources/rpc/rpc.proto\x12\"gitlab.agent.managed_resources.rpc\x1a\x1b\x62uf/validate/validate.proto\x1a\x39internal/module/managed_resources/managed_resources.proto\x1a\x17pkg/entity/entity.proto\x1a\x1fpkg/constraint/constraint.proto\"\x99\x01\n\x06Object\x12\x14\n\x05group\x18\x01 \x01(\tR\x05group\x12!\n\x07version\x18\x02 \x01(\tB\x07\xbaH\x04r\x02 \x01R\x07version\x12\x1b\n\x04kind\x18\x03 \x01(\tB\x07\xbaH\x04r\x02 \x01R\x04kind\x12\x1c\n\tnamespace\x18\x04 \x01(\tR\tnamespace\x12\x1b\n\x04name\x18\x05 \x01(\tB\x07\xbaH\x04r\x02 \x01R\x04name\"x\n\x0bObjectError\x12J\n\x06object\x18\x01 \x01(\x0b\x32*.gitlab.agent.managed_resources.rpc.ObjectB\x06\xbaH\x03\xc8\x01\x01R\x06object\x12\x1d\n\x05\x65rror\x18\x02 \x01(\tB\x07\xbaH\x04r\x02 \x01R\x05\x65rror\"s\n\x17\x45nvironmentTemplateInfo\x12)\n\nagent_name\x18\x01 \x01(\tB\t\xbaH\x06r\x04\xd0\x9e^\x01R\nagent_name\x12-\n\rtemplate_name\x18\x02 \x01(\tB\x07\xbaH\x04r\x02 \x01R\rtemplate_name\"&\n$GetDefaultEnvironmentTemplateRequest\"\x80\x01\n%GetDefaultEnvironmentTemplateResponse\x12W\n\x08template\x18\x01 \x01(\x0b\x32\x33.gitlab.agent.managed_resources.EnvironmentTemplateB\x06\xbaH\x03\xc8\x01\x01R\x08template\"\xcd\x02\n\x1dGetEnvironmentTemplateRequest\x12,\n\rtemplate_name\x18\x01 \x01(\tB\x07\xbaH\x04r\x02 \x01R\x0ctemplateName\x12(\n\nagent_name\x18\x02 \x01(\tB\t\xbaH\x06r\x04\xd0\x9e^\x01R\tagentName\x12H\n\x0bgitaly_info\x18\x03 \x01(\x0b\x32\x1f.gitlab.agent.entity.GitalyInfoB\x06\xbaH\x03\xc8\x01\x01R\ngitalyInfo\x12Z\n\x11gitaly_repository\x18\x04 \x01(\x0b\x32%.gitlab.agent.entity.GitalyRepositoryB\x06\xbaH\x03\xc8\x01\x01R\x10gitalyRepository\x12.\n\x0e\x64\x65\x66\x61ult_branch\x18\x05 \x01(\tB\x07\xbaH\x04r\x02 \x01R\rdefaultBranch\"y\n\x1eGetEnvironmentTemplateResponse\x12W\n\x08template\x18\x01 \x01(\x0b\x32\x33.gitlab.agent.managed_resources.EnvironmentTemplateB\x06\xbaH\x03\xc8\x01\x01R\x08template\"\xc7\x01\n RenderEnvironmentTemplateRequest\x12W\n\x08template\x18\x01 \x01(\x0b\x32\x33.gitlab.agent.managed_resources.EnvironmentTemplateB\x06\xbaH\x03\xc8\x01\x01R\x08template\x12J\n\x04info\x18\x02 \x01(\x0b\x32..gitlab.agent.managed_resources.TemplatingInfoB\x06\xbaH\x03\xc8\x01\x01R\x04info\"\x84\x01\n!RenderEnvironmentTemplateResponse\x12_\n\x08template\x18\x01 \x01(\x0b\x32;.gitlab.agent.managed_resources.RenderedEnvironmentTemplateB\x06\xbaH\x03\xc8\x01\x01R\x08template\"\xa6\x02\n\x1fListEnvironmentTemplatesRequest\x12-\n\nagent_name\x18\x01 \x01(\tB\x0e\xaa\x01\x02\x08\x01\xbaH\x06r\x04\xd0\x9e^\x01R\tagentName\x12H\n\x0bgitaly_info\x18\x02 \x01(\x0b\x32\x1f.gitlab.agent.entity.GitalyInfoB\x06\xbaH\x03\xc8\x01\x01R\ngitalyInfo\x12Z\n\x11gitaly_repository\x18\x03 \x01(\x0b\x32%.gitlab.agent.entity.GitalyRepositoryB\x06\xbaH\x03\xc8\x01\x01R\x10gitalyRepository\x12.\n\x0e\x64\x65\x66\x61ult_branch\x18\x04 \x01(\tB\x07\xbaH\x04r\x02 \x01R\rdefaultBranch\"u\n ListEnvironmentTemplatesResponse\x12Q\n\x05infos\x18\x01 \x03(\x0b\x32;.gitlab.agent.managed_resources.rpc.EnvironmentTemplateInfoR\x05infos\"\xc7\x01\n\x18\x45nsureEnvironmentRequest\x12_\n\x08template\x18\x01 \x01(\x0b\x32;.gitlab.agent.managed_resources.RenderedEnvironmentTemplateB\x06\xbaH\x03\xc8\x01\x01R\x08template\x12J\n\x04info\x18\x02 \x01(\x0b\x32..gitlab.agent.managed_resources.TemplatingInfoB\x06\xbaH\x03\xc8\x01\x01R\x04info\"\xaa\x01\n\x19\x45nsureEnvironmentResponse\x12\x44\n\x07objects\x18\x01 \x03(\x0b\x32*.gitlab.agent.managed_resources.rpc.ObjectR\x07objects\x12G\n\x06\x65rrors\x18\x02 \x03(\x0b\x32/.gitlab.agent.managed_resources.rpc.ObjectErrorR\x06\x65rrors\"\xe0\x01\n\x18\x44\x65leteEnvironmentRequest\x12\"\n\x08\x61gent_id\x18\x01 \x01(\x03\x42\x07\xbaH\x04\"\x02 \x00R\x07\x61gentId\x12&\n\nproject_id\x18\x02 \x01(\x03\x42\x07\xbaH\x04\"\x02 \x00R\tprojectId\x12\x32\n\x10\x65nvironment_slug\x18\x03 \x01(\tB\x07\xbaH\x04r\x02 \x01R\x0f\x65nvironmentSlug\x12\x44\n\x07objects\x18\x04 \x03(\x0b\x32*.gitlab.agent.managed_resources.rpc.ObjectR\x07objects\"\xb2\x01\n\x19\x44\x65leteEnvironmentResponse\x12L\n\x0bin_progress\x18\x01 \x03(\x0b\x32*.gitlab.agent.managed_resources.rpc.ObjectR\x0bin_progress\x12G\n\x06\x65rrors\x18\x02 \x03(\x0b\x32/.gitlab.agent.managed_resources.rpc.ObjectErrorR\x06\x65rrors2\xfd\x07\n\x0bProvisioner\x12\xb9\x01\n\x1dGetDefaultEnvironmentTemplate\x12H.gitlab.agent.managed_resources.rpc.GetDefaultEnvironmentTemplateRequest\x1aI.gitlab.agent.managed_resources.rpc.GetDefaultEnvironmentTemplateResponse\"\x03\x90\x02\x01\x12\xaa\x01\n\x18ListEnvironmentTemplates\x12\x43.gitlab.agent.managed_resources.rpc.ListEnvironmentTemplatesRequest\x1a\x44.gitlab.agent.managed_resources.rpc.ListEnvironmentTemplatesResponse\"\x03\x90\x02\x01\x12\xa4\x01\n\x16GetEnvironmentTemplate\x12\x41.gitlab.agent.managed_resources.rpc.GetEnvironmentTemplateRequest\x1a\x42.gitlab.agent.managed_resources.rpc.GetEnvironmentTemplateResponse\"\x03\x90\x02\x01\x12\xad\x01\n\x19RenderEnvironmentTemplate\x12\x44.gitlab.agent.managed_resources.rpc.RenderEnvironmentTemplateRequest\x1a\x45.gitlab.agent.managed_resources.rpc.RenderEnvironmentTemplateResponse\"\x03\x90\x02\x01\x12\x95\x01\n\x11\x45nsureEnvironment\x12<.gitlab.agent.managed_resources.rpc.EnsureEnvironmentRequest\x1a=.gitlab.agent.managed_resources.rpc.EnsureEnvironmentResponse\"\x03\x90\x02\x02\x12\x95\x01\n\x11\x44\x65leteEnvironment\x12<.gitlab.agent.managed_resources.rpc.DeleteEnvironmentRequest\x1a=.gitlab.agent.managed_resources.rpc.DeleteEnvironmentResponse\"\x03\x90\x02\x02\x42gZ`gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/internal/module/managed_resources/rpc\x92\x03\x02\x08\x02\x62\x08\x65\x64itionsp\xe8\x07"

pool = ::Google::Protobuf::DescriptorPool.generated_pool
pool.add_serialized_file(descriptor_data)

module Gitlab
  module Agent
    module ManagedResources
      module Rpc
        Object = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.managed_resources.rpc.Object").msgclass
        ObjectError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.managed_resources.rpc.ObjectError").msgclass
        EnvironmentTemplateInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.managed_resources.rpc.EnvironmentTemplateInfo").msgclass
        GetDefaultEnvironmentTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.managed_resources.rpc.GetDefaultEnvironmentTemplateRequest").msgclass
        GetDefaultEnvironmentTemplateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.managed_resources.rpc.GetDefaultEnvironmentTemplateResponse").msgclass
        GetEnvironmentTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.managed_resources.rpc.GetEnvironmentTemplateRequest").msgclass
        GetEnvironmentTemplateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.managed_resources.rpc.GetEnvironmentTemplateResponse").msgclass
        RenderEnvironmentTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.managed_resources.rpc.RenderEnvironmentTemplateRequest").msgclass
        RenderEnvironmentTemplateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.managed_resources.rpc.RenderEnvironmentTemplateResponse").msgclass
        ListEnvironmentTemplatesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.managed_resources.rpc.ListEnvironmentTemplatesRequest").msgclass
        ListEnvironmentTemplatesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.managed_resources.rpc.ListEnvironmentTemplatesResponse").msgclass
        EnsureEnvironmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.managed_resources.rpc.EnsureEnvironmentRequest").msgclass
        EnsureEnvironmentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.managed_resources.rpc.EnsureEnvironmentResponse").msgclass
        DeleteEnvironmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.managed_resources.rpc.DeleteEnvironmentRequest").msgclass
        DeleteEnvironmentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.agent.managed_resources.rpc.DeleteEnvironmentResponse").msgclass
      end
    end
  end
end
