Example #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((EventType != null ? EventType.GetHashCode() : 0) * 397) ^ (Options != null ? Options.GetHashCode() : 0));
     }
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (EventType != global::Google.Cloud.SecurityCenter.V1P1Beta1.NotificationConfig.Types.EventType.Unspecified)
            {
                hash ^= EventType.GetHashCode();
            }
            if (PubsubTopic.Length != 0)
            {
                hash ^= PubsubTopic.GetHashCode();
            }
            if (ServiceAccount.Length != 0)
            {
                hash ^= ServiceAccount.GetHashCode();
            }
            if (notifyConfigCase_ == NotifyConfigOneofCase.StreamingConfig)
            {
                hash ^= StreamingConfig.GetHashCode();
            }
            hash ^= (int)notifyConfigCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Level != global::Google.Ads.GoogleAds.V7.Enums.FrequencyCapLevelEnum.Types.FrequencyCapLevel.Unspecified)
            {
                hash ^= Level.GetHashCode();
            }
            if (EventType != global::Google.Ads.GoogleAds.V7.Enums.FrequencyCapEventTypeEnum.Types.FrequencyCapEventType.Unspecified)
            {
                hash ^= EventType.GetHashCode();
            }
            if (TimeUnit != global::Google.Ads.GoogleAds.V7.Enums.FrequencyCapTimeUnitEnum.Types.FrequencyCapTimeUnit.Unspecified)
            {
                hash ^= TimeUnit.GetHashCode();
            }
            if (HasTimeLength)
            {
                hash ^= TimeLength.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (BatchId != null)
         {
             hashCode = hashCode * 59 + BatchId.GetHashCode();
         }
         if (ExeScript != null)
         {
             hashCode = hashCode * 59 + ExeScript.GetHashCode();
         }
         if (EventType != null)
         {
             hashCode = hashCode * 59 + EventType.GetHashCode();
         }
         if (ActivityId != null)
         {
             hashCode = hashCode * 59 + ActivityId.GetHashCode();
         }
         return(hashCode);
     }
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (EventType != 0)
            {
                hash ^= EventType.GetHashCode();
            }
            if (PubsubTopic.Length != 0)
            {
                hash ^= PubsubTopic.GetHashCode();
            }
            if (ServiceAccount.Length != 0)
            {
                hash ^= ServiceAccount.GetHashCode();
            }
            if (notifyConfigCase_ == NotifyConfigOneofCase.StreamingConfig)
            {
                hash ^= StreamingConfig.GetHashCode();
            }
            hash ^= (int)notifyConfigCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (entityId_ != null)
            {
                hash ^= EntityId.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (AdditionalInformation.Length != 0)
            {
                hash ^= AdditionalInformation.GetHashCode();
            }
            if (EventType != 0)
            {
                hash ^= EventType.GetHashCode();
            }
            if (dateRange_ != null)
            {
                hash ^= DateRange.GetHashCode();
            }
            return(hash);
        }
Example #7
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((EventType != null ? EventType.GetHashCode() : 0) * 397) ^ (Qualifiers != null ? Qualifiers.GetHashCode() : 0));
     }
 }
Example #8
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Level != 0)
            {
                hash ^= Level.GetHashCode();
            }
            if (EventType != 0)
            {
                hash ^= EventType.GetHashCode();
            }
            if (TimeUnit != 0)
            {
                hash ^= TimeUnit.GetHashCode();
            }
            if (timeLength_ != null)
            {
                hash ^= TimeLength.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #9
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((EventType != null ? EventType.GetHashCode() : 0) * 397) ^ (BoundedContext != null ? BoundedContext.GetHashCode() : 0));
     }
 }
        public override int GetHashCode()
        {
            int result = EventType.GetHashCode();

            result = (result * 397) ^ Name.GetHashCode();
            return(result);
        }
Example #11
0
 public override int GetHashCode()
 {
     return(DateTime.GetHashCode()
            ^ FileName.GetHashCode()
            ^ EventType.GetHashCode()
            ^ UploadStatus.GetHashCode()
            ^ Link.GetHashCode());
 }
Example #12
0
        public EventType EventType; //Prüfung: Kann die SourceApp dieses Event generieren?

        public override int GetHashCode()
        {
            int prime  = 31;
            int result = 1;

            result = prime * result + ((SourceAppId == null) ? 0 : SourceAppId.GetHashCode());
            result = prime * result + EventType.GetHashCode();
            return(result);
        }
Example #13
0
 /// <summary>
 ///     Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked             // Overflow is fine, just wrap
     {
         int hashCode = 41 * _type.GetHashCode();
         // Suitable nullity checks etc, of course :)
         return(hashCode);
     }
 }
        public override int GetHashCode()
        {
            int hashCode = -2103952962;

            hashCode = hashCode * -1521134295 + EventStartDate.GetHashCode();
            hashCode = hashCode * -1521134295 + EventType.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Location);

            return(hashCode);
        }
Example #15
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (method != null ? method.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Listener != null ? Listener.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (EventType != null ? EventType.GetHashCode() : 0);
         return(hashCode);
     }
 }
Example #16
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = A.GetHashCode();
         hashCode = (hashCode * 397) ^ X.GetHashCode();
         hashCode = (hashCode * 397) ^ EventType.GetHashCode();
         return(hashCode);
     }
 }
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Id.GetHashCode();
         hashCode = (hashCode * 397) ^ (EventType != null ? EventType.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Message != null ? Message.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ CreatedDate.GetHashCode();
         return(hashCode);
     }
 }
 public override int GetHashCode()
 {
     unchecked
     {
         int result = Locations.GetHashCode();
         result = (result * 397) ^ EventType.GetHashCode();
         result = (result * 397) ^ Date.GetHashCode();
         result = (result * 397) ^ MoreInformationUrl.GetHashCode();
         return(result);
     }
 }
Example #19
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (EventType.Length != 0)
        {
            hash ^= EventType.GetHashCode();
        }
        hash ^= filters_.GetHashCode();
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }
Example #20
0
        ///<summary>
        /// Get Hash Code.
        ///</summary>
        ///<returns>Hash Code for the current instance.</returns>
        public override int GetHashCode()
        {
            int hashCode = base.GetHashCode();

            if (_sender != null)
            {
                hashCode += _sender.GetHashCode();
            }
            hashCode += _type.GetHashCode();
            if (_simulationTime != null)
            {
                hashCode += _simulationTime.GetHashCode();
            }
            return(hashCode);
        }
    public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.id)
            {
                hashcode = (hashcode * 397) + Id.GetHashCode();
            }
            if (__isset.to)
            {
                hashcode = (hashcode * 397) + To.GetHashCode();
            }
            if (__isset.from_)
            {
                hashcode = (hashcode * 397) + From_.GetHashCode();
            }
            if (__isset.toChannel)
            {
                hashcode = (hashcode * 397) + ToChannel.GetHashCode();
            }
            if (__isset.fromChannel)
            {
                hashcode = (hashcode * 397) + FromChannel.GetHashCode();
            }
            if (__isset.eventType)
            {
                hashcode = (hashcode * 397) + EventType.GetHashCode();
            }
            if (__isset.createdTime)
            {
                hashcode = (hashcode * 397) + CreatedTime.GetHashCode();
            }
            if (__isset.operationRevision)
            {
                hashcode = (hashcode * 397) + OperationRevision.GetHashCode();
            }
            if (__isset.content)
            {
                hashcode = (hashcode * 397) + TCollections.GetHashCode(Content);
            }
            if (__isset.push)
            {
                hashcode = (hashcode * 397) + TCollections.GetHashCode(Push);
            }
        }
        return(hashcode);
    }
Example #22
0
        public override int GetHashCode()
        {
            unchecked
            {
                var hashCode = PartitionKey?.GetHashCode() ?? 0;
                hashCode = (hashCode * 397) ^ (RowKey?.GetHashCode() ?? 0);
                hashCode = (hashCode * 397) ^ Created.GetHashCode();
                hashCode = (hashCode * 397) ^ (EventType?.GetHashCode() ?? 0);
                hashCode = (hashCode * 397) ^ (OperationName?.GetHashCode() ?? 0);
                hashCode = (hashCode * 397) ^ (OrganizationId?.GetHashCode() ?? 0);
                hashCode = (hashCode * 397) ^ (SubscriptionId?.GetHashCode() ?? 0);
                hashCode = (hashCode * 397) ^ (Data?.GetHashCode() ?? 0);

                return(hashCode);
            }
        }
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (EventType != null)
         {
             hashCode = hashCode * 59 + EventType.GetHashCode();
         }
         if (ProviderId != null)
         {
             hashCode = hashCode * 59 + ProviderId.GetHashCode();
         }
         return(hashCode);
     }
 }
Example #24
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (EventType != 0)
            {
                hash ^= EventType.GetHashCode();
            }
            if (Desc.Length != 0)
            {
                hash ^= Desc.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #25
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (EventId != 0UL)
            {
                hash ^= EventId.GetHashCode();
            }
            if (EventType != 0)
            {
                hash ^= EventType.GetHashCode();
            }
            if (valueTypeCase_ == ValueTypeOneofCase.LongValue)
            {
                hash ^= LongValue.GetHashCode();
            }
            if (valueTypeCase_ == ValueTypeOneofCase.DoubleValue)
            {
                hash ^= DoubleValue.GetHashCode();
            }
            if (valueTypeCase_ == ValueTypeOneofCase.SkeletonValue)
            {
                hash ^= SkeletonValue.GetHashCode();
            }
            if (valueTypeCase_ == ValueTypeOneofCase.ObjectValue)
            {
                hash ^= ObjectValue.GetHashCode();
            }
            if (valueTypeCase_ == ValueTypeOneofCase.StringValue)
            {
                hash ^= StringValue.GetHashCode();
            }
            if (valueTypeCase_ == ValueTypeOneofCase.CustomValue)
            {
                hash ^= CustomValue.GetHashCode();
            }
            if (appTypeCase_ == AppTypeOneofCase.AppId)
            {
                hash ^= AppId.GetHashCode();
            }
            hash ^= (int)valueTypeCase_;
            hash ^= (int)appTypeCase_;
            return(hash);
        }
Example #26
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (EventType.Length != 0)
        {
            hash ^= EventType.GetHashCode();
        }
        hash ^= attributes_.GetHashCode();
        if (Data.Length != 0)
        {
            hash ^= Data.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }
Example #27
0
        public override int GetHashCode()
        {
            unchecked {
                int result = LogPosition.GetHashCode();
                result = (result * 397) ^ Flags.GetHashCode();
                result = (result * 397) ^ TransactionPosition.GetHashCode();
                result = (result * 397) ^ TransactionOffset;
                result = (result * 397) ^ ExpectedVersion.GetHashCode();
                result = (result * 397) ^ EventStreamId.GetHashCode();

                result = (result * 397) ^ EventId.GetHashCode();
                result = (result * 397) ^ CorrelationId.GetHashCode();
                result = (result * 397) ^ TimeStamp.GetHashCode();
                result = (result * 397) ^ EventType.GetHashCode();
                result = (result * 397) ^ Data.GetHashCode();
                result = (result * 397) ^ Metadata.GetHashCode();
                return(result);
            }
        }
Example #28
0
        /// <summary>
        /// Gets the hash code
        /// </summary>
        /// <returns>Hash code</returns>
        public override int GetHashCode()
        {
            unchecked // Overflow is fine, just wrap
            {
                var hashCode = 41;
                // Suitable nullity checks etc, of course :)
                if (EventType != null)
                {
                    hashCode = hashCode * 59 + EventType.GetHashCode();
                }

                hashCode = hashCode * 59 + Destination.GetHashCode();
                if (Duty != null)
                {
                    hashCode = hashCode * 59 + Duty.GetHashCode();
                }
                return(hashCode);
            }
        }
Example #29
0
        /// <summary>
        /// Gets the hash code
        /// </summary>
        /// <returns>Hash code</returns>
        public override int GetHashCode()
        {
            unchecked // Overflow is fine, just wrap
            {
                var hashCode = 41;
                // Suitable nullity checks etc, of course :)

                hashCode = hashCode * 59 + EventType.GetHashCode();

                hashCode = hashCode * 59 + EntityType.GetHashCode();
                if (EntityId != null)
                {
                    hashCode = hashCode * 59 + EntityId.GetHashCode();
                }
                if (TimeStamp != null)
                {
                    hashCode = hashCode * 59 + TimeStamp.GetHashCode();
                }
                return(hashCode);
            }
        }
Example #30
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (EventSn != 0L)
            {
                hash ^= EventSn.GetHashCode();
            }
            if (EventType != 0)
            {
                hash ^= EventType.GetHashCode();
            }
            if (EventValue.Length != 0)
            {
                hash ^= EventValue.GetHashCode();
            }
            if (StartDt.Length != 0)
            {
                hash ^= StartDt.GetHashCode();
            }
            if (EndDt.Length != 0)
            {
                hash ^= EndDt.GetHashCode();
            }
            if (Checked != false)
            {
                hash ^= Checked.GetHashCode();
            }
            if (IAmString.Length != 0)
            {
                hash ^= IAmString.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }