public virtual void Build()
 {
     proto = ((YarnSecurityTestAMRMTokenProtos.AMRMTokenIdentifierForTestProto)builder
              .Build());
     builder = null;
 }
 public AMRMTokenIdentifierForTest(AMRMTokenIdentifier tokenIdentifier, string message
                                   )
 {
     builder = YarnSecurityTestAMRMTokenProtos.AMRMTokenIdentifierForTestProto.NewBuilder
                   ();
     builder.SetAppAttemptId(tokenIdentifier.GetProto().GetAppAttemptId());
     builder.SetKeyId(tokenIdentifier.GetKeyId());
     builder.SetMessage(message);
     proto = ((YarnSecurityTestAMRMTokenProtos.AMRMTokenIdentifierForTestProto)builder
              .Build());
     builder = null;
 }