예제 #1
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    BuilderVersion = input.ReadString();
                    break;
                }

                case 18: {
                    if (signature_ == null)
                    {
                        signature_ = new global::Grafeas.V1.BuildSignature();
                    }
                    input.ReadMessage(signature_);
                    break;
                }
                }
            }
        }
예제 #2
0
 public void MergeFrom(BuildNote other)
 {
     if (other == null)
     {
         return;
     }
     if (other.BuilderVersion.Length != 0)
     {
         BuilderVersion = other.BuilderVersion;
     }
     if (other.signature_ != null)
     {
         if (signature_ == null)
         {
             signature_ = new global::Grafeas.V1.BuildSignature();
         }
         Signature.MergeFrom(other.Signature);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }