示例#1
0
 public void MergeFrom(TestSuite other)
 {
     if (other == null)
     {
         return;
     }
     if (other.startedAt_ != null)
     {
         if (startedAt_ == null)
         {
             startedAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         StartedAt.MergeFrom(other.StartedAt);
     }
     if (other.completedAt_ != null)
     {
         if (completedAt_ == null)
         {
             completedAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CompletedAt.MergeFrom(other.CompletedAt);
     }
     results_.Add(other.results_);
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
示例#2
0
 public void MergeFrom(Backup other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.FolderId.Length != 0)
     {
         FolderId = other.FolderId;
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     if (other.SourceClusterId.Length != 0)
     {
         SourceClusterId = other.SourceClusterId;
     }
     if (other.startedAt_ != null)
     {
         if (startedAt_ == null)
         {
             StartedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         StartedAt.MergeFrom(other.StartedAt);
     }
     sourceShardNames_.Add(other.sourceShardNames_);
     if (other.Size != 0L)
     {
         Size = other.Size;
     }
     if (other.Type != global::Yandex.Cloud.Mdb.Mongodb.V1.Backup.Types.BackupType.Unspecified)
     {
         Type = other.Type;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
示例#3
0
 public void MergeFrom(Backup other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.FolderId.Length != 0)
     {
         FolderId = other.FolderId;
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     if (other.SourceClusterId.Length != 0)
     {
         SourceClusterId = other.SourceClusterId;
     }
     if (other.startedAt_ != null)
     {
         if (startedAt_ == null)
         {
             StartedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         StartedAt.MergeFrom(other.StartedAt);
     }
     sourceShardNames_.Add(other.sourceShardNames_);
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
示例#4
0
 public void MergeFrom(TestRun other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.Status != 0)
     {
         Status = other.Status;
     }
     if (other.Info.Length != 0)
     {
         Info = other.Info;
     }
     if (other.startedAt_ != null)
     {
         if (startedAt_ == null)
         {
             startedAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         StartedAt.MergeFrom(other.StartedAt);
     }
     if (other.completedAt_ != null)
     {
         if (completedAt_ == null)
         {
             completedAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CompletedAt.MergeFrom(other.CompletedAt);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }