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.SourceLocation
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<SourceLocation.Builder>
public SourceLocation.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<SourceLocation.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<SourceLocation.Builder>
public SourceLocation getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public SourceLocation build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public SourceLocation buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public SourceLocation.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<SourceLocation.Builder>
public SourceLocation.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<SourceLocation.Builder>
public SourceLocation.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<SourceLocation.Builder>
public SourceLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<SourceLocation.Builder>
public SourceLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<SourceLocation.Builder>
public SourceLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<SourceLocation.Builder>
public SourceLocation.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<SourceLocation.Builder>
public SourceLocation.Builder mergeFrom(SourceLocation other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<SourceLocation.Builder>
public SourceLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<SourceLocation.Builder>
java.io.IOException
public 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 SourceLocationOrBuilder
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;
getFilePathBytes
in interface SourceLocationOrBuilder
public 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 SourceLocationOrBuilder
public 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 SourceLocationOrBuilder
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;
getFunctionNameBytes
in interface SourceLocationOrBuilder
public 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.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<SourceLocation.Builder>
public final SourceLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<SourceLocation.Builder>