public class MasterKeyPBImpl extends ProtoBase<YarnServerCommonProtos.MasterKeyProto> implements MasterKey
| Constructor and Description |
|---|
MasterKeyPBImpl() |
MasterKeyPBImpl(YarnServerCommonProtos.MasterKeyProto proto) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ByteBuffer |
getBytes() |
int |
getKeyId() |
YarnServerCommonProtos.MasterKeyProto |
getProto() |
int |
hashCode() |
void |
setBytes(ByteBuffer bytes) |
void |
setKeyId(int id) |
convertFromProtoFormat, convertToProtoFormat, toStringpublic MasterKeyPBImpl()
public MasterKeyPBImpl(YarnServerCommonProtos.MasterKeyProto proto)
public YarnServerCommonProtos.MasterKeyProto getProto()
getProto in class ProtoBase<YarnServerCommonProtos.MasterKeyProto>public ByteBuffer getBytes()
public void setBytes(ByteBuffer bytes)
public int hashCode()
hashCode in class ProtoBase<YarnServerCommonProtos.MasterKeyProto>public boolean equals(Object obj)
equals in class ProtoBase<YarnServerCommonProtos.MasterKeyProto>Copyright © 2018 CERN. All Rights Reserved.