Uses of Class
com.google.cloud.logging.Payload
-
Packages that use Payload Package Description com.google.cloud.logging A client for Cloud Logging - Real-time log management and analysis. -
-
Uses of Payload in com.google.cloud.logging
Subclasses of Payload in com.google.cloud.logging Modifier and Type Class Description static class
Payload.JsonPayload
A log entry's JSON payload.static class
Payload.ProtoPayload
A log entry payload as a protobuf object.static class
Payload.StringPayload
A log entry payload as an UTF-8 string.Methods in com.google.cloud.logging with type parameters of type Payload Modifier and Type Method Description <T extends Payload<?>>
TLogEntry. getPayload()
Returns the payload for this log entry.Methods in com.google.cloud.logging with parameters of type Payload Modifier and Type Method Description static LogEntry.Builder
LogEntry. newBuilder(Payload<?> payload)
Returns a builder forLogEntry
objects given the entry payload.static LogEntry
LogEntry. of(Payload<?> payload)
Creates aLogEntry
object given the entry payload.static LogEntry
LogEntry. of(String logName, com.google.cloud.MonitoredResource resource, Payload<?> payload)
Creates aLogEntry
object given the log name, the monitored resource and the entry payload.LogEntry.Builder
LogEntry.Builder. setPayload(Payload<?> payload)
Sets the payload for this log entry.
-