Package com.google.rpc
Class DebugInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>
com.google.rpc.DebugInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,DebugInfoOrBuilder
,Cloneable
- Enclosing class:
DebugInfo
public static final class DebugInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>
implements DebugInfoOrBuilder
Describes additional debugging info.Protobuf type
google.rpc.DebugInfo
-
Method Summary
Modifier and TypeMethodDescriptionaddAllStackEntries
(Iterable<String> values) The stack trace entries indicating where the error occurred.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) 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.build()
clear()
Additional debugging information provided by the server.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) The stack trace entries indicating where the error occurred.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
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.com.google.protobuf.ProtocolStringList
The stack trace entries indicating where the error occurred.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) final DebugInfo.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Additional debugging information provided by the server.setDetailBytes
(com.google.protobuf.ByteString value) Additional debugging information provided by the server.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStackEntries
(int index, String value) The stack trace entries indicating where the error occurred.final DebugInfo.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>
-
setField
public DebugInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>
-
setRepeatedField
public DebugInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>
-
addRepeatedField
public DebugInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DebugInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>
-
mergeFrom
public DebugInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DebugInfo.Builder>
- Throws:
IOException
-
getStackEntriesList
public com.google.protobuf.ProtocolStringList getStackEntriesList()The stack trace entries indicating where the error occurred.
repeated string stack_entries = 1;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- Returns:
- This builder for chaining.
-
addStackEntriesBytes
The stack trace entries indicating where the error occurred.
repeated string stack_entries = 1;
- 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;
- 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;
- Specified by:
getDetailBytes
in interfaceDebugInfoOrBuilder
- Returns:
- The bytes for detail.
-
setDetail
Additional debugging information provided by the server.
string detail = 2;
- Parameters:
value
- The detail to set.- Returns:
- This builder for chaining.
-
clearDetail
Additional debugging information provided by the server.
string detail = 2;
- Returns:
- This builder for chaining.
-
setDetailBytes
Additional debugging information provided by the server.
string detail = 2;
- Parameters:
value
- The bytes for detail to set.- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>
-
mergeUnknownFields
public final DebugInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>
-