Class FailureDetails.Throwable.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FailureDetails.Throwable.Builder>
com.google.devtools.build.lib.server.FailureDetails.Throwable.Builder
- All Implemented Interfaces:
FailureDetails.ThrowableOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FailureDetails.Throwable
public static final class FailureDetails.Throwable.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FailureDetails.Throwable.Builder>
implements FailureDetails.ThrowableOrBuilder
Protobuf type
failure_details.Throwable-
Method Summary
Modifier and TypeMethodDescriptionaddAllStackTrace(Iterable<String> values) The result of calling toString on the deepest (i.e.addStackTrace(String value) The result of calling toString on the deepest (i.e.addStackTraceBytes(com.google.protobuf.ByteString value) The result of calling toString on the deepest (i.e.build()clear()The throwable's message.The result of calling toString on the deepest (i.e.The class name of the java.lang.Throwable.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe throwable's message.com.google.protobuf.ByteStringThe throwable's message.getStackTrace(int index) The result of calling toString on the deepest (i.e.com.google.protobuf.ByteStringgetStackTraceBytes(int index) The result of calling toString on the deepest (i.e.intThe result of calling toString on the deepest (i.e.com.google.protobuf.ProtocolStringListThe result of calling toString on the deepest (i.e.The class name of the java.lang.Throwable.com.google.protobuf.ByteStringThe class name of the java.lang.Throwable.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setMessage(String value) The throwable's message.setMessageBytes(com.google.protobuf.ByteString value) The throwable's message.setStackTrace(int index, String value) The result of calling toString on the deepest (i.e.setThrowableClass(String value) The class name of the java.lang.Throwable.setThrowableClassBytes(com.google.protobuf.ByteString value) The class name of the java.lang.Throwable.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.Throwable.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.Throwable.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.Throwable.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.Throwable.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<FailureDetails.Throwable.Builder>
-
mergeFrom
public FailureDetails.Throwable.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.Throwable.Builder>- Throws:
IOException
-
getThrowableClass
The class name of the java.lang.Throwable.
string throwable_class = 1;- Specified by:
getThrowableClassin interfaceFailureDetails.ThrowableOrBuilder- Returns:
- The throwableClass.
-
getThrowableClassBytes
public com.google.protobuf.ByteString getThrowableClassBytes()The class name of the java.lang.Throwable.
string throwable_class = 1;- Specified by:
getThrowableClassBytesin interfaceFailureDetails.ThrowableOrBuilder- Returns:
- The bytes for throwableClass.
-
setThrowableClass
The class name of the java.lang.Throwable.
string throwable_class = 1;- Parameters:
value- The throwableClass to set.- Returns:
- This builder for chaining.
-
clearThrowableClass
The class name of the java.lang.Throwable.
string throwable_class = 1;- Returns:
- This builder for chaining.
-
setThrowableClassBytes
public FailureDetails.Throwable.Builder setThrowableClassBytes(com.google.protobuf.ByteString value) The class name of the java.lang.Throwable.
string throwable_class = 1;- Parameters:
value- The bytes for throwableClass to set.- Returns:
- This builder for chaining.
-
getMessage
The throwable's message.
string message = 2;- Specified by:
getMessagein interfaceFailureDetails.ThrowableOrBuilder- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()The throwable's message.
string message = 2;- Specified by:
getMessageBytesin interfaceFailureDetails.ThrowableOrBuilder- Returns:
- The bytes for message.
-
setMessage
The throwable's message.
string message = 2;- Parameters:
value- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
The throwable's message.
string message = 2;- Returns:
- This builder for chaining.
-
setMessageBytes
The throwable's message.
string message = 2;- Parameters:
value- The bytes for message to set.- Returns:
- This builder for chaining.
-
getStackTraceList
public com.google.protobuf.ProtocolStringList getStackTraceList()The result of calling toString on the deepest (i.e. closest to the throwable's construction site) 1000 (or fewer) StackTraceElements. Unstructured to simplify string matching.
repeated string stack_trace = 3;- Specified by:
getStackTraceListin interfaceFailureDetails.ThrowableOrBuilder- Returns:
- A list containing the stackTrace.
-
getStackTraceCount
public int getStackTraceCount()The result of calling toString on the deepest (i.e. closest to the throwable's construction site) 1000 (or fewer) StackTraceElements. Unstructured to simplify string matching.
repeated string stack_trace = 3;- Specified by:
getStackTraceCountin interfaceFailureDetails.ThrowableOrBuilder- Returns:
- The count of stackTrace.
-
getStackTrace
The result of calling toString on the deepest (i.e. closest to the throwable's construction site) 1000 (or fewer) StackTraceElements. Unstructured to simplify string matching.
repeated string stack_trace = 3;- Specified by:
getStackTracein interfaceFailureDetails.ThrowableOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The stackTrace at the given index.
-
getStackTraceBytes
public com.google.protobuf.ByteString getStackTraceBytes(int index) The result of calling toString on the deepest (i.e. closest to the throwable's construction site) 1000 (or fewer) StackTraceElements. Unstructured to simplify string matching.
repeated string stack_trace = 3;- Specified by:
getStackTraceBytesin interfaceFailureDetails.ThrowableOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the stackTrace at the given index.
-
setStackTrace
The result of calling toString on the deepest (i.e. closest to the throwable's construction site) 1000 (or fewer) StackTraceElements. Unstructured to simplify string matching.
repeated string stack_trace = 3;- Parameters:
index- The index to set the value at.value- The stackTrace to set.- Returns:
- This builder for chaining.
-
addStackTrace
The result of calling toString on the deepest (i.e. closest to the throwable's construction site) 1000 (or fewer) StackTraceElements. Unstructured to simplify string matching.
repeated string stack_trace = 3;- Parameters:
value- The stackTrace to add.- Returns:
- This builder for chaining.
-
addAllStackTrace
The result of calling toString on the deepest (i.e. closest to the throwable's construction site) 1000 (or fewer) StackTraceElements. Unstructured to simplify string matching.
repeated string stack_trace = 3;- Parameters:
values- The stackTrace to add.- Returns:
- This builder for chaining.
-
clearStackTrace
The result of calling toString on the deepest (i.e. closest to the throwable's construction site) 1000 (or fewer) StackTraceElements. Unstructured to simplify string matching.
repeated string stack_trace = 3;- Returns:
- This builder for chaining.
-
addStackTraceBytes
The result of calling toString on the deepest (i.e. closest to the throwable's construction site) 1000 (or fewer) StackTraceElements. Unstructured to simplify string matching.
repeated string stack_trace = 3;- Parameters:
value- The bytes of the stackTrace to add.- Returns:
- This builder for chaining.
-