Exemplo n.º 1
0
 public void MergeFrom(RejectedUsageRecord other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Uuid.Length != 0)
     {
         Uuid = other.Uuid;
     }
     if (other.Reason != global::Yandex.Cloud.Marketplace.V1.Metering.RejectedUsageRecord.Types.Reason.Unspecified)
     {
         Reason = other.Reason;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Exemplo n.º 2
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: {
                    Uuid = input.ReadString();
                    break;
                }

                case 16: {
                    Reason = (global::Yandex.Cloud.Marketplace.V1.Metering.RejectedUsageRecord.Types.Reason)input.ReadEnum();
                    break;
                }
                }
            }
        }