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

require 'google/protobuf'

require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/cloud/osconfig/v1alpha/os_policy_pb'
require 'google/cloud/osconfig/v1alpha/osconfig_common_pb'
require 'google/protobuf/duration_pb'
require 'google/protobuf/field_mask_pb'
require 'google/protobuf/timestamp_pb'


descriptor_data = "\n9google/cloud/osconfig/v1alpha/os_policy_assignments.proto\x12\x1dgoogle.cloud.osconfig.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/osconfig/v1alpha/os_policy.proto\x1a\x33google/cloud/osconfig/v1alpha/osconfig_common.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xec\x0b\n\x12OSPolicyAssignment\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x41\n\x0bos_policies\x18\x03 \x03(\x0b\x32\'.google.cloud.osconfig.v1alpha.OSPolicyB\x03\xe0\x41\x02\x12^\n\x0finstance_filter\x18\x04 \x01(\x0b\x32@.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterB\x03\xe0\x41\x02\x12O\n\x07rollout\x18\x05 \x01(\x0b\x32\x39.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutB\x03\xe0\x41\x02\x12\x18\n\x0brevision_id\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12=\n\x14revision_create_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x08 \x01(\t\x12Z\n\rrollout_state\x18\t \x01(\x0e\x32>.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutStateB\x03\xe0\x41\x03\x12\x15\n\x08\x62\x61seline\x18\n \x01(\x08\x42\x03\xe0\x41\x03\x12\x14\n\x07\x64\x65leted\x18\x0b \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0breconciling\x18\x0c \x01(\x08\x42\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\r \x01(\tB\x03\xe0\x41\x03\x1a\x91\x01\n\x08LabelSet\x12V\n\x06labels\x18\x01 \x03(\x0b\x32\x46.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x83\x03\n\x0eInstanceFilter\x12\x0b\n\x03\x61ll\x18\x01 \x01(\x08\x12\x1a\n\x0eos_short_names\x18\x02 \x03(\tB\x02\x18\x01\x12T\n\x10inclusion_labels\x18\x03 \x03(\x0b\x32:.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet\x12T\n\x10\x65xclusion_labels\x18\x04 \x03(\x0b\x32:.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet\x12_\n\x0binventories\x18\x05 \x03(\x0b\x32J.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory\x1a;\n\tInventory\x12\x1a\n\ros_short_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\nos_version\x18\x02 \x01(\t\x1a\x93\x01\n\x07Rollout\x12M\n\x11\x64isruption_budget\x18\x01 \x01(\x0b\x32-.google.cloud.osconfig.v1alpha.FixedOrPercentB\x03\xe0\x41\x02\x12\x39\n\x11min_wait_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\"l\n\x0cRolloutState\x12\x1d\n\x19ROLLOUT_STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bIN_PROGRESS\x10\x01\x12\x0e\n\nCANCELLING\x10\x02\x12\r\n\tCANCELLED\x10\x03\x12\r\n\tSUCCEEDED\x10\x04:\x84\x01\xea\x41\x80\x01\n*osconfig.googleapis.com/OSPolicyAssignment\x12Rprojects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}\"\xea\x04\n#OSPolicyAssignmentOperationMetadata\x12M\n\x14os_policy_assignment\x18\x01 \x01(\tB/\xfa\x41,\n*osconfig.googleapis.com/OSPolicyAssignment\x12`\n\napi_method\x18\x02 \x01(\x0e\x32L.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod\x12\x66\n\rrollout_state\x18\x03 \x01(\x0e\x32O.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState\x12\x36\n\x12rollout_start_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13rollout_update_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"K\n\tAPIMethod\x12\x1a\n\x16\x41PI_METHOD_UNSPECIFIED\x10\x00\x12\n\n\x06\x43REATE\x10\x01\x12\n\n\x06UPDATE\x10\x02\x12\n\n\x06\x44\x45LETE\x10\x03\"l\n\x0cRolloutState\x12\x1d\n\x19ROLLOUT_STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bIN_PROGRESS\x10\x01\x12\x0e\n\nCANCELLING\x10\x02\x12\r\n\tCANCELLED\x10\x03\x12\r\n\tSUCCEEDED\x10\x04\"\xd8\x01\n\x1f\x43reateOSPolicyAssignmentRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12T\n\x14os_policy_assignment\x18\x02 \x01(\x0b\x32\x31.google.cloud.osconfig.v1alpha.OSPolicyAssignmentB\x03\xe0\x41\x02\x12$\n\x17os_policy_assignment_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\xad\x01\n\x1fUpdateOSPolicyAssignmentRequest\x12T\n\x14os_policy_assignment\x18\x01 \x01(\x0b\x32\x31.google.cloud.osconfig.v1alpha.OSPolicyAssignmentB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"`\n\x1cGetOSPolicyAssignmentRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*osconfig.googleapis.com/OSPolicyAssignment\"\x82\x01\n\x1eListOSPolicyAssignmentsRequest\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\"\x8c\x01\n\x1fListOSPolicyAssignmentsResponse\x12P\n\x15os_policy_assignments\x18\x01 \x03(\x0b\x32\x31.google.cloud.osconfig.v1alpha.OSPolicyAssignment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x91\x01\n&ListOSPolicyAssignmentRevisionsRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*osconfig.googleapis.com/OSPolicyAssignment\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x94\x01\n\'ListOSPolicyAssignmentRevisionsResponse\x12P\n\x15os_policy_assignments\x18\x01 \x03(\x0b\x32\x31.google.cloud.osconfig.v1alpha.OSPolicyAssignment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"c\n\x1f\x44\x65leteOSPolicyAssignmentRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*osconfig.googleapis.com/OSPolicyAssignmentB\xe1\x01\n!com.google.cloud.osconfig.v1alphaB\x18OsPolicyAssignmentsProtoP\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.cloud.osconfig.v1alpha.OSPolicy", "google/cloud/osconfig/v1alpha/os_policy.proto"],
    ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
    ["google.cloud.osconfig.v1alpha.FixedOrPercent", "google/cloud/osconfig/v1alpha/osconfig_common.proto"],
    ["google.protobuf.Duration", "google/protobuf/duration.proto"],
    ["google.protobuf.FieldMask", "google/protobuf/field_mask.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
        OSPolicyAssignment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.OSPolicyAssignment").msgclass
        OSPolicyAssignment::LabelSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet").msgclass
        OSPolicyAssignment::InstanceFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter").msgclass
        OSPolicyAssignment::InstanceFilter::Inventory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory").msgclass
        OSPolicyAssignment::Rollout = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout").msgclass
        OSPolicyAssignment::RolloutState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState").enummodule
        OSPolicyAssignmentOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata").msgclass
        OSPolicyAssignmentOperationMetadata::APIMethod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod").enummodule
        OSPolicyAssignmentOperationMetadata::RolloutState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState").enummodule
        CreateOSPolicyAssignmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest").msgclass
        UpdateOSPolicyAssignmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest").msgclass
        GetOSPolicyAssignmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest").msgclass
        ListOSPolicyAssignmentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest").msgclass
        ListOSPolicyAssignmentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse").msgclass
        ListOSPolicyAssignmentRevisionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest").msgclass
        ListOSPolicyAssignmentRevisionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse").msgclass
        DeleteOSPolicyAssignmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest").msgclass
      end
    end
  end
end
