LogQuery.Builder (Google App Engine API for Java)

com.google.appengine.api.log

Class LogQuery.Builder

  • java.lang.Object
    • com.google.appengine.api.log.LogQuery.Builder
  • Enclosing class:
    LogQuery


    public static final class LogQuery.Builder
    extends java.lang.Object
    Contains static creation methods for LogQuery.
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • withOffset

        public static LogQuery withOffset(java.lang.String offset)
        Create a LogQuery with the given offset. Shorthand for LogQuery.Builder.withDefaults().offset(offset);. Please read the LogQuery class javadoc for an explanation of how offsets are used.
        Parameters:
        offset - the offset to use.
        Returns:
        The newly created LogQuery instance.
      • withStartTimeMillis

        public static LogQuery withStartTimeMillis(long startTimeMillis)
        Create a LogQuery with the given start time. Shorthand for LogQuery.Builder.withDefaults().startTimeMillis(startTimeMillis);. Please read the LogQuery class javadoc for an explanation of how start time is used.
        Parameters:
        startTimeMillis - the start time to use, in milliseconds.
        Returns:
        The newly created LogQuery instance.
      • withStartTimeUsec

        public static LogQuery withStartTimeUsec(long startTimeUsec)
        Create a LogQuery with the given start time. Shorthand for LogQuery.Builder.withDefaults().startTimeUsec(startTimeUsec);. Please read the LogQuery class javadoc for an explanation of how start time is used.
        Parameters:
        startTimeUsec - the start time to use, in microseconds.
        Returns:
        The newly created LogQuery instance.
      • withEndTimeMillis

        public static LogQuery withEndTimeMillis(long endTimeMillis)
        Create a LogQuery with the given end time. Shorthand for LogQuery.Builder.withDefaults().endTimeMillis(endTimeMillis);. Please read the LogQuery class javadoc for an explanation of how end time is used.
        Parameters:
        endTimeMillis - the start time to use, in milliseconds.
        Returns:
        The newly created LogQuery instance.
      • withEndTimeUsec

        public static LogQuery withEndTimeUsec(long endTimeUsec)
        Create a LogQuery with the given end time. Shorthand for LogQuery.Builder.withDefaults().endTimeUsec(endTimeUsec);. Please read the LogQuery class javadoc for an explanation of how end time is used.
        Parameters:
        endTimeUsec - the start time to use, in microseconds.
        Returns:
        The newly created LogQuery instance.
      • withBatchSize

        public static LogQuery withBatchSize(int batchSize)
        Create a LogQuery with the given batch size. Shorthand for LogQuery.Builder.withDefaults().batchSize(batchSize);. Please read the LogQuery class javadoc for an explanation of how batch size is used.
        Parameters:
        batchSize - the batch size to set.
        Returns:
        The newly created LogQuery instance.
      • withMinLogLevel

        public static LogQuery withMinLogLevel(LogService.LogLevel minLogLevel)
        Create a LogQuery with the given minimum log level. Shorthand for LogQuery.Builder.withDefaults().minLogLevel(minLogLevel);. Please read the LogQuery class javadoc for an explanation of how minimum log level is used.
        Parameters:
        minLogLevel - the minimum log level to set.
        Returns:
        The newly created LogQuery instance.
      • withIncludeIncomplete

        public static LogQuery withIncludeIncomplete(boolean includeIncomplete)
        Create a LogQuery with the given include incomplete setting. Shorthand for LogQuery.Builder.withDefaults().includeIncomplete(includeIncomplete);. Please read the