public static final class DebugInfo.Builder extends GeneratedMessageV3.Builder<DebugInfo.Builder> implements DebugInfoOrBuilder
Describes additional debugging info.
Protobuf type google.rpc.DebugInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DebugInfo.BuilderImplements
DebugInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllStackEntries(Iterable<String> values)
public DebugInfo.Builder addAllStackEntries(Iterable<String> values)
The stack trace entries indicating where the error occurred.
repeated string stack_entries = 1;
Name | Description |
values | Iterable<String> The stackEntries to add. |
Type | Description |
DebugInfo.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DebugInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DebugInfo.Builder |
addStackEntries(String value)
public DebugInfo.Builder addStackEntries(String value)
The stack trace entries indicating where the error occurred.
repeated string stack_entries = 1;
Name | Description |
value | String The stackEntries to add. |
Type | Description |
DebugInfo.Builder | This builder for chaining. |
addStackEntriesBytes(ByteString value)
public DebugInfo.Builder addStackEntriesBytes(ByteString value)
The stack trace entries indicating where the error occurred.
repeated string stack_entries = 1;
Name | Description |
value | ByteString The bytes of the stackEntries to add. |
Type | Description |
DebugInfo.Builder | This builder for chaining. |
build()
public DebugInfo build()
Type | Description |
DebugInfo |
buildPartial()
public DebugInfo buildPartial()
Type | Description |
DebugInfo |
clear()
public DebugInfo.Builder clear()
Type | Description |
DebugInfo.Builder |
clearDetail()
public DebugInfo.Builder clearDetail()
Additional debugging information provided by the server.
string detail = 2;
Type | Description |
DebugInfo.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DebugInfo.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
DebugInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DebugInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DebugInfo.Builder |
clearStackEntries()
public DebugInfo.Builder clearStackEntries()
The stack trace entries indicating where the error occurred.
repeated string stack_entries = 1;
Type | Description |
DebugInfo.Builder | This builder for chaining. |
clone()
public DebugInfo.Builder clone()
Type | Description |
DebugInfo.Builder |
getDefaultInstanceForType()
public DebugInfo getDefaultInstanceForType()
Type | Description |
DebugInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDetail()
public String getDetail()
Additional debugging information provided by the server.
string detail = 2;
Type | Description |
String | The detail. |
getDetailBytes()
public ByteString getDetailBytes()
Additional debugging information provided by the server.
string detail = 2;
Type | Description |
ByteString | The bytes for detail. |
getStackEntries(int index)
public String getStackEntries(int index)
The stack trace entries indicating where the error occurred.
repeated string stack_entries = 1;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The stackEntries at the given index. |
getStackEntriesBytes(int index)
public ByteString getStackEntriesBytes(int index)
The stack trace entries indicating where the error occurred.
repeated string stack_entries = 1;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the stackEntries at the given index. |
getStackEntriesCount()
public int getStackEntriesCount()
The stack trace entries indicating where the error occurred.
repeated string stack_entries = 1;
Type | Description |
int | The count of stackEntries. |
getStackEntriesList()
public ProtocolStringList getStackEntriesList()
The stack trace entries indicating where the error occurred.
repeated string stack_entries = 1;
Type | Description |
ProtocolStringList | A list containing the stackEntries. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DebugInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DebugInfo.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DebugInfo.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DebugInfo.Builder |
mergeFrom(DebugInfo other)
public DebugInfo.Builder mergeFrom(DebugInfo other)
Name | Description |
other | DebugInfo |
Type | Description |
DebugInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DebugInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DebugInfo.Builder |
setDetail(String value)
public DebugInfo.Builder setDetail(String value)
Additional debugging information provided by the server.
string detail = 2;
Name | Description |
value | String The detail to set. |
Type | Description |
DebugInfo.Builder | This builder for chaining. |
setDetailBytes(ByteString value)
public DebugInfo.Builder setDetailBytes(ByteString value)
Additional debugging information provided by the server.
string detail = 2;
Name | Description |
value | ByteString The bytes for detail to set. |
Type | Description |
DebugInfo.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DebugInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DebugInfo.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DebugInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DebugInfo.Builder |
setStackEntries(int index, String value)
public DebugInfo.Builder setStackEntries(int index, String value)
The stack trace entries indicating where the error occurred.
repeated string stack_entries = 1;
Name | Description |
index | int The index to set the value at. |
value | String The stackEntries to set. |
Type | Description |
DebugInfo.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DebugInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DebugInfo.Builder |