Class DebugInfo.Builder (2.65.0)

public static final class DebugInfo.Builder extends GeneratedMessage.Builder<DebugInfo.Builder> implements DebugInfoOrBuilder

Describes additional debugging info.

Protobuf type google.rpc.DebugInfo

Implements

DebugInfoOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
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;

Parameter
Name Description
values Iterable<String>

The stackEntries to add.

Returns
Type Description
DebugInfo.Builder

This builder for chaining.

addStackEntries(String value)

public DebugInfo.Builder addStackEntries(String value)

The stack trace entries indicating where the error occurred.

repeated string stack_entries = 1;

Parameter
Name Description
value String

The stackEntries to add.

Returns
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;

Parameter
Name Description
value ByteString

The bytes of the stackEntries to add.

Returns
Type Description
DebugInfo.Builder

This builder for chaining.

build()

public DebugInfo build()
Returns
Type Description
DebugInfo

buildPartial()

public DebugInfo buildPartial()
Returns
Type Description
DebugInfo

clear()

public DebugInfo.Builder clear()
Returns
Type Description
DebugInfo.Builder
Overrides

clearDetail()

public DebugInfo.Builder clearDetail()

Additional debugging information provided by the server.

string detail = 2;

Returns
Type Description
DebugInfo.Builder

This builder for chaining.

clearStackEntries()

public DebugInfo.Builder clearStackEntries()

The stack trace entries indicating where the error occurred.

repeated string stack_entries = 1;

Returns
Type Description
DebugInfo.Builder

This builder for chaining.

getDefaultInstanceForType()

public DebugInfo getDefaultInstanceForType()
Returns
Type Description
DebugInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDetail()

public String getDetail()

Additional debugging information provided by the server.

string detail = 2;

Returns
Type Description
String

The detail.

getDetailBytes()

public ByteString getDetailBytes()

Additional debugging information provided by the server.

string detail = 2;

Returns
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;

Parameter
Name Description
index int

The index of the element to return.

Returns
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;

Parameter
Name Description
index int

The index of the value to return.

Returns
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;

Returns
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;

Returns
Type Description
ProtocolStringList

A list containing the stackEntries.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DebugInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DebugInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DebugInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DebugInfo.Builder
Overrides

mergeFrom(DebugInfo other)

public DebugInfo.Builder mergeFrom(DebugInfo other)
Parameter
Name Description
other DebugInfo
Returns
Type Description
DebugInfo.Builder

setDetail(String value)

public DebugInfo.Builder setDetail(String value)

Additional debugging information provided by the server.

string detail = 2;

Parameter
Name Description
value String

The detail to set.

Returns
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;

Parameter
Name Description
value ByteString

The bytes for detail to set.

Returns
Type Description
DebugInfo.Builder

This builder for chaining.

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;

Parameters
Name Description
index int

The index to set the value at.

value String

The stackEntries to set.

Returns
Type Description
DebugInfo.Builder

This builder for chaining.