@InterfaceAudience.Private public class ClusterId extends java.lang.Object
Constructor and Description |
---|
ClusterId()
New ClusterID.
|
ClusterId(java.lang.String uuid) |
Modifier and Type | Method and Description |
---|---|
static ClusterId |
parseFrom(byte[] bytes) |
byte[] |
toByteArray() |
java.lang.String |
toString() |
public ClusterId()
public ClusterId(java.lang.String uuid)
public byte[] toByteArray()
public static ClusterId parseFrom(byte[] bytes) throws DeserializationException
bytes
- A pb serialized ClusterId
instance with pb magic prefixClusterId
made from bytes
DeserializationException
toByteArray()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()