Interface LogEntrySourceLocationOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    LogEntrySourceLocation, LogEntrySourceLocation.Builder

    public interface LogEntrySourceLocationOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getFile()
      Optional.
      com.google.protobuf.ByteString getFileBytes()
      Optional.
      String getFunction()
      Optional.
      com.google.protobuf.ByteString getFunctionBytes()
      Optional.
      long getLine()
      Optional.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getFile

        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 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The file.
      • getFileBytes

        com.google.protobuf.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 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for file.
      • getLine

        long getLine()
         Optional. Line within the source file. 1-based; 0 indicates no line number
         available.
         
        int64 line = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The line.
      • getFunction

        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 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The function.
      • getFunctionBytes

        com.google.protobuf.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 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for function.