# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: yandex/cloud/cloudregistry/v1/scan_policy.proto
# Protobuf Python Version: 6.31.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
    _runtime_version.Domain.PUBLIC,
    6,
    31,
    1,
    '',
    'yandex/cloud/cloudregistry/v1/scan_policy.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/yandex/cloud/cloudregistry/v1/scan_policy.proto\x12\x1dyandex.cloud.cloudregistry.v1\x1a\x1dyandex/cloud/validation.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9a\x02\n\nScanPolicy\x12\n\n\x02id\x18\x01 \x01(\t\x12\x13\n\x0bregistry_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12M\n\x13scan_policy_options\x18\x05 \x01(\x0b\x32\x30.yandex.cloud.cloudregistry.v1.ScanPolicyOptions\x12\x37\n\x05rules\x18\x06 \x01(\x0b\x32(.yandex.cloud.cloudregistry.v1.ScanRules\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08\x64isabled\x18\x08 \x01(\x08\"/\n\x11ScanPolicyOptions\x12\x1a\n\x12scan_lang_packages\x18\x01 \x01(\x08\"\x8d\x01\n\tScanRules\x12:\n\tpush_rule\x18\x01 \x01(\x0b\x32\'.yandex.cloud.cloudregistry.v1.PushRule\x12\x44\n\x0eschedule_rules\x18\x02 \x03(\x0b\x32,.yandex.cloud.cloudregistry.v1.ScheduledRule\"x\n\x08PushRule\x12Z\n\x05paths\x18\x01 \x03(\tBK\xf2\xc7\x31\x41\\*|[a-z0-9]+(?:[._-][a-z0-9]+)*(/([a-z0-9]+(?:[._-][a-z0-9]+)*))*\x82\xc8\x31\x02>0\x12\x10\n\x08\x64isabled\x18\x02 \x01(\x08\"\xa4\x02\n\rScheduledRule\x12\x16\n\x06\x61mount\x18\x01 \x01(\x03\x42\x06\xfa\xc7\x31\x02>0\x12P\n\rinterval_unit\x18\x02 \x01(\x0e\x32\x39.yandex.cloud.cloudregistry.v1.ScheduledRule.IntervalUnit\x12^\n\x05paths\x18\x03 \x03(\tBO\xf2\xc7\x31\x41\\*|[a-z0-9]+(?:[._-][a-z0-9]+)*(/([a-z0-9]+(?:[._-][a-z0-9]+)*))*\x82\xc8\x31\x06\x31-1000\x12\x10\n\x08\x64isabled\x18\x04 \x01(\x08\"7\n\x0cIntervalUnit\x12\x1d\n\x19INTERVAL_UNIT_UNSPECIFIED\x10\x00\x12\x08\n\x04\x44\x41YS\x10\x01\x42t\n!yandex.cloud.api.cloudregistry.v1ZOgithub.com/yandex-cloud/go-genproto/yandex/cloud/cloudregistry/v1;cloudregistryb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.cloudregistry.v1.scan_policy_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n!yandex.cloud.api.cloudregistry.v1ZOgithub.com/yandex-cloud/go-genproto/yandex/cloud/cloudregistry/v1;cloudregistry'
  _globals['_PUSHRULE'].fields_by_name['paths']._loaded_options = None
  _globals['_PUSHRULE'].fields_by_name['paths']._serialized_options = b'\362\3071A\\*|[a-z0-9]+(?:[._-][a-z0-9]+)*(/([a-z0-9]+(?:[._-][a-z0-9]+)*))*\202\3101\002>0'
  _globals['_SCHEDULEDRULE'].fields_by_name['amount']._loaded_options = None
  _globals['_SCHEDULEDRULE'].fields_by_name['amount']._serialized_options = b'\372\3071\002>0'
  _globals['_SCHEDULEDRULE'].fields_by_name['paths']._loaded_options = None
  _globals['_SCHEDULEDRULE'].fields_by_name['paths']._serialized_options = b'\362\3071A\\*|[a-z0-9]+(?:[._-][a-z0-9]+)*(/([a-z0-9]+(?:[._-][a-z0-9]+)*))*\202\3101\0061-1000'
  _globals['_SCANPOLICY']._serialized_start=147
  _globals['_SCANPOLICY']._serialized_end=429
  _globals['_SCANPOLICYOPTIONS']._serialized_start=431
  _globals['_SCANPOLICYOPTIONS']._serialized_end=478
  _globals['_SCANRULES']._serialized_start=481
  _globals['_SCANRULES']._serialized_end=622
  _globals['_PUSHRULE']._serialized_start=624
  _globals['_PUSHRULE']._serialized_end=744
  _globals['_SCHEDULEDRULE']._serialized_start=747
  _globals['_SCHEDULEDRULE']._serialized_end=1039
  _globals['_SCHEDULEDRULE_INTERVALUNIT']._serialized_start=984
  _globals['_SCHEDULEDRULE_INTERVALUNIT']._serialized_end=1039
# @@protoc_insertion_point(module_scope)
