@Override public Token getRMDelegationToken() { GetDelegationTokenResponseProtoOrBuilder p = viaProto ? proto : builder; if (this.appToken != null) { return this.appToken; } if (!p.hasToken()) { return null; } this.appToken = convertFromProtoFormat(p.getToken()); return this.appToken; }
@Override public Token getDelegationToken() { GetDelegationTokenResponseProtoOrBuilder p = viaProto ? proto : builder; if (this.mrToken != null) { return this.mrToken; } if (!p.hasToken()) { return null; } this.mrToken = convertFromProtoFormat(p.getToken()); return this.mrToken; }