# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: nexus/grpc/approvals/approvals.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,
    '',
    'nexus/grpc/approvals/approvals.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$nexus/grpc/approvals/approvals.proto\x12\x12nexus.approvals.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfd\x02\n\x14\x41pprovalRequestProto\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07zone_id\x18\x02 \x01(\t\x12\x0c\n\x04kind\x18\x03 \x01(\t\x12\x0f\n\x07subject\x18\x04 \x01(\t\x12\x10\n\x08\x61gent_id\x18\x05 \x01(\t\x12\x10\n\x08token_id\x18\x06 \x01(\t\x12\x12\n\nsession_id\x18\x07 \x01(\t\x12\x0e\n\x06reason\x18\x08 \x01(\t\x12\x15\n\rmetadata_json\x18\t \x01(\t\x12\x0e\n\x06status\x18\n \x01(\t\x12.\n\ncreated_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nexpires_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\ndecided_at\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\ndecided_by\x18\x0e \x01(\t\x12\x16\n\x0e\x64\x65\x63ision_scope\x18\x0f \x01(\t\"%\n\x12ListPendingRequest\x12\x0f\n\x07zone_id\x18\x01 \x01(\t\"Q\n\x13ListPendingResponse\x12:\n\x08requests\x18\x01 \x03(\x0b\x32(.nexus.approvals.v1.ApprovalRequestProto\" \n\nGetRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\t\"T\n\rDecideRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x10\n\x08\x64\x65\x63ision\x18\x02 \x01(\t\x12\r\n\x05scope\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\"#\n\rCancelRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\t\"\x10\n\x0e\x43\x61ncelResponse\"\x1f\n\x0cWatchRequest\x12\x0f\n\x07zone_id\x18\x01 \x01(\t\"T\n\rApprovalEvent\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x12\n\nrequest_id\x18\x02 \x01(\t\x12\x0f\n\x07zone_id\x18\x03 \x01(\t\x12\x10\n\x08\x64\x65\x63ision\x18\x04 \x01(\t\"\xc0\x01\n\rSubmitRequest\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x0f\n\x07subject\x18\x02 \x01(\t\x12\x0f\n\x07zone_id\x18\x03 \x01(\t\x12\x10\n\x08token_id\x18\x04 \x01(\t\x12\x12\n\nsession_id\x18\x05 \x01(\t\x12\x10\n\x08\x61gent_id\x18\x06 \x01(\t\x12\x0e\n\x06reason\x18\x07 \x01(\t\x12\x15\n\rmetadata_json\x18\x08 \x01(\t\x12 \n\x18timeout_override_seconds\x18\t \x01(\x01\"6\n\x0eSubmitDecision\x12\x10\n\x08\x64\x65\x63ision\x18\x01 \x01(\t\x12\x12\n\nrequest_id\x18\x02 \x01(\t2\x87\x04\n\x0b\x41pprovalsV1\x12^\n\x0bListPending\x12&.nexus.approvals.v1.ListPendingRequest\x1a\'.nexus.approvals.v1.ListPendingResponse\x12O\n\x03Get\x12\x1e.nexus.approvals.v1.GetRequest\x1a(.nexus.approvals.v1.ApprovalRequestProto\x12U\n\x06\x44\x65\x63ide\x12!.nexus.approvals.v1.DecideRequest\x1a(.nexus.approvals.v1.ApprovalRequestProto\x12O\n\x06\x43\x61ncel\x12!.nexus.approvals.v1.CancelRequest\x1a\".nexus.approvals.v1.CancelResponse\x12N\n\x05Watch\x12 .nexus.approvals.v1.WatchRequest\x1a!.nexus.approvals.v1.ApprovalEvent0\x01\x12O\n\x06Submit\x12!.nexus.approvals.v1.SubmitRequest\x1a\".nexus.approvals.v1.SubmitDecisionb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nexus.grpc.approvals.approvals_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_APPROVALREQUESTPROTO']._serialized_start=94
  _globals['_APPROVALREQUESTPROTO']._serialized_end=475
  _globals['_LISTPENDINGREQUEST']._serialized_start=477
  _globals['_LISTPENDINGREQUEST']._serialized_end=514
  _globals['_LISTPENDINGRESPONSE']._serialized_start=516
  _globals['_LISTPENDINGRESPONSE']._serialized_end=597
  _globals['_GETREQUEST']._serialized_start=599
  _globals['_GETREQUEST']._serialized_end=631
  _globals['_DECIDEREQUEST']._serialized_start=633
  _globals['_DECIDEREQUEST']._serialized_end=717
  _globals['_CANCELREQUEST']._serialized_start=719
  _globals['_CANCELREQUEST']._serialized_end=754
  _globals['_CANCELRESPONSE']._serialized_start=756
  _globals['_CANCELRESPONSE']._serialized_end=772
  _globals['_WATCHREQUEST']._serialized_start=774
  _globals['_WATCHREQUEST']._serialized_end=805
  _globals['_APPROVALEVENT']._serialized_start=807
  _globals['_APPROVALEVENT']._serialized_end=891
  _globals['_SUBMITREQUEST']._serialized_start=894
  _globals['_SUBMITREQUEST']._serialized_end=1086
  _globals['_SUBMITDECISION']._serialized_start=1088
  _globals['_SUBMITDECISION']._serialized_end=1142
  _globals['_APPROVALSV1']._serialized_start=1145
  _globals['_APPROVALSV1']._serialized_end=1664
# @@protoc_insertion_point(module_scope)
