Class FailureDetails.Crash.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FailureDetails.Crash.Builder>
com.google.devtools.build.lib.server.FailureDetails.Crash.Builder
All Implemented Interfaces:
FailureDetails.CrashOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
FailureDetails.Crash

public static final class FailureDetails.Crash.Builder extends com.google.protobuf.GeneratedMessage.Builder<FailureDetails.Crash.Builder> implements FailureDetails.CrashOrBuilder
Protobuf type failure_details.Crash
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FailureDetails.Crash.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.GeneratedMessage.Builder<FailureDetails.Crash.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.GeneratedMessage.Builder<FailureDetails.Crash.Builder>
    • getDefaultInstanceForType

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

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

      public FailureDetails.Crash buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public FailureDetails.Crash.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<FailureDetails.Crash.Builder>
    • mergeFrom

    • isInitialized

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

      public FailureDetails.Crash.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<FailureDetails.Crash.Builder>
      Throws:
      IOException
    • getCodeValue

      public int getCodeValue()
      .failure_details.Crash.Code code = 1;
      Specified by:
      getCodeValue in interface FailureDetails.CrashOrBuilder
      Returns:
      The enum numeric value on the wire for code.
    • setCodeValue

      public FailureDetails.Crash.Builder setCodeValue(int value)
      .failure_details.Crash.Code code = 1;
      Parameters:
      value - The enum numeric value on the wire for code to set.
      Returns:
      This builder for chaining.
    • getCode

      public FailureDetails.Crash.Code getCode()
      .failure_details.Crash.Code code = 1;
      Specified by:
      getCode in interface FailureDetails.CrashOrBuilder
      Returns:
      The code.
    • setCode

      .failure_details.Crash.Code code = 1;
      Parameters:
      value - The code to set.
      Returns:
      This builder for chaining.
    • clearCode

      public FailureDetails.Crash.Builder clearCode()
      .failure_details.Crash.Code code = 1;
      Returns:
      This builder for chaining.
    • getCausesList

      public List<FailureDetails.Throwable> getCausesList()
       The cause chain of the crash, with the outermost throwable first. Limited
       to the outermost exception and at most 4 nested causes (so, max size of 5).
       
      repeated .failure_details.Throwable causes = 2;
      Specified by:
      getCausesList in interface FailureDetails.CrashOrBuilder
    • getCausesCount

      public int getCausesCount()
       The cause chain of the crash, with the outermost throwable first. Limited
       to the outermost exception and at most 4 nested causes (so, max size of 5).
       
      repeated .failure_details.Throwable causes = 2;
      Specified by:
      getCausesCount in interface FailureDetails.CrashOrBuilder
    • getCauses

      public FailureDetails.Throwable getCauses(int index)
       The cause chain of the crash, with the outermost throwable first. Limited
       to the outermost exception and at most 4 nested causes (so, max size of 5).
       
      repeated .failure_details.Throwable causes = 2;
      Specified by:
      getCauses in interface FailureDetails.CrashOrBuilder
    • setCauses

      public FailureDetails.Crash.Builder setCauses(int index, FailureDetails.Throwable value)
       The cause chain of the crash, with the outermost throwable first. Limited
       to the outermost exception and at most 4 nested causes (so, max size of 5).
       
      repeated .failure_details.Throwable causes = 2;
    • setCauses

      public FailureDetails.Crash.Builder setCauses(int index, FailureDetails.Throwable.Builder builderForValue)
       The cause chain of the crash, with the outermost throwable first. Limited
       to the outermost exception and at most 4 nested causes (so, max size of 5).
       
      repeated .failure_details.Throwable causes = 2;
    • addCauses

       The cause chain of the crash, with the outermost throwable first. Limited
       to the outermost exception and at most 4 nested causes (so, max size of 5).
       
      repeated .failure_details.Throwable causes = 2;
    • addCauses

      public FailureDetails.Crash.Builder addCauses(int index, FailureDetails.Throwable value)
       The cause chain of the crash, with the outermost throwable first. Limited
       to the outermost exception and at most 4 nested causes (so, max size of 5).
       
      repeated .failure_details.Throwable causes = 2;
    • addCauses

       The cause chain of the crash, with the outermost throwable first. Limited
       to the outermost exception and at most 4 nested causes (so, max size of 5).
       
      repeated .failure_details.Throwable causes = 2;
    • addCauses

      public FailureDetails.Crash.Builder addCauses(int index, FailureDetails.Throwable.Builder builderForValue)
       The cause chain of the crash, with the outermost throwable first. Limited
       to the outermost exception and at most 4 nested causes (so, max size of 5).
       
      repeated .failure_details.Throwable causes = 2;
    • addAllCauses

      public FailureDetails.Crash.Builder addAllCauses(Iterable<? extends FailureDetails.Throwable> values)
       The cause chain of the crash, with the outermost throwable first. Limited
       to the outermost exception and at most 4 nested causes (so, max size of 5).
       
      repeated .failure_details.Throwable causes = 2;
    • clearCauses

      public FailureDetails.Crash.Builder clearCauses()
       The cause chain of the crash, with the outermost throwable first. Limited
       to the outermost exception and at most 4 nested causes (so, max size of 5).
       
      repeated .failure_details.Throwable causes = 2;
    • removeCauses

      public FailureDetails.Crash.Builder removeCauses(int index)
       The cause chain of the crash, with the outermost throwable first. Limited
       to the outermost exception and at most 4 nested causes (so, max size of 5).
       
      repeated .failure_details.Throwable causes = 2;
    • getCausesBuilder

      public FailureDetails.Throwable.Builder getCausesBuilder(int index)
       The cause chain of the crash, with the outermost throwable first. Limited
       to the outermost exception and at most 4 nested causes (so, max size of 5).
       
      repeated .failure_details.Throwable causes = 2;
    • getCausesOrBuilder

      public FailureDetails.ThrowableOrBuilder getCausesOrBuilder(int index)
       The cause chain of the crash, with the outermost throwable first. Limited
       to the outermost exception and at most 4 nested causes (so, max size of 5).
       
      repeated .failure_details.Throwable causes = 2;
      Specified by:
      getCausesOrBuilder in interface FailureDetails.CrashOrBuilder
    • getCausesOrBuilderList

      public List<? extends FailureDetails.ThrowableOrBuilder> getCausesOrBuilderList()
       The cause chain of the crash, with the outermost throwable first. Limited
       to the outermost exception and at most 4 nested causes (so, max size of 5).
       
      repeated .failure_details.Throwable causes = 2;
      Specified by:
      getCausesOrBuilderList in interface FailureDetails.CrashOrBuilder
    • addCausesBuilder

      public FailureDetails.Throwable.Builder addCausesBuilder()
       The cause chain of the crash, with the outermost throwable first. Limited
       to the outermost exception and at most 4 nested causes (so, max size of 5).
       
      repeated .failure_details.Throwable causes = 2;
    • addCausesBuilder

      public FailureDetails.Throwable.Builder addCausesBuilder(int index)
       The cause chain of the crash, with the outermost throwable first. Limited
       to the outermost exception and at most 4 nested causes (so, max size of 5).
       
      repeated .failure_details.Throwable causes = 2;
    • getCausesBuilderList

      public List<FailureDetails.Throwable.Builder> getCausesBuilderList()
       The cause chain of the crash, with the outermost throwable first. Limited
       to the outermost exception and at most 4 nested causes (so, max size of 5).
       
      repeated .failure_details.Throwable causes = 2;
    • getOomDetectorOverride

      public boolean getOomDetectorOverride()
       True when the root cause of the crash was not an OutOfMemoryError, but
       CRASH_OOM was chosen because an OutOfMemoryError was detected prior to the
       crash.
       
      bool oom_detector_override = 3;
      Specified by:
      getOomDetectorOverride in interface FailureDetails.CrashOrBuilder
      Returns:
      The oomDetectorOverride.
    • setOomDetectorOverride

      public FailureDetails.Crash.Builder setOomDetectorOverride(boolean value)
       True when the root cause of the crash was not an OutOfMemoryError, but
       CRASH_OOM was chosen because an OutOfMemoryError was detected prior to the
       crash.
       
      bool oom_detector_override = 3;
      Parameters:
      value - The oomDetectorOverride to set.
      Returns:
      This builder for chaining.
    • clearOomDetectorOverride

      public FailureDetails.Crash.Builder clearOomDetectorOverride()
       True when the root cause of the crash was not an OutOfMemoryError, but
       CRASH_OOM was chosen because an OutOfMemoryError was detected prior to the
       crash.
       
      bool oom_detector_override = 3;
      Returns:
      This builder for chaining.