# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: temporal/api/sdk/v1/enhanced_stack_trace.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()


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
    b'\n.temporal/api/sdk/v1/enhanced_stack_trace.proto\x12\x13temporal.api.sdk.v1"\x9b\x02\n\x12\x45nhancedStackTrace\x12\x33\n\x03sdk\x18\x01 \x01(\x0b\x32&.temporal.api.sdk.v1.StackTraceSDKInfo\x12\x45\n\x07sources\x18\x02 \x03(\x0b\x32\x34.temporal.api.sdk.v1.EnhancedStackTrace.SourcesEntry\x12/\n\x06stacks\x18\x03 \x03(\x0b\x32\x1f.temporal.api.sdk.v1.StackTrace\x1aX\n\x0cSourcesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.temporal.api.sdk.v1.StackTraceFileSlice:\x02\x38\x01"2\n\x11StackTraceSDKInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t";\n\x13StackTraceFileSlice\x12\x13\n\x0bline_offset\x18\x01 \x01(\r\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t"w\n\x16StackTraceFileLocation\x12\x11\n\tfile_path\x18\x01 \x01(\t\x12\x0c\n\x04line\x18\x02 \x01(\x05\x12\x0e\n\x06\x63olumn\x18\x03 \x01(\x05\x12\x15\n\rfunction_name\x18\x04 \x01(\t\x12\x15\n\rinternal_code\x18\x05 \x01(\x08"L\n\nStackTrace\x12>\n\tlocations\x18\x01 \x03(\x0b\x32+.temporal.api.sdk.v1.StackTraceFileLocationB\x85\x01\n\x16io.temporal.api.sdk.v1B\x17\x45nhancedStackTraceProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3'
)


_ENHANCEDSTACKTRACE = DESCRIPTOR.message_types_by_name["EnhancedStackTrace"]
_ENHANCEDSTACKTRACE_SOURCESENTRY = _ENHANCEDSTACKTRACE.nested_types_by_name[
    "SourcesEntry"
]
_STACKTRACESDKINFO = DESCRIPTOR.message_types_by_name["StackTraceSDKInfo"]
_STACKTRACEFILESLICE = DESCRIPTOR.message_types_by_name["StackTraceFileSlice"]
_STACKTRACEFILELOCATION = DESCRIPTOR.message_types_by_name["StackTraceFileLocation"]
_STACKTRACE = DESCRIPTOR.message_types_by_name["StackTrace"]
EnhancedStackTrace = _reflection.GeneratedProtocolMessageType(
    "EnhancedStackTrace",
    (_message.Message,),
    {
        "SourcesEntry": _reflection.GeneratedProtocolMessageType(
            "SourcesEntry",
            (_message.Message,),
            {
                "DESCRIPTOR": _ENHANCEDSTACKTRACE_SOURCESENTRY,
                "__module__": "temporalio.api.sdk.v1.enhanced_stack_trace_pb2",
                # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.EnhancedStackTrace.SourcesEntry)
            },
        ),
        "DESCRIPTOR": _ENHANCEDSTACKTRACE,
        "__module__": "temporalio.api.sdk.v1.enhanced_stack_trace_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.EnhancedStackTrace)
    },
)
_sym_db.RegisterMessage(EnhancedStackTrace)
_sym_db.RegisterMessage(EnhancedStackTrace.SourcesEntry)

StackTraceSDKInfo = _reflection.GeneratedProtocolMessageType(
    "StackTraceSDKInfo",
    (_message.Message,),
    {
        "DESCRIPTOR": _STACKTRACESDKINFO,
        "__module__": "temporalio.api.sdk.v1.enhanced_stack_trace_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTraceSDKInfo)
    },
)
_sym_db.RegisterMessage(StackTraceSDKInfo)

StackTraceFileSlice = _reflection.GeneratedProtocolMessageType(
    "StackTraceFileSlice",
    (_message.Message,),
    {
        "DESCRIPTOR": _STACKTRACEFILESLICE,
        "__module__": "temporalio.api.sdk.v1.enhanced_stack_trace_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTraceFileSlice)
    },
)
_sym_db.RegisterMessage(StackTraceFileSlice)

StackTraceFileLocation = _reflection.GeneratedProtocolMessageType(
    "StackTraceFileLocation",
    (_message.Message,),
    {
        "DESCRIPTOR": _STACKTRACEFILELOCATION,
        "__module__": "temporalio.api.sdk.v1.enhanced_stack_trace_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTraceFileLocation)
    },
)
_sym_db.RegisterMessage(StackTraceFileLocation)

StackTrace = _reflection.GeneratedProtocolMessageType(
    "StackTrace",
    (_message.Message,),
    {
        "DESCRIPTOR": _STACKTRACE,
        "__module__": "temporalio.api.sdk.v1.enhanced_stack_trace_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTrace)
    },
)
_sym_db.RegisterMessage(StackTrace)

if _descriptor._USE_C_DESCRIPTORS == False:
    DESCRIPTOR._options = None
    DESCRIPTOR._serialized_options = b"\n\026io.temporal.api.sdk.v1B\027EnhancedStackTraceProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1"
    _ENHANCEDSTACKTRACE_SOURCESENTRY._options = None
    _ENHANCEDSTACKTRACE_SOURCESENTRY._serialized_options = b"8\001"
    _ENHANCEDSTACKTRACE._serialized_start = 72
    _ENHANCEDSTACKTRACE._serialized_end = 355
    _ENHANCEDSTACKTRACE_SOURCESENTRY._serialized_start = 267
    _ENHANCEDSTACKTRACE_SOURCESENTRY._serialized_end = 355
    _STACKTRACESDKINFO._serialized_start = 357
    _STACKTRACESDKINFO._serialized_end = 407
    _STACKTRACEFILESLICE._serialized_start = 409
    _STACKTRACEFILESLICE._serialized_end = 468
    _STACKTRACEFILELOCATION._serialized_start = 470
    _STACKTRACEFILELOCATION._serialized_end = 589
    _STACKTRACE._serialized_start = 591
    _STACKTRACE._serialized_end = 667
# @@protoc_insertion_point(module_scope)
