# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/osconfig/v1alpha/instance_os_policies_compliance.proto

require 'google/protobuf'

require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/cloud/osconfig/v1alpha/config_common_pb'
require 'google/protobuf/timestamp_pb'


descriptor_data = "\nCgoogle/cloud/osconfig/v1alpha/instance_os_policies_compliance.proto\x12\x1dgoogle.cloud.osconfig.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/osconfig/v1alpha/config_common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xee\x06\n\x1cInstanceOSPoliciesCompliance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08instance\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12J\n\x05state\x18\x03 \x01(\x0e\x32\x36.google.cloud.osconfig.v1alpha.OSPolicyComplianceStateB\x03\xe0\x41\x03\x12\x1b\n\x0e\x64\x65tailed_state\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\"\n\x15\x64\x65tailed_state_reason\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12r\n\x15os_policy_compliances\x18\x06 \x03(\x0b\x32N.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyComplianceB\x03\xe0\x41\x03\x12\x43\n\x1alast_compliance_check_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12#\n\x16last_compliance_run_id\x18\x08 \x01(\tB\x03\xe0\x41\x03\x1a\xa7\x02\n\x12OSPolicyCompliance\x12\x14\n\x0cos_policy_id\x18\x01 \x01(\t\x12M\n\x14os_policy_assignment\x18\x02 \x01(\tB/\xfa\x41,\n*osconfig.googleapis.com/OSPolicyAssignment\x12\x45\n\x05state\x18\x04 \x01(\x0e\x32\x36.google.cloud.osconfig.v1alpha.OSPolicyComplianceState\x12\x61\n\x1eos_policy_resource_compliances\x18\x05 \x03(\x0b\x32\x39.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance:\x02\x18\x01:\x8e\x01\x18\x01\xea\x41\x88\x01\n4osconfig.googleapis.com/InstanceOSPoliciesCompliance\x12Pprojects/{project}/locations/{location}/instanceOSPoliciesCompliances/{instance}\"x\n&GetInstanceOSPoliciesComplianceRequest\x12J\n\x04name\x18\x01 \x01(\tB<\xe0\x41\x02\xfa\x41\x36\n4osconfig.googleapis.com/InstanceOSPoliciesCompliance:\x02\x18\x01\"\xa0\x01\n(ListInstanceOSPoliciesCompliancesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t:\x02\x18\x01\"\xaf\x01\n)ListInstanceOSPoliciesCompliancesResponse\x12\x65\n instance_os_policies_compliances\x18\x01 \x03(\x0b\x32;.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t:\x02\x18\x01\x42\xea\x01\n!com.google.cloud.osconfig.v1alphaB!InstanceOSPoliciesComplianceProtoP\x01Z=cloud.google.com/go/osconfig/apiv1alpha/osconfigpb;osconfigpb\xaa\x02\x1dGoogle.Cloud.OsConfig.V1Alpha\xca\x02\x1dGoogle\\Cloud\\OsConfig\\V1alpha\xea\x02 Google::Cloud::OsConfig::V1alphab\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.cloud.osconfig.v1alpha.OSPolicyResourceCompliance", "google/cloud/osconfig/v1alpha/config_common.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 OsConfig
      module V1alpha
        InstanceOSPoliciesCompliance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance").msgclass
        InstanceOSPoliciesCompliance::OSPolicyCompliance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance").msgclass
        GetInstanceOSPoliciesComplianceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest").msgclass
        ListInstanceOSPoliciesCompliancesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest").msgclass
        ListInstanceOSPoliciesCompliancesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse").msgclass
      end
    end
  end
end
