Class EnhancedStackTrace

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.sdk.v1.EnhancedStackTrace
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, EnhancedStackTraceOrBuilder, Serializable

@Generated(value="protoc", comments="annotations:EnhancedStackTrace.java.pb.meta") public final class EnhancedStackTrace extends com.google.protobuf.GeneratedMessageV3 implements EnhancedStackTraceOrBuilder
 Internal structure used to create worker stack traces with references to code.
 
Protobuf type temporal.api.sdk.v1.EnhancedStackTrace
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasSdk

      public boolean hasSdk()
       Information pertaining to the SDK that the trace has been captured from.
       
      .temporal.api.sdk.v1.StackTraceSDKInfo sdk = 1;
      Specified by:
      hasSdk in interface EnhancedStackTraceOrBuilder
      Returns:
      Whether the sdk field is set.
    • getSdk

      public StackTraceSDKInfo getSdk()
       Information pertaining to the SDK that the trace has been captured from.
       
      .temporal.api.sdk.v1.StackTraceSDKInfo sdk = 1;
      Specified by:
      getSdk in interface EnhancedStackTraceOrBuilder
      Returns:
      The sdk.
    • getSdkOrBuilder

      public StackTraceSDKInfoOrBuilder getSdkOrBuilder()
       Information pertaining to the SDK that the trace has been captured from.
       
      .temporal.api.sdk.v1.StackTraceSDKInfo sdk = 1;
      Specified by:
      getSdkOrBuilder in interface EnhancedStackTraceOrBuilder
    • getSourcesCount

      public int getSourcesCount()
      Description copied from interface: EnhancedStackTraceOrBuilder
       Mapping of file path to file contents.
       
      map<string, .temporal.api.sdk.v1.StackTraceFileSlice> sources = 2;
      Specified by:
      getSourcesCount in interface EnhancedStackTraceOrBuilder
    • containsSources

      public boolean containsSources(String key)
       Mapping of file path to file contents.
       
      map<string, .temporal.api.sdk.v1.StackTraceFileSlice> sources = 2;
      Specified by:
      containsSources in interface EnhancedStackTraceOrBuilder
    • getSources

      @Deprecated public Map<String,StackTraceFileSlice> getSources()
      Deprecated.
      Use getSourcesMap() instead.
      Specified by:
      getSources in interface EnhancedStackTraceOrBuilder
    • getSourcesMap

      public Map<String,StackTraceFileSlice> getSourcesMap()
       Mapping of file path to file contents.
       
      map<string, .temporal.api.sdk.v1.StackTraceFileSlice> sources = 2;
      Specified by:
      getSourcesMap in interface EnhancedStackTraceOrBuilder
    • getSourcesOrDefault

      public StackTraceFileSlice getSourcesOrDefault(String key, StackTraceFileSlice defaultValue)
       Mapping of file path to file contents.
       
      map<string, .temporal.api.sdk.v1.StackTraceFileSlice> sources = 2;
      Specified by:
      getSourcesOrDefault in interface EnhancedStackTraceOrBuilder
    • getSourcesOrThrow

      public StackTraceFileSlice getSourcesOrThrow(String key)
       Mapping of file path to file contents.
       
      map<string, .temporal.api.sdk.v1.StackTraceFileSlice> sources = 2;
      Specified by:
      getSourcesOrThrow in interface EnhancedStackTraceOrBuilder
    • getStacksList

      public List<StackTrace> getStacksList()
       Collection of stacks captured.
       
      repeated .temporal.api.sdk.v1.StackTrace stacks = 3;
      Specified by:
      getStacksList in interface EnhancedStackTraceOrBuilder
    • getStacksOrBuilderList

      public List<? extends StackTraceOrBuilder> getStacksOrBuilderList()
       Collection of stacks captured.
       
      repeated .temporal.api.sdk.v1.StackTrace stacks = 3;
      Specified by:
      getStacksOrBuilderList in interface EnhancedStackTraceOrBuilder
    • getStacksCount

      public int getStacksCount()
       Collection of stacks captured.
       
      repeated .temporal.api.sdk.v1.StackTrace stacks = 3;
      Specified by:
      getStacksCount in interface EnhancedStackTraceOrBuilder
    • getStacks

      public StackTrace getStacks(int index)
       Collection of stacks captured.
       
      repeated .temporal.api.sdk.v1.StackTrace stacks = 3;
      Specified by:
      getStacks in interface EnhancedStackTraceOrBuilder
    • getStacksOrBuilder

      public StackTraceOrBuilder getStacksOrBuilder(int index)
       Collection of stacks captured.
       
      repeated .temporal.api.sdk.v1.StackTrace stacks = 3;
      Specified by:
      getStacksOrBuilder in interface EnhancedStackTraceOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static EnhancedStackTrace parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EnhancedStackTrace parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EnhancedStackTrace parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EnhancedStackTrace parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EnhancedStackTrace parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EnhancedStackTrace parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EnhancedStackTrace parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EnhancedStackTrace parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static EnhancedStackTrace parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static EnhancedStackTrace parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EnhancedStackTrace parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EnhancedStackTrace parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public EnhancedStackTrace.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static EnhancedStackTrace.Builder newBuilder()
    • newBuilder

      public static EnhancedStackTrace.Builder newBuilder(EnhancedStackTrace prototype)
    • toBuilder

      public EnhancedStackTrace.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected EnhancedStackTrace.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static EnhancedStackTrace getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<EnhancedStackTrace> parser()
    • getParserForType

      public com.google.protobuf.Parser<EnhancedStackTrace> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public EnhancedStackTrace getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder