# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: sentry_protos/sentry/v1/taskworker.proto
# Protobuf Python Version: 5.26.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 symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(sentry_protos/sentry/v1/taskworker.proto\x12\x17sentry_protos.sentry.v1\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xda\x01\n\nRetryState\x12\x10\n\x08\x61ttempts\x18\x01 \x01(\x05\x12\x0c\n\x04kind\x18\x02 \x01(\t\x12\"\n\x15\x64iscard_after_attempt\x18\x03 \x01(\x05H\x00\x88\x01\x01\x12%\n\x18\x64\x65\x61\x64letter_after_attempt\x18\x04 \x01(\x05H\x01\x88\x01\x01\x12\x19\n\x0c\x61t_most_once\x18\x05 \x01(\x08H\x02\x88\x01\x01\x42\x18\n\x16_discard_after_attemptB\x1b\n\x19_deadletter_after_attemptB\x0f\n\r_at_most_once\"\xc3\x03\n\x0eTaskActivation\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x10\n\x08taskname\x18\x03 \x01(\t\x12\x12\n\nparameters\x18\x04 \x01(\t\x12\x45\n\x07headers\x18\x05 \x03(\x0b\x32\x34.sentry_protos.sentry.v1.TaskActivation.HeadersEntry\x12/\n\x0breceived_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x08\x64\x65\x61\x64line\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02\x18\x01H\x00\x88\x01\x01\x12\x38\n\x0bretry_state\x18\x08 \x01(\x0b\x32#.sentry_protos.sentry.v1.RetryState\x12$\n\x1cprocessing_deadline_duration\x18\t \x01(\x04\x12\x14\n\x07\x65xpires\x18\n \x01(\x04H\x01\x88\x01\x01\x1a.\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0b\n\t_deadlineB\n\n\x08_expires\"\xd7\x02\n\x12InflightActivation\x12;\n\nactivation\x18\x01 \x01(\x0b\x32\'.sentry_protos.sentry.v1.TaskActivation\x12=\n\x06status\x18\x02 \x01(\x0e\x32-.sentry_protos.sentry.v1.TaskActivationStatus\x12\x0e\n\x06offset\x18\x03 \x01(\x03\x12,\n\x08\x61\x64\x64\x65\x64_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\rdeadletter_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12<\n\x13processing_deadline\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x42\x16\n\x14_processing_deadline\"M\n\x05\x45rror\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12%\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.Any\"6\n\x0eGetTaskRequest\x12\x16\n\tnamespace\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_namespace\"\x94\x01\n\x0fGetTaskResponse\x12:\n\x04task\x18\x01 \x01(\x0b\x32\'.sentry_protos.sentry.v1.TaskActivationH\x00\x88\x01\x01\x12\x32\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x1e.sentry_protos.sentry.v1.ErrorH\x01\x88\x01\x01\x42\x07\n\x05_taskB\x08\n\x06_error\"5\n\rFetchNextTask\x12\x16\n\tnamespace\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_namespace\"\xa7\x02\n\x14SetTaskStatusRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12=\n\x06status\x18\x03 \x01(\x0e\x32-.sentry_protos.sentry.v1.TaskActivationStatus\x12\x1b\n\nfetch_next\x18\x04 \x01(\x08\x42\x02\x18\x01H\x00\x88\x01\x01\x12%\n\x14\x66\x65tch_next_namespace\x18\x05 \x01(\tB\x02\x18\x01H\x01\x88\x01\x01\x12\x44\n\x0f\x66\x65tch_next_task\x18\x06 \x01(\x0b\x32&.sentry_protos.sentry.v1.FetchNextTaskH\x02\x88\x01\x01\x42\r\n\x0b_fetch_nextB\x17\n\x15_fetch_next_namespaceB\x12\n\x10_fetch_next_task\"\x9a\x01\n\x15SetTaskStatusResponse\x12:\n\x04task\x18\x01 \x01(\x0b\x32\'.sentry_protos.sentry.v1.TaskActivationH\x00\x88\x01\x01\x12\x32\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x1e.sentry_protos.sentry.v1.ErrorH\x01\x88\x01\x01\x42\x07\n\x05_taskB\x08\n\x06_error*\xf4\x01\n\x14TaskActivationStatus\x12&\n\"TASK_ACTIVATION_STATUS_UNSPECIFIED\x10\x00\x12\"\n\x1eTASK_ACTIVATION_STATUS_PENDING\x10\x01\x12%\n!TASK_ACTIVATION_STATUS_PROCESSING\x10\x02\x12\"\n\x1eTASK_ACTIVATION_STATUS_FAILURE\x10\x03\x12 \n\x1cTASK_ACTIVATION_STATUS_RETRY\x10\x04\x12#\n\x1fTASK_ACTIVATION_STATUS_COMPLETE\x10\x05\x32\xe3\x01\n\x0f\x43onsumerService\x12^\n\x07GetTask\x12\'.sentry_protos.sentry.v1.GetTaskRequest\x1a(.sentry_protos.sentry.v1.GetTaskResponse\"\x00\x12p\n\rSetTaskStatus\x12-.sentry_protos.sentry.v1.SetTaskStatusRequest\x1a..sentry_protos.sentry.v1.SetTaskStatusResponse\"\x00\x62\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sentry_protos.sentry.v1.taskworker_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_TASKACTIVATION_HEADERSENTRY']._loaded_options = None
  _globals['_TASKACTIVATION_HEADERSENTRY']._serialized_options = b'8\001'
  _globals['_TASKACTIVATION'].fields_by_name['deadline']._loaded_options = None
  _globals['_TASKACTIVATION'].fields_by_name['deadline']._serialized_options = b'\030\001'
  _globals['_SETTASKSTATUSREQUEST'].fields_by_name['fetch_next']._loaded_options = None
  _globals['_SETTASKSTATUSREQUEST'].fields_by_name['fetch_next']._serialized_options = b'\030\001'
  _globals['_SETTASKSTATUSREQUEST'].fields_by_name['fetch_next_namespace']._loaded_options = None
  _globals['_SETTASKSTATUSREQUEST'].fields_by_name['fetch_next_namespace']._serialized_options = b'\030\001'
  _globals['_TASKACTIVATIONSTATUS']._serialized_start=1947
  _globals['_TASKACTIVATIONSTATUS']._serialized_end=2191
  _globals['_RETRYSTATE']._serialized_start=130
  _globals['_RETRYSTATE']._serialized_end=348
  _globals['_TASKACTIVATION']._serialized_start=351
  _globals['_TASKACTIVATION']._serialized_end=802
  _globals['_TASKACTIVATION_HEADERSENTRY']._serialized_start=731
  _globals['_TASKACTIVATION_HEADERSENTRY']._serialized_end=777
  _globals['_INFLIGHTACTIVATION']._serialized_start=805
  _globals['_INFLIGHTACTIVATION']._serialized_end=1148
  _globals['_ERROR']._serialized_start=1150
  _globals['_ERROR']._serialized_end=1227
  _globals['_GETTASKREQUEST']._serialized_start=1229
  _globals['_GETTASKREQUEST']._serialized_end=1283
  _globals['_GETTASKRESPONSE']._serialized_start=1286
  _globals['_GETTASKRESPONSE']._serialized_end=1434
  _globals['_FETCHNEXTTASK']._serialized_start=1436
  _globals['_FETCHNEXTTASK']._serialized_end=1489
  _globals['_SETTASKSTATUSREQUEST']._serialized_start=1492
  _globals['_SETTASKSTATUSREQUEST']._serialized_end=1787
  _globals['_SETTASKSTATUSRESPONSE']._serialized_start=1790
  _globals['_SETTASKSTATUSRESPONSE']._serialized_end=1944
  _globals['_CONSUMERSERVICE']._serialized_start=2194
  _globals['_CONSUMERSERVICE']._serialized_end=2421
# @@protoc_insertion_point(module_scope)
