# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/securitycenter_v1/proto/security_marks.proto

import sys

_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database

# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
    name="google/cloud/securitycenter_v1/proto/security_marks.proto",
    package="google.cloud.securitycenter.v1",
    syntax="proto3",
    serialized_options=_b(
        '\n"com.google.cloud.securitycenter.v1P\001ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\252\002\036Google.Cloud.SecurityCenter.V1'
    ),
    serialized_pb=_b(
        '\n9google/cloud/securitycenter_v1/proto/security_marks.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x1cgoogle/api/annotations.proto"\x94\x01\n\rSecurityMarks\x12\x0c\n\x04name\x18\x01 \x01(\t\x12G\n\x05marks\x18\x02 \x03(\x0b\x32\x38.google.cloud.securitycenter.v1.SecurityMarks.MarksEntry\x1a,\n\nMarksEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x95\x01\n"com.google.cloud.securitycenter.v1P\x01ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1b\x06proto3'
    ),
    dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR],
)


_SECURITYMARKS_MARKSENTRY = _descriptor.Descriptor(
    name="MarksEntry",
    full_name="google.cloud.securitycenter.v1.SecurityMarks.MarksEntry",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="key",
            full_name="google.cloud.securitycenter.v1.SecurityMarks.MarksEntry.key",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="value",
            full_name="google.cloud.securitycenter.v1.SecurityMarks.MarksEntry.value",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=_b("8\001"),
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=228,
    serialized_end=272,
)

_SECURITYMARKS = _descriptor.Descriptor(
    name="SecurityMarks",
    full_name="google.cloud.securitycenter.v1.SecurityMarks",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.securitycenter.v1.SecurityMarks.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="marks",
            full_name="google.cloud.securitycenter.v1.SecurityMarks.marks",
            index=1,
            number=2,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[_SECURITYMARKS_MARKSENTRY],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=124,
    serialized_end=272,
)

_SECURITYMARKS_MARKSENTRY.containing_type = _SECURITYMARKS
_SECURITYMARKS.fields_by_name["marks"].message_type = _SECURITYMARKS_MARKSENTRY
DESCRIPTOR.message_types_by_name["SecurityMarks"] = _SECURITYMARKS
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

SecurityMarks = _reflection.GeneratedProtocolMessageType(
    "SecurityMarks",
    (_message.Message,),
    dict(
        MarksEntry=_reflection.GeneratedProtocolMessageType(
            "MarksEntry",
            (_message.Message,),
            dict(
                DESCRIPTOR=_SECURITYMARKS_MARKSENTRY,
                __module__="google.cloud.securitycenter_v1.proto.security_marks_pb2"
                # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.SecurityMarks.MarksEntry)
            ),
        ),
        DESCRIPTOR=_SECURITYMARKS,
        __module__="google.cloud.securitycenter_v1.proto.security_marks_pb2",
        __doc__="""User specified security marks that are attached to the parent Cloud
  Security Command Center (Cloud SCC) resource. Security marks are scoped
  within a Cloud SCC organization -- they can be modified and viewed by
  all users who have proper permissions on the organization.
  
  
  Attributes:
      name:
          The relative resource name of the SecurityMarks. See: https://
          cloud.google.com/apis/design/resource\_names#relative\_resourc
          e\_name Examples: "organizations/123/assets/456/securityMarks"
          "organizations/123/sources/456/findings/789/securityMarks".
      marks:
          Mutable user specified security marks belonging to the parent
          resource. Constraints are as follows: - Keys and values are
          treated as case insensitive - Keys must be between 1 - 256
          characters (inclusive) - Keys must be letters, numbers,
          underscores, or dashes - Values have leading and trailing
          whitespace trimmed, remaining characters must be between 1 -
          4096 characters (inclusive)
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.SecurityMarks)
    ),
)
_sym_db.RegisterMessage(SecurityMarks)
_sym_db.RegisterMessage(SecurityMarks.MarksEntry)


DESCRIPTOR._options = None
_SECURITYMARKS_MARKSENTRY._options = None
# @@protoc_insertion_point(module_scope)
