Example #1
0
 public bool Equals(Service other) {
   if (ReferenceEquals(other, null)) {
     return false;
   }
   if (ReferenceEquals(other, this)) {
     return true;
   }
   if (Name != other.Name) return false;
   if (!Annotations.Equals(other.Annotations)) return false;
   if(!endpoints_.Equals(other.endpoints_)) return false;
   return Equals(_unknownFields, other._unknownFields);
 }
Example #2
0
 public bool Equals(Metadata other)
 {
     if (ReferenceEquals(other, null))
     {
         return(false);
     }
     if (ReferenceEquals(other, this))
     {
         return(true);
     }
     if (Name != other.Name)
     {
         return(false);
     }
     if (Home != other.Home)
     {
         return(false);
     }
     if (!sources_.Equals(other.sources_))
     {
         return(false);
     }
     if (Version != other.Version)
     {
         return(false);
     }
     if (Description != other.Description)
     {
         return(false);
     }
     if (!keywords_.Equals(other.keywords_))
     {
         return(false);
     }
     if (!maintainers_.Equals(other.maintainers_))
     {
         return(false);
     }
     if (Engine != other.Engine)
     {
         return(false);
     }
     if (Icon != other.Icon)
     {
         return(false);
     }
     if (ApiVersion != other.ApiVersion)
     {
         return(false);
     }
     if (Condition != other.Condition)
     {
         return(false);
     }
     if (Tags != other.Tags)
     {
         return(false);
     }
     if (AppVersion != other.AppVersion)
     {
         return(false);
     }
     if (Deprecated != other.Deprecated)
     {
         return(false);
     }
     if (TillerVersion != other.TillerVersion)
     {
         return(false);
     }
     if (!Annotations.Equals(other.Annotations))
     {
         return(false);
     }
     if (KubeVersion != other.KubeVersion)
     {
         return(false);
     }
     return(Equals(_unknownFields, other._unknownFields));
 }