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()
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. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DebugInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
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 |
clearDetail()
public DebugInfo.Builder clearDetail()
Additional debugging information provided by the server.
string detail = 2;
Returns | |
---|---|
Type | Description |
DebugInfo.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DebugInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
DebugInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DebugInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
DebugInfo.Builder |
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. |
clone()
public DebugInfo.Builder clone()
Returns | |
---|---|
Type | Description |
DebugInfo.Builder |
getDefaultInstanceForType()
public DebugInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DebugInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DebugInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
DebugInfo.Builder |
mergeFrom(DebugInfo other)
public DebugInfo.Builder mergeFrom(DebugInfo other)
Parameter | |
---|---|
Name | Description |
other | DebugInfo |
Returns | |
---|---|
Type | Description |
DebugInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DebugInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
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. |
setField(Descriptors.FieldDescriptor field, Object value)
public DebugInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
DebugInfo.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DebugInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
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;
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. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DebugInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DebugInfo.Builder |