Esempio n. 1
0
 public virtual MasterKey GetNMTokenMasterKey()
 {
     YarnServerCommonServiceProtos.RegisterNodeManagerResponseProtoOrBuilder p = viaProto
                          ? proto : builder;
     if (this.nmTokenMasterKey != null)
     {
         return(this.nmTokenMasterKey);
     }
     if (!p.HasNmTokenMasterKey())
     {
         return(null);
     }
     this.nmTokenMasterKey = ConvertFromProtoFormat(p.GetNmTokenMasterKey());
     return(this.nmTokenMasterKey);
 }