# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: api/service.proto

require 'google/protobuf'

require 'google/protobuf/timestamp_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_message "chef.automate.domain.secrets.api.UpdateResponse" do
  end
  add_message "chef.automate.domain.secrets.api.DeleteResponse" do
  end
  add_message "chef.automate.domain.secrets.api.Id" do
    optional :id, :string, 1
  end
  add_message "chef.automate.domain.secrets.api.Query" do
    repeated :filters, :message, 20, "chef.automate.domain.secrets.api.Filter"
    optional :order, :enum, 21, "chef.automate.domain.secrets.api.Query.OrderType"
    optional :sort, :string, 22
    optional :page, :int32, 23
    optional :per_page, :int32, 24
  end
  add_enum "chef.automate.domain.secrets.api.Query.OrderType" do
    value :ASC, 0
    value :DESC, 1
  end
  add_message "chef.automate.domain.secrets.api.Secret" do
    optional :id, :string, 1
    optional :name, :string, 2
    optional :type, :string, 3
    optional :last_modified, :message, 20, "google.protobuf.Timestamp"
    repeated :tags, :message, 21, "chef.automate.domain.secrets.api.Kv"
    repeated :data, :message, 22, "chef.automate.domain.secrets.api.Kv"
  end
  add_message "chef.automate.domain.secrets.api.Secrets" do
    repeated :secrets, :message, 1, "chef.automate.domain.secrets.api.Secret"
    optional :total, :int32, 20
  end
  add_message "chef.automate.domain.secrets.api.Filter" do
    optional :key, :string, 20
    optional :exclude, :bool, 22
    repeated :values, :string, 23
  end
  add_message "chef.automate.domain.secrets.api.Kv" do
    optional :key, :string, 1
    optional :value, :string, 2
  end
end

module Chef
  module Automate
    module Domain
      module Secrets
        module Api
          UpdateResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("chef.automate.domain.secrets.api.UpdateResponse").msgclass
          DeleteResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("chef.automate.domain.secrets.api.DeleteResponse").msgclass
          Id = Google::Protobuf::DescriptorPool.generated_pool.lookup("chef.automate.domain.secrets.api.Id").msgclass
          Query = Google::Protobuf::DescriptorPool.generated_pool.lookup("chef.automate.domain.secrets.api.Query").msgclass
          Query::OrderType = Google::Protobuf::DescriptorPool.generated_pool.lookup("chef.automate.domain.secrets.api.Query.OrderType").enummodule
          Secret = Google::Protobuf::DescriptorPool.generated_pool.lookup("chef.automate.domain.secrets.api.Secret").msgclass
          Secrets = Google::Protobuf::DescriptorPool.generated_pool.lookup("chef.automate.domain.secrets.api.Secrets").msgclass
          Filter = Google::Protobuf::DescriptorPool.generated_pool.lookup("chef.automate.domain.secrets.api.Filter").msgclass
          Kv = Google::Protobuf::DescriptorPool.generated_pool.lookup("chef.automate.domain.secrets.api.Kv").msgclass
        end
      end
    end
  end
end
