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. This data should be provided by the application when reporting an error, unless the error report has been generated automatically from Google App Engine logs. All fields are optional.Protobuf type
google.devtools.clouderrorreporting.v1beta1.SourceLocationgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<SourceLocation.Builder>public SourceLocation.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<SourceLocation.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<SourceLocation.Builder>public SourceLocation getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic SourceLocation build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic SourceLocation buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic SourceLocation.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<SourceLocation.Builder>public SourceLocation.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<SourceLocation.Builder>public SourceLocation.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<SourceLocation.Builder>public SourceLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<SourceLocation.Builder>public SourceLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<SourceLocation.Builder>public SourceLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<SourceLocation.Builder>public SourceLocation.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<SourceLocation.Builder>public SourceLocation.Builder mergeFrom(SourceLocation other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<SourceLocation.Builder>public SourceLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<SourceLocation.Builder>java.io.IOExceptionpublic java.lang.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;getFilePath in interface SourceLocationOrBuilderpublic 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;getFilePathBytes in interface SourceLocationOrBuilderpublic SourceLocation.Builder setFilePath(java.lang.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;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;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;public int getLineNumber()
1-based. 0 indicates that the line number is unknown.
int32 line_number = 2;getLineNumber in interface SourceLocationOrBuilderpublic SourceLocation.Builder setLineNumber(int value)
1-based. 0 indicates that the line number is unknown.
int32 line_number = 2;public SourceLocation.Builder clearLineNumber()
1-based. 0 indicates that the line number is unknown.
int32 line_number = 2;public java.lang.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;getFunctionName in interface SourceLocationOrBuilderpublic 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;getFunctionNameBytes in interface SourceLocationOrBuilderpublic SourceLocation.Builder setFunctionName(java.lang.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;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;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;public final SourceLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<SourceLocation.Builder>public final SourceLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<SourceLocation.Builder>