public static enum Payload.Type extends Enum<Payload.Type>
Enum Constant and Description |
---|
JSON
Log entry data as JSON.
|
PROTO
Log entry data as a protobuf object.
|
STRING
Log entry data as UTF8 string.
|
Modifier and Type | Method and Description |
---|---|
static Payload.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Payload.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Payload.Type STRING
public static final Payload.Type JSON
public static final Payload.Type PROTO
public static Payload.Type[] values()
for (Payload.Type c : Payload.Type.values()) System.out.println(c);
public static Payload.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019 Google LLC. All rights reserved.