public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

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

                case 18: {
                    if (policy_ == null)
                    {
                        policy_ = new global::Google.Iam.V1.Policy();
                    }
                    input.ReadMessage(policy_);
                    break;
                }
                }
            }
        }
 public void MergeFrom(SetIamPolicyRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Resource.Length != 0)
     {
         Resource = other.Resource;
     }
     if (other.policy_ != null)
     {
         if (policy_ == null)
         {
             policy_ = new global::Google.Iam.V1.Policy();
         }
         Policy.MergeFrom(other.Policy);
     }
 }