public static enum AdminClient.BacklogLocation extends Enum<AdminClient.BacklogLocation>
BEGINNING refers to the location of the oldest retained message. END refers to the location past all currently published messages, skipping the entire message backlog.
| Modifier and Type | Method and Description |
|---|---|
static AdminClient.BacklogLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdminClient.BacklogLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdminClient.BacklogLocation BEGINNING
public static final AdminClient.BacklogLocation END
public static AdminClient.BacklogLocation[] values()
for (AdminClient.BacklogLocation c : AdminClient.BacklogLocation.values()) System.out.println(c);
public static AdminClient.BacklogLocation 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 © 2021 Google LLC. All rights reserved.