# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/developerconnect/v1/insights_config.proto

require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/api/client_pb'
require 'google/api/field_behavior_pb'
require 'google/api/field_info_pb'
require 'google/api/resource_pb'
require 'google/cloud/developerconnect/v1/developer_connect_pb'
require 'google/longrunning/operations_pb'
require 'google/protobuf/empty_pb'
require 'google/protobuf/timestamp_pb'
require 'google/rpc/status_pb'


descriptor_data = "\n6google/cloud/developerconnect/v1/insights_config.proto\x12 google.cloud.developerconnect.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x38google/cloud/developerconnect/v1/developer_connect.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xfc\x07\n\x0eInsightsConfig\x12\"\n\x13\x61pp_hub_application\x18\x04 \x01(\tB\x03\xe0\x41\x01H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12M\n\x0fruntime_configs\x18\x05 \x03(\x0b\x32/.google.cloud.developerconnect.v1.RuntimeConfigB\x03\xe0\x41\x03\x12O\n\x10\x61rtifact_configs\x18\x06 \x03(\x0b\x32\x30.google.cloud.developerconnect.v1.ArtifactConfigB\x03\xe0\x41\x01\x12J\n\x05state\x18\x07 \x01(\x0e\x32\x36.google.cloud.developerconnect.v1.InsightsConfig.StateB\x03\xe0\x41\x01\x12[\n\x0b\x61nnotations\x18\x08 \x03(\x0b\x32\x41.google.cloud.developerconnect.v1.InsightsConfig.AnnotationsEntryB\x03\xe0\x41\x01\x12Q\n\x06labels\x18\t \x03(\x0b\x32<.google.cloud.developerconnect.v1.InsightsConfig.LabelsEntryB\x03\xe0\x41\x01\x12\x18\n\x0breconciling\x18\n \x01(\x08\x42\x03\xe0\x41\x03\x12\'\n\x06\x65rrors\x18\x0b \x03(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"D\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x05\x12\x0c\n\x08\x43OMPLETE\x10\x03\x12\t\n\x05\x45RROR\x10\x04:\xa3\x01\xea\x41\x9f\x01\n.developerconnect.googleapis.com/InsightsConfig\x12Iprojects/{project}/locations/{location}/insightsConfigs/{insights_config}*\x0finsightsConfigs2\x0einsightsConfigR\x01\x01\x42\x19\n\x17insights_config_context\"\xe3\x02\n\rRuntimeConfig\x12J\n\x0cgke_workload\x18\x03 \x01(\x0b\x32-.google.cloud.developerconnect.v1.GKEWorkloadB\x03\xe0\x41\x03H\x00\x12Q\n\x10\x61pp_hub_workload\x18\x04 \x01(\x0b\x32\x30.google.cloud.developerconnect.v1.AppHubWorkloadB\x03\xe0\x41\x03H\x01\x12\x13\n\x03uri\x18\x01 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12I\n\x05state\x18\x02 \x01(\x0e\x32\x35.google.cloud.developerconnect.v1.RuntimeConfig.StateB\x03\xe0\x41\x03\"8\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06LINKED\x10\x01\x12\x0c\n\x08UNLINKED\x10\x02\x42\t\n\x07runtimeB\x0e\n\x0c\x64\x65rived_from\"?\n\x0bGKEWorkload\x12\x17\n\x07\x63luster\x18\x01 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12\x17\n\ndeployment\x18\x02 \x01(\tB\x03\xe0\x41\x03\"a\n\x0e\x41ppHubWorkload\x12\x1b\n\x08workload\x18\x01 \x01(\tB\t\xe0\x41\x02\xe0\x41\x05\xe0\x41\x03\x12\x18\n\x0b\x63riticality\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x65nvironment\x18\x03 \x01(\tB\x03\xe0\x41\x03\"\x9c\x02\n\x0e\x41rtifactConfig\x12\x61\n\x18google_artifact_registry\x18\x02 \x01(\x0b\x32\x38.google.cloud.developerconnect.v1.GoogleArtifactRegistryB\x03\xe0\x41\x01H\x00\x12\x61\n\x18google_artifact_analysis\x18\x03 \x01(\x0b\x32\x38.google.cloud.developerconnect.v1.GoogleArtifactAnalysisB\x03\xe0\x41\x01H\x01\x12\x13\n\x03uri\x18\x01 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x42\x12\n\x10\x61rtifact_storageB\x1b\n\x19\x61rtifact_metadata_storage\"1\n\x16GoogleArtifactAnalysis\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\\\n\x16GoogleArtifactRegistry\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12)\n\x19\x61rtifact_registry_package\x18\x02 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\"\xf2\x01\n\x1b\x43reateInsightsConfigRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.developerconnect.googleapis.com/InsightsConfig\x12\x1f\n\x12insights_config_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12N\n\x0finsights_config\x18\x03 \x01(\x0b\x32\x30.google.cloud.developerconnect.v1.InsightsConfigB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"`\n\x18GetInsightsConfigRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.developerconnect.googleapis.com/InsightsConfig\"\xc1\x01\n\x1aListInsightsConfigsRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.developerconnect.googleapis.com/InsightsConfig\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x97\x01\n\x1bListInsightsConfigsResponse\x12J\n\x10insights_configs\x18\x01 \x03(\x0b\x32\x30.google.cloud.developerconnect.v1.InsightsConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xb3\x01\n\x1b\x44\x65leteInsightsConfigRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.developerconnect.googleapis.com/InsightsConfig\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xc6\x01\n\x1bUpdateInsightsConfigRequest\x12N\n\x0finsights_config\x18\x02 \x01(\x0b\x32\x30.google.cloud.developerconnect.v1.InsightsConfigB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x1a\n\rallow_missing\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x32\xef\n\n\x15InsightsConfigService\x12\xd8\x01\n\x13ListInsightsConfigs\x12<.google.cloud.developerconnect.v1.ListInsightsConfigsRequest\x1a=.google.cloud.developerconnect.v1.ListInsightsConfigsResponse\"D\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{parent=projects/*/locations/*}/insightsConfigs\x12\xb6\x02\n\x14\x43reateInsightsConfig\x12=.google.cloud.developerconnect.v1.CreateInsightsConfigRequest\x1a\x1d.google.longrunning.Operation\"\xbf\x01\xca\x41\x44\n\x0eInsightsConfig\x12\x32google.cloud.developerconnect.v1.OperationMetadata\xda\x41)parent,insights_config,insights_config_id\x82\xd3\xe4\x93\x02\x46\"3/v1/{parent=projects/*/locations/*}/insightsConfigs:\x0finsights_config\x12\xc5\x01\n\x11GetInsightsConfig\x12:.google.cloud.developerconnect.v1.GetInsightsConfigRequest\x1a\x30.google.cloud.developerconnect.v1.InsightsConfig\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=projects/*/locations/*/insightsConfigs/*}\x12\x9a\x02\n\x14UpdateInsightsConfig\x12=.google.cloud.developerconnect.v1.UpdateInsightsConfigRequest\x1a\x1d.google.longrunning.Operation\"\xa3\x01\xca\x41\x44\n\x0eInsightsConfig\x12\x32google.cloud.developerconnect.v1.OperationMetadata\x82\xd3\xe4\x93\x02V2C/v1/{insights_config.name=projects/*/locations/*/insightsConfigs/*}:\x0finsights_config\x12\x87\x02\n\x14\x44\x65leteInsightsConfig\x12=.google.cloud.developerconnect.v1.DeleteInsightsConfigRequest\x1a\x1d.google.longrunning.Operation\"\x90\x01\xca\x41K\n\x15google.protobuf.Empty\x12\x32google.cloud.developerconnect.v1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35*3/v1/{name=projects/*/locations/*/insightsConfigs/*}\x1aS\xca\x41\x1f\x64\x65veloperconnect.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd5\x01\n$com.google.cloud.developerconnect.v1B\x13InsightsConfigProtoP\x01ZPcloud.google.com/go/developerconnect/apiv1/developerconnectpb;developerconnectpb\xaa\x02 Google.Cloud.DeveloperConnect.V1\xca\x02 Google\\Cloud\\DeveloperConnect\\V1b\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError
  # Compatibility code: will be removed in the next major version.
  require 'google/protobuf/descriptor_pb'
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
  parsed.clear_dependency
  serialized = parsed.class.encode(parsed)
  file = pool.add_serialized_file(serialized)
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
  imports = [
    ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
    ["google.rpc.Status", "google/rpc/status.proto"],
  ]
  imports.each do |type_name, expected_filename|
    import_file = pool.lookup(type_name).file_descriptor
    if import_file.name != expected_filename
      warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
    end
  end
  warn "Each proto file must use a consistent fully-qualified name."
  warn "This will become an error in the next major version."
end

module Google
  module Cloud
    module Developerconnect
      module V1
        InsightsConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.InsightsConfig").msgclass
        InsightsConfig::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.InsightsConfig.State").enummodule
        RuntimeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.RuntimeConfig").msgclass
        RuntimeConfig::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.RuntimeConfig.State").enummodule
        GKEWorkload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.GKEWorkload").msgclass
        AppHubWorkload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.AppHubWorkload").msgclass
        ArtifactConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.ArtifactConfig").msgclass
        GoogleArtifactAnalysis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.GoogleArtifactAnalysis").msgclass
        GoogleArtifactRegistry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.GoogleArtifactRegistry").msgclass
        CreateInsightsConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.CreateInsightsConfigRequest").msgclass
        GetInsightsConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.GetInsightsConfigRequest").msgclass
        ListInsightsConfigsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.ListInsightsConfigsRequest").msgclass
        ListInsightsConfigsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.ListInsightsConfigsResponse").msgclass
        DeleteInsightsConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.DeleteInsightsConfigRequest").msgclass
        UpdateInsightsConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.UpdateInsightsConfigRequest").msgclass
      end
    end
  end
end
