Class UuidBuilder (1.13.7)

public final class UuidBuilder

Utilities for generating and converting 128-bit UUIDs.

Inheritance

java.lang.Object > UuidBuilder

Static Methods

generate()

public static UUID generate()

Generates a random UUID.

Returns
Type Description
UUID

toByteString(UUID uuid)

public static ByteString toByteString(UUID uuid)

Converts a UUID to a ByteString.

Parameter
Name Description
uuid UUID
Returns
Type Description
ByteString