Class StackTrace.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<StackTrace.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<StackTrace.Builder>
io.temporal.api.sdk.v1.StackTrace.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, StackTraceOrBuilder, Cloneable
Enclosing class:
StackTrace

public static final class StackTrace.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StackTrace.Builder> implements StackTraceOrBuilder
 Collection of FileLocation messages from a single stack.
 
Protobuf type temporal.api.sdk.v1.StackTrace
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<StackTrace.Builder>
    • clear

      public StackTrace.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<StackTrace.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<StackTrace.Builder>
    • getDefaultInstanceForType

      public StackTrace getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public StackTrace build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public StackTrace buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public StackTrace.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<StackTrace.Builder>
    • setField

      public StackTrace.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<StackTrace.Builder>
    • clearField

      public StackTrace.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<StackTrace.Builder>
    • clearOneof

      public StackTrace.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StackTrace.Builder>
    • setRepeatedField

      public StackTrace.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StackTrace.Builder>
    • addRepeatedField

      public StackTrace.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StackTrace.Builder>
    • mergeFrom

      public StackTrace.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StackTrace.Builder>
    • mergeFrom

      public StackTrace.Builder mergeFrom(StackTrace other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StackTrace.Builder>
    • mergeFrom

      public StackTrace.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StackTrace.Builder>
      Throws:
      IOException
    • getLocationsList

      public List<StackTraceFileLocation> getLocationsList()
       Collection of `FileLocation`s, each for a stack frame that comprise a stack trace.
       
      repeated .temporal.api.sdk.v1.StackTraceFileLocation locations = 1;
      Specified by:
      getLocationsList in interface StackTraceOrBuilder
    • getLocationsCount

      public int getLocationsCount()
       Collection of `FileLocation`s, each for a stack frame that comprise a stack trace.
       
      repeated .temporal.api.sdk.v1.StackTraceFileLocation locations = 1;
      Specified by:
      getLocationsCount in interface StackTraceOrBuilder
    • getLocations

      public StackTraceFileLocation getLocations(int index)
       Collection of `FileLocation`s, each for a stack frame that comprise a stack trace.
       
      repeated .temporal.api.sdk.v1.StackTraceFileLocation locations = 1;
      Specified by:
      getLocations in interface StackTraceOrBuilder
    • setLocations

      public StackTrace.Builder setLocations(int index, StackTraceFileLocation value)
       Collection of `FileLocation`s, each for a stack frame that comprise a stack trace.
       
      repeated .temporal.api.sdk.v1.StackTraceFileLocation locations = 1;
    • setLocations

      public StackTrace.Builder setLocations(int index, StackTraceFileLocation.Builder builderForValue)
       Collection of `FileLocation`s, each for a stack frame that comprise a stack trace.
       
      repeated .temporal.api.sdk.v1.StackTraceFileLocation locations = 1;
    • addLocations

      public StackTrace.Builder addLocations(StackTraceFileLocation value)
       Collection of `FileLocation`s, each for a stack frame that comprise a stack trace.
       
      repeated .temporal.api.sdk.v1.StackTraceFileLocation locations = 1;
    • addLocations

      public StackTrace.Builder addLocations(int index, StackTraceFileLocation value)
       Collection of `FileLocation`s, each for a stack frame that comprise a stack trace.
       
      repeated .temporal.api.sdk.v1.StackTraceFileLocation locations = 1;
    • addLocations

      public StackTrace.Builder addLocations(StackTraceFileLocation.Builder builderForValue)
       Collection of `FileLocation`s, each for a stack frame that comprise a stack trace.
       
      repeated .temporal.api.sdk.v1.StackTraceFileLocation locations = 1;
    • addLocations

      public StackTrace.Builder addLocations(int index, StackTraceFileLocation.Builder builderForValue)
       Collection of `FileLocation`s, each for a stack frame that comprise a stack trace.
       
      repeated .temporal.api.sdk.v1.StackTraceFileLocation locations = 1;
    • addAllLocations

      public StackTrace.Builder addAllLocations(Iterable<? extends StackTraceFileLocation> values)
       Collection of `FileLocation`s, each for a stack frame that comprise a stack trace.
       
      repeated .temporal.api.sdk.v1.StackTraceFileLocation locations = 1;
    • clearLocations

      public StackTrace.Builder clearLocations()
       Collection of `FileLocation`s, each for a stack frame that comprise a stack trace.
       
      repeated .temporal.api.sdk.v1.StackTraceFileLocation locations = 1;
    • removeLocations

      public StackTrace.Builder removeLocations(int index)
       Collection of `FileLocation`s, each for a stack frame that comprise a stack trace.
       
      repeated .temporal.api.sdk.v1.StackTraceFileLocation locations = 1;
    • getLocationsBuilder

      public StackTraceFileLocation.Builder getLocationsBuilder(int index)
       Collection of `FileLocation`s, each for a stack frame that comprise a stack trace.
       
      repeated .temporal.api.sdk.v1.StackTraceFileLocation locations = 1;
    • getLocationsOrBuilder

      public StackTraceFileLocationOrBuilder getLocationsOrBuilder(int index)
       Collection of `FileLocation`s, each for a stack frame that comprise a stack trace.
       
      repeated .temporal.api.sdk.v1.StackTraceFileLocation locations = 1;
      Specified by:
      getLocationsOrBuilder in interface StackTraceOrBuilder
    • getLocationsOrBuilderList

      public List<? extends StackTraceFileLocationOrBuilder> getLocationsOrBuilderList()
       Collection of `FileLocation`s, each for a stack frame that comprise a stack trace.
       
      repeated .temporal.api.sdk.v1.StackTraceFileLocation locations = 1;
      Specified by:
      getLocationsOrBuilderList in interface StackTraceOrBuilder
    • addLocationsBuilder

      public StackTraceFileLocation.Builder addLocationsBuilder()
       Collection of `FileLocation`s, each for a stack frame that comprise a stack trace.
       
      repeated .temporal.api.sdk.v1.StackTraceFileLocation locations = 1;
    • addLocationsBuilder

      public StackTraceFileLocation.Builder addLocationsBuilder(int index)
       Collection of `FileLocation`s, each for a stack frame that comprise a stack trace.
       
      repeated .temporal.api.sdk.v1.StackTraceFileLocation locations = 1;
    • getLocationsBuilderList

      public List<StackTraceFileLocation.Builder> getLocationsBuilderList()
       Collection of `FileLocation`s, each for a stack frame that comprise a stack trace.
       
      repeated .temporal.api.sdk.v1.StackTraceFileLocation locations = 1;
    • setUnknownFields

      public final StackTrace.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StackTrace.Builder>
    • mergeUnknownFields

      public final StackTrace.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StackTrace.Builder>