Ejemplo n.º 1
0
 public void MergeFrom(EstafetteEvent other)
 {
     if (other == null)
     {
         return;
     }
     if (other.pipeline_ != null)
     {
         if (pipeline_ == null)
         {
             Pipeline = new global::Estafette.Ci.Manifest.V1.EstafettePipelineEvent();
         }
         Pipeline.MergeFrom(other.Pipeline);
     }
     if (other.release_ != null)
     {
         if (release_ == null)
         {
             Release = new global::Estafette.Ci.Manifest.V1.EstafetteReleaseEvent();
         }
         Release.MergeFrom(other.Release);
     }
     if (other.git_ != null)
     {
         if (git_ == null)
         {
             Git = new global::Estafette.Ci.Manifest.V1.EstafetteGitEvent();
         }
         Git.MergeFrom(other.Git);
     }
     if (other.docker_ != null)
     {
         if (docker_ == null)
         {
             Docker = new global::Estafette.Ci.Manifest.V1.EstafetteDockerEvent();
         }
         Docker.MergeFrom(other.Docker);
     }
     if (other.cron_ != null)
     {
         if (cron_ == null)
         {
             Cron = new global::Estafette.Ci.Manifest.V1.EstafetteCronEvent();
         }
         Cron.MergeFrom(other.Cron);
     }
     if (other.pubSub_ != null)
     {
         if (pubSub_ == null)
         {
             PubSub = new global::Estafette.Ci.Manifest.V1.EstafettePubSubEvent();
         }
         PubSub.MergeFrom(other.PubSub);
     }
     if (other.manual_ != null)
     {
         if (manual_ == null)
         {
             Manual = new global::Estafette.Ci.Manifest.V1.EstafetteManualEvent();
         }
         Manual.MergeFrom(other.Manual);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
 public void MergeFrom(EstafetteTrigger other)
 {
     if (other == null)
     {
         return;
     }
     if (other.pipeline_ != null)
     {
         if (pipeline_ == null)
         {
             Pipeline = new global::Estafette.Ci.Manifest.V1.EstafettePipelineTrigger();
         }
         Pipeline.MergeFrom(other.Pipeline);
     }
     if (other.release_ != null)
     {
         if (release_ == null)
         {
             Release = new global::Estafette.Ci.Manifest.V1.EstafetteReleaseTrigger();
         }
         Release.MergeFrom(other.Release);
     }
     if (other.git_ != null)
     {
         if (git_ == null)
         {
             Git = new global::Estafette.Ci.Manifest.V1.EstafetteGitTrigger();
         }
         Git.MergeFrom(other.Git);
     }
     if (other.docker_ != null)
     {
         if (docker_ == null)
         {
             Docker = new global::Estafette.Ci.Manifest.V1.EstafetteDockerTrigger();
         }
         Docker.MergeFrom(other.Docker);
     }
     if (other.cron_ != null)
     {
         if (cron_ == null)
         {
             Cron = new global::Estafette.Ci.Manifest.V1.EstafetteCronTrigger();
         }
         Cron.MergeFrom(other.Cron);
     }
     if (other.pubSub_ != null)
     {
         if (pubSub_ == null)
         {
             PubSub = new global::Estafette.Ci.Manifest.V1.EstafettePubSubTrigger();
         }
         PubSub.MergeFrom(other.PubSub);
     }
     if (other.buildAction_ != null)
     {
         if (buildAction_ == null)
         {
             BuildAction = new global::Estafette.Ci.Manifest.V1.EstafetteTriggerBuildAction();
         }
         BuildAction.MergeFrom(other.BuildAction);
     }
     if (other.releaseAction_ != null)
     {
         if (releaseAction_ == null)
         {
             ReleaseAction = new global::Estafette.Ci.Manifest.V1.EstafetteTriggerReleaseAction();
         }
         ReleaseAction.MergeFrom(other.ReleaseAction);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }