# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: strmprivacy/api/data_subjects/v1/data_subjects_v1.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
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 field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
from strmprivacy.api.entities.v1 import entities_v1_pb2 as strmprivacy_dot_api_dot_entities_dot_v1_dot_entities__v1__pb2
from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n7strmprivacy/api/data_subjects/v1/data_subjects_v1.proto\x12 strmprivacy.api.data_subjects.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a-strmprivacy/api/entities/v1/entities_v1.proto\x1a google/protobuf/descriptor.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"R\n\x1eListDataSubjectKeylinksRequest\x12\x17\n\x0f\x64\x61ta_subject_id\x18\x01 \x03(\t\x12\x17\n\x0forganization_id\x18\x02 \x01(\t\"w\n\x1fListDataSubjectKeylinksResponse\x12T\n\x15\x64\x61ta_subject_keylinks\x18\x01 \x03(\x0b\x32\x35.strmprivacy.api.data_subjects.v1.DatasubjectKeylinks\"\x8f\x01\n\x1e\x41\x64\x64\x44\x61taSubjectsKeyLinksRequest\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12T\n\x15\x64\x61ta_subject_keylinks\x18\x02 \x03(\x0b\x32\x35.strmprivacy.api.data_subjects.v1.DatasubjectKeylinks\"\x89\x02\n\x1f\x41\x64\x64\x44\x61taSubjectsKeyLinksResponse\x12\x14\n\x0cstored_count\x18\x01 \x01(\x03\x12g\n\x06issues\x18\x02 \x03(\x0b\x32W.strmprivacy.api.data_subjects.v1.AddDataSubjectsKeyLinksResponse.AddDataSubjectsIssues\x1ag\n\x15\x41\x64\x64\x44\x61taSubjectsIssues\x12\x17\n\x0f\x64\x61ta_subject_id\x18\x01 \x01(\t\x12\x10\n\x08key_link\x18\x02 \x01(\t\x12\x0f\n\x07message\x18\x03 \x01(\t\x12\x12\n\nissue_type\x18\x04 \x01(\t\"\xf9\x01\n\x13\x44\x61tasubjectKeylinks\x12\x1c\n\x0f\x64\x61ta_subject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12j\n\x17keylinks_and_timestamps\x18\x02 \x03(\x0b\x32I.strmprivacy.api.data_subjects.v1.DatasubjectKeylinks.KeylinkAndTimestamp\x1aX\n\x13KeylinkAndTimestamp\x12\x10\n\x08key_link\x18\x01 \x01(\t\x12/\n\x0b\x65xpiry_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"K\n\x19\x44\x65leteDataSubjectsRequest\x12\x15\n\rdata_subjects\x18\x01 \x03(\t\x12\x17\n\x0forganization_id\x18\x02 \x01(\t\"<\n\x1a\x44\x65leteDataSubjectsResponse\x12\x1e\n\x16\x64\x65leted_keylinks_count\x18\x01 \x01(\x03\x32\xe9\x03\n\x13\x44\x61taSubjectsService\x12\x9e\x01\n\x17ListDataSubjectKeylinks\x12@.strmprivacy.api.data_subjects.v1.ListDataSubjectKeylinksRequest\x1a\x41.strmprivacy.api.data_subjects.v1.ListDataSubjectKeylinksResponse\x12\x9e\x01\n\x17\x41\x64\x64\x44\x61taSubjectsKeyLinks\x12@.strmprivacy.api.data_subjects.v1.AddDataSubjectsKeyLinksRequest\x1a\x41.strmprivacy.api.data_subjects.v1.AddDataSubjectsKeyLinksResponse\x12\x8f\x01\n\x12\x44\x65leteDataSubjects\x12;.strmprivacy.api.data_subjects.v1.DeleteDataSubjectsRequest\x1a<.strmprivacy.api.data_subjects.v1.DeleteDataSubjectsResponseBx\n#io.strmprivacy.api.data_subjects.v1P\x01ZOgithub.com/strmprivacy/api-definitions-go/v2/api/data_subjects/v1;data_subjectsb\x06proto3')



_LISTDATASUBJECTKEYLINKSREQUEST = DESCRIPTOR.message_types_by_name['ListDataSubjectKeylinksRequest']
_LISTDATASUBJECTKEYLINKSRESPONSE = DESCRIPTOR.message_types_by_name['ListDataSubjectKeylinksResponse']
_ADDDATASUBJECTSKEYLINKSREQUEST = DESCRIPTOR.message_types_by_name['AddDataSubjectsKeyLinksRequest']
_ADDDATASUBJECTSKEYLINKSRESPONSE = DESCRIPTOR.message_types_by_name['AddDataSubjectsKeyLinksResponse']
_ADDDATASUBJECTSKEYLINKSRESPONSE_ADDDATASUBJECTSISSUES = _ADDDATASUBJECTSKEYLINKSRESPONSE.nested_types_by_name['AddDataSubjectsIssues']
_DATASUBJECTKEYLINKS = DESCRIPTOR.message_types_by_name['DatasubjectKeylinks']
_DATASUBJECTKEYLINKS_KEYLINKANDTIMESTAMP = _DATASUBJECTKEYLINKS.nested_types_by_name['KeylinkAndTimestamp']
_DELETEDATASUBJECTSREQUEST = DESCRIPTOR.message_types_by_name['DeleteDataSubjectsRequest']
_DELETEDATASUBJECTSRESPONSE = DESCRIPTOR.message_types_by_name['DeleteDataSubjectsResponse']
ListDataSubjectKeylinksRequest = _reflection.GeneratedProtocolMessageType('ListDataSubjectKeylinksRequest', (_message.Message,), {
  'DESCRIPTOR' : _LISTDATASUBJECTKEYLINKSREQUEST,
  '__module__' : 'strmprivacy.api.data_subjects.v1.data_subjects_v1_pb2'
  # @@protoc_insertion_point(class_scope:strmprivacy.api.data_subjects.v1.ListDataSubjectKeylinksRequest)
  })
_sym_db.RegisterMessage(ListDataSubjectKeylinksRequest)

ListDataSubjectKeylinksResponse = _reflection.GeneratedProtocolMessageType('ListDataSubjectKeylinksResponse', (_message.Message,), {
  'DESCRIPTOR' : _LISTDATASUBJECTKEYLINKSRESPONSE,
  '__module__' : 'strmprivacy.api.data_subjects.v1.data_subjects_v1_pb2'
  # @@protoc_insertion_point(class_scope:strmprivacy.api.data_subjects.v1.ListDataSubjectKeylinksResponse)
  })
_sym_db.RegisterMessage(ListDataSubjectKeylinksResponse)

AddDataSubjectsKeyLinksRequest = _reflection.GeneratedProtocolMessageType('AddDataSubjectsKeyLinksRequest', (_message.Message,), {
  'DESCRIPTOR' : _ADDDATASUBJECTSKEYLINKSREQUEST,
  '__module__' : 'strmprivacy.api.data_subjects.v1.data_subjects_v1_pb2'
  # @@protoc_insertion_point(class_scope:strmprivacy.api.data_subjects.v1.AddDataSubjectsKeyLinksRequest)
  })
_sym_db.RegisterMessage(AddDataSubjectsKeyLinksRequest)

AddDataSubjectsKeyLinksResponse = _reflection.GeneratedProtocolMessageType('AddDataSubjectsKeyLinksResponse', (_message.Message,), {

  'AddDataSubjectsIssues' : _reflection.GeneratedProtocolMessageType('AddDataSubjectsIssues', (_message.Message,), {
    'DESCRIPTOR' : _ADDDATASUBJECTSKEYLINKSRESPONSE_ADDDATASUBJECTSISSUES,
    '__module__' : 'strmprivacy.api.data_subjects.v1.data_subjects_v1_pb2'
    # @@protoc_insertion_point(class_scope:strmprivacy.api.data_subjects.v1.AddDataSubjectsKeyLinksResponse.AddDataSubjectsIssues)
    })
  ,
  'DESCRIPTOR' : _ADDDATASUBJECTSKEYLINKSRESPONSE,
  '__module__' : 'strmprivacy.api.data_subjects.v1.data_subjects_v1_pb2'
  # @@protoc_insertion_point(class_scope:strmprivacy.api.data_subjects.v1.AddDataSubjectsKeyLinksResponse)
  })
_sym_db.RegisterMessage(AddDataSubjectsKeyLinksResponse)
_sym_db.RegisterMessage(AddDataSubjectsKeyLinksResponse.AddDataSubjectsIssues)

DatasubjectKeylinks = _reflection.GeneratedProtocolMessageType('DatasubjectKeylinks', (_message.Message,), {

  'KeylinkAndTimestamp' : _reflection.GeneratedProtocolMessageType('KeylinkAndTimestamp', (_message.Message,), {
    'DESCRIPTOR' : _DATASUBJECTKEYLINKS_KEYLINKANDTIMESTAMP,
    '__module__' : 'strmprivacy.api.data_subjects.v1.data_subjects_v1_pb2'
    # @@protoc_insertion_point(class_scope:strmprivacy.api.data_subjects.v1.DatasubjectKeylinks.KeylinkAndTimestamp)
    })
  ,
  'DESCRIPTOR' : _DATASUBJECTKEYLINKS,
  '__module__' : 'strmprivacy.api.data_subjects.v1.data_subjects_v1_pb2'
  # @@protoc_insertion_point(class_scope:strmprivacy.api.data_subjects.v1.DatasubjectKeylinks)
  })
_sym_db.RegisterMessage(DatasubjectKeylinks)
_sym_db.RegisterMessage(DatasubjectKeylinks.KeylinkAndTimestamp)

DeleteDataSubjectsRequest = _reflection.GeneratedProtocolMessageType('DeleteDataSubjectsRequest', (_message.Message,), {
  'DESCRIPTOR' : _DELETEDATASUBJECTSREQUEST,
  '__module__' : 'strmprivacy.api.data_subjects.v1.data_subjects_v1_pb2'
  # @@protoc_insertion_point(class_scope:strmprivacy.api.data_subjects.v1.DeleteDataSubjectsRequest)
  })
_sym_db.RegisterMessage(DeleteDataSubjectsRequest)

DeleteDataSubjectsResponse = _reflection.GeneratedProtocolMessageType('DeleteDataSubjectsResponse', (_message.Message,), {
  'DESCRIPTOR' : _DELETEDATASUBJECTSRESPONSE,
  '__module__' : 'strmprivacy.api.data_subjects.v1.data_subjects_v1_pb2'
  # @@protoc_insertion_point(class_scope:strmprivacy.api.data_subjects.v1.DeleteDataSubjectsResponse)
  })
_sym_db.RegisterMessage(DeleteDataSubjectsResponse)

_DATASUBJECTSSERVICE = DESCRIPTOR.services_by_name['DataSubjectsService']
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n#io.strmprivacy.api.data_subjects.v1P\001ZOgithub.com/strmprivacy/api-definitions-go/v2/api/data_subjects/v1;data_subjects'
  _ADDDATASUBJECTSKEYLINKSREQUEST.fields_by_name['project_id']._options = None
  _ADDDATASUBJECTSKEYLINKSREQUEST.fields_by_name['project_id']._serialized_options = b'\340A\002'
  _DATASUBJECTKEYLINKS.fields_by_name['data_subject_id']._options = None
  _DATASUBJECTKEYLINKS.fields_by_name['data_subject_id']._serialized_options = b'\340A\002'
  _LISTDATASUBJECTKEYLINKSREQUEST._serialized_start=240
  _LISTDATASUBJECTKEYLINKSREQUEST._serialized_end=322
  _LISTDATASUBJECTKEYLINKSRESPONSE._serialized_start=324
  _LISTDATASUBJECTKEYLINKSRESPONSE._serialized_end=443
  _ADDDATASUBJECTSKEYLINKSREQUEST._serialized_start=446
  _ADDDATASUBJECTSKEYLINKSREQUEST._serialized_end=589
  _ADDDATASUBJECTSKEYLINKSRESPONSE._serialized_start=592
  _ADDDATASUBJECTSKEYLINKSRESPONSE._serialized_end=857
  _ADDDATASUBJECTSKEYLINKSRESPONSE_ADDDATASUBJECTSISSUES._serialized_start=754
  _ADDDATASUBJECTSKEYLINKSRESPONSE_ADDDATASUBJECTSISSUES._serialized_end=857
  _DATASUBJECTKEYLINKS._serialized_start=860
  _DATASUBJECTKEYLINKS._serialized_end=1109
  _DATASUBJECTKEYLINKS_KEYLINKANDTIMESTAMP._serialized_start=1021
  _DATASUBJECTKEYLINKS_KEYLINKANDTIMESTAMP._serialized_end=1109
  _DELETEDATASUBJECTSREQUEST._serialized_start=1111
  _DELETEDATASUBJECTSREQUEST._serialized_end=1186
  _DELETEDATASUBJECTSRESPONSE._serialized_start=1188
  _DELETEDATASUBJECTSRESPONSE._serialized_end=1248
  _DATASUBJECTSSERVICE._serialized_start=1251
  _DATASUBJECTSSERVICE._serialized_end=1740
# @@protoc_insertion_point(module_scope)
