public virtual ByteBuffer GetBytes() { lock (this) { YarnServerCommonProtos.MasterKeyProtoOrBuilder p = viaProto ? proto : builder; return(ConvertFromProtoFormat(p.GetBytes())); } }
public virtual int GetKeyId() { lock (this) { YarnServerCommonProtos.MasterKeyProtoOrBuilder p = viaProto ? proto : builder; return(p.GetKeyId()); } }