# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: yandex/cloud/cloudregistry/v1/scan_policy_service.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_service.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
from yandex.cloud.cloudregistry.v1 import scan_policy_pb2 as yandex_dot_cloud_dot_cloudregistry_dot_v1_dot_scan__policy__pb2
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n7yandex/cloud/cloudregistry/v1/scan_policy_service.proto\x12\x1dyandex.cloud.cloudregistry.v1\x1a yandex/cloud/api/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a&yandex/cloud/operation/operation.proto\x1a/yandex/cloud/cloudregistry/v1/scan_policy.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/api/annotations.proto\"<\n\x14GetScanPolicyRequest\x12$\n\x0escan_policy_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"C\n\x1eGetScanPolicyByRegistryRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xf4\x01\n\x17\x43reateScanPolicyRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x04name\x18\x02 \x01(\tB!\xf2\xc7\x31\x1d|[a-z][-a-z0-9]{1,61}[a-z0-9]\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x1a\n\x12scan_lang_packages\x18\x04 \x01(\x08\x12\x37\n\x05rules\x18\x05 \x01(\x0b\x32(.yandex.cloud.cloudregistry.v1.ScanRules\x12\x10\n\x08\x64isabled\x18\x06 \x01(\x08\"\xa8\x02\n\x17UpdateScanPolicyRequest\x12$\n\x0escan_policy_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12/\n\x04name\x18\x03 \x01(\tB!\xf2\xc7\x31\x1d|[a-z][-a-z0-9]{1,61}[a-z0-9]\x12\x1e\n\x0b\x64\x65scription\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x1a\n\x12scan_lang_packages\x18\x05 \x01(\x08\x12\x37\n\x05rules\x18\x06 \x01(\x0b\x32(.yandex.cloud.cloudregistry.v1.ScanRules\x12\x10\n\x08\x64isabled\x18\x07 \x01(\x08\"?\n\x17\x44\x65leteScanPolicyRequest\x12$\n\x0escan_policy_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xb9\x01\n\x18\x43reateScanPolicyMetadata\x12\x13\n\x0bregistry_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1a\n\x12scan_lang_packages\x18\x04 \x01(\x08\x12\x37\n\x05rules\x18\x05 \x01(\x0b\x32(.yandex.cloud.cloudregistry.v1.ScanRules\x12\x10\n\x08\x64isabled\x18\x06 \x01(\x08\"\xed\x01\n\x18UpdateScanPolicyMetadata\x12\x16\n\x0escan_policy_id\x18\x01 \x01(\t\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x1a\n\x12scan_lang_packages\x18\x05 \x01(\x08\x12\x37\n\x05rules\x18\x06 \x01(\x0b\x32(.yandex.cloud.cloudregistry.v1.ScanRules\x12\x10\n\x08\x64isabled\x18\x07 \x01(\x08\"2\n\x18\x44\x65leteScanPolicyMetadata\x12\x16\n\x0escan_policy_id\x18\x01 \x01(\t2\xcf\x07\n\x11ScanPolicyService\x12\x9f\x01\n\x03Get\x12\x33.yandex.cloud.cloudregistry.v1.GetScanPolicyRequest\x1a).yandex.cloud.cloudregistry.v1.ScanPolicy\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cloud-registry/v1/scanPolicies/{scan_policy_id}\x12\xb9\x01\n\rGetByRegistry\x12=.yandex.cloud.cloudregistry.v1.GetScanPolicyByRegistryRequest\x1a).yandex.cloud.cloudregistry.v1.ScanPolicy\">\x82\xd3\xe4\x93\x02\x38\x12\x36/cloud-registry/v1/registries/{registry_id}/scanPolicy\x12\xb9\x01\n\x06\x43reate\x12\x36.yandex.cloud.cloudregistry.v1.CreateScanPolicyRequest\x1a!.yandex.cloud.operation.Operation\"T\xb2\xd2*&\n\x18\x43reateScanPolicyMetadata\x12\nScanPolicy\x82\xd3\xe4\x93\x02$\"\x1f/cloud-registry/v1/scanPolicies:\x01*\x12\xca\x01\n\x06Update\x12\x36.yandex.cloud.cloudregistry.v1.UpdateScanPolicyRequest\x1a!.yandex.cloud.operation.Operation\"e\xb2\xd2*&\n\x18UpdateScanPolicyMetadata\x12\nScanPolicy\x82\xd3\xe4\x93\x02\x35\x32\x30/cloud-registry/v1/scanPolicies/{scan_policy_id}:\x01*\x12\xd2\x01\n\x06\x44\x65lete\x12\x36.yandex.cloud.cloudregistry.v1.DeleteScanPolicyRequest\x1a!.yandex.cloud.operation.Operation\"m\xb2\xd2*1\n\x18\x44\x65leteScanPolicyMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x32*0/cloud-registry/v1/scanPolicies/{scan_policy_id}Bt\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_service_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['_GETSCANPOLICYREQUEST'].fields_by_name['scan_policy_id']._loaded_options = None
  _globals['_GETSCANPOLICYREQUEST'].fields_by_name['scan_policy_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
  _globals['_GETSCANPOLICYBYREGISTRYREQUEST'].fields_by_name['registry_id']._loaded_options = None
  _globals['_GETSCANPOLICYBYREGISTRYREQUEST'].fields_by_name['registry_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
  _globals['_CREATESCANPOLICYREQUEST'].fields_by_name['registry_id']._loaded_options = None
  _globals['_CREATESCANPOLICYREQUEST'].fields_by_name['registry_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
  _globals['_CREATESCANPOLICYREQUEST'].fields_by_name['name']._loaded_options = None
  _globals['_CREATESCANPOLICYREQUEST'].fields_by_name['name']._serialized_options = b'\362\3071\035|[a-z][-a-z0-9]{1,61}[a-z0-9]'
  _globals['_CREATESCANPOLICYREQUEST'].fields_by_name['description']._loaded_options = None
  _globals['_CREATESCANPOLICYREQUEST'].fields_by_name['description']._serialized_options = b'\212\3101\005<=256'
  _globals['_UPDATESCANPOLICYREQUEST'].fields_by_name['scan_policy_id']._loaded_options = None
  _globals['_UPDATESCANPOLICYREQUEST'].fields_by_name['scan_policy_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
  _globals['_UPDATESCANPOLICYREQUEST'].fields_by_name['name']._loaded_options = None
  _globals['_UPDATESCANPOLICYREQUEST'].fields_by_name['name']._serialized_options = b'\362\3071\035|[a-z][-a-z0-9]{1,61}[a-z0-9]'
  _globals['_UPDATESCANPOLICYREQUEST'].fields_by_name['description']._loaded_options = None
  _globals['_UPDATESCANPOLICYREQUEST'].fields_by_name['description']._serialized_options = b'\212\3101\005<=256'
  _globals['_DELETESCANPOLICYREQUEST'].fields_by_name['scan_policy_id']._loaded_options = None
  _globals['_DELETESCANPOLICYREQUEST'].fields_by_name['scan_policy_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
  _globals['_SCANPOLICYSERVICE'].methods_by_name['Get']._loaded_options = None
  _globals['_SCANPOLICYSERVICE'].methods_by_name['Get']._serialized_options = b'\202\323\344\223\0022\0220/cloud-registry/v1/scanPolicies/{scan_policy_id}'
  _globals['_SCANPOLICYSERVICE'].methods_by_name['GetByRegistry']._loaded_options = None
  _globals['_SCANPOLICYSERVICE'].methods_by_name['GetByRegistry']._serialized_options = b'\202\323\344\223\0028\0226/cloud-registry/v1/registries/{registry_id}/scanPolicy'
  _globals['_SCANPOLICYSERVICE'].methods_by_name['Create']._loaded_options = None
  _globals['_SCANPOLICYSERVICE'].methods_by_name['Create']._serialized_options = b'\262\322*&\n\030CreateScanPolicyMetadata\022\nScanPolicy\202\323\344\223\002$\"\037/cloud-registry/v1/scanPolicies:\001*'
  _globals['_SCANPOLICYSERVICE'].methods_by_name['Update']._loaded_options = None
  _globals['_SCANPOLICYSERVICE'].methods_by_name['Update']._serialized_options = b'\262\322*&\n\030UpdateScanPolicyMetadata\022\nScanPolicy\202\323\344\223\002520/cloud-registry/v1/scanPolicies/{scan_policy_id}:\001*'
  _globals['_SCANPOLICYSERVICE'].methods_by_name['Delete']._loaded_options = None
  _globals['_SCANPOLICYSERVICE'].methods_by_name['Delete']._serialized_options = b'\262\322*1\n\030DeleteScanPolicyMetadata\022\025google.protobuf.Empty\202\323\344\223\0022*0/cloud-registry/v1/scanPolicies/{scan_policy_id}'
  _globals['_GETSCANPOLICYREQUEST']._serialized_start=308
  _globals['_GETSCANPOLICYREQUEST']._serialized_end=368
  _globals['_GETSCANPOLICYBYREGISTRYREQUEST']._serialized_start=370
  _globals['_GETSCANPOLICYBYREGISTRYREQUEST']._serialized_end=437
  _globals['_CREATESCANPOLICYREQUEST']._serialized_start=440
  _globals['_CREATESCANPOLICYREQUEST']._serialized_end=684
  _globals['_UPDATESCANPOLICYREQUEST']._serialized_start=687
  _globals['_UPDATESCANPOLICYREQUEST']._serialized_end=983
  _globals['_DELETESCANPOLICYREQUEST']._serialized_start=985
  _globals['_DELETESCANPOLICYREQUEST']._serialized_end=1048
  _globals['_CREATESCANPOLICYMETADATA']._serialized_start=1051
  _globals['_CREATESCANPOLICYMETADATA']._serialized_end=1236
  _globals['_UPDATESCANPOLICYMETADATA']._serialized_start=1239
  _globals['_UPDATESCANPOLICYMETADATA']._serialized_end=1476
  _globals['_DELETESCANPOLICYMETADATA']._serialized_start=1478
  _globals['_DELETESCANPOLICYMETADATA']._serialized_end=1528
  _globals['_SCANPOLICYSERVICE']._serialized_start=1531
  _globals['_SCANPOLICYSERVICE']._serialized_end=2506
# @@protoc_insertion_point(module_scope)
