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 Summary
Modifier and TypeMethodDescriptionaddAllCauses(Iterable<? extends FailureDetails.Throwable> values) The cause chain of the crash, with the outermost throwable first.addCauses(int index, FailureDetails.Throwable value) The cause chain of the crash, with the outermost throwable first.addCauses(int index, FailureDetails.Throwable.Builder builderForValue) The cause chain of the crash, with the outermost throwable first.The cause chain of the crash, with the outermost throwable first.addCauses(FailureDetails.Throwable.Builder builderForValue) The cause chain of the crash, with the outermost throwable first.The cause chain of the crash, with the outermost throwable first.addCausesBuilder(int index) The cause chain of the crash, with the outermost throwable first.build()clear()The cause chain of the crash, with the outermost throwable first..failure_details.Crash.Code code = 1;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.getCauses(int index) The cause chain of the crash, with the outermost throwable first.getCausesBuilder(int index) The cause chain of the crash, with the outermost throwable first.The cause chain of the crash, with the outermost throwable first.intThe cause chain of the crash, with the outermost throwable first.The cause chain of the crash, with the outermost throwable first.getCausesOrBuilder(int index) The cause chain of the crash, with the outermost throwable first.List<? extends FailureDetails.ThrowableOrBuilder>The cause chain of the crash, with the outermost throwable first.getCode().failure_details.Crash.Code code = 1;int.failure_details.Crash.Code code = 1;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanTrue 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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(FailureDetails.Crash other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeCauses(int index) The cause chain of the crash, with the outermost throwable first.setCauses(int index, FailureDetails.Throwable value) The cause chain of the crash, with the outermost throwable first.setCauses(int index, FailureDetails.Throwable.Builder builderForValue) The cause chain of the crash, with the outermost throwable first.setCode(FailureDetails.Crash.Code value) .failure_details.Crash.Code code = 1;setCodeValue(int value) .failure_details.Crash.Code code = 1;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.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<FailureDetails.Crash.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<FailureDetails.Crash.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<FailureDetails.Crash.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FailureDetails.Crash.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FailureDetails.Crash.Builder>- Throws:
IOException
-
getCodeValue
public int getCodeValue().failure_details.Crash.Code code = 1;- Specified by:
getCodeValuein interfaceFailureDetails.CrashOrBuilder- Returns:
- The enum numeric value on the wire for code.
-
setCodeValue
.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
.failure_details.Crash.Code code = 1;- Specified by:
getCodein interfaceFailureDetails.CrashOrBuilder- Returns:
- The code.
-
setCode
.failure_details.Crash.Code code = 1;- Parameters:
value- The code to set.- Returns:
- This builder for chaining.
-
clearCode
.failure_details.Crash.Code code = 1;- Returns:
- This builder for chaining.
-
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:
getCausesListin interfaceFailureDetails.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:
getCausesCountin interfaceFailureDetails.CrashOrBuilder
-
getCauses
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:
getCausesin interfaceFailureDetails.CrashOrBuilder
-
setCauses
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
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
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
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
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
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:
getCausesOrBuilderin interfaceFailureDetails.CrashOrBuilder
-
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:
getCausesOrBuilderListin interfaceFailureDetails.CrashOrBuilder
-
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
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
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:
getOomDetectorOverridein interfaceFailureDetails.CrashOrBuilder- Returns:
- The oomDetectorOverride.
-
setOomDetectorOverride
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
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.
-