public static enum BookKeeper.DigestType extends java.lang.Enum<BookKeeper.DigestType>
Modifier and Type | Method and Description |
---|---|
static BookKeeper.DigestType |
fromApiDigestType(DigestType digestType) |
DigestType |
toApiDigestType() |
static org.apache.bookkeeper.proto.DataFormats.LedgerMetadataFormat.DigestType |
toProtoDigestType(BookKeeper.DigestType digestType) |
static BookKeeper.DigestType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BookKeeper.DigestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BookKeeper.DigestType MAC
public static final BookKeeper.DigestType CRC32
public static final BookKeeper.DigestType CRC32C
public static final BookKeeper.DigestType DUMMY
public static BookKeeper.DigestType[] values()
for (BookKeeper.DigestType c : BookKeeper.DigestType.values()) System.out.println(c);
public static BookKeeper.DigestType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static BookKeeper.DigestType fromApiDigestType(DigestType digestType)
public static org.apache.bookkeeper.proto.DataFormats.LedgerMetadataFormat.DigestType toProtoDigestType(BookKeeper.DigestType digestType)
public DigestType toApiDigestType()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.