- 0.175.0-beta (latest)
- 0.174.0-beta
- 0.173.0-beta
- 0.172.0-beta
- 0.170.0-beta
- 0.169.0-beta
- 0.168.0-beta
- 0.167.0-beta
- 0.166.0-beta
- 0.165.0-beta
- 0.164.0-beta
- 0.163.0-beta
- 0.162.0-beta
- 0.161.0-beta
- 0.160.0-beta
- 0.158.0-beta
- 0.157.0-beta
- 0.156.0-beta
- 0.155.0-beta
- 0.154.0-beta
- 0.153.0-beta
- 0.152.0-beta
- 0.151.0-beta
- 0.150.0-beta
- 0.149.0-beta
- 0.148.0-beta
- 0.145.0-beta
- 0.144.0-beta
- 0.143.0-beta
- 0.142.0-beta
- 0.141.0-beta
- 0.140.0-beta
- 0.139.0-beta
- 0.138.0-beta
- 0.137.0-beta
- 0.136.0-beta
- 0.135.0-beta
- 0.134.0-beta
- 0.133.0-beta
- 0.132.0-beta
- 0.130.0-beta
- 0.129.0-beta
- 0.128.0-beta
- 0.127.0-beta
- 0.126.0-beta
- 0.125.0-beta
- 0.124.15-beta
- 0.123.4-beta
- 0.122.23-beta
public static final class SourceLocation.Builder extends GeneratedMessageV3.Builder<SourceLocation.Builder> implements SourceLocationOrBuilder
Indicates a location in the source code of the service for which errors are
reported. functionName
must be provided by the application when reporting
an error, unless the error report contains a message
with a supported
exception stack trace. All fields are optional for the later case.
Protobuf type google.devtools.clouderrorreporting.v1beta1.SourceLocation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SourceLocation.BuilderImplements
SourceLocationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SourceLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SourceLocation.Builder |
build()
public SourceLocation build()
Type | Description |
SourceLocation |
buildPartial()
public SourceLocation buildPartial()
Type | Description |
SourceLocation |
clear()
public SourceLocation.Builder clear()
Type | Description |
SourceLocation.Builder |
clearField(Descriptors.FieldDescriptor field)
public SourceLocation.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
SourceLocation.Builder |
clearFilePath()
public SourceLocation.Builder clearFilePath()
The source code filename, which can include a truncated relative path, or a full path from a production machine.
string file_path = 1;
Type | Description |
SourceLocation.Builder | This builder for chaining. |
clearFunctionName()
public SourceLocation.Builder clearFunctionName()
Human-readable name of a function or method.
The value can include optional context like the class or package name.
For example, my.package.MyClass.method
in case of Java.
string function_name = 4;
Type | Description |
SourceLocation.Builder | This builder for chaining. |
clearLineNumber()
public SourceLocation.Builder clearLineNumber()
1-based. 0 indicates that the line number is unknown.
int32 line_number = 2;
Type | Description |
SourceLocation.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SourceLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
SourceLocation.Builder |
clone()
public SourceLocation.Builder clone()
Type | Description |
SourceLocation.Builder |
getDefaultInstanceForType()
public SourceLocation getDefaultInstanceForType()
Type | Description |
SourceLocation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getFilePath()
public String getFilePath()
The source code filename, which can include a truncated relative path, or a full path from a production machine.
string file_path = 1;
Type | Description |
String | The filePath. |
getFilePathBytes()
public ByteString getFilePathBytes()
The source code filename, which can include a truncated relative path, or a full path from a production machine.
string file_path = 1;
Type | Description |
ByteString | The bytes for filePath. |
getFunctionName()
public String getFunctionName()
Human-readable name of a function or method.
The value can include optional context like the class or package name.
For example, my.package.MyClass.method
in case of Java.
string function_name = 4;
Type | Description |
String | The functionName. |
getFunctionNameBytes()
public ByteString getFunctionNameBytes()
Human-readable name of a function or method.
The value can include optional context like the class or package name.
For example, my.package.MyClass.method
in case of Java.
string function_name = 4;
Type | Description |
ByteString | The bytes for functionName. |
getLineNumber()
public int getLineNumber()
1-based. 0 indicates that the line number is unknown.
int32 line_number = 2;
Type | Description |
int | The lineNumber. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(SourceLocation other)
public SourceLocation.Builder mergeFrom(SourceLocation other)
Name | Description |
other | SourceLocation |
Type | Description |
SourceLocation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SourceLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SourceLocation.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public SourceLocation.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
SourceLocation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SourceLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SourceLocation.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SourceLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SourceLocation.Builder |
setFilePath(String value)
public SourceLocation.Builder setFilePath(String value)
The source code filename, which can include a truncated relative path, or a full path from a production machine.
string file_path = 1;
Name | Description |
value | String The filePath to set. |
Type | Description |
SourceLocation.Builder | This builder for chaining. |
setFilePathBytes(ByteString value)
public SourceLocation.Builder setFilePathBytes(ByteString value)
The source code filename, which can include a truncated relative path, or a full path from a production machine.
string file_path = 1;
Name | Description |
value | ByteString The bytes for filePath to set. |
Type | Description |
SourceLocation.Builder | This builder for chaining. |
setFunctionName(String value)
public SourceLocation.Builder setFunctionName(String value)
Human-readable name of a function or method.
The value can include optional context like the class or package name.
For example, my.package.MyClass.method
in case of Java.
string function_name = 4;
Name | Description |
value | String The functionName to set. |
Type | Description |
SourceLocation.Builder | This builder for chaining. |
setFunctionNameBytes(ByteString value)
public SourceLocation.Builder setFunctionNameBytes(ByteString value)
Human-readable name of a function or method.
The value can include optional context like the class or package name.
For example, my.package.MyClass.method
in case of Java.
string function_name = 4;
Name | Description |
value | ByteString The bytes for functionName to set. |
Type | Description |
SourceLocation.Builder | This builder for chaining. |
setLineNumber(int value)
public SourceLocation.Builder setLineNumber(int value)
1-based. 0 indicates that the line number is unknown.
int32 line_number = 2;
Name | Description |
value | int The lineNumber to set. |
Type | Description |
SourceLocation.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SourceLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
SourceLocation.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SourceLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SourceLocation.Builder |