@InterfaceAudience.Private public class ClusterId extends Object
| Constructor and Description | 
|---|
| ClusterId()New ClusterID. | 
| ClusterId(String uuid) | 
| Modifier and Type | Method and Description | 
|---|---|
| org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterIdProtos.ClusterId | convert()Returns A pb instance to represent this instance. | 
| static ClusterId | convert(org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterIdProtos.ClusterId cid)Returns A  ClusterIdmade from the passed incid | 
| static ClusterId | parseFrom(byte[] bytes)Parse the serialized representation of the  ClusterId | 
| byte[] | toByteArray()Returns The clusterid serialized using pb w/ pb magic prefix | 
| String | toString() | 
public ClusterId()
public ClusterId(String uuid)
public byte[] toByteArray()
public static ClusterId parseFrom(byte[] bytes) throws DeserializationException
ClusterIdbytes - A pb serialized ClusterId instance with pb magic prefixClusterId made from bytesDeserializationExceptiontoByteArray()public org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterIdProtos.ClusterId convert()
public static ClusterId convert(org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterIdProtos.ClusterId cid)
ClusterId made from the passed in cidpublic String toString()
toString in class ObjectObject.toString()Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.