public static final class SourceLocation.Builder extends com.google.protobuf.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| Modifier and Type | Method and Description |
|---|---|
SourceLocation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
SourceLocation |
build() |
SourceLocation |
buildPartial() |
SourceLocation.Builder |
clear() |
SourceLocation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SourceLocation.Builder |
clearFilePath()
The source code filename, which can include a truncated relative
path, or a full path from a production machine.
|
SourceLocation.Builder |
clearFunctionName()
Human-readable name of a function or method.
|
SourceLocation.Builder |
clearLineNumber()
1-based.
|
SourceLocation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SourceLocation.Builder |
clone() |
SourceLocation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getFilePath()
The source code filename, which can include a truncated relative
path, or a full path from a production machine.
|
com.google.protobuf.ByteString |
getFilePathBytes()
The source code filename, which can include a truncated relative
path, or a full path from a production machine.
|
java.lang.String |
getFunctionName()
Human-readable name of a function or method.
|
com.google.protobuf.ByteString |
getFunctionNameBytes()
Human-readable name of a function or method.
|
int |
getLineNumber()
1-based.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SourceLocation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SourceLocation.Builder |
mergeFrom(com.google.protobuf.Message other) |
SourceLocation.Builder |
mergeFrom(SourceLocation other) |
SourceLocation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SourceLocation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
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.
|
SourceLocation.Builder |
setFilePathBytes(com.google.protobuf.ByteString value)
The source code filename, which can include a truncated relative
path, or a full path from a production machine.
|
SourceLocation.Builder |
setFunctionName(java.lang.String value)
Human-readable name of a function or method.
|
SourceLocation.Builder |
setFunctionNameBytes(com.google.protobuf.ByteString value)
Human-readable name of a function or method.
|
SourceLocation.Builder |
setLineNumber(int value)
1-based.
|
SourceLocation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
SourceLocation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>public SourceLocation.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>public SourceLocation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SourceLocation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SourceLocation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SourceLocation.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>public SourceLocation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>public SourceLocation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>public SourceLocation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>public SourceLocation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>public SourceLocation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>public SourceLocation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SourceLocation.Builder>public SourceLocation.Builder mergeFrom(SourceLocation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>public SourceLocation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.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.
optional string file_path = 1;getFilePath in interface SourceLocationOrBuilderpublic com.google.protobuf.ByteString getFilePathBytes()
The source code filename, which can include a truncated relative path, or a full path from a production machine.
optional 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.
optional 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.
optional string file_path = 1;public SourceLocation.Builder setFilePathBytes(com.google.protobuf.ByteString value)
The source code filename, which can include a truncated relative path, or a full path from a production machine.
optional string file_path = 1;public int getLineNumber()
1-based. 0 indicates that the line number is unknown.
optional int32 line_number = 2;getLineNumber in interface SourceLocationOrBuilderpublic SourceLocation.Builder setLineNumber(int value)
1-based. 0 indicates that the line number is unknown.
optional int32 line_number = 2;public SourceLocation.Builder clearLineNumber()
1-based. 0 indicates that the line number is unknown.
optional 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.
optional string function_name = 4;getFunctionName in interface SourceLocationOrBuilderpublic com.google.protobuf.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.
optional 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.
optional 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.
optional string function_name = 4;public SourceLocation.Builder setFunctionNameBytes(com.google.protobuf.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.
optional string function_name = 4;public final SourceLocation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>public final SourceLocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SourceLocation.Builder>