public class MasterKeyPBImpl extends org.apache.hadoop.yarn.api.records.impl.pb.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) |
public MasterKeyPBImpl()
public MasterKeyPBImpl(YarnServerCommonProtos.MasterKeyProto proto)
public YarnServerCommonProtos.MasterKeyProto getProto()
getProto
in class org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<YarnServerCommonProtos.MasterKeyProto>
public ByteBuffer getBytes()
public void setBytes(ByteBuffer bytes)
public int hashCode()
hashCode
in class org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<YarnServerCommonProtos.MasterKeyProto>
public boolean equals(Object obj)
equals
in class org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<YarnServerCommonProtos.MasterKeyProto>
Copyright © 2018 Apache Software Foundation. All Rights Reserved.