示例#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: {
                    CustomerId = input.ReadString();
                    break;
                }

                case 18: {
                    BillingSetup = input.ReadString();
                    break;
                }

                case 26: {
                    IssueYear = input.ReadString();
                    break;
                }

                case 32: {
                    IssueMonth = (global::Google.Ads.GoogleAds.V2.Enums.MonthOfYearEnum.Types.MonthOfYear)input.ReadEnum();
                    break;
                }
                }
            }
        }
示例#2
0
 public void MergeFrom(ListInvoicesRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.CustomerId.Length != 0)
     {
         CustomerId = other.CustomerId;
     }
     if (other.BillingSetup.Length != 0)
     {
         BillingSetup = other.BillingSetup;
     }
     if (other.IssueYear.Length != 0)
     {
         IssueYear = other.IssueYear;
     }
     if (other.IssueMonth != 0)
     {
         IssueMonth = other.IssueMonth;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
示例#3
0
 public void MergeFrom(ListInvoicesRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.CustomerId.Length != 0)
     {
         CustomerId = other.CustomerId;
     }
     if (other.BillingSetup.Length != 0)
     {
         BillingSetup = other.BillingSetup;
     }
     if (other.IssueYear.Length != 0)
     {
         IssueYear = other.IssueYear;
     }
     if (other.IssueMonth != global::Google.Ads.GoogleAds.V2.Enums.MonthOfYearEnum.Types.MonthOfYear.Unspecified)
     {
         IssueMonth = other.IssueMonth;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }