A B C D E F G H I L M N O P R S T U V W 

A

addHandler(Logger, LoggingHandler) - Static method in class com.google.cloud.logging.LoggingHandler
Adds the provided LoggingHandler to logger.
addLabel(String, String) - Method in class com.google.cloud.logging.LogEntry.Builder
Adds a label to the log entry's labels.
ALERT - Static variable in class com.google.cloud.logging.LoggingLevel
A level to be used when a person must take an action immediately.
applyToAllApiMethods(ApiCallSettings.Builder) - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings.Builder
Applies the given settings to all of the API methods in this service.
applyToAllApiMethods(ApiCallSettings.Builder) - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Settings.Builder
Applies the given settings to all of the API methods in this service.
applyToAllApiMethods(ApiCallSettings.Builder) - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings.Builder
Applies the given settings to all of the API methods in this service.
AsyncLoggingHandler - Class in com.google.cloud.logging
A logging handler that asynchronously outputs logs generated with Logger to Stackdriver Logging.
AsyncLoggingHandler() - Constructor for class com.google.cloud.logging.AsyncLoggingHandler
 
AsyncLoggingHandler(String) - Constructor for class com.google.cloud.logging.AsyncLoggingHandler
 
AsyncLoggingHandler(String, LoggingOptions) - Constructor for class com.google.cloud.logging.AsyncLoggingHandler
 
AsyncLoggingHandler(String, LoggingOptions, MonitoredResource) - Constructor for class com.google.cloud.logging.AsyncLoggingHandler
 

B

bucket() - Method in class com.google.cloud.logging.SinkInfo.Destination.BucketDestination
Returns the name of the Google Cloud Storage bucket this destination represents.
build() - Method in class com.google.cloud.logging.HttpRequest.Builder
Creates a HttpRequest object for this builder.
build() - Method in class com.google.cloud.logging.LogEntry.Builder
Creates a LogEntry object for this builder.
build() - Method in class com.google.cloud.logging.LoggingOptions.Builder
 
build() - Method in class com.google.cloud.logging.Metric.Builder
 
build() - Method in class com.google.cloud.logging.MetricInfo.Builder
Creates a MetricInfo object for this builder.
build() - Method in class com.google.cloud.logging.Operation.Builder
Creates an Operation object for this builder.
build() - Method in class com.google.cloud.logging.Sink.Builder
 
build() - Method in class com.google.cloud.logging.SinkInfo.Builder
Creates a SinkInfo object for this builder.
build() - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings.Builder
 
build() - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Settings.Builder
 
build() - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings.Builder
 
builder() - Static method in class com.google.cloud.logging.HttpRequest
Returns a builder for HttpRequest objects.
builder(Payload<?>) - Static method in class com.google.cloud.logging.LogEntry
Returns a builder for LogEntry objects given the entry payload.
builder() - Static method in class com.google.cloud.logging.LoggingOptions
 
builder(String, String) - Static method in class com.google.cloud.logging.MetricInfo
Returns a builder for MetricInfo objects given the name of the metric and its filter.
builder(String, String) - Static method in class com.google.cloud.logging.Operation
Returns a builder for Operation objects given the operation and producer identifiers.
builder(String, SinkInfo.Destination) - Static method in class com.google.cloud.logging.SinkInfo
Returns a builder for SinkInfo objects given the name of the sink and its destination.

C

cacheHit(boolean) - Method in class com.google.cloud.logging.HttpRequest.Builder
Sets whether or not an entity was served from cache (with or without validation).
cacheHit() - Method in class com.google.cloud.logging.HttpRequest
Returns whether or not an entity was served from cache (with or without validation).
cacheValidatedWithOriginServer(boolean) - Method in class com.google.cloud.logging.HttpRequest.Builder
Sets whether or not the response was validated with the origin server before being served from cache.
cacheValidatedWithOriginServer() - Method in class com.google.cloud.logging.HttpRequest
Returns whether or not the response was validated with the origin server before being served from cache.
clearLabels() - Method in class com.google.cloud.logging.LogEntry.Builder
Clears all the labels of the log entry.
close() - Method in class com.google.cloud.logging.LoggingHandler
Closes the handler and the associated Logging object.
close() - Method in class com.google.cloud.logging.spi.DefaultLoggingRpc
 
close() - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Api
Initiates an orderly shutdown in which preexisting calls continue but new calls are immediately cancelled.
close() - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Api
Initiates an orderly shutdown in which preexisting calls continue but new calls are immediately cancelled.
close() - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Api
Initiates an orderly shutdown in which preexisting calls continue but new calls are immediately cancelled.
com.google.cloud.logging - package com.google.cloud.logging
A client to Stackdriver Logging.
com.google.cloud.logging.spi - package com.google.cloud.logging.spi
 
com.google.cloud.logging.spi.v2 - package com.google.cloud.logging.spi.v2
A client to Google Cloud Logging API.
com.google.cloud.logging.spi.v2.testing - package com.google.cloud.logging.spi.v2.testing
 
com.google.cloud.logging.testing - package com.google.cloud.logging.testing
A testing helper for Stackdriver Logging.
ConfigServiceV2Api - Class in com.google.cloud.logging.spi.v2
Service Description:
ConfigServiceV2Api(ConfigServiceV2Settings) - Constructor for class com.google.cloud.logging.spi.v2.ConfigServiceV2Api
Constructs an instance of ConfigServiceV2Api, using the given settings.
ConfigServiceV2Settings - Class in com.google.cloud.logging.spi.v2
Settings class to configure an instance of ConfigServiceV2Api.
ConfigServiceV2Settings.Builder - Class in com.google.cloud.logging.spi.v2
Builder for ConfigServiceV2Settings.
create(SinkInfo) - Method in interface com.google.cloud.logging.Logging
Creates a new sink.
create(MetricInfo) - Method in interface com.google.cloud.logging.Logging
Creates a new metric.
create(LoggingOptions) - Method in class com.google.cloud.logging.LoggingOptions.DefaultLoggingFactory
 
create(LoggingOptions) - Method in class com.google.cloud.logging.LoggingOptions.DefaultLoggingRpcFactory
 
create(CreateSinkRequest) - Method in class com.google.cloud.logging.spi.DefaultLoggingRpc
 
create(CreateLogMetricRequest) - Method in class com.google.cloud.logging.spi.DefaultLoggingRpc
 
create(CreateSinkRequest) - Method in interface com.google.cloud.logging.spi.LoggingRpc
Sends a request to create a sink.
create(CreateLogMetricRequest) - Method in interface com.google.cloud.logging.spi.LoggingRpc
Sends a request to create a log metric.
create(ConfigServiceV2Settings) - Static method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Api
Constructs an instance of ConfigServiceV2Api, using the given settings.
create(LoggingServiceV2Settings) - Static method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Api
Constructs an instance of LoggingServiceV2Api, using the given settings.
create(MetricsServiceV2Settings) - Static method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Api
Constructs an instance of MetricsServiceV2Api, using the given settings.
create(String, InputStream) - Static method in class com.google.cloud.logging.testing.RemoteLoggingHelper
Creates a RemoteLoggingHelper object for the given project id and JSON key input stream.
create() - Static method in class com.google.cloud.logging.testing.RemoteLoggingHelper
Creates a RemoteLoggingHelper object using default project id and authentication credentials.
createAsync(SinkInfo) - Method in interface com.google.cloud.logging.Logging
Sends a request for creating a sink.
createAsync(MetricInfo) - Method in interface com.google.cloud.logging.Logging
Sends a request for creating a metric.
createChannel() - Method in class com.google.cloud.logging.spi.v2.testing.LocalLoggingHelper
Creates a channel for making requests to the in-memory service.
createLogMetric(String, LogMetric) - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Api
Creates a logs-based metric.
createLogMetric(CreateLogMetricRequest) - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Api
Creates a logs-based metric.
createLogMetricCallable() - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Api
Creates a logs-based metric.
createLogMetricSettings() - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings.Builder
Returns the builder for the settings used for calls to createLogMetric.
createLogMetricSettings() - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings
Returns the object with the settings used for calls to createLogMetric.
createSink(String, LogSink) - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Api
Creates a sink.
createSink(CreateSinkRequest) - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Api
Creates a sink.
createSinkCallable() - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Api
Creates a sink.
createSinkSettings() - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings.Builder
Returns the builder for the settings used for calls to createSink.
createSinkSettings() - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings
Returns the object with the settings used for calls to createSink.
createWithDefaults() - Static method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Api
Constructs an instance of ConfigServiceV2Api with default settings.
createWithDefaults() - Static method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Api
Constructs an instance of LoggingServiceV2Api with default settings.
createWithDefaults() - Static method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Api
Constructs an instance of MetricsServiceV2Api with default settings.
CRITICAL - Static variable in class com.google.cloud.logging.LoggingLevel
A level to be used when critical events cause more severe problems or brief outages.

D

data() - Method in class com.google.cloud.logging.Payload
Returns the log entry payload's data.
dataAsMap() - Method in class com.google.cloud.logging.Payload.JsonPayload
Returns the log entry's JSON data as an unmodifiable map.
dataset() - Method in class com.google.cloud.logging.SinkInfo.Destination.DatasetDestination
Returns the name of the Google Cloud BigQuery dataset this destination represents.
DEBUG - Static variable in class com.google.cloud.logging.LoggingLevel
A level to be used for debug or trace information.
DEFAULT_CONNECTION_SETTINGS - Static variable in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings
The default connection settings of the service.
DEFAULT_CONNECTION_SETTINGS - Static variable in class com.google.cloud.logging.spi.v2.LoggingServiceV2Settings
The default connection settings of the service.
DEFAULT_CONNECTION_SETTINGS - Static variable in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings
The default connection settings of the service.
DEFAULT_SERVICE_ADDRESS - Static variable in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings
The default address of the service.
DEFAULT_SERVICE_ADDRESS - Static variable in class com.google.cloud.logging.spi.v2.LoggingServiceV2Settings
The default address of the service.
DEFAULT_SERVICE_ADDRESS - Static variable in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings
The default address of the service.
DEFAULT_SERVICE_PORT - Static variable in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings
The default port of the service.
DEFAULT_SERVICE_PORT - Static variable in class com.google.cloud.logging.spi.v2.LoggingServiceV2Settings
The default port of the service.
DEFAULT_SERVICE_PORT - Static variable in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings
The default port of the service.
DEFAULT_SERVICE_SCOPES - Static variable in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings
The default scopes of the service.
DEFAULT_SERVICE_SCOPES - Static variable in class com.google.cloud.logging.spi.v2.LoggingServiceV2Settings
The default scopes of the service.
DEFAULT_SERVICE_SCOPES - Static variable in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings
The default scopes of the service.
defaultBuilder() - Static method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings
Returns a builder for this class with recommended defaults.
defaultBuilder() - Static method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Settings
Returns a builder for this class with recommended defaults.
defaultBuilder() - Static method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings
Returns a builder for this class with recommended defaults.
defaultHost() - Method in class com.google.cloud.logging.LoggingOptions
 
defaultInstance() - Static method in class com.google.cloud.logging.LoggingOptions
Returns a default LoggingOptions instance.
DefaultLoggingRpc - Class in com.google.cloud.logging.spi
 
DefaultLoggingRpc(LoggingOptions) - Constructor for class com.google.cloud.logging.spi.DefaultLoggingRpc
 
defaultRpcFactory() - Method in class com.google.cloud.logging.LoggingOptions
 
defaultServiceFactory() - Method in class com.google.cloud.logging.LoggingOptions
 
delete() - Method in class com.google.cloud.logging.Metric
Deletes this metric.
delete() - Method in class com.google.cloud.logging.Sink
Deletes this sink.
delete(DeleteSinkRequest) - Method in class com.google.cloud.logging.spi.DefaultLoggingRpc
 
delete(DeleteLogRequest) - Method in class com.google.cloud.logging.spi.DefaultLoggingRpc
 
delete(DeleteLogMetricRequest) - Method in class com.google.cloud.logging.spi.DefaultLoggingRpc
 
delete(DeleteSinkRequest) - Method in interface com.google.cloud.logging.spi.LoggingRpc
Sends a request to delete a sink.
delete(DeleteLogRequest) - Method in interface com.google.cloud.logging.spi.LoggingRpc
Sends a request to deletes a log.
delete(DeleteLogMetricRequest) - Method in interface com.google.cloud.logging.spi.LoggingRpc
Sends a request to delete a log metric.
deleteAsync() - Method in class com.google.cloud.logging.Metric
Sends a request for deleting this metric.
deleteAsync() - Method in class com.google.cloud.logging.Sink
Sends a request for deleting this sink.
deleteLog(String) - Method in interface com.google.cloud.logging.Logging
Deletes a log and all its log entries.
deleteLog(String) - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Api
Deletes a log and all its log entries.
deleteLog(DeleteLogRequest, StreamObserver<Empty>) - Method in class com.google.cloud.logging.spi.v2.testing.LocalLoggingImpl
 
deleteLogAsync(String) - Method in interface com.google.cloud.logging.Logging
Sends a request for deleting a log and all its log entries.
deleteLogCallable() - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Api
Deletes a log and all its log entries.
deleteLogMetric(String) - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Api
Deletes a logs-based metric.
deleteLogMetricCallable() - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Api
Deletes a logs-based metric.
deleteLogMetricSettings() - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings.Builder
Returns the builder for the settings used for calls to deleteLogMetric.
deleteLogMetricSettings() - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings
Returns the object with the settings used for calls to deleteLogMetric.
deleteLogSettings() - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Settings.Builder
Returns the builder for the settings used for calls to deleteLog.
deleteLogSettings() - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Settings
Returns the object with the settings used for calls to deleteLog.
deleteMetric(String) - Method in interface com.google.cloud.logging.Logging
Deletes the requested metric.
deleteMetricAsync(String) - Method in interface com.google.cloud.logging.Logging
Sends a request for deleting a metric.
deleteSink(String) - Method in interface com.google.cloud.logging.Logging
Deletes the requested sink.
deleteSink(String) - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Api
Deletes a sink.
deleteSinkAsync(String) - Method in interface com.google.cloud.logging.Logging
Sends a request for deleting a sink.
deleteSinkCallable() - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Api
Deletes a sink.
deleteSinkSettings() - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings.Builder
Returns the builder for the settings used for calls to deleteSink.
deleteSinkSettings() - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings
Returns the object with the settings used for calls to deleteSink.
description(String) - Method in class com.google.cloud.logging.Metric.Builder
 
description(String) - Method in class com.google.cloud.logging.MetricInfo.Builder
Sets an optional description for this metric.
description() - Method in class com.google.cloud.logging.MetricInfo
Returns an optional description for this metric.
destination(SinkInfo.Destination) - Method in class com.google.cloud.logging.Sink.Builder
 
destination(SinkInfo.Destination) - Method in class com.google.cloud.logging.SinkInfo.Builder
Sets the export destination.
destination() - Method in class com.google.cloud.logging.SinkInfo
Returns the export destination.

E

EMERGENCY - Static variable in class com.google.cloud.logging.LoggingLevel
A levet to be used when one or more systems are unusable.
equals(Object) - Method in class com.google.cloud.logging.HttpRequest
 
equals(Object) - Method in class com.google.cloud.logging.LogEntry
 
equals(Object) - Method in class com.google.cloud.logging.LoggingOptions
 
equals(Object) - Method in class com.google.cloud.logging.Metric
 
equals(Object) - Method in class com.google.cloud.logging.MetricInfo
 
equals(Object) - Method in class com.google.cloud.logging.Operation
 
equals(Object) - Method in class com.google.cloud.logging.Payload
 
equals(Object) - Method in class com.google.cloud.logging.Sink
 
equals(Object) - Method in class com.google.cloud.logging.SinkInfo.Destination.BucketDestination
 
equals(Object) - Method in class com.google.cloud.logging.SinkInfo.Destination.DatasetDestination
 
equals(Object) - Method in class com.google.cloud.logging.SinkInfo.Destination.TopicDestination
 
equals(Object) - Method in class com.google.cloud.logging.SinkInfo
 
ERROR - Static variable in class com.google.cloud.logging.LoggingLevel
A level to be used when events occur that are likely to cause problems.
executorFactory() - Method in class com.google.cloud.logging.LoggingOptions
 

F

filter(String) - Static method in class com.google.cloud.logging.Logging.EntryListOption
Returns an option to specify a filter to the log entries to be listed.
filter(String) - Method in class com.google.cloud.logging.Metric.Builder
 
filter(String) - Method in class com.google.cloud.logging.MetricInfo.Builder
Sets an advanced logs filter.
filter() - Method in class com.google.cloud.logging.MetricInfo
Returns an advanced logs filter.
filter(String) - Method in class com.google.cloud.logging.Sink.Builder
 
filter(String) - Method in class com.google.cloud.logging.SinkInfo.Builder
Sets an advanced logs filter.
filter() - Method in class com.google.cloud.logging.SinkInfo
Returns an advanced logs filter.
first(boolean) - Method in class com.google.cloud.logging.Operation.Builder
Sets whether the corresponding entry is the first log entry in the operation.
first() - Method in class com.google.cloud.logging.Operation
Returns true if the corresponding entry is the first log entry in the operation, false otherwise.
flush() - Method in class com.google.cloud.logging.LoggingHandler
 
formatForTest(String) - Static method in class com.google.cloud.logging.testing.RemoteLoggingHelper
Formats a resource name for testing purpose.
formatLogName(String, String) - Static method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Api
Formats a string containing the fully-qualified path to represent a log resource.
formatMetricName(String, String) - Static method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Api
Formats a string containing the fully-qualified path to represent a metric resource.
formatProjectName(String) - Static method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Api
Formats a string containing the fully-qualified path to represent a project resource.
formatProjectName(String) - Static method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Api
Formats a string containing the fully-qualified path to represent a project resource.
formatProjectName(String) - Static method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Api
Formats a string containing the fully-qualified path to represent a project resource.
formatSinkName(String, String) - Static method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Api
Formats a string containing the fully-qualified path to represent a sink resource.

G

get(GetSinkRequest) - Method in class com.google.cloud.logging.spi.DefaultLoggingRpc
 
get(GetLogMetricRequest) - Method in class com.google.cloud.logging.spi.DefaultLoggingRpc
 
get(GetSinkRequest) - Method in interface com.google.cloud.logging.spi.LoggingRpc
Sends a request to get a sink.
get(GetLogMetricRequest) - Method in interface com.google.cloud.logging.spi.LoggingRpc
Sends a request to get a log metric.
getDefaultConnectionSettings() - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings.Builder
 
getDefaultConnectionSettings() - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Settings.Builder
 
getDefaultConnectionSettings() - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings.Builder
 
getLoggingImpl() - Method in class com.google.cloud.logging.spi.v2.testing.LocalLoggingHelper
Returns the internal in-memory service.
getLogMetric(String) - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Api
Gets a logs-based metric.
getLogMetricCallable() - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Api
Gets a logs-based metric.
getLogMetricSettings() - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings.Builder
Returns the builder for the settings used for calls to getLogMetric.
getLogMetricSettings() - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings
Returns the object with the settings used for calls to getLogMetric.
getMetric(String) - Method in interface com.google.cloud.logging.Logging
Returns the requested metric or null if not found.
getMetricAsync(String) - Method in interface com.google.cloud.logging.Logging
Sends a request for getting a metric.
getSettings() - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Api
 
getSettings() - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Api
 
getSettings() - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Api
 
getSink(String) - Method in interface com.google.cloud.logging.Logging
Returns the requested sink or null if not found.
getSink(String) - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Api
Gets a sink.
getSinkAsync(String) - Method in interface com.google.cloud.logging.Logging
Sends a request for getting a sink.
getSinkCallable() - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Api
Gets a sink.
getSinkSettings() - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings.Builder
Returns the builder for the settings used for calls to getSink.
getSinkSettings() - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings
Returns the object with the settings used for calls to getSink.

H

hashCode() - Method in class com.google.cloud.logging.HttpRequest
Returns the number of HTTP response bytes inserted into cache.
hashCode() - Method in class com.google.cloud.logging.LogEntry
 
hashCode() - Method in class com.google.cloud.logging.LoggingOptions
 
hashCode() - Method in class com.google.cloud.logging.Metric
 
hashCode() - Method in class com.google.cloud.logging.MetricInfo
 
hashCode() - Method in class com.google.cloud.logging.Operation
 
hashCode() - Method in class com.google.cloud.logging.Payload
 
hashCode() - Method in class com.google.cloud.logging.Sink
 
hashCode() - Method in class com.google.cloud.logging.SinkInfo.Destination.BucketDestination
 
hashCode() - Method in class com.google.cloud.logging.SinkInfo.Destination.DatasetDestination
 
hashCode() - Method in class com.google.cloud.logging.SinkInfo.Destination.TopicDestination
 
hashCode() - Method in class com.google.cloud.logging.SinkInfo
 
HttpRequest - Class in com.google.cloud.logging
Objects of this class represent information about the (optional) HTTP request associated with a log entry.
httpRequest(HttpRequest) - Method in class com.google.cloud.logging.LogEntry.Builder
Sets information about the HTTP request associated with this log entry, if applicable.
httpRequest() - Method in class com.google.cloud.logging.LogEntry
Returns information about the HTTP request associated with this log entry, if applicable.
HttpRequest.Builder - Class in com.google.cloud.logging
A builder for HttpRequest objects.
HttpRequest.RequestMethod - Enum in com.google.cloud.logging
The HTTP request method.

I

id(String) - Method in class com.google.cloud.logging.Operation.Builder
Sets the operation identifier.
id() - Method in class com.google.cloud.logging.Operation
Returns the operation identifier.
insertId(String) - Method in class com.google.cloud.logging.LogEntry.Builder
Sets a unique ID for the log entry.
insertId() - Method in class com.google.cloud.logging.LogEntry
Returns a unique ID for the log entry.

L

labels(Map<String, String>) - Method in class com.google.cloud.logging.LogEntry.Builder
Sets an optional set of user-defined (key, value) data that provides additional information about the log entry.
labels() - Method in class com.google.cloud.logging.LogEntry
Returns an optional set of user-defined (key, value) data that provides additional information about the log entry.
labels(Map<String, String>) - Static method in class com.google.cloud.logging.Logging.WriteOption
Sets an option to specify (key, value) pairs that are added to the LogEntry.labels() of each log entry written, except when a log entry already has a value associated to the same key.
last(boolean) - Method in class com.google.cloud.logging.Operation.Builder
Sets whether the corresponding entry is the last log entry in the operation.
last() - Method in class com.google.cloud.logging.Operation
Returns true if the corresponding entry is the last log entry in the operation, false otherwise.
list(ListSinksRequest) - Method in class com.google.cloud.logging.spi.DefaultLoggingRpc
 
list(ListLogEntriesRequest) - Method in class com.google.cloud.logging.spi.DefaultLoggingRpc
 
list(ListMonitoredResourceDescriptorsRequest) - Method in class com.google.cloud.logging.spi.DefaultLoggingRpc
 
list(ListLogMetricsRequest) - Method in class com.google.cloud.logging.spi.DefaultLoggingRpc
 
list(ListSinksRequest) - Method in interface com.google.cloud.logging.spi.LoggingRpc
Sends a request to list the sinks in a project.
list(ListLogEntriesRequest) - Method in interface com.google.cloud.logging.spi.LoggingRpc
Sends a request to list log entries.
list(ListMonitoredResourceDescriptorsRequest) - Method in interface com.google.cloud.logging.spi.LoggingRpc
Sends a request to list monitored resource descriptors.
list(ListLogMetricsRequest) - Method in interface com.google.cloud.logging.spi.LoggingRpc
Sends a request to list the log metrics in a project.
listLogEntries(Logging.EntryListOption...) - Method in interface com.google.cloud.logging.Logging
Lists log entries.
listLogEntries(List<String>, String, String) - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Api
Lists log entries.
listLogEntries(ListLogEntriesRequest) - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Api
Lists log entries.
listLogEntries(ListLogEntriesRequest, StreamObserver<ListLogEntriesResponse>) - Method in class com.google.cloud.logging.spi.v2.testing.LocalLoggingImpl
 
listLogEntriesAsync(Logging.EntryListOption...) - Method in interface com.google.cloud.logging.Logging
Sends a request for listing log entries.
listLogEntriesCallable() - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Api
Lists log entries.
listLogEntriesPagedCallable() - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Api
Lists log entries.
listLogEntriesSettings() - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Settings.Builder
Returns the builder for the settings used for calls to listLogEntries.
listLogEntriesSettings() - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Settings
Returns the object with the settings used for calls to listLogEntries.
listLogMetrics(String) - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Api
Lists logs-based metrics.
listLogMetrics(ListLogMetricsRequest) - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Api
Lists logs-based metrics.
listLogMetricsCallable() - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Api
Lists logs-based metrics.
listLogMetricsPagedCallable() - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Api
Lists logs-based metrics.
listLogMetricsSettings() - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings.Builder
Returns the builder for the settings used for calls to listLogMetrics.
listLogMetricsSettings() - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings
Returns the object with the settings used for calls to listLogMetrics.
listMetrics(Logging.ListOption...) - Method in interface com.google.cloud.logging.Logging
Lists the metrics.
listMetricsAsync(Logging.ListOption...) - Method in interface com.google.cloud.logging.Logging
Sends a request for listing metrics.
listMonitoredResourceDescriptors(Logging.ListOption...) - Method in interface com.google.cloud.logging.Logging
Lists the monitored resource descriptors used by Stackdriver Logging.
listMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest) - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Api
Lists monitored resource descriptors that are used by Cloud Logging.
listMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest, StreamObserver<ListMonitoredResourceDescriptorsResponse>) - Method in class com.google.cloud.logging.spi.v2.testing.LocalLoggingImpl
 
listMonitoredResourceDescriptorsAsync(Logging.ListOption...) - Method in interface com.google.cloud.logging.Logging
Sends a request for listing monitored resource descriptors used by Stackdriver Logging.
listMonitoredResourceDescriptorsCallable() - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Api
Lists monitored resource descriptors that are used by Cloud Logging.
listMonitoredResourceDescriptorsPagedCallable() - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Api
Lists monitored resource descriptors that are used by Cloud Logging.
listMonitoredResourceDescriptorsSettings() - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Settings.Builder
Returns the builder for the settings used for calls to listMonitoredResourceDescriptors.
listMonitoredResourceDescriptorsSettings() - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Settings
Returns the object with the settings used for calls to listMonitoredResourceDescriptors.
listSinks(Logging.ListOption...) - Method in interface com.google.cloud.logging.Logging
Lists the sinks.
listSinks(String) - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Api
Lists sinks.
listSinks(ListSinksRequest) - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Api
Lists sinks.
listSinksAsync(Logging.ListOption...) - Method in interface com.google.cloud.logging.Logging
Sends a request for listing sinks.
listSinksCallable() - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Api
Lists sinks.
listSinksPagedCallable() - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Api
Lists sinks.
listSinksSettings() - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings.Builder
Returns the builder for the settings used for calls to listSinks.
listSinksSettings() - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings
Returns the object with the settings used for calls to listSinks.
LocalLoggingHelper - Class in com.google.cloud.logging.spi.v2.testing
LocalLoggingHelper runs an in-memory Logging server for use in tests.
LocalLoggingHelper(String) - Constructor for class com.google.cloud.logging.spi.v2.testing.LocalLoggingHelper
Constructs a new LocalPubsubHelper.
LocalLoggingImpl - Class in com.google.cloud.logging.spi.v2.testing
 
LocalLoggingImpl() - Constructor for class com.google.cloud.logging.spi.v2.testing.LocalLoggingImpl
 
LogEntry - Class in com.google.cloud.logging
A Stackdriver Logging log entry.
LogEntry.Builder - Class in com.google.cloud.logging
A builder for LogEntry objects.
Logging - Interface in com.google.cloud.logging
 
logging() - Method in class com.google.cloud.logging.Metric
Returns the metrics's Logging object used to issue requests.
logging() - Method in class com.google.cloud.logging.Sink
Returns the sinks's Logging object used to issue requests.
Logging.EntryListOption - Class in com.google.cloud.logging
Class for specifying options for listing log entries.
Logging.ListOption - Class in com.google.cloud.logging
Class for specifying options for listing sinks, monitored resources and monitored resource descriptors.
Logging.SortingField - Enum in com.google.cloud.logging
Fields according to which log entries can be sorted.
Logging.SortingOrder - Enum in com.google.cloud.logging
Sorting orders available when listing log entries.
Logging.WriteOption - Class in com.google.cloud.logging
Class for specifying options for writing log entries.
LoggingException - Exception in com.google.cloud.logging
Logging service exception.
LoggingException(IOException, boolean) - Constructor for exception com.google.cloud.logging.LoggingException
 
LoggingException(ApiException, boolean) - Constructor for exception com.google.cloud.logging.LoggingException
 
LoggingFactory - Interface in com.google.cloud.logging
An interface for Logging factories.
LoggingHandler - Class in com.google.cloud.logging
A logging handler that synchronously outputs logs generated with Logger to Stackdriver Logging.
LoggingHandler() - Constructor for class com.google.cloud.logging.LoggingHandler
Creates an handler that publishes messages to Stackdriver Logging.
LoggingHandler(String) - Constructor for class com.google.cloud.logging.LoggingHandler
Creates a handler that publishes messages to Stackdriver Logging.
LoggingHandler(String, LoggingOptions) - Constructor for class com.google.cloud.logging.LoggingHandler
Creates a handler that publishes messages to Stackdriver Logging.
LoggingHandler(String, LoggingOptions, MonitoredResource) - Constructor for class com.google.cloud.logging.LoggingHandler
Creates a handler that publishes messages to Stackdriver Logging.
LoggingLevel - Class in com.google.cloud.logging
This class adds some additional Java logging levels for Stackdriver Logging.
LoggingOptions - Class in com.google.cloud.logging
 
LoggingOptions(LoggingOptions.Builder) - Constructor for class com.google.cloud.logging.LoggingOptions
 
LoggingOptions.Builder - Class in com.google.cloud.logging
 
LoggingOptions.DefaultLoggingFactory - Class in com.google.cloud.logging
 
LoggingOptions.DefaultLoggingFactory() - Constructor for class com.google.cloud.logging.LoggingOptions.DefaultLoggingFactory
 
LoggingOptions.DefaultLoggingRpcFactory - Class in com.google.cloud.logging
 
LoggingOptions.DefaultLoggingRpcFactory() - Constructor for class com.google.cloud.logging.LoggingOptions.DefaultLoggingRpcFactory
 
LoggingRpc - Interface in com.google.cloud.logging.spi
 
LoggingRpcFactory - Interface in com.google.cloud.logging.spi
An interface for Logging RPC factory.
LoggingServiceV2Api - Class in com.google.cloud.logging.spi.v2
Service Description: Service for ingesting and querying logs.
LoggingServiceV2Api(LoggingServiceV2Settings) - Constructor for class com.google.cloud.logging.spi.v2.LoggingServiceV2Api
Constructs an instance of LoggingServiceV2Api, using the given settings.
LoggingServiceV2Settings - Class in com.google.cloud.logging.spi.v2
Settings class to configure an instance of LoggingServiceV2Api.
LoggingServiceV2Settings.Builder - Class in com.google.cloud.logging.spi.v2
Builder for LoggingServiceV2Settings.
logName(String) - Method in class com.google.cloud.logging.LogEntry.Builder
Sets the name of the log to which this log entry belongs.
logName() - Method in class com.google.cloud.logging.LogEntry
Returns the name of the log to which this log entry belongs.
logName(String) - Static method in class com.google.cloud.logging.Logging.WriteOption
Returns an option to specify a default log name (see LogEntry.logName()) for those log entries that do not specify their own log name.

M

Metric - Class in com.google.cloud.logging
Stackdriver Logging metrics describe logs-based metric.
Metric.Builder - Class in com.google.cloud.logging
A builder for Metric objects.
MetricInfo - Class in com.google.cloud.logging
Stackdriver Logging metrics describe logs-based metric.
MetricInfo.Builder - Class in com.google.cloud.logging
A builder for MetricInfo objects.
MetricInfo.Builder() - Constructor for class com.google.cloud.logging.MetricInfo.Builder
 
MetricsServiceV2Api - Class in com.google.cloud.logging.spi.v2
Service Description:
MetricsServiceV2Api(MetricsServiceV2Settings) - Constructor for class com.google.cloud.logging.spi.v2.MetricsServiceV2Api
Constructs an instance of MetricsServiceV2Api, using the given settings.
MetricsServiceV2Settings - Class in com.google.cloud.logging.spi.v2
Settings class to configure an instance of MetricsServiceV2Api.
MetricsServiceV2Settings.Builder - Class in com.google.cloud.logging.spi.v2
Builder for MetricsServiceV2Settings.

N

name(String) - Method in class com.google.cloud.logging.Metric.Builder
 
name(String) - Method in class com.google.cloud.logging.MetricInfo.Builder
Sets the name of the metric.
name() - Method in class com.google.cloud.logging.MetricInfo
Returns the name of the metric.
name(String) - Method in class com.google.cloud.logging.Sink.Builder
 
name(String) - Method in class com.google.cloud.logging.SinkInfo.Builder
Sets the name of the sink.
name() - Method in class com.google.cloud.logging.SinkInfo
Returns the name of the sink.
newBuilder() - Static method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings
Returns a new builder for this class.
newBuilder() - Static method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Settings
Returns a new builder for this class.
newBuilder() - Static method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings
Returns a new builder for this class.
NOTICE - Static variable in class com.google.cloud.logging.LoggingLevel
A level to be used when normal events occur, such as start up and shut down.

O

of(Payload<?>) - Static method in class com.google.cloud.logging.LogEntry
Creates a LogEntry object given the entry payload.
of(String, MonitoredResource, Payload<?>) - Static method in class com.google.cloud.logging.LogEntry
Creates a LogEntry object given the log name, the monitored resource and the entry payload.
of(String, String) - Static method in class com.google.cloud.logging.MetricInfo
Creates a MetricInfo object given the name of the metric and its filter.
of(String, String) - Static method in class com.google.cloud.logging.Operation
Returns a Operation object given the operation and producer identifiers.
of(Map<String, Object>) - Static method in class com.google.cloud.logging.Payload.JsonPayload
Creates a log entry payload given its JSON data represented as a map.
of(Struct) - Static method in class com.google.cloud.logging.Payload.JsonPayload
Creates a log entry payload given its JSON data represented as a protobuf struct.
of(Any) - Static method in class com.google.cloud.logging.Payload.ProtoPayload
Creates a log entry payload given its data as a protobuf object.
of(String) - Static method in class com.google.cloud.logging.Payload.StringPayload
Creates a log entry payload given its data represented as an UTF-8 string.
of(String) - Static method in class com.google.cloud.logging.SinkInfo.Destination.BucketDestination
Creates a BucketDestination object given the name of the bucket to be used as sink destination.
of(String, String) - Static method in class com.google.cloud.logging.SinkInfo.Destination.DatasetDestination
Creates a DatasetDestination object given the name of the project and dataset to be used as sink destination.
of(String) - Static method in class com.google.cloud.logging.SinkInfo.Destination.DatasetDestination
Creates a DatasetDestination object given the name of the dataset to be used as sink destination.
of(String, String) - Static method in class com.google.cloud.logging.SinkInfo.Destination.TopicDestination
Creates a TopicDestination object given the name of the project and topic to be used as sink destination.
of(String) - Static method in class com.google.cloud.logging.SinkInfo.Destination.TopicDestination
Creates a DatasetDestination object given the name of the topic to be used as sink destination.
of(String, SinkInfo.Destination) - Static method in class com.google.cloud.logging.SinkInfo
Creates a SinkInfo object given the name of the sink and its destination.
operation(Operation) - Method in class com.google.cloud.logging.LogEntry.Builder
Sets information about an operation associated with the log entry, if applicable.
operation() - Method in class com.google.cloud.logging.LogEntry
Returns information about an operation associated with the log entry, if applicable.
Operation - Class in com.google.cloud.logging
Additional information about a potentially long-running operation with which a log entry is associated.
Operation.Builder - Class in com.google.cloud.logging
A builder for Operation objects.
options() - Method in class com.google.cloud.logging.testing.RemoteLoggingHelper
Returns a LoggingOptions object to be used for testing.

P

pageSize(int) - Static method in class com.google.cloud.logging.Logging.EntryListOption
Returns an option to specify the maximum number of log entries returned per page.
pageSize(int) - Static method in class com.google.cloud.logging.Logging.ListOption
Returns an option to specify the maximum number of resources returned per page.
pageToken(String) - Static method in class com.google.cloud.logging.Logging.EntryListOption
Returns an option to specify the page token from which to start listing log entries.
pageToken(String) - Static method in class com.google.cloud.logging.Logging.ListOption
Returns an option to specify the page token from which to start listing resources.
parseLogFromLogName(String) - Static method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Api
Parses the log from the given fully-qualified path which represents a log resource.
parseMetricFromMetricName(String) - Static method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Api
Parses the metric from the given fully-qualified path which represents a metric resource.
parseProjectFromLogName(String) - Static method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Api
Parses the project from the given fully-qualified path which represents a log resource.
parseProjectFromMetricName(String) - Static method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Api
Parses the project from the given fully-qualified path which represents a metric resource.
parseProjectFromProjectName(String) - Static method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Api
Parses the project from the given fully-qualified path which represents a project resource.
parseProjectFromProjectName(String) - Static method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Api
Parses the project from the given fully-qualified path which represents a project resource.
parseProjectFromProjectName(String) - Static method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Api
Parses the project from the given fully-qualified path which represents a project resource.
parseProjectFromSinkName(String) - Static method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Api
Parses the project from the given fully-qualified path which represents a sink resource.
parseSinkFromSinkName(String) - Static method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Api
Parses the sink from the given fully-qualified path which represents a sink resource.
payload(Payload) - Method in class com.google.cloud.logging.LogEntry.Builder
Sets the payload for this log entry.
payload() - Method in class com.google.cloud.logging.LogEntry
Returns the payload for this log entry.
Payload<T> - Class in com.google.cloud.logging
A base class for log entry payloads.
Payload.JsonPayload - Class in com.google.cloud.logging
A log entry's JSON payload.
Payload.ProtoPayload - Class in com.google.cloud.logging
A log entry payload as a protobuf object.
Payload.StringPayload - Class in com.google.cloud.logging
A log entry payload as an UTF-8 string.
Payload.Type - Enum in com.google.cloud.logging
Type for a log entry payload.
producer(String) - Method in class com.google.cloud.logging.Operation.Builder
Sets an arbitrary producer identifier.
producer() - Method in class com.google.cloud.logging.Operation
Returns an arbitrary producer identifier.
project() - Method in class com.google.cloud.logging.SinkInfo.Destination.DatasetDestination
Returns the name of the project where the Google Cloud BigQuery dataset resides.
project() - Method in class com.google.cloud.logging.SinkInfo.Destination.TopicDestination
Returns the name of the project where the Google Cloud Pub/Sub topic resides.
provideChannelWith(ManagedChannel, boolean) - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings.Builder
 
provideChannelWith(ConnectionSettings) - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings.Builder
 
provideChannelWith(Credentials) - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings.Builder
 
provideChannelWith(List<String>) - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings.Builder
 
provideChannelWith(ManagedChannel, boolean) - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Settings.Builder
 
provideChannelWith(ConnectionSettings) - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Settings.Builder
 
provideChannelWith(Credentials) - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Settings.Builder
 
provideChannelWith(List<String>) - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Settings.Builder
 
provideChannelWith(ManagedChannel, boolean) - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings.Builder
 
provideChannelWith(ConnectionSettings) - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings.Builder
 
provideChannelWith(Credentials) - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings.Builder
 
provideChannelWith(List<String>) - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings.Builder
 
provideExecutorWith(ScheduledExecutorService, boolean) - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings.Builder
 
provideExecutorWith(ScheduledExecutorService, boolean) - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Settings.Builder
 
provideExecutorWith(ScheduledExecutorService, boolean) - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings.Builder
 
publish(LogRecord) - Method in class com.google.cloud.logging.LoggingHandler
 

R

referer(String) - Method in class com.google.cloud.logging.HttpRequest.Builder
Sets the referer URL of the request, as defined in HTTP/1.1 Header Field Definitions.
referer() - Method in class com.google.cloud.logging.HttpRequest
Returns the referer URL of the request, as defined in HTTP/1.1 Header Field Definitions.
reload() - Method in class com.google.cloud.logging.Metric
Fetches current metric's latest information.
reload() - Method in class com.google.cloud.logging.Sink
Fetches current sink's latest information.
reloadAsync() - Method in class com.google.cloud.logging.Metric
Sends a request to fetch current metric's latest information.
reloadAsync() - Method in class com.google.cloud.logging.Sink
Sends a request to fetch current sink's latest information.
remoteIp(String) - Method in class com.google.cloud.logging.HttpRequest.Builder
Sets the IP address (IPv4 or IPv6) of the client that issued the HTTP request.
remoteIp() - Method in class com.google.cloud.logging.HttpRequest
Returns the IP address (IPv4 or IPv6) of the client that issued the HTTP request.
RemoteLoggingHelper - Class in com.google.cloud.logging.testing
Utility to create a remote logging configuration for testing.
RemoteLoggingHelper.LoggingHelperException - Exception in com.google.cloud.logging.testing
 
RemoteLoggingHelper.LoggingHelperException(String, Throwable) - Constructor for exception com.google.cloud.logging.testing.RemoteLoggingHelper.LoggingHelperException
 
requestMethod(HttpRequest.RequestMethod) - Method in class com.google.cloud.logging.HttpRequest.Builder
Sets the HTTP request method.
requestMethod() - Method in class com.google.cloud.logging.HttpRequest
Returns the HTTP request method.
requestSize(long) - Method in class com.google.cloud.logging.HttpRequest.Builder
Sets the size of the HTTP request message in bytes, including the request headers and the request body.
requestSize() - Method in class com.google.cloud.logging.HttpRequest
Returns the size of the HTTP request message in bytes, including the request headers and the request body.
requestUrl(String) - Method in class com.google.cloud.logging.HttpRequest.Builder
Sets the requested URL.
requestUrl() - Method in class com.google.cloud.logging.HttpRequest
Returns the requested URL.
reset() - Method in class com.google.cloud.logging.spi.v2.testing.LocalLoggingHelper
Resets the state of the in-memory service.
reset() - Method in class com.google.cloud.logging.spi.v2.testing.LocalLoggingImpl
 
resource(MonitoredResource) - Method in class com.google.cloud.logging.LogEntry.Builder
Sets the monitored resource associated with this log entry.
resource() - Method in class com.google.cloud.logging.LogEntry
Returns the monitored resource associated with this log entry.
resource(MonitoredResource) - Static method in class com.google.cloud.logging.Logging.WriteOption
Returns an option to specify a default monitored resource (see LogEntry.resource()) for those log entries that do not specify their own resource.
responseSize(long) - Method in class com.google.cloud.logging.HttpRequest.Builder
Sets the size of the HTTP response message sent back to the client, in bytes, including the response headers and the response body.
responseSize() - Method in class com.google.cloud.logging.HttpRequest
Returns the size of the HTTP response message sent back to the client, in bytes, including the response headers and the response body.
retryableErrors() - Method in exception com.google.cloud.logging.LoggingException
 

S

scopes() - Method in class com.google.cloud.logging.LoggingOptions
 
setClientLibHeader(String, String) - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings.Builder
 
setClientLibHeader(String, String) - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Settings.Builder
 
setClientLibHeader(String, String) - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings.Builder
 
setFlushLevel(Level) - Method in class com.google.cloud.logging.LoggingHandler
Sets the flush log level.
setFlushSize(long) - Method in class com.google.cloud.logging.LoggingHandler
Sets the maximum size of the log buffer.
setGeneratorHeader(String, String) - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings.Builder
 
setGeneratorHeader(String, String) - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Settings.Builder
 
setGeneratorHeader(String, String) - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings.Builder
 
severity(Severity) - Method in class com.google.cloud.logging.LogEntry.Builder
Sets the severity of the log entry.
severity() - Method in class com.google.cloud.logging.LogEntry
Returns the severity of the log entry.
severity() - Method in class com.google.cloud.logging.LoggingLevel
Returns the Stackdriver Logging severity associated with this logging level.
Severity - Enum in com.google.cloud.logging
The severity of the event described in a log entry.
shutdownNow() - Method in class com.google.cloud.logging.spi.v2.testing.LocalLoggingHelper
Shuts down the in-memory service.
Sink - Class in com.google.cloud.logging
Stackdriver Logging sinks can be used to control the export of your logs.
Sink.Builder - Class in com.google.cloud.logging
A builder for Sink objects.
SinkInfo - Class in com.google.cloud.logging
Stackdriver Logging sinks can be used to control the export of your logs.
SinkInfo.Builder - Class in com.google.cloud.logging
A builder for SinkInfo objects.
SinkInfo.Builder() - Constructor for class com.google.cloud.logging.SinkInfo.Builder
 
SinkInfo.Destination - Class in com.google.cloud.logging
 
SinkInfo.Destination.BucketDestination - Class in com.google.cloud.logging
Class for specifying a Google Cloud Storage bucket as destination for the sink.
SinkInfo.Destination.DatasetDestination - Class in com.google.cloud.logging
Class for specifying a Google Cloud BigQuery dataset as destination for the sink.
SinkInfo.Destination.TopicDestination - Class in com.google.cloud.logging
Class for specifying a Google Cloud BigQuery dataset as destination for the sink.
SinkInfo.Destination.Type - Enum in com.google.cloud.logging
Type of destination for Stackdriver Logging sink.
SinkInfo.VersionFormat - Enum in com.google.cloud.logging
Available log entry formats.
sortOrder(Logging.SortingField, Logging.SortingOrder) - Static method in class com.google.cloud.logging.Logging.EntryListOption
Returns an option to sort log entries.
start() - Method in class com.google.cloud.logging.spi.v2.testing.LocalLoggingHelper
Starts the in-memory service.
status(int) - Method in class com.google.cloud.logging.HttpRequest.Builder
Sets the response code indicating the status of response.
status() - Method in class com.google.cloud.logging.HttpRequest
Returns the response code indicating the status of response.

T

timestamp(long) - Method in class com.google.cloud.logging.LogEntry.Builder
Sets the time at which the event described by the log entry occurred, in milliseconds.
timestamp() - Method in class com.google.cloud.logging.LogEntry
Returns the time at which the event described by the log entry occurred, in milliseconds.
toBuilder() - Method in class com.google.cloud.logging.HttpRequest
Returns a builder for this object.
toBuilder() - Method in class com.google.cloud.logging.LogEntry
Returns a Builder for this log entry.
toBuilder() - Method in class com.google.cloud.logging.LoggingOptions
 
toBuilder() - Method in class com.google.cloud.logging.Metric
 
toBuilder() - Method in class com.google.cloud.logging.MetricInfo
Returns a builder for this MetricInfo object.
toBuilder() - Method in class com.google.cloud.logging.Operation
Returns a Builder for this operation.
toBuilder() - Method in class com.google.cloud.logging.Sink
 
toBuilder() - Method in class com.google.cloud.logging.SinkInfo
Returns a builder for this SinkInfo object.
toBuilder() - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings
Returns a builder containing all the values of this settings class.
toBuilder() - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Settings
Returns a builder containing all the values of this settings class.
toBuilder() - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings
Returns a builder containing all the values of this settings class.
topic() - Method in class com.google.cloud.logging.SinkInfo.Destination.TopicDestination
Returns the name of the Google Cloud Pub/Sub topic this destination represents.
toString() - Method in class com.google.cloud.logging.HttpRequest
 
toString() - Method in class com.google.cloud.logging.LogEntry
 
toString() - Method in class com.google.cloud.logging.MetricInfo
 
toString() - Method in class com.google.cloud.logging.Operation
 
toString() - Method in class com.google.cloud.logging.Payload
 
toString() - Method in class com.google.cloud.logging.SinkInfo.Destination.BucketDestination
 
toString() - Method in class com.google.cloud.logging.SinkInfo.Destination.DatasetDestination
 
toString() - Method in class com.google.cloud.logging.SinkInfo.Destination.TopicDestination
 
toString() - Method in class com.google.cloud.logging.SinkInfo
 
translate(Exception) - Static method in exception com.google.cloud.logging.testing.RemoteLoggingHelper.LoggingHelperException
 
type() - Method in class com.google.cloud.logging.Payload
Returns the payload type.
type() - Method in class com.google.cloud.logging.SinkInfo.Destination
Returns the type of this destination.

U

update(SinkInfo) - Method in interface com.google.cloud.logging.Logging
Updates a sink or creates one if it does not exist.
update(MetricInfo) - Method in interface com.google.cloud.logging.Logging
Updates a metric or creates one if it does not exist.
update(MetricInfo) - Method in class com.google.cloud.logging.Metric
Updates current metric.
update(SinkInfo) - Method in class com.google.cloud.logging.Sink
Updates current sink.
update(UpdateSinkRequest) - Method in class com.google.cloud.logging.spi.DefaultLoggingRpc
 
update(UpdateLogMetricRequest) - Method in class com.google.cloud.logging.spi.DefaultLoggingRpc
 
update(UpdateSinkRequest) - Method in interface com.google.cloud.logging.spi.LoggingRpc
Sends a request to update a sink.
update(UpdateLogMetricRequest) - Method in interface com.google.cloud.logging.spi.LoggingRpc
Sends a request to update a log metric.
updateAsync(SinkInfo) - Method in interface com.google.cloud.logging.Logging
Sends a request for updating a sink (or creating it, if it does not exist).
updateAsync(MetricInfo) - Method in interface com.google.cloud.logging.Logging
Sends a request for updating a metric (or creating it, if it does not exist).
updateAsync(MetricInfo) - Method in class com.google.cloud.logging.Metric
Sends a request to update current metric.
updateAsync(SinkInfo) - Method in class com.google.cloud.logging.Sink
Sends a request to update current sink.
updateLogMetric(String, LogMetric) - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Api
Creates or updates a logs-based metric.
updateLogMetric(UpdateLogMetricRequest) - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Api
Creates or updates a logs-based metric.
updateLogMetricCallable() - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Api
Creates or updates a logs-based metric.
updateLogMetricSettings() - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings.Builder
Returns the builder for the settings used for calls to updateLogMetric.
updateLogMetricSettings() - Method in class com.google.cloud.logging.spi.v2.MetricsServiceV2Settings
Returns the object with the settings used for calls to updateLogMetric.
updateSink(String, LogSink) - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Api
Creates or updates a sink.
updateSink(UpdateSinkRequest) - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Api
Creates or updates a sink.
updateSinkCallable() - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Api
Creates or updates a sink.
updateSinkSettings() - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings.Builder
Returns the builder for the settings used for calls to updateSink.
updateSinkSettings() - Method in class com.google.cloud.logging.spi.v2.ConfigServiceV2Settings
Returns the object with the settings used for calls to updateSink.
userAgent(String) - Method in class com.google.cloud.logging.HttpRequest.Builder
Sets the user agent sent by the client.
userAgent() - Method in class com.google.cloud.logging.HttpRequest
Returns the user agent sent by the client.

V

valueOf(String) - Static method in enum com.google.cloud.logging.HttpRequest.RequestMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.cloud.logging.Logging.SortingField
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.cloud.logging.Logging.SortingOrder
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.cloud.logging.Payload.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.cloud.logging.Severity
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.cloud.logging.SinkInfo.Destination.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.cloud.logging.SinkInfo.VersionFormat
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.cloud.logging.HttpRequest.RequestMethod
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.cloud.logging.Logging.SortingField
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.cloud.logging.Logging.SortingOrder
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.cloud.logging.Payload.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.cloud.logging.Severity
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.cloud.logging.SinkInfo.Destination.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.cloud.logging.SinkInfo.VersionFormat
Returns an array containing the constants of this enum type, in the order they are declared.
versionFormat(SinkInfo.VersionFormat) - Method in class com.google.cloud.logging.Sink.Builder
 
versionFormat(SinkInfo.VersionFormat) - Method in class com.google.cloud.logging.SinkInfo.Builder
Sets the log entry version to use for this sink's exported log entries.
versionFormat() - Method in class com.google.cloud.logging.SinkInfo
Returns the log entry version to use for this sink's exported log entries.

W

write(Iterable<LogEntry>, Logging.WriteOption...) - Method in interface com.google.cloud.logging.Logging
Writes log entries to Stackdriver Logging.
write(WriteLogEntriesRequest) - Method in class com.google.cloud.logging.spi.DefaultLoggingRpc
 
write(WriteLogEntriesRequest) - Method in interface com.google.cloud.logging.spi.LoggingRpc
Sends a request to write log entries to Stackdriver Logging.
writeAsync(Iterable<LogEntry>, Logging.WriteOption...) - Method in interface com.google.cloud.logging.Logging
Sends a request to log entries to Stackdriver Logging.
writeLogEntries(String, MonitoredResource, Map<String, String>, List<LogEntry>) - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Api
Writes log entries to Cloud Logging.
writeLogEntries(WriteLogEntriesRequest) - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Api
Writes log entries to Cloud Logging.
writeLogEntries(WriteLogEntriesRequest, StreamObserver<WriteLogEntriesResponse>) - Method in class com.google.cloud.logging.spi.v2.testing.LocalLoggingImpl
 
writeLogEntriesCallable() - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Api
Writes log entries to Cloud Logging.
writeLogEntriesSettings() - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Settings.Builder
Returns the builder for the settings used for calls to writeLogEntries.
writeLogEntriesSettings() - Method in class com.google.cloud.logging.spi.v2.LoggingServiceV2Settings
Returns the object with the settings used for calls to writeLogEntries.
A B C D E F G H I L M N O P R S T U V W 

Copyright © 2016 Google. All rights reserved.