예제 #1
0
        public override int GetHashCode()
        {
            var hash = 1;

            if (signatureInfo_ != null)
            {
                hash ^= SignatureInfo.GetHashCode();
            }
            if (HasBatchNum)
            {
                hash ^= BatchNum.GetHashCode();
            }
            if (HasBatchSize)
            {
                hash ^= BatchSize.GetHashCode();
            }
            if (HasSignature)
            {
                hash ^= Signature.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #2
0
        public override int GetHashCode()
        {
            var hash = 1;

            if (HasAppBundleId)
            {
                hash ^= AppBundleId.GetHashCode();
            }

            if (HasAndroidPackage)
            {
                hash ^= AndroidPackage.GetHashCode();
            }

            if (HasVerificationKeyVersion)
            {
                hash ^= VerificationKeyVersion.GetHashCode();
            }

            if (HasVerificationKeyId)
            {
                hash ^= VerificationKeyId.GetHashCode();
            }

            if (HasSignatureAlgorithm)
            {
                hash ^= SignatureAlgorithm.GetHashCode();
            }

            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            var hash = 1;

            if (HasKeyData)
            {
                hash ^= KeyData.GetHashCode();
            }
            if (HasTransmissionRiskLevel)
            {
                hash ^= TransmissionRiskLevel.GetHashCode();
            }
            if (HasRollingStartIntervalNumber)
            {
                hash ^= RollingStartIntervalNumber.GetHashCode();
            }
            if (HasRollingPeriod)
            {
                hash ^= RollingPeriod.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }

            return(hash);
        }
        public override int GetHashCode()
        {
            var hash = 1;

            hash ^= signatures_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #5
0
        public override int GetHashCode()
        {
            int hash = 1;

            hash ^= keys_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
 public override int GetHashCode() {
     int hash = 1;
     if (KeyData.Length != 0) hash ^= KeyData.GetHashCode();
     if (RollingStartIntervalNumber != 0) hash ^= RollingStartIntervalNumber.GetHashCode();
     if (RollingPeriod != 0) hash ^= RollingPeriod.GetHashCode();
     if (TransmissionRiskLevel != 0) hash ^= TransmissionRiskLevel.GetHashCode();
     hash ^= visitedCountries_.GetHashCode();
     if (Origin.Length != 0) hash ^= Origin.GetHashCode();
     if (ReportType != global::Iks.Protobuf.EfgsReportType.Unknown) hash ^= ReportType.GetHashCode();
     if (DaysSinceOnsetOfSymptoms != 0) hash ^= DaysSinceOnsetOfSymptoms.GetHashCode();
     if (_unknownFields != null) {
         hash ^= _unknownFields.GetHashCode();
     }
     return hash;
 }
예제 #7
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (HasVerificationKeyVersion)
            {
                hash ^= VerificationKeyVersion.GetHashCode();
            }
            if (HasVerificationKeyId)
            {
                hash ^= VerificationKeyId.GetHashCode();
            }
            if (HasSignatureAlgorithm)
            {
                hash ^= SignatureAlgorithm.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }