How to use the grafeas.grafeas_v1.proto.common_pb2._NOTEKIND function in grafeas

To help you get started, we’ve selected a few grafeas examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github googleapis / google-cloud-python / grafeas / grafeas / grafeas_v1 / proto / discovery_pb2.py View on Github external
enum_types=[
        _DISCOVERYOCCURRENCE_CONTINUOUSANALYSIS,
        _DISCOVERYOCCURRENCE_ANALYSISSTATUS,
    ],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=167,
    serialized_end=626,
)

_DISCOVERYNOTE.fields_by_name[
    "analysis_kind"
].enum_type = grafeas__v1_dot_proto_dot_common__pb2._NOTEKIND
_DISCOVERYOCCURRENCE.fields_by_name[
    "continuous_analysis"
].enum_type = _DISCOVERYOCCURRENCE_CONTINUOUSANALYSIS
_DISCOVERYOCCURRENCE.fields_by_name[
    "analysis_status"
].enum_type = _DISCOVERYOCCURRENCE_ANALYSISSTATUS
_DISCOVERYOCCURRENCE.fields_by_name[
    "analysis_status_error"
].message_type = google_dot_rpc_dot_status__pb2._STATUS
_DISCOVERYOCCURRENCE_CONTINUOUSANALYSIS.containing_type = _DISCOVERYOCCURRENCE
_DISCOVERYOCCURRENCE_ANALYSISSTATUS.containing_type = _DISCOVERYOCCURRENCE
DESCRIPTOR.message_types_by_name["DiscoveryNote"] = _DISCOVERYNOTE
DESCRIPTOR.message_types_by_name["DiscoveryOccurrence"] = _DISCOVERYOCCURRENCE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

DiscoveryNote = _reflection.GeneratedProtocolMessageType(
github googleapis / google-cloud-python / grafeas / grafeas / grafeas_v1 / proto / grafeas_pb2.py View on Github external
_OCCURRENCE.fields_by_name["deployment"].containing_oneof = _OCCURRENCE.oneofs_by_name[
    "details"
]
_OCCURRENCE.oneofs_by_name["details"].fields.append(
    _OCCURRENCE.fields_by_name["discovery"]
)
_OCCURRENCE.fields_by_name["discovery"].containing_oneof = _OCCURRENCE.oneofs_by_name[
    "details"
]
_OCCURRENCE.oneofs_by_name["details"].fields.append(
    _OCCURRENCE.fields_by_name["attestation"]
)
_OCCURRENCE.fields_by_name["attestation"].containing_oneof = _OCCURRENCE.oneofs_by_name[
    "details"
]
_NOTE.fields_by_name["kind"].enum_type = grafeas__v1_dot_proto_dot_common__pb2._NOTEKIND
_NOTE.fields_by_name[
    "related_url"
].message_type = grafeas__v1_dot_proto_dot_common__pb2._RELATEDURL
_NOTE.fields_by_name[
    "expiration_time"
].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_NOTE.fields_by_name[
    "create_time"
].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_NOTE.fields_by_name[
    "update_time"
].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_NOTE.fields_by_name[
    "vulnerability"
].message_type = grafeas__v1_dot_proto_dot_vulnerability__pb2._VULNERABILITYNOTE
_NOTE.fields_by_name[
github googleapis / google-cloud-python / grafeas / grafeas / grafeas_v1 / proto / grafeas_pb2.py View on Github external
],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=3257,
    serialized_end=3334,
)

_OCCURRENCE.fields_by_name[
    "kind"
].enum_type = grafeas__v1_dot_proto_dot_common__pb2._NOTEKIND
_OCCURRENCE.fields_by_name[
    "create_time"
].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_OCCURRENCE.fields_by_name[
    "update_time"
].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_OCCURRENCE.fields_by_name[
    "vulnerability"
].message_type = grafeas__v1_dot_proto_dot_vulnerability__pb2._VULNERABILITYOCCURRENCE
_OCCURRENCE.fields_by_name[
    "build"
].message_type = grafeas__v1_dot_proto_dot_build__pb2._BUILDOCCURRENCE
_OCCURRENCE.fields_by_name[
    "image"
].message_type = grafeas__v1_dot_proto_dot_image__pb2._IMAGEOCCURRENCE
_OCCURRENCE.fields_by_name[