public abstract class Payload<T> extends Object implements Serializable
| Modifier and Type | Class and 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.
|
static class |
Payload.Type
Type for a log entry payload.
|
public Payload.Type type()
Payload.Type.STRING), a JSON object
(Payload.Type.JSON) or a protobuf object (Payload.Type.PROTO).public T data()
Copyright © 2016 Google. All rights reserved.