public override int GetHashCode() { int hash = 1; if (homepageTrigger_ != null) { hash ^= HomepageTrigger.GetHashCode(); } hash ^= conferenceSolution_.GetHashCode(); if (CreateSettingsUrlFunction.Length != 0) { hash ^= CreateSettingsUrlFunction.GetHashCode(); } if (eventOpenTrigger_ != null) { hash ^= EventOpenTrigger.GetHashCode(); } if (eventUpdateTrigger_ != null) { hash ^= EventUpdateTrigger.GetHashCode(); } if (CurrentEventAccess != global::Google.Apps.Script.Type.Calendar.CalendarAddOnManifest.Types.EventAccess.Unspecified) { hash ^= CurrentEventAccess.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public void MergeFrom(CommonAddOnManifest other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.LogoUrl.Length != 0) { LogoUrl = other.LogoUrl; } if (other.layoutProperties_ != null) { if (layoutProperties_ == null) { LayoutProperties = new global::Google.Apps.Script.Type.LayoutProperties(); } LayoutProperties.MergeFrom(other.LayoutProperties); } if (other.addOnWidgetSet_ != null) { if (addOnWidgetSet_ == null) { AddOnWidgetSet = new global::Google.Apps.Script.Type.AddOnWidgetSet(); } AddOnWidgetSet.MergeFrom(other.AddOnWidgetSet); } if (other.UseLocaleFromApp != false) { UseLocaleFromApp = other.UseLocaleFromApp; } if (other.homepageTrigger_ != null) { if (homepageTrigger_ == null) { HomepageTrigger = new global::Google.Apps.Script.Type.HomepageExtensionPoint(); } HomepageTrigger.MergeFrom(other.HomepageTrigger); } universalActions_.Add(other.universalActions_); if (other.openLinkUrlPrefixes_ != null) { if (openLinkUrlPrefixes_ == null) { OpenLinkUrlPrefixes = new global::Google.Protobuf.WellKnownTypes.ListValue(); } OpenLinkUrlPrefixes.MergeFrom(other.OpenLinkUrlPrefixes); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public override int GetHashCode() { int hash = 1; if (homepageTrigger_ != null) { hash ^= HomepageTrigger.GetHashCode(); } if (onItemsSelectedTrigger_ != null) { hash ^= OnItemsSelectedTrigger.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public void MergeFrom(CalendarAddOnManifest other) { if (other == null) { return; } if (other.homepageTrigger_ != null) { if (homepageTrigger_ == null) { HomepageTrigger = new global::Google.Apps.Script.Type.HomepageExtensionPoint(); } HomepageTrigger.MergeFrom(other.HomepageTrigger); } conferenceSolution_.Add(other.conferenceSolution_); if (other.CreateSettingsUrlFunction.Length != 0) { CreateSettingsUrlFunction = other.CreateSettingsUrlFunction; } if (other.eventOpenTrigger_ != null) { if (eventOpenTrigger_ == null) { EventOpenTrigger = new global::Google.Apps.Script.Type.Calendar.CalendarExtensionPoint(); } EventOpenTrigger.MergeFrom(other.EventOpenTrigger); } if (other.eventUpdateTrigger_ != null) { if (eventUpdateTrigger_ == null) { EventUpdateTrigger = new global::Google.Apps.Script.Type.Calendar.CalendarExtensionPoint(); } EventUpdateTrigger.MergeFrom(other.EventUpdateTrigger); } if (other.CurrentEventAccess != global::Google.Apps.Script.Type.Calendar.CalendarAddOnManifest.Types.EventAccess.Unspecified) { CurrentEventAccess = other.CurrentEventAccess; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public override int GetHashCode() { int hash = 1; if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (LogoUrl.Length != 0) { hash ^= LogoUrl.GetHashCode(); } if (layoutProperties_ != null) { hash ^= LayoutProperties.GetHashCode(); } if (addOnWidgetSet_ != null) { hash ^= AddOnWidgetSet.GetHashCode(); } if (UseLocaleFromApp != false) { hash ^= UseLocaleFromApp.GetHashCode(); } if (homepageTrigger_ != null) { hash ^= HomepageTrigger.GetHashCode(); } hash ^= universalActions_.GetHashCode(); if (openLinkUrlPrefixes_ != null) { hash ^= OpenLinkUrlPrefixes.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public void MergeFrom(DriveAddOnManifest other) { if (other == null) { return; } if (other.homepageTrigger_ != null) { if (homepageTrigger_ == null) { HomepageTrigger = new global::Google.Apps.Script.Type.HomepageExtensionPoint(); } HomepageTrigger.MergeFrom(other.HomepageTrigger); } if (other.onItemsSelectedTrigger_ != null) { if (onItemsSelectedTrigger_ == null) { OnItemsSelectedTrigger = new global::Google.Apps.Script.Type.Drive.DriveExtensionPoint(); } OnItemsSelectedTrigger.MergeFrom(other.OnItemsSelectedTrigger); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(SheetsAddOnManifest other) { if (other == null) { return; } if (other.homepageTrigger_ != null) { if (homepageTrigger_ == null) { HomepageTrigger = new global::Google.Apps.Script.Type.HomepageExtensionPoint(); } HomepageTrigger.MergeFrom(other.HomepageTrigger); } if (other.onFileScopeGrantedTrigger_ != null) { if (onFileScopeGrantedTrigger_ == null) { OnFileScopeGrantedTrigger = new global::Google.Apps.Script.Type.Sheets.SheetsExtensionPoint(); } OnFileScopeGrantedTrigger.MergeFrom(other.OnFileScopeGrantedTrigger); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }