- cacheHit() - Method in class com.google.cloud.logging.HttpRequest
-
Returns whether or not an entity was served from cache (with or without validation).
- cacheLookup() - Method in class com.google.cloud.logging.HttpRequest
-
Returns whether or not a cache lookup was attempted.
- 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.v2.GrpcLoggingRpc
-
- close() - Method in class com.google.cloud.logging.v2.ConfigClient
-
- close() - Method in class com.google.cloud.logging.v2.LoggingClient
-
- close() - Method in class com.google.cloud.logging.v2.MetricsClient
-
- close() - Method in class com.google.cloud.logging.v2.stub.GrpcConfigServiceV2Stub
-
- close() - Method in class com.google.cloud.logging.v2.stub.GrpcLoggingServiceV2Stub
-
- close() - Method in class com.google.cloud.logging.v2.stub.GrpcMetricsServiceV2Stub
-
- 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
-
- com.google.cloud.logging.testing - package com.google.cloud.logging.testing
-
A testing helper for Stackdriver Logging.
- com.google.cloud.logging.v2 - package com.google.cloud.logging.v2
-
A client to Stackdriver Logging API.
- com.google.cloud.logging.v2.stub - package com.google.cloud.logging.v2.stub
-
- ConfigClient - Class in com.google.cloud.logging.v2
-
Service Description: Service for configuring sinks used to export log entries outside of
Stackdriver Logging.
- ConfigClient(ConfigSettings) - Constructor for class com.google.cloud.logging.v2.ConfigClient
-
Constructs an instance of ConfigClient, using the given settings.
- ConfigClient(ConfigServiceV2Stub) - Constructor for class com.google.cloud.logging.v2.ConfigClient
-
- ConfigServiceV2Stub - Class in com.google.cloud.logging.v2.stub
-
Base stub class for Stackdriver Logging API.
- ConfigServiceV2Stub() - Constructor for class com.google.cloud.logging.v2.stub.ConfigServiceV2Stub
-
- ConfigSettings - Class in com.google.cloud.logging.v2
-
- ConfigSettings.Builder - Class in com.google.cloud.logging.v2
-
Builder for ConfigSettings.
- 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.v2.GrpcLoggingRpc
-
- create(CreateLogMetricRequest) - Method in class com.google.cloud.logging.spi.v2.GrpcLoggingRpc
-
- create(CreateSinkRequest) - Method in interface com.google.cloud.logging.spi.v2.LoggingRpc
-
Sends a request to create a sink.
- create(CreateLogMetricRequest) - Method in interface com.google.cloud.logging.spi.v2.LoggingRpc
-
Sends a request to create a log metric.
- 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.
- create() - Static method in class com.google.cloud.logging.v2.ConfigClient
-
Constructs an instance of ConfigClient with default settings.
- create(ConfigSettings) - Static method in class com.google.cloud.logging.v2.ConfigClient
-
Constructs an instance of ConfigClient, using the given settings.
- create(ConfigServiceV2Stub) - Static method in class com.google.cloud.logging.v2.ConfigClient
-
Constructs an instance of ConfigClient, using the given stub for making calls.
- create() - Static method in class com.google.cloud.logging.v2.LoggingClient
-
Constructs an instance of LoggingClient with default settings.
- create(LoggingSettings) - Static method in class com.google.cloud.logging.v2.LoggingClient
-
Constructs an instance of LoggingClient, using the given settings.
- create(LoggingServiceV2Stub) - Static method in class com.google.cloud.logging.v2.LoggingClient
-
Constructs an instance of LoggingClient, using the given stub for making calls.
- create() - Static method in class com.google.cloud.logging.v2.MetricsClient
-
Constructs an instance of MetricsClient with default settings.
- create(MetricsSettings) - Static method in class com.google.cloud.logging.v2.MetricsClient
-
Constructs an instance of MetricsClient, using the given settings.
- create(MetricsServiceV2Stub) - Static method in class com.google.cloud.logging.v2.MetricsClient
-
Constructs an instance of MetricsClient, using the given stub for making calls.
- create(ConfigSettings) - Static method in class com.google.cloud.logging.v2.stub.GrpcConfigServiceV2Stub
-
- create(ClientContext) - Static method in class com.google.cloud.logging.v2.stub.GrpcConfigServiceV2Stub
-
- create(LoggingSettings) - Static method in class com.google.cloud.logging.v2.stub.GrpcLoggingServiceV2Stub
-
- create(ClientContext) - Static method in class com.google.cloud.logging.v2.stub.GrpcLoggingServiceV2Stub
-
- create(MetricsSettings) - Static method in class com.google.cloud.logging.v2.stub.GrpcMetricsServiceV2Stub
-
- create(ClientContext) - Static method in class com.google.cloud.logging.v2.stub.GrpcMetricsServiceV2Stub
-
- 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.
- createAsync(PageContext<ListLogEntriesRequest, ListLogEntriesResponse, LogEntry>, ApiFuture<ListLogEntriesResponse>) - Static method in class com.google.cloud.logging.v2.PagedResponseWrappers.ListLogEntriesPagedResponse
-
- createAsync(PageContext<ListLogMetricsRequest, ListLogMetricsResponse, LogMetric>, ApiFuture<ListLogMetricsResponse>) - Static method in class com.google.cloud.logging.v2.PagedResponseWrappers.ListLogMetricsPagedResponse
-
- createAsync(PageContext<ListLogsRequest, ListLogsResponse, String>, ApiFuture<ListLogsResponse>) - Static method in class com.google.cloud.logging.v2.PagedResponseWrappers.ListLogsPagedResponse
-
- createAsync(PageContext<ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse, MonitoredResourceDescriptor>, ApiFuture<ListMonitoredResourceDescriptorsResponse>) - Static method in class com.google.cloud.logging.v2.PagedResponseWrappers.ListMonitoredResourceDescriptorsPagedResponse
-
- createAsync(PageContext<ListSinksRequest, ListSinksResponse, LogSink>, ApiFuture<ListSinksResponse>) - Static method in class com.google.cloud.logging.v2.PagedResponseWrappers.ListSinksPagedResponse
-
- createCollection(List<PagedResponseWrappers.ListLogEntriesPage>, int) - Method in class com.google.cloud.logging.v2.PagedResponseWrappers.ListLogEntriesFixedSizeCollection
-
- createCollection(List<PagedResponseWrappers.ListLogMetricsPage>, int) - Method in class com.google.cloud.logging.v2.PagedResponseWrappers.ListLogMetricsFixedSizeCollection
-
- createCollection(List<PagedResponseWrappers.ListLogsPage>, int) - Method in class com.google.cloud.logging.v2.PagedResponseWrappers.ListLogsFixedSizeCollection
-
- createCollection(List<PagedResponseWrappers.ListMonitoredResourceDescriptorsPage>, int) - Method in class com.google.cloud.logging.v2.PagedResponseWrappers.ListMonitoredResourceDescriptorsFixedSizeCollection
-
- createCollection(List<PagedResponseWrappers.ListSinksPage>, int) - Method in class com.google.cloud.logging.v2.PagedResponseWrappers.ListSinksFixedSizeCollection
-
- createLogMetric(ParentNameOneof, LogMetric) - Method in class com.google.cloud.logging.v2.MetricsClient
-
Creates a logs-based metric.
- createLogMetric(CreateLogMetricRequest) - Method in class com.google.cloud.logging.v2.MetricsClient
-
Creates a logs-based metric.
- createLogMetricCallable() - Method in class com.google.cloud.logging.v2.MetricsClient
-
Creates a logs-based metric.
- createLogMetricCallable() - Method in class com.google.cloud.logging.v2.stub.GrpcMetricsServiceV2Stub
-
- createLogMetricCallable() - Method in class com.google.cloud.logging.v2.stub.MetricsServiceV2Stub
-
- createLogMetricSettings() - Method in class com.google.cloud.logging.v2.MetricsSettings.Builder
-
Returns the builder for the settings used for calls to createLogMetric.
- createLogMetricSettings() - Method in class com.google.cloud.logging.v2.MetricsSettings
-
Returns the object with the settings used for calls to createLogMetric.
- createPage(PageContext<ListLogEntriesRequest, ListLogEntriesResponse, LogEntry>, ListLogEntriesResponse) - Method in class com.google.cloud.logging.v2.PagedResponseWrappers.ListLogEntriesPage
-
- createPage(PageContext<ListLogMetricsRequest, ListLogMetricsResponse, LogMetric>, ListLogMetricsResponse) - Method in class com.google.cloud.logging.v2.PagedResponseWrappers.ListLogMetricsPage
-
- createPage(PageContext<ListLogsRequest, ListLogsResponse, String>, ListLogsResponse) - Method in class com.google.cloud.logging.v2.PagedResponseWrappers.ListLogsPage
-
- createPage(PageContext<ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse, MonitoredResourceDescriptor>, ListMonitoredResourceDescriptorsResponse) - Method in class com.google.cloud.logging.v2.PagedResponseWrappers.ListMonitoredResourceDescriptorsPage
-
- createPage(PageContext<ListSinksRequest, ListSinksResponse, LogSink>, ListSinksResponse) - Method in class com.google.cloud.logging.v2.PagedResponseWrappers.ListSinksPage
-
- createPageAsync(PageContext<ListLogEntriesRequest, ListLogEntriesResponse, LogEntry>, ApiFuture<ListLogEntriesResponse>) - Method in class com.google.cloud.logging.v2.PagedResponseWrappers.ListLogEntriesPage
-
- createPageAsync(PageContext<ListLogMetricsRequest, ListLogMetricsResponse, LogMetric>, ApiFuture<ListLogMetricsResponse>) - Method in class com.google.cloud.logging.v2.PagedResponseWrappers.ListLogMetricsPage
-
- createPageAsync(PageContext<ListLogsRequest, ListLogsResponse, String>, ApiFuture<ListLogsResponse>) - Method in class com.google.cloud.logging.v2.PagedResponseWrappers.ListLogsPage
-
- createPageAsync(PageContext<ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse, MonitoredResourceDescriptor>, ApiFuture<ListMonitoredResourceDescriptorsResponse>) - Method in class com.google.cloud.logging.v2.PagedResponseWrappers.ListMonitoredResourceDescriptorsPage
-
- createPageAsync(PageContext<ListSinksRequest, ListSinksResponse, LogSink>, ApiFuture<ListSinksResponse>) - Method in class com.google.cloud.logging.v2.PagedResponseWrappers.ListSinksPage
-
- createSink(ParentNameOneof, LogSink) - Method in class com.google.cloud.logging.v2.ConfigClient
-
Creates a sink that exports specified log entries to a destination.
- createSink(CreateSinkRequest) - Method in class com.google.cloud.logging.v2.ConfigClient
-
Creates a sink that exports specified log entries to a destination.
- createSinkCallable() - Method in class com.google.cloud.logging.v2.ConfigClient
-
Creates a sink that exports specified log entries to a destination.
- createSinkCallable() - Method in class com.google.cloud.logging.v2.stub.ConfigServiceV2Stub
-
- createSinkCallable() - Method in class com.google.cloud.logging.v2.stub.GrpcConfigServiceV2Stub
-
- createSinkSettings() - Method in class com.google.cloud.logging.v2.ConfigSettings.Builder
-
Returns the builder for the settings used for calls to createSink.
- createSinkSettings() - Method in class com.google.cloud.logging.v2.ConfigSettings
-
Returns the object with the settings used for calls to createSink.
- createStub() - Method in class com.google.cloud.logging.v2.ConfigSettings
-
- createStub() - Method in class com.google.cloud.logging.v2.LoggingSettings
-
- createStub() - Method in class com.google.cloud.logging.v2.MetricsSettings
-
- 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.
- DEBUG - Static variable in class com.google.cloud.logging.LoggingLevel
-
A level to be used for debug or trace information.
- defaultBuilder() - Static method in class com.google.cloud.logging.v2.ConfigSettings
-
Returns a builder for this class with recommended defaults.
- defaultBuilder(ClientContext) - Static method in class com.google.cloud.logging.v2.ConfigSettings
-
Returns a builder for this class with recommended defaults for API methods, and the given
ClientContext used for executor/transport/credentials.
- defaultBuilder() - Static method in class com.google.cloud.logging.v2.LoggingSettings
-
Returns a builder for this class with recommended defaults.
- defaultBuilder(ClientContext) - Static method in class com.google.cloud.logging.v2.LoggingSettings
-
Returns a builder for this class with recommended defaults for API methods, and the given
ClientContext used for executor/transport/credentials.
- defaultBuilder() - Static method in class com.google.cloud.logging.v2.MetricsSettings
-
Returns a builder for this class with recommended defaults.
- defaultBuilder(ClientContext) - Static method in class com.google.cloud.logging.v2.MetricsSettings
-
Returns a builder for this class with recommended defaults for API methods, and the given
ClientContext used for executor/transport/credentials.
- defaultCredentialsProviderBuilder() - Static method in class com.google.cloud.logging.v2.ConfigSettings
-
Returns a builder for the default credentials for this service.
- defaultCredentialsProviderBuilder() - Static method in class com.google.cloud.logging.v2.LoggingSettings
-
Returns a builder for the default credentials for this service.
- defaultCredentialsProviderBuilder() - Static method in class com.google.cloud.logging.v2.MetricsSettings
-
Returns a builder for the default credentials for this service.
- defaultExecutorProviderBuilder() - Static method in class com.google.cloud.logging.v2.ConfigSettings
-
Returns a builder for the default ExecutorProvider for this service.
- defaultExecutorProviderBuilder() - Static method in class com.google.cloud.logging.v2.LoggingSettings
-
Returns a builder for the default ExecutorProvider for this service.
- defaultExecutorProviderBuilder() - Static method in class com.google.cloud.logging.v2.MetricsSettings
-
Returns a builder for the default ExecutorProvider for this service.
- defaultGrpcChannelProviderBuilder() - Static method in class com.google.cloud.logging.v2.ConfigSettings
-
Returns a builder for the default ChannelProvider for this service.
- defaultGrpcChannelProviderBuilder() - Static method in class com.google.cloud.logging.v2.LoggingSettings
-
Returns a builder for the default ChannelProvider for this service.
- defaultGrpcChannelProviderBuilder() - Static method in class com.google.cloud.logging.v2.MetricsSettings
-
Returns a builder for the default ChannelProvider for this service.
- defaultGrpcTransportProviderBuilder() - Static method in class com.google.cloud.logging.v2.ConfigSettings
-
Returns a builder for the default ChannelProvider for this service.
- defaultGrpcTransportProviderBuilder() - Static method in class com.google.cloud.logging.v2.LoggingSettings
-
Returns a builder for the default ChannelProvider for this service.
- defaultGrpcTransportProviderBuilder() - Static method in class com.google.cloud.logging.v2.MetricsSettings
-
Returns a builder for the default ChannelProvider for this service.
- DefaultLoggingFactory() - Constructor for class com.google.cloud.logging.LoggingOptions.DefaultLoggingFactory
-
- DefaultLoggingRpcFactory() - Constructor for class com.google.cloud.logging.LoggingOptions.DefaultLoggingRpcFactory
-
- defaultTransportProvider() - Static method in class com.google.cloud.logging.v2.ConfigSettings
-
- defaultTransportProvider() - Static method in class com.google.cloud.logging.v2.LoggingSettings
-
- defaultTransportProvider() - Static method in class com.google.cloud.logging.v2.MetricsSettings
-
- 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.v2.GrpcLoggingRpc
-
- delete(DeleteLogRequest) - Method in class com.google.cloud.logging.spi.v2.GrpcLoggingRpc
-
- delete(DeleteLogMetricRequest) - Method in class com.google.cloud.logging.spi.v2.GrpcLoggingRpc
-
- delete(DeleteSinkRequest) - Method in interface com.google.cloud.logging.spi.v2.LoggingRpc
-
Sends a request to delete a sink.
- delete(DeleteLogRequest) - Method in interface com.google.cloud.logging.spi.v2.LoggingRpc
-
Sends a request to deletes a log.
- delete(DeleteLogMetricRequest) - Method in interface com.google.cloud.logging.spi.v2.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(LogNameOneof) - Method in class com.google.cloud.logging.v2.LoggingClient
-
Deletes all the log entries in a log.
- 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.v2.LoggingClient
-
Deletes all the log entries in a log.
- deleteLogCallable() - Method in class com.google.cloud.logging.v2.stub.GrpcLoggingServiceV2Stub
-
- deleteLogCallable() - Method in class com.google.cloud.logging.v2.stub.LoggingServiceV2Stub
-
- deleteLogMetric(MetricNameOneof) - Method in class com.google.cloud.logging.v2.MetricsClient
-
Deletes a logs-based metric.
- deleteLogMetricCallable() - Method in class com.google.cloud.logging.v2.MetricsClient
-
Deletes a logs-based metric.
- deleteLogMetricCallable() - Method in class com.google.cloud.logging.v2.stub.GrpcMetricsServiceV2Stub
-
- deleteLogMetricCallable() - Method in class com.google.cloud.logging.v2.stub.MetricsServiceV2Stub
-
- deleteLogMetricSettings() - Method in class com.google.cloud.logging.v2.MetricsSettings.Builder
-
Returns the builder for the settings used for calls to deleteLogMetric.
- deleteLogMetricSettings() - Method in class com.google.cloud.logging.v2.MetricsSettings
-
Returns the object with the settings used for calls to deleteLogMetric.
- deleteLogSettings() - Method in class com.google.cloud.logging.v2.LoggingSettings.Builder
-
Returns the builder for the settings used for calls to deleteLog.
- deleteLogSettings() - Method in class com.google.cloud.logging.v2.LoggingSettings
-
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(SinkNameOneof) - Method in class com.google.cloud.logging.v2.ConfigClient
-
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.v2.ConfigClient
-
Deletes a sink.
- deleteSinkCallable() - Method in class com.google.cloud.logging.v2.stub.ConfigServiceV2Stub
-
- deleteSinkCallable() - Method in class com.google.cloud.logging.v2.stub.GrpcConfigServiceV2Stub
-
- deleteSinkSettings() - Method in class com.google.cloud.logging.v2.ConfigSettings.Builder
-
Returns the builder for the settings used for calls to deleteSink.
- deleteSinkSettings() - Method in class com.google.cloud.logging.v2.ConfigSettings
-
Returns the object with the settings used for calls to deleteSink.
- GET - Static variable in class com.google.cloud.logging.HttpRequest.RequestMethod
-
- get(GetSinkRequest) - Method in class com.google.cloud.logging.spi.v2.GrpcLoggingRpc
-
- get(GetLogMetricRequest) - Method in class com.google.cloud.logging.spi.v2.GrpcLoggingRpc
-
- get(GetSinkRequest) - Method in interface com.google.cloud.logging.spi.v2.LoggingRpc
-
Sends a request to get a sink.
- get(GetLogMetricRequest) - Method in interface com.google.cloud.logging.spi.v2.LoggingRpc
-
Sends a request to get a log metric.
- getBucket() - Method in class com.google.cloud.logging.SinkInfo.Destination.BucketDestination
-
Returns the name of the Google Cloud Storage bucket this destination represents.
- getCacheFillBytes() - Method in class com.google.cloud.logging.HttpRequest
-
Returns the number of HTTP response bytes inserted into cache.
- getCurrentTraceId() - Static method in class com.google.cloud.logging.TraceLoggingEnhancer
-
Get the Trace ID associated with any logging done by the current thread.
- getData() - Method in class com.google.cloud.logging.Payload
-
Returns the log entry payload's data.
- getDataAsMap() - Method in class com.google.cloud.logging.Payload.JsonPayload
-
Returns the log entry's JSON data as an unmodifiable map.
- getDataset() - Method in class com.google.cloud.logging.SinkInfo.Destination.DatasetDestination
-
Returns the name of the Google Cloud BigQuery dataset this destination represents.
- getDefaultEndpoint() - Static method in class com.google.cloud.logging.v2.ConfigSettings
-
Returns the default service endpoint.
- getDefaultEndpoint() - Static method in class com.google.cloud.logging.v2.LoggingSettings
-
Returns the default service endpoint.
- getDefaultEndpoint() - Static method in class com.google.cloud.logging.v2.MetricsSettings
-
Returns the default service endpoint.
- getDefaultGrpcTransportOptions() - Static method in class com.google.cloud.logging.LoggingOptions
-
- getDefaultHost() - Method in class com.google.cloud.logging.LoggingOptions
-
- getDefaultInstance() - Static method in class com.google.cloud.logging.LoggingOptions
-
Returns a default LoggingOptions
instance.
- getDefaultServiceScopes() - Static method in class com.google.cloud.logging.v2.ConfigSettings
-
Returns the default service scopes.
- getDefaultServiceScopes() - Static method in class com.google.cloud.logging.v2.LoggingSettings
-
Returns the default service scopes.
- getDefaultServiceScopes() - Static method in class com.google.cloud.logging.v2.MetricsSettings
-
Returns the default service scopes.
- getDescription() - Method in class com.google.cloud.logging.MetricInfo
-
Returns an optional description for this metric.
- getDestination() - Method in class com.google.cloud.logging.SinkInfo
-
Returns the export destination.
- getFilter() - Method in class com.google.cloud.logging.MetricInfo
-
Returns an advanced logs filter.
- getFilter() - Method in class com.google.cloud.logging.SinkInfo
-
Returns an advanced logs filter.
- getFlushLevel() - Method in class com.google.cloud.logging.LoggingHandler
-
Get the flush log level.
- getFlushSeverity() - Method in interface com.google.cloud.logging.Logging
-
- getHttpRequest() - Method in class com.google.cloud.logging.LogEntry
-
Returns information about the HTTP request associated with this log entry, if applicable.
- getId() - Method in class com.google.cloud.logging.Operation
-
Returns the operation identifier.
- getInsertId() - Method in class com.google.cloud.logging.LogEntry
-
Returns a unique ID for the log entry.
- getLabels() - 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.
- getLogging() - Method in class com.google.cloud.logging.Metric
-
Returns the metrics's Logging
object used to issue requests.
- getLogging() - Method in class com.google.cloud.logging.Sink
-
Returns the sinks's Logging
object used to issue requests.
- getLoggingRpcV2() - Method in class com.google.cloud.logging.LoggingOptions
-
- getLogMetric(MetricNameOneof) - Method in class com.google.cloud.logging.v2.MetricsClient
-
Gets a logs-based metric.
- getLogMetricCallable() - Method in class com.google.cloud.logging.v2.MetricsClient
-
Gets a logs-based metric.
- getLogMetricCallable() - Method in class com.google.cloud.logging.v2.stub.GrpcMetricsServiceV2Stub
-
- getLogMetricCallable() - Method in class com.google.cloud.logging.v2.stub.MetricsServiceV2Stub
-
- getLogMetricSettings() - Method in class com.google.cloud.logging.v2.MetricsSettings.Builder
-
Returns the builder for the settings used for calls to getLogMetric.
- getLogMetricSettings() - Method in class com.google.cloud.logging.v2.MetricsSettings
-
Returns the object with the settings used for calls to getLogMetric.
- getLogName() - Method in class com.google.cloud.logging.LogEntry
-
Returns the name of the log to which this log entry belongs.
- 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.
- getName() - Method in class com.google.cloud.logging.MetricInfo
-
Returns the name of the metric.
- getName() - Method in class com.google.cloud.logging.SinkInfo
-
Returns the name of the sink.
- getOperation() - Method in class com.google.cloud.logging.LogEntry
-
Returns information about an operation associated with the log entry, if applicable.
- getOptions() - Method in class com.google.cloud.logging.testing.RemoteLoggingHelper
-
- getPayload() - Method in class com.google.cloud.logging.LogEntry
-
Returns the payload for this log entry.
- getProducer() - Method in class com.google.cloud.logging.Operation
-
Returns an arbitrary producer identifier.
- getProject() - Method in class com.google.cloud.logging.SinkInfo.Destination.DatasetDestination
-
Returns the name of the project where the Google Cloud BigQuery dataset resides.
- getProject() - Method in class com.google.cloud.logging.SinkInfo.Destination.TopicDestination
-
Returns the name of the project where the Google Cloud Pub/Sub topic resides.
- getReferer() - Method in class com.google.cloud.logging.HttpRequest
-
Returns the referer URL of the request, as defined in HTTP/1.1 Header Field Definitions.
- getRemoteIp() - Method in class com.google.cloud.logging.HttpRequest
-
Returns the IP address (IPv4 or IPv6) of the client that issued the HTTP request.
- getRequestMethod() - Method in class com.google.cloud.logging.HttpRequest
-
Returns the HTTP request method.
- getRequestSize() - 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.
- getRequestUrl() - Method in class com.google.cloud.logging.HttpRequest
-
Returns the requested URL.
- getResource() - Method in class com.google.cloud.logging.LogEntry
-
Returns the monitored resource associated with this log entry.
- getResource(String, String) - Static method in class com.google.cloud.logging.MonitoredResourceUtil
-
- getResourceEnhancers() - Static method in class com.google.cloud.logging.MonitoredResourceUtil
-
Returns custom log entry enhancers (if available) for resource type.
- getResponseSize() - 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.
- getScopes() - Method in class com.google.cloud.logging.LoggingOptions
-
- getServerIp() - Method in class com.google.cloud.logging.HttpRequest
-
Returns the IP address (IPv4 or IPv6) of the origin server that the request was sent to.
- getSettings() - Method in class com.google.cloud.logging.v2.ConfigClient
-
- getSettings() - Method in class com.google.cloud.logging.v2.LoggingClient
-
- getSettings() - Method in class com.google.cloud.logging.v2.MetricsClient
-
- getSeverity() - Method in class com.google.cloud.logging.LogEntry
-
Returns the severity of the log entry.
- getSeverity() - Method in class com.google.cloud.logging.LoggingLevel
-
Returns the Stackdriver Logging severity associated with this logging level.
- getSink(String) - Method in interface com.google.cloud.logging.Logging
-
Returns the requested sink or null
if not found.
- getSink(SinkNameOneof) - Method in class com.google.cloud.logging.v2.ConfigClient
-
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.v2.ConfigClient
-
Gets a sink.
- getSinkCallable() - Method in class com.google.cloud.logging.v2.stub.ConfigServiceV2Stub
-
- getSinkCallable() - Method in class com.google.cloud.logging.v2.stub.GrpcConfigServiceV2Stub
-
- getSinkSettings() - Method in class com.google.cloud.logging.v2.ConfigSettings.Builder
-
Returns the builder for the settings used for calls to getSink.
- getSinkSettings() - Method in class com.google.cloud.logging.v2.ConfigSettings
-
Returns the object with the settings used for calls to getSink.
- getStatus() - Method in class com.google.cloud.logging.HttpRequest
-
Returns the response code indicating the status of response.
- getStub() - Method in class com.google.cloud.logging.v2.ConfigClient
-
- getStub() - Method in class com.google.cloud.logging.v2.LoggingClient
-
- getStub() - Method in class com.google.cloud.logging.v2.MetricsClient
-
- getSynchronicity() - Method in class com.google.cloud.logging.LoggingHandler
-
Get the flush log level.
- getTimestamp() - Method in class com.google.cloud.logging.LogEntry
-
Returns the time at which the event described by the log entry occurred, in milliseconds.
- getTopic() - Method in class com.google.cloud.logging.SinkInfo.Destination.TopicDestination
-
Returns the name of the Google Cloud Pub/Sub topic this destination represents.
- getType() - Method in class com.google.cloud.logging.Payload
-
Returns the payload type.
- getType() - Method in class com.google.cloud.logging.SinkInfo.Destination
-
Returns the type of this destination.
- getUserAgent() - Method in class com.google.cloud.logging.HttpRequest
-
Returns the user agent sent by the client.
- getVersionFormat() - Method in class com.google.cloud.logging.SinkInfo
-
Returns the log entry version to use for this sink's exported log entries.
- getWriteSynchronicity() - Method in interface com.google.cloud.logging.Logging
-
- GrpcConfigServiceV2Stub - Class in com.google.cloud.logging.v2.stub
-
gRPC stub implementation for Stackdriver Logging API.
- GrpcConfigServiceV2Stub(ConfigSettings, ClientContext) - Constructor for class com.google.cloud.logging.v2.stub.GrpcConfigServiceV2Stub
-
Constructs an instance of GrpcConfigServiceV2Stub, using the given settings.
- GrpcLoggingRpc - Class in com.google.cloud.logging.spi.v2
-
- GrpcLoggingRpc(LoggingOptions) - Constructor for class com.google.cloud.logging.spi.v2.GrpcLoggingRpc
-
- GrpcLoggingServiceV2Stub - Class in com.google.cloud.logging.v2.stub
-
gRPC stub implementation for Stackdriver Logging API.
- GrpcLoggingServiceV2Stub(LoggingSettings, ClientContext) - Constructor for class com.google.cloud.logging.v2.stub.GrpcLoggingServiceV2Stub
-
Constructs an instance of GrpcLoggingServiceV2Stub, using the given settings.
- GrpcMetricsServiceV2Stub - Class in com.google.cloud.logging.v2.stub
-
gRPC stub implementation for Stackdriver Logging API.
- GrpcMetricsServiceV2Stub(MetricsSettings, ClientContext) - Constructor for class com.google.cloud.logging.v2.stub.GrpcMetricsServiceV2Stub
-
Constructs an instance of GrpcMetricsServiceV2Stub, using the given settings.
- 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.getLabels()
of each log entry written, except when a log entry already has a
value associated to the same key.
- 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.v2.GrpcLoggingRpc
-
- list(ListLogEntriesRequest) - Method in class com.google.cloud.logging.spi.v2.GrpcLoggingRpc
-
- list(ListMonitoredResourceDescriptorsRequest) - Method in class com.google.cloud.logging.spi.v2.GrpcLoggingRpc
-
- list(ListLogMetricsRequest) - Method in class com.google.cloud.logging.spi.v2.GrpcLoggingRpc
-
- list(ListSinksRequest) - Method in interface com.google.cloud.logging.spi.v2.LoggingRpc
-
Sends a request to list the sinks in a project.
- list(ListLogEntriesRequest) - Method in interface com.google.cloud.logging.spi.v2.LoggingRpc
-
Sends a request to list log entries.
- list(ListMonitoredResourceDescriptorsRequest) - Method in interface com.google.cloud.logging.spi.v2.LoggingRpc
-
Sends a request to list monitored resource descriptors.
- list(ListLogMetricsRequest) - Method in interface com.google.cloud.logging.spi.v2.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.v2.LoggingClient
-
Lists log entries.
- listLogEntries(ListLogEntriesRequest) - Method in class com.google.cloud.logging.v2.LoggingClient
-
Lists log entries.
- 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.v2.LoggingClient
-
Lists log entries.
- listLogEntriesCallable() - Method in class com.google.cloud.logging.v2.stub.GrpcLoggingServiceV2Stub
-
- listLogEntriesCallable() - Method in class com.google.cloud.logging.v2.stub.LoggingServiceV2Stub
-
- listLogEntriesPagedCallable() - Method in class com.google.cloud.logging.v2.LoggingClient
-
Lists log entries.
- listLogEntriesPagedCallable() - Method in class com.google.cloud.logging.v2.stub.GrpcLoggingServiceV2Stub
-
- listLogEntriesPagedCallable() - Method in class com.google.cloud.logging.v2.stub.LoggingServiceV2Stub
-
- listLogEntriesSettings() - Method in class com.google.cloud.logging.v2.LoggingSettings.Builder
-
Returns the builder for the settings used for calls to listLogEntries.
- listLogEntriesSettings() - Method in class com.google.cloud.logging.v2.LoggingSettings
-
Returns the object with the settings used for calls to listLogEntries.
- listLogMetrics(ParentNameOneof) - Method in class com.google.cloud.logging.v2.MetricsClient
-
Lists logs-based metrics.
- listLogMetrics(ListLogMetricsRequest) - Method in class com.google.cloud.logging.v2.MetricsClient
-
Lists logs-based metrics.
- listLogMetricsCallable() - Method in class com.google.cloud.logging.v2.MetricsClient
-
Lists logs-based metrics.
- listLogMetricsCallable() - Method in class com.google.cloud.logging.v2.stub.GrpcMetricsServiceV2Stub
-
- listLogMetricsCallable() - Method in class com.google.cloud.logging.v2.stub.MetricsServiceV2Stub
-
- listLogMetricsPagedCallable() - Method in class com.google.cloud.logging.v2.MetricsClient
-
Lists logs-based metrics.
- listLogMetricsPagedCallable() - Method in class com.google.cloud.logging.v2.stub.GrpcMetricsServiceV2Stub
-
- listLogMetricsPagedCallable() - Method in class com.google.cloud.logging.v2.stub.MetricsServiceV2Stub
-
- listLogMetricsSettings() - Method in class com.google.cloud.logging.v2.MetricsSettings.Builder
-
Returns the builder for the settings used for calls to listLogMetrics.
- listLogMetricsSettings() - Method in class com.google.cloud.logging.v2.MetricsSettings
-
Returns the object with the settings used for calls to listLogMetrics.
- listLogs(ParentNameOneof) - Method in class com.google.cloud.logging.v2.LoggingClient
-
Lists the logs in projects, organizations, folders, or billing accounts.
- listLogs(ListLogsRequest) - Method in class com.google.cloud.logging.v2.LoggingClient
-
Lists the logs in projects, organizations, folders, or billing accounts.
- listLogsCallable() - Method in class com.google.cloud.logging.v2.LoggingClient
-
Lists the logs in projects, organizations, folders, or billing accounts.
- listLogsCallable() - Method in class com.google.cloud.logging.v2.stub.GrpcLoggingServiceV2Stub
-
- listLogsCallable() - Method in class com.google.cloud.logging.v2.stub.LoggingServiceV2Stub
-
- listLogsPagedCallable() - Method in class com.google.cloud.logging.v2.LoggingClient
-
Lists the logs in projects, organizations, folders, or billing accounts.
- listLogsPagedCallable() - Method in class com.google.cloud.logging.v2.stub.GrpcLoggingServiceV2Stub
-
- listLogsPagedCallable() - Method in class com.google.cloud.logging.v2.stub.LoggingServiceV2Stub
-
- listLogsSettings() - Method in class com.google.cloud.logging.v2.LoggingSettings.Builder
-
Returns the builder for the settings used for calls to listLogs.
- listLogsSettings() - Method in class com.google.cloud.logging.v2.LoggingSettings
-
Returns the object with the settings used for calls to listLogs.
- 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.v2.LoggingClient
-
Lists the descriptors for monitored resource types used by Stackdriver Logging.
- 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.v2.LoggingClient
-
Lists the descriptors for monitored resource types used by Stackdriver Logging.
- listMonitoredResourceDescriptorsCallable() - Method in class com.google.cloud.logging.v2.stub.GrpcLoggingServiceV2Stub
-
- listMonitoredResourceDescriptorsCallable() - Method in class com.google.cloud.logging.v2.stub.LoggingServiceV2Stub
-
- listMonitoredResourceDescriptorsPagedCallable() - Method in class com.google.cloud.logging.v2.LoggingClient
-
Lists the descriptors for monitored resource types used by Stackdriver Logging.
- listMonitoredResourceDescriptorsPagedCallable() - Method in class com.google.cloud.logging.v2.stub.GrpcLoggingServiceV2Stub
-
- listMonitoredResourceDescriptorsPagedCallable() - Method in class com.google.cloud.logging.v2.stub.LoggingServiceV2Stub
-
- listMonitoredResourceDescriptorsSettings() - Method in class com.google.cloud.logging.v2.LoggingSettings.Builder
-
Returns the builder for the settings used for calls to listMonitoredResourceDescriptors.
- listMonitoredResourceDescriptorsSettings() - Method in class com.google.cloud.logging.v2.LoggingSettings
-
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(ParentNameOneof) - Method in class com.google.cloud.logging.v2.ConfigClient
-
Lists sinks.
- listSinks(ListSinksRequest) - Method in class com.google.cloud.logging.v2.ConfigClient
-
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.v2.ConfigClient
-
Lists sinks.
- listSinksCallable() - Method in class com.google.cloud.logging.v2.stub.ConfigServiceV2Stub
-
- listSinksCallable() - Method in class com.google.cloud.logging.v2.stub.GrpcConfigServiceV2Stub
-
- listSinksPagedCallable() - Method in class com.google.cloud.logging.v2.ConfigClient
-
Lists sinks.
- listSinksPagedCallable() - Method in class com.google.cloud.logging.v2.stub.ConfigServiceV2Stub
-
- listSinksPagedCallable() - Method in class com.google.cloud.logging.v2.stub.GrpcConfigServiceV2Stub
-
- listSinksSettings() - Method in class com.google.cloud.logging.v2.ConfigSettings.Builder
-
Returns the builder for the settings used for calls to listSinks.
- listSinksSettings() - Method in class com.google.cloud.logging.v2.ConfigSettings
-
Returns the object with the settings used for calls to listSinks.
- 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.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.
- LoggingClient - Class in com.google.cloud.logging.v2
-
Service Description: Service for ingesting and querying logs.
- LoggingClient(LoggingSettings) - Constructor for class com.google.cloud.logging.v2.LoggingClient
-
Constructs an instance of LoggingClient, using the given settings.
- LoggingClient(LoggingServiceV2Stub) - Constructor for class com.google.cloud.logging.v2.LoggingClient
-
- LoggingEnhancer - Interface in com.google.cloud.logging
-
An enhancer for log entries.
- LoggingException - Exception in com.google.cloud.logging
-
Logging service exception.
- LoggingException(IOException, boolean) - Constructor for exception com.google.cloud.logging.LoggingException
-
- LoggingException(GrpcApiException) - 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.
- LoggingHandler(String, LoggingOptions, MonitoredResource, List<LoggingEnhancer>) - Constructor for class com.google.cloud.logging.LoggingHandler
-
Creates a handler that publishes messages to Stackdriver Logging.
- LoggingHelperException(String, Throwable) - Constructor for exception com.google.cloud.logging.testing.RemoteLoggingHelper.LoggingHelperException
-
- 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.DefaultLoggingRpcFactory - Class in com.google.cloud.logging
-
- LoggingRpc - Interface in com.google.cloud.logging.spi.v2
-
- LoggingRpcFactory - Interface in com.google.cloud.logging.spi
-
An interface for Logging RPC factory.
- LoggingServiceV2Stub - Class in com.google.cloud.logging.v2.stub
-
Base stub class for Stackdriver Logging API.
- LoggingServiceV2Stub() - Constructor for class com.google.cloud.logging.v2.stub.LoggingServiceV2Stub
-
- LoggingSettings - Class in com.google.cloud.logging.v2
-
- LoggingSettings.Builder - Class in com.google.cloud.logging.v2
-
Builder for LoggingSettings.
- logName(String) - Static method in class com.google.cloud.logging.Logging.WriteOption
-
Returns an option to specify a default log name (see
LogEntry.getLogName()
) for those
log entries that do not specify their own log name.
- 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, ?>) - 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 - 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.
- setCacheFillBytes(long) - Method in class com.google.cloud.logging.HttpRequest.Builder
-
Sets the number of HTTP response bytes inserted into cache.
- setCacheHit(boolean) - Method in class com.google.cloud.logging.HttpRequest.Builder
-
Sets whether or not an entity was served from cache (with or without validation).
- setCacheLookup(boolean) - Method in class com.google.cloud.logging.HttpRequest.Builder
-
Sets whether or not a cache lookup was attempted.
- setCacheValidatedWithOriginServer(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.
- setCredentialsProvider(CredentialsProvider) - Method in class com.google.cloud.logging.v2.ConfigSettings.Builder
-
- setCredentialsProvider(CredentialsProvider) - Method in class com.google.cloud.logging.v2.LoggingSettings.Builder
-
- setCredentialsProvider(CredentialsProvider) - Method in class com.google.cloud.logging.v2.MetricsSettings.Builder
-
- setCurrentTraceId(String) - Static method in class com.google.cloud.logging.TraceLoggingEnhancer
-
Set the Trace ID associated with any logging done by the current thread.
- setDescription(String) - Method in class com.google.cloud.logging.Metric.Builder
-
- setDescription(String) - Method in class com.google.cloud.logging.MetricInfo.Builder
-
Sets an optional description for this metric.
- setDestination(SinkInfo.Destination) - Method in class com.google.cloud.logging.Sink.Builder
-
- setDestination(SinkInfo.Destination) - Method in class com.google.cloud.logging.SinkInfo.Builder
-
Sets the export destination.
- setExecutorProvider(ExecutorProvider) - Method in class com.google.cloud.logging.v2.ConfigSettings.Builder
-
- setExecutorProvider(ExecutorProvider) - Method in class com.google.cloud.logging.v2.LoggingSettings.Builder
-
- setExecutorProvider(ExecutorProvider) - Method in class com.google.cloud.logging.v2.MetricsSettings.Builder
-
- setFilter(String) - Method in class com.google.cloud.logging.Metric.Builder
-
- setFilter(String) - Method in class com.google.cloud.logging.MetricInfo.Builder
-
Sets an advanced logs filter.
- setFilter(String) - Method in class com.google.cloud.logging.Sink.Builder
-
- setFilter(String) - Method in class com.google.cloud.logging.SinkInfo.Builder
-
Sets an advanced logs filter.
- setFirst(boolean) - Method in class com.google.cloud.logging.Operation.Builder
-
Sets whether the corresponding entry is the first log entry in the operation.
- setFlushLevel(Level) - Method in class com.google.cloud.logging.LoggingHandler
-
Sets minimum logging level to log immediately and flush any pending writes.
- setFlushSeverity(Severity) - Method in interface com.google.cloud.logging.Logging
-
Sets flush severity for asynchronous logging writes.
- setHttpRequest(HttpRequest) - Method in class com.google.cloud.logging.LogEntry.Builder
-
Sets information about the HTTP request associated with this log entry, if applicable.
- setId(String) - Method in class com.google.cloud.logging.Operation.Builder
-
Sets the operation identifier.
- setInsertId(String) - Method in class com.google.cloud.logging.LogEntry.Builder
-
Sets a unique ID for the log entry.
- setLabels(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.
- setLast(boolean) - Method in class com.google.cloud.logging.Operation.Builder
-
Sets whether the corresponding entry is the last log entry in the operation.
- setLogName(String) - Method in class com.google.cloud.logging.LogEntry.Builder
-
Sets the name of the log to which this log entry belongs.
- setName(String) - Method in class com.google.cloud.logging.Metric.Builder
-
- setName(String) - Method in class com.google.cloud.logging.MetricInfo.Builder
-
Sets the name of the metric.
- setName(String) - Method in class com.google.cloud.logging.Sink.Builder
-
- setName(String) - Method in class com.google.cloud.logging.SinkInfo.Builder
-
Sets the name of the sink.
- setOperation(Operation) - Method in class com.google.cloud.logging.LogEntry.Builder
-
Sets information about an operation associated with the log entry, if applicable.
- setPayload(Payload) - Method in class com.google.cloud.logging.LogEntry.Builder
-
Sets the payload for this log entry.
- setProducer(String) - Method in class com.google.cloud.logging.Operation.Builder
-
Sets an arbitrary producer identifier.
- setReferer(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.
- setRemoteIp(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.
- setRequestMethod(HttpRequest.RequestMethod) - Method in class com.google.cloud.logging.HttpRequest.Builder
-
Sets the HTTP request method.
- setRequestSize(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.
- setRequestUrl(String) - Method in class com.google.cloud.logging.HttpRequest.Builder
-
Sets the requested URL.
- setResource(MonitoredResource) - Method in class com.google.cloud.logging.LogEntry.Builder
-
Sets the monitored resource associated with this log entry.
- setResponseSize(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.
- setServerIp(String) - Method in class com.google.cloud.logging.HttpRequest.Builder
-
Sets the IP address (IPv4 or IPv6) of the origin server that the request was sent to.
- setSeverity(Severity) - Method in class com.google.cloud.logging.LogEntry.Builder
-
Sets the severity of the log entry.
- setStatus(int) - Method in class com.google.cloud.logging.HttpRequest.Builder
-
Sets the response code indicating the status of response.
- setSynchronicity(Synchronicity) - Method in class com.google.cloud.logging.LoggingHandler
-
Sets synchronicity of logging writes.
- setTimestamp(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.
- setTransportOptions(TransportOptions) - Method in class com.google.cloud.logging.LoggingOptions.Builder
-
- setTransportProvider(TransportProvider) - Method in class com.google.cloud.logging.v2.ConfigSettings.Builder
-
- setTransportProvider(TransportProvider) - Method in class com.google.cloud.logging.v2.LoggingSettings.Builder
-
- setTransportProvider(TransportProvider) - Method in class com.google.cloud.logging.v2.MetricsSettings.Builder
-
- setUserAgent(String) - Method in class com.google.cloud.logging.HttpRequest.Builder
-
Sets the user agent sent by the client.
- setVersionFormat(SinkInfo.VersionFormat) - Method in class com.google.cloud.logging.Sink.Builder
-
- setVersionFormat(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.
- setWriteSynchronicity(Synchronicity) - Method in interface com.google.cloud.logging.Logging
-
- Severity - Enum in com.google.cloud.logging
-
The severity of the event described in a log entry.
- shutdown() - Method in class com.google.cloud.logging.v2.ConfigClient
-
- shutdown() - Method in class com.google.cloud.logging.v2.LoggingClient
-
- shutdown() - Method in class com.google.cloud.logging.v2.MetricsClient
-
- shutdown() - Method in class com.google.cloud.logging.v2.stub.GrpcConfigServiceV2Stub
-
- shutdown() - Method in class com.google.cloud.logging.v2.stub.GrpcLoggingServiceV2Stub
-
- shutdown() - Method in class com.google.cloud.logging.v2.stub.GrpcMetricsServiceV2Stub
-
- shutdownNow() - Method in class com.google.cloud.logging.v2.ConfigClient
-
- shutdownNow() - Method in class com.google.cloud.logging.v2.LoggingClient
-
- shutdownNow() - Method in class com.google.cloud.logging.v2.MetricsClient
-
- shutdownNow() - Method in class com.google.cloud.logging.v2.stub.GrpcConfigServiceV2Stub
-
- shutdownNow() - Method in class com.google.cloud.logging.v2.stub.GrpcLoggingServiceV2Stub
-
- shutdownNow() - Method in class com.google.cloud.logging.v2.stub.GrpcMetricsServiceV2Stub
-
- 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.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.
- Synchronicity - Enum in com.google.cloud.logging
-
Used to specify the behavior of write calls to the Stackdriver Logging service.
- valueOf(String) - Static method in class com.google.cloud.logging.HttpRequest.RequestMethod
-
Get the RequestMethod for the given String constant, and allow unrecognized values.
- 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.
- valueOf(String) - Static method in enum com.google.cloud.logging.Synchronicity
-
Returns the enum constant of this type with the specified name.
- valueOfStrict(String) - Static method in class com.google.cloud.logging.HttpRequest.RequestMethod
-
Get the RequestMethod for the given String constant, and throw an exception if the constant is
not recognized.
- values() - Static method in class com.google.cloud.logging.HttpRequest.RequestMethod
-
Return the known values for RequestMethod.
- 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.
- values() - Static method in enum com.google.cloud.logging.Synchronicity
-
Returns an array containing the constants of this enum type, in
the order they are declared.