Package com.google.rpc
Class DebugInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<DebugInfo,DebugInfo.Builder>
com.google.rpc.DebugInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,DebugInfoOrBuilder
,Cloneable
- Enclosing class:
- DebugInfo
public static final class DebugInfo.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<DebugInfo,DebugInfo.Builder>
implements DebugInfoOrBuilder
Describes additional debugging info.Protobuf type
google.rpc.DebugInfo
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllStackEntries
(Iterable<String> values) The stack trace entries indicating where the error occurred.addStackEntries
(String value) The stack trace entries indicating where the error occurred.addStackEntriesBytes
(com.google.protobuf.ByteString value) The stack trace entries indicating where the error occurred.Additional debugging information provided by the server.The stack trace entries indicating where the error occurred.Additional debugging information provided by the server.com.google.protobuf.ByteString
Additional debugging information provided by the server.getStackEntries
(int index) The stack trace entries indicating where the error occurred.com.google.protobuf.ByteString
getStackEntriesBytes
(int index) The stack trace entries indicating where the error occurred.int
The stack trace entries indicating where the error occurred.The stack trace entries indicating where the error occurred.Additional debugging information provided by the server.setDetailBytes
(com.google.protobuf.ByteString value) Additional debugging information provided by the server.setStackEntries
(int index, String value) The stack trace entries indicating where the error occurred.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getStackEntriesList
The stack trace entries indicating where the error occurred.
repeated string stack_entries = 1 [json_name = "stackEntries"];
- Specified by:
getStackEntriesList
in interfaceDebugInfoOrBuilder
- Returns:
- A list containing the stackEntries.
-
getStackEntriesCount
public int getStackEntriesCount()The stack trace entries indicating where the error occurred.
repeated string stack_entries = 1 [json_name = "stackEntries"];
- Specified by:
getStackEntriesCount
in interfaceDebugInfoOrBuilder
- Returns:
- The count of stackEntries.
-
getStackEntries
The stack trace entries indicating where the error occurred.
repeated string stack_entries = 1 [json_name = "stackEntries"];
- Specified by:
getStackEntries
in interfaceDebugInfoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The stackEntries at the given index.
-
getStackEntriesBytes
public com.google.protobuf.ByteString getStackEntriesBytes(int index) The stack trace entries indicating where the error occurred.
repeated string stack_entries = 1 [json_name = "stackEntries"];
- Specified by:
getStackEntriesBytes
in interfaceDebugInfoOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the stackEntries at the given index.
-
setStackEntries
The stack trace entries indicating where the error occurred.
repeated string stack_entries = 1 [json_name = "stackEntries"];
- Parameters:
index
- The index to set the value at.value
- The stackEntries to set.- Returns:
- This builder for chaining.
-
addStackEntries
The stack trace entries indicating where the error occurred.
repeated string stack_entries = 1 [json_name = "stackEntries"];
- Parameters:
value
- The stackEntries to add.- Returns:
- This builder for chaining.
-
addAllStackEntries
The stack trace entries indicating where the error occurred.
repeated string stack_entries = 1 [json_name = "stackEntries"];
- Parameters:
values
- The stackEntries to add.- Returns:
- This builder for chaining.
-
clearStackEntries
The stack trace entries indicating where the error occurred.
repeated string stack_entries = 1 [json_name = "stackEntries"];
- Returns:
- This builder for chaining.
-
addStackEntriesBytes
The stack trace entries indicating where the error occurred.
repeated string stack_entries = 1 [json_name = "stackEntries"];
- Parameters:
value
- The bytes of the stackEntries to add.- Returns:
- This builder for chaining.
-
getDetail
Additional debugging information provided by the server.
string detail = 2 [json_name = "detail"];
- Specified by:
getDetail
in interfaceDebugInfoOrBuilder
- Returns:
- The detail.
-
getDetailBytes
public com.google.protobuf.ByteString getDetailBytes()Additional debugging information provided by the server.
string detail = 2 [json_name = "detail"];
- Specified by:
getDetailBytes
in interfaceDebugInfoOrBuilder
- Returns:
- The bytes for detail.
-
setDetail
Additional debugging information provided by the server.
string detail = 2 [json_name = "detail"];
- Parameters:
value
- The detail to set.- Returns:
- This builder for chaining.
-
clearDetail
Additional debugging information provided by the server.
string detail = 2 [json_name = "detail"];
- Returns:
- This builder for chaining.
-
setDetailBytes
Additional debugging information provided by the server.
string detail = 2 [json_name = "detail"];
- Parameters:
value
- The bytes for detail to set.- Returns:
- This builder for chaining.
-