@Override public synchronized NodeId getNodeId() { NMTokenProtoOrBuilder p = viaProto ? proto : builder; if (this.nodeId != null) { return nodeId; } if (!p.hasNodeId()) { return null; } this.nodeId = convertFromProtoFormat(p.getNodeId()); return nodeId; }
@Override public synchronized Token getToken() { NMTokenProtoOrBuilder p = viaProto ? proto : builder; if (this.token != null) { return this.token; } if (!p.hasToken()) { return null; } this.token = convertFromProtoFormat(p.getToken()); return token; }