# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/websecurityscanner_v1beta/proto/finding_addon.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()


DESCRIPTOR = _descriptor.FileDescriptor(
    name="google/cloud/websecurityscanner_v1beta/proto/finding_addon.proto",
    package="google.cloud.websecurityscanner.v1beta",
    syntax="proto3",
    serialized_options=_b(
        "\n*com.google.cloud.websecurityscanner.v1betaB\021FindingAddonProtoP\001ZXgoogle.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta;websecurityscanner\312\002&Google\\Cloud\\WebSecurityScanner\\V1beta"
    ),
    serialized_pb=_b(
        '\n@google/cloud/websecurityscanner_v1beta/proto/finding_addon.proto\x12&google.cloud.websecurityscanner.v1beta"*\n\x04\x46orm\x12\x12\n\naction_uri\x18\x01 \x01(\t\x12\x0e\n\x06\x66ields\x18\x02 \x03(\t"Q\n\x0fOutdatedLibrary\x12\x14\n\x0clibrary_name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x17\n\x0flearn_more_urls\x18\x03 \x03(\t"?\n\x11ViolatingResource\x12\x14\n\x0c\x63ontent_type\x18\x01 \x01(\t\x12\x14\n\x0cresource_url\x18\x02 \x01(\t"/\n\x14VulnerableParameters\x12\x17\n\x0fparameter_names\x18\x01 \x03(\t"\xe8\x01\n\x11VulnerableHeaders\x12Q\n\x07headers\x18\x01 \x03(\x0b\x32@.google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header\x12Y\n\x0fmissing_headers\x18\x02 \x03(\x0b\x32@.google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header\x1a%\n\x06Header\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t"2\n\x03Xss\x12\x14\n\x0cstack_traces\x18\x01 \x03(\t\x12\x15\n\rerror_message\x18\x02 \x01(\tB\xc4\x01\n*com.google.cloud.websecurityscanner.v1betaB\x11\x46indingAddonProtoP\x01ZXgoogle.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta;websecurityscanner\xca\x02&Google\\Cloud\\WebSecurityScanner\\V1betab\x06proto3'
    ),
)


_FORM = _descriptor.Descriptor(
    name="Form",
    full_name="google.cloud.websecurityscanner.v1beta.Form",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="action_uri",
            full_name="google.cloud.websecurityscanner.v1beta.Form.action_uri",
            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="fields",
            full_name="google.cloud.websecurityscanner.v1beta.Form.fields",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            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=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=108,
    serialized_end=150,
)


_OUTDATEDLIBRARY = _descriptor.Descriptor(
    name="OutdatedLibrary",
    full_name="google.cloud.websecurityscanner.v1beta.OutdatedLibrary",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="library_name",
            full_name="google.cloud.websecurityscanner.v1beta.OutdatedLibrary.library_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="version",
            full_name="google.cloud.websecurityscanner.v1beta.OutdatedLibrary.version",
            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,
        ),
        _descriptor.FieldDescriptor(
            name="learn_more_urls",
            full_name="google.cloud.websecurityscanner.v1beta.OutdatedLibrary.learn_more_urls",
            index=2,
            number=3,
            type=9,
            cpp_type=9,
            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=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=152,
    serialized_end=233,
)


_VIOLATINGRESOURCE = _descriptor.Descriptor(
    name="ViolatingResource",
    full_name="google.cloud.websecurityscanner.v1beta.ViolatingResource",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="content_type",
            full_name="google.cloud.websecurityscanner.v1beta.ViolatingResource.content_type",
            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="resource_url",
            full_name="google.cloud.websecurityscanner.v1beta.ViolatingResource.resource_url",
            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=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=235,
    serialized_end=298,
)


_VULNERABLEPARAMETERS = _descriptor.Descriptor(
    name="VulnerableParameters",
    full_name="google.cloud.websecurityscanner.v1beta.VulnerableParameters",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="parameter_names",
            full_name="google.cloud.websecurityscanner.v1beta.VulnerableParameters.parameter_names",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            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=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=300,
    serialized_end=347,
)


_VULNERABLEHEADERS_HEADER = _descriptor.Descriptor(
    name="Header",
    full_name="google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header.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="value",
            full_name="google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header.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=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=545,
    serialized_end=582,
)

_VULNERABLEHEADERS = _descriptor.Descriptor(
    name="VulnerableHeaders",
    full_name="google.cloud.websecurityscanner.v1beta.VulnerableHeaders",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="headers",
            full_name="google.cloud.websecurityscanner.v1beta.VulnerableHeaders.headers",
            index=0,
            number=1,
            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,
        ),
        _descriptor.FieldDescriptor(
            name="missing_headers",
            full_name="google.cloud.websecurityscanner.v1beta.VulnerableHeaders.missing_headers",
            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=[_VULNERABLEHEADERS_HEADER],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=350,
    serialized_end=582,
)


_XSS = _descriptor.Descriptor(
    name="Xss",
    full_name="google.cloud.websecurityscanner.v1beta.Xss",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="stack_traces",
            full_name="google.cloud.websecurityscanner.v1beta.Xss.stack_traces",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            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,
        ),
        _descriptor.FieldDescriptor(
            name="error_message",
            full_name="google.cloud.websecurityscanner.v1beta.Xss.error_message",
            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=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=584,
    serialized_end=634,
)

_VULNERABLEHEADERS_HEADER.containing_type = _VULNERABLEHEADERS
_VULNERABLEHEADERS.fields_by_name["headers"].message_type = _VULNERABLEHEADERS_HEADER
_VULNERABLEHEADERS.fields_by_name[
    "missing_headers"
].message_type = _VULNERABLEHEADERS_HEADER
DESCRIPTOR.message_types_by_name["Form"] = _FORM
DESCRIPTOR.message_types_by_name["OutdatedLibrary"] = _OUTDATEDLIBRARY
DESCRIPTOR.message_types_by_name["ViolatingResource"] = _VIOLATINGRESOURCE
DESCRIPTOR.message_types_by_name["VulnerableParameters"] = _VULNERABLEPARAMETERS
DESCRIPTOR.message_types_by_name["VulnerableHeaders"] = _VULNERABLEHEADERS
DESCRIPTOR.message_types_by_name["Xss"] = _XSS
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

Form = _reflection.GeneratedProtocolMessageType(
    "Form",
    (_message.Message,),
    dict(
        DESCRIPTOR=_FORM,
        __module__="google.cloud.websecurityscanner_v1beta.proto.finding_addon_pb2",
        __doc__="""! Information about a vulnerability with an HTML.
  
  
  Attributes:
      action_uri:
          ! The URI where to send the form when it's submitted.
      fields:
          ! The names of form fields related to the vulnerability.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.websecurityscanner.v1beta.Form)
    ),
)
_sym_db.RegisterMessage(Form)

OutdatedLibrary = _reflection.GeneratedProtocolMessageType(
    "OutdatedLibrary",
    (_message.Message,),
    dict(
        DESCRIPTOR=_OUTDATEDLIBRARY,
        __module__="google.cloud.websecurityscanner_v1beta.proto.finding_addon_pb2",
        __doc__="""Information reported for an outdated library.
  
  
  Attributes:
      library_name:
          The name of the outdated library.
      version:
          The version number.
      learn_more_urls:
          URLs to learn more information about the vulnerabilities in
          the library.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.websecurityscanner.v1beta.OutdatedLibrary)
    ),
)
_sym_db.RegisterMessage(OutdatedLibrary)

ViolatingResource = _reflection.GeneratedProtocolMessageType(
    "ViolatingResource",
    (_message.Message,),
    dict(
        DESCRIPTOR=_VIOLATINGRESOURCE,
        __module__="google.cloud.websecurityscanner_v1beta.proto.finding_addon_pb2",
        __doc__="""Information regarding any resource causing the vulnerability such as
  JavaScript sources, image, audio files, etc.
  
  
  Attributes:
      content_type:
          The MIME type of this resource.
      resource_url:
          URL of this violating resource.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.websecurityscanner.v1beta.ViolatingResource)
    ),
)
_sym_db.RegisterMessage(ViolatingResource)

VulnerableParameters = _reflection.GeneratedProtocolMessageType(
    "VulnerableParameters",
    (_message.Message,),
    dict(
        DESCRIPTOR=_VULNERABLEPARAMETERS,
        __module__="google.cloud.websecurityscanner_v1beta.proto.finding_addon_pb2",
        __doc__="""Information about vulnerable request parameters.
  
  
  Attributes:
      parameter_names:
          The vulnerable parameter names.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.websecurityscanner.v1beta.VulnerableParameters)
    ),
)
_sym_db.RegisterMessage(VulnerableParameters)

VulnerableHeaders = _reflection.GeneratedProtocolMessageType(
    "VulnerableHeaders",
    (_message.Message,),
    dict(
        Header=_reflection.GeneratedProtocolMessageType(
            "Header",
            (_message.Message,),
            dict(
                DESCRIPTOR=_VULNERABLEHEADERS_HEADER,
                __module__="google.cloud.websecurityscanner_v1beta.proto.finding_addon_pb2",
                __doc__="""Describes a HTTP Header.
    
    
    Attributes:
        name:
            Header name.
        value:
            Header value.
    """,
                # @@protoc_insertion_point(class_scope:google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header)
            ),
        ),
        DESCRIPTOR=_VULNERABLEHEADERS,
        __module__="google.cloud.websecurityscanner_v1beta.proto.finding_addon_pb2",
        __doc__="""Information about vulnerable or missing HTTP Headers.
  
  
  Attributes:
      headers:
          List of vulnerable headers.
      missing_headers:
          List of missing headers.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.websecurityscanner.v1beta.VulnerableHeaders)
    ),
)
_sym_db.RegisterMessage(VulnerableHeaders)
_sym_db.RegisterMessage(VulnerableHeaders.Header)

Xss = _reflection.GeneratedProtocolMessageType(
    "Xss",
    (_message.Message,),
    dict(
        DESCRIPTOR=_XSS,
        __module__="google.cloud.websecurityscanner_v1beta.proto.finding_addon_pb2",
        __doc__="""Information reported for an XSS.
  
  
  Attributes:
      stack_traces:
          Stack traces leading to the point where the XSS occurred.
      error_message:
          An error message generated by a javascript breakage.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.websecurityscanner.v1beta.Xss)
    ),
)
_sym_db.RegisterMessage(Xss)


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