public static final class LogEntrySourceLocation.Builder extends GeneratedMessageV3.Builder<LogEntrySourceLocation.Builder> implements LogEntrySourceLocationOrBuilder
Additional information about the source code location that produced the log entry.Protobuf type
google.logging.v2.LogEntrySourceLocationgetAllFields, 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<LogEntrySourceLocation.Builder>public LogEntrySourceLocation.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<LogEntrySourceLocation.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<LogEntrySourceLocation.Builder>public LogEntrySourceLocation getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic LogEntrySourceLocation build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic LogEntrySourceLocation buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic LogEntrySourceLocation.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<LogEntrySourceLocation.Builder>public LogEntrySourceLocation.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<LogEntrySourceLocation.Builder>public LogEntrySourceLocation.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<LogEntrySourceLocation.Builder>public LogEntrySourceLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<LogEntrySourceLocation.Builder>public LogEntrySourceLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<LogEntrySourceLocation.Builder>public LogEntrySourceLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<LogEntrySourceLocation.Builder>public LogEntrySourceLocation.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<LogEntrySourceLocation.Builder>public LogEntrySourceLocation.Builder mergeFrom(LogEntrySourceLocation other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<LogEntrySourceLocation.Builder>public LogEntrySourceLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<LogEntrySourceLocation.Builder>java.io.IOExceptionpublic java.lang.String getFile()
Optional. Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.
string file = 1;getFile in interface LogEntrySourceLocationOrBuilderpublic ByteString getFileBytes()
Optional. Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.
string file = 1;getFileBytes in interface LogEntrySourceLocationOrBuilderpublic LogEntrySourceLocation.Builder setFile(java.lang.String value)
Optional. Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.
string file = 1;public LogEntrySourceLocation.Builder clearFile()
Optional. Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.
string file = 1;public LogEntrySourceLocation.Builder setFileBytes(ByteString value)
Optional. Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.
string file = 1;public long getLine()
Optional. Line within the source file. 1-based; 0 indicates no line number available.
int64 line = 2;getLine in interface LogEntrySourceLocationOrBuilderpublic LogEntrySourceLocation.Builder setLine(long value)
Optional. Line within the source file. 1-based; 0 indicates no line number available.
int64 line = 2;public LogEntrySourceLocation.Builder clearLine()
Optional. Line within the source file. 1-based; 0 indicates no line number available.
int64 line = 2;public java.lang.String getFunction()
Optional. Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information may be used in contexts such as the logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function` (Python).
string function = 3;getFunction in interface LogEntrySourceLocationOrBuilderpublic ByteString getFunctionBytes()
Optional. Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information may be used in contexts such as the logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function` (Python).
string function = 3;getFunctionBytes in interface LogEntrySourceLocationOrBuilderpublic LogEntrySourceLocation.Builder setFunction(java.lang.String value)
Optional. Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information may be used in contexts such as the logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function` (Python).
string function = 3;public LogEntrySourceLocation.Builder clearFunction()
Optional. Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information may be used in contexts such as the logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function` (Python).
string function = 3;public LogEntrySourceLocation.Builder setFunctionBytes(ByteString value)
Optional. Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information may be used in contexts such as the logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function` (Python).
string function = 3;public final LogEntrySourceLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<LogEntrySourceLocation.Builder>public final LogEntrySourceLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<LogEntrySourceLocation.Builder>