Class DebugInfo.Builder (2.7.4)

public static final class DebugInfo.Builder extends GeneratedMessageV3.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
TypeDescription
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
NameDescription
valuesIterable<String>

The stackEntries to add.

Returns
TypeDescription
DebugInfo.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DebugInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DebugInfo.Builder
Overrides

addStackEntries(String value)

public DebugInfo.Builder addStackEntries(String value)

The stack trace entries indicating where the error occurred.

repeated string stack_entries = 1;

Parameter
NameDescription
valueString

The stackEntries to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the stackEntries to add.

Returns
TypeDescription
DebugInfo.Builder

This builder for chaining.

build()

public DebugInfo build()
Returns
TypeDescription
DebugInfo

buildPartial()

public DebugInfo buildPartial()
Returns
TypeDescription
DebugInfo

clear()

public DebugInfo.Builder clear()
Returns
TypeDescription
DebugInfo.Builder
Overrides

clearDetail()

public DebugInfo.Builder clearDetail()

Additional debugging information provided by the server.

string detail = 2;

Returns
TypeDescription
DebugInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DebugInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DebugInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DebugInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DebugInfo.Builder
Overrides

clearStackEntries()

public DebugInfo.Builder clearStackEntries()

The stack trace entries indicating where the error occurred.

repeated string stack_entries = 1;

Returns
TypeDescription
DebugInfo.Builder

This builder for chaining.

clone()

public DebugInfo.Builder clone()
Returns
TypeDescription
DebugInfo.Builder
Overrides

getDefaultInstanceForType()

public DebugInfo getDefaultInstanceForType()
Returns
TypeDescription
DebugInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDetail()

public String getDetail()

Additional debugging information provided by the server.

string detail = 2;

Returns
TypeDescription
String

The detail.

getDetailBytes()

public ByteString getDetailBytes()

Additional debugging information provided by the server.

string detail = 2;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of stackEntries.

getStackEntriesList()

public ProtocolStringList getStackEntriesList()

The stack trace entries indicating where the error occurred.

repeated string stack_entries = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the stackEntries.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DebugInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DebugInfo.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DebugInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DebugInfo.Builder
Overrides

mergeFrom(DebugInfo other)

public DebugInfo.Builder mergeFrom(DebugInfo other)
Parameter
NameDescription
otherDebugInfo
Returns
TypeDescription
DebugInfo.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DebugInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DebugInfo.Builder
Overrides

setDetail(String value)

public DebugInfo.Builder setDetail(String value)

Additional debugging information provided by the server.

string detail = 2;

Parameter
NameDescription
valueString

The detail to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for detail to set.

Returns
TypeDescription
DebugInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DebugInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DebugInfo.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DebugInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DebugInfo.Builder
Overrides

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
NameDescription
indexint

The index to set the value at.

valueString

The stackEntries to set.

Returns
TypeDescription
DebugInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DebugInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DebugInfo.Builder
Overrides