| Constructor and Description |
|---|
LogQuery.Builder() |
| Modifier and Type | Method and Description |
|---|---|
static LogQuery |
withBatchSize(int batchSize)
Create a
LogQuery with the given batch size. |
static LogQuery |
withDefaults()
Helper method for creating a
LogQuery instance with
default values. |
static LogQuery |
withEndTimeMillis(long endTimeMillis)
Create a
LogQuery with the given end time. |
static LogQuery |
withEndTimeUsec(long endTimeUsec)
Create a
LogQuery with the given end time. |
static LogQuery |
withIncludeAppLogs(boolean includeAppLogs)
Create a
LogQuery with include application logs set. |
static LogQuery |
withIncludeIncomplete(boolean includeIncomplete)
Create a
LogQuery with the given include incomplete setting. |
static LogQuery |
withMajorVersionIds(java.util.List<java.lang.String> versionIds)
Create a
LogQuery with the given major version IDs. |
static LogQuery |
withMinLogLevel(LogService.LogLevel minLogLevel)
Create a
LogQuery with the given minimum log level. |
static LogQuery |
withModuleVersions(java.util.List<
Create a
LogQuery with the given module and version IDs. |
static LogQuery |
withOffset(java.lang.String offset)
Create a
LogQuery with the given offset. |
static LogQuery |
withRequestIds(java.util.List<java.lang.String> requestIds)
Create a
LogQuery with the given request IDs. |
static LogQuery |
withServerVersions(java.util.List<
Deprecated.
Use
withModuleVersions(java.util.List<<any>>) instead. |
static LogQuery |
withStartTimeMillis(long startTimeMillis)
Create a
LogQuery with the given start time. |
static LogQuery |
withStartTimeUsec(long startTimeUsec)
Create a
LogQuery with the given start time. |
public static LogQuery withOffset(java.lang.String offset)
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.offset - the offset to use.public static LogQuery withStartTimeMillis(long startTimeMillis)
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.startTimeMillis - the start time to use, in milliseconds.public static LogQuery withStartTimeUsec(long startTimeUsec)
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.startTimeUsec - the start time to use, in microseconds.public static LogQuery withEndTimeMillis(long endTimeMillis)
LogQuery with the given end time.
Shorthand for LogQuery.Builder.withDefaults().endTimeMillis(startTimeMillis);.
Please read the LogQuery class javadoc for an explanation of
how end time is used.endTimeMillis - the start time to use, in milliseconds.public static LogQuery withEndTimeUsec(long endTimeUsec)
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.endTimeUsec - the start time to use, in microseconds.public static LogQuery withBatchSize(int batchSize)
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.batchSize - the batch size to set.public static LogQuery withMinLogLevel(LogService.LogLevel minLogLevel)
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.minLogLevel - the minimum log level to set.public static LogQuery withIncludeIncomplete(boolean includeIncomplete)
LogQuery with the given include incomplete setting.
Shorthand for
LogQuery.Builder.withDefaults().includeIncomplete(includeIncomplete);.
Please read the LogQuery class javadoc for an explanation of
how include incomplete is used.includeIncomplete - the inclusion value to set.public static LogQuery withIncludeAppLogs(boolean includeAppLogs)
LogQuery with include application logs set.
Shorthand for LogQuery.Builder.withDefaults().includeAppLogs(includeAppLogs);.
Please read the LogQuery class javadoc for an explanation of
the include application logs setting.includeAppLogs - the inclusion value to set.public static LogQuery withMajorVersionIds(java.util.List<java.lang.String> versionIds)
LogQuery with the given major version IDs.
Shorthand for LogQuery.Builder.withDefaults().majorVersionIds(versionIds);.
Please read the LogQuery class javadoc for an explanation of
how the list of major version ids is used.versionIds - the major version id list to set.@Deprecated public static LogQuery withServerVersions(java.util.List<> serverVersionIds)
withModuleVersions(java.util.List<<any>>) instead.LogQuery with the given server and version IDs.
Shorthand for LogQuery.Builder.withDefaults().serverVersions(serverVersionIds);.
Please read the LogQuery class javadoc for an explanation of
how the list of servers and versions is used.serverVersionIds - the server version id list to set.public static LogQuery withModuleVersions(java.util.List<> moduleVersionIds)
LogQuery with the given module and version IDs.
Shorthand for LogQuery.Builder.withDefaults().moduleVersions(moduleVersionIds);.
Please read the LogQuery class javadoc for an explanation of
how the list of modules and versions is used.moduleVersionIds - the module version id list to set.public static LogQuery withRequestIds(java.util.List<java.lang.String> requestIds)
LogQuery with the given request IDs.
Shorthand for LogQuery.Builder.withDefaults().requestIds(requestIds);.
See the LogQuery class javadoc for an explanation of
how the list of request ids is used.requestIds - the request id list to set.public static LogQuery withDefaults()