Esempio n. 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (ValueType != global::Google.Cloud.AIPlatform.V1.Feature.Types.ValueType.Unspecified)
            {
                hash ^= ValueType.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            hash ^= Labels.GetHashCode();
            if (Etag.Length != 0)
            {
                hash ^= Etag.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (detailsCase_ == DetailsOneofCase.DeleteDetails)
            {
                hash ^= DeleteDetails.GetHashCode();
            }
            if (detailsCase_ == DetailsOneofCase.CreateModelDetails)
            {
                hash ^= CreateModelDetails.GetHashCode();
            }
            if (ProgressPercent != 0)
            {
                hash ^= ProgressPercent.GetHashCode();
            }
            hash ^= partialFailures_.GetHashCode();
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            hash ^= (int)detailsCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (securityCenterProperties_ != null)
            {
                hash ^= SecurityCenterProperties.GetHashCode();
            }
            hash ^= ResourceProperties.GetHashCode();
            if (securityMarks_ != null)
            {
                hash ^= SecurityMarks.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            if (iamPolicy_ != null)
            {
                hash ^= IamPolicy.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            hash ^= Labels.GetHashCode();
            if (payload_ != null)
            {
                hash ^= Payload.GetHashCode();
            }
            if (Etag.Length != 0)
            {
                hash ^= Etag.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 5
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            if (Etag.Length != 0)
            {
                hash ^= Etag.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 6
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            if (encryptionSpec_ != null)
            {
                hash ^= EncryptionSpec.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (state_ != null)
            {
                hash ^= State.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Target.Length != 0)
            {
                hash ^= Target.GetHashCode();
            }
            if (Type != global::Google.Cloud.Functions.V1.OperationType.OperationUnspecified)
            {
                hash ^= Type.GetHashCode();
            }
            if (request_ != null)
            {
                hash ^= Request.GetHashCode();
            }
            if (VersionId != 0L)
            {
                hash ^= VersionId.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            if (BuildId.Length != 0)
            {
                hash ^= BuildId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (OrgDisplayName.Length != 0)
            {
                hash ^= OrgDisplayName.GetHashCode();
            }
            if (orgPostalAddress_ != null)
            {
                hash ^= OrgPostalAddress.GetHashCode();
            }
            if (primaryContactInfo_ != null)
            {
                hash ^= PrimaryContactInfo.GetHashCode();
            }
            if (AlternateEmail.Length != 0)
            {
                hash ^= AlternateEmail.GetHashCode();
            }
            if (Domain.Length != 0)
            {
                hash ^= Domain.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            if (CloudIdentityId.Length != 0)
            {
                hash ^= CloudIdentityId.GetHashCode();
            }
            if (LanguageCode.Length != 0)
            {
                hash ^= LanguageCode.GetHashCode();
            }
            if (cloudIdentityInfo_ != null)
            {
                hash ^= CloudIdentityInfo.GetHashCode();
            }
            if (ChannelPartnerId.Length != 0)
            {
                hash ^= ChannelPartnerId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 9
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (Uri.Length != 0)
            {
                hash ^= Uri.GetHashCode();
            }
            if (Etag.Length != 0)
            {
                hash ^= Etag.GetHashCode();
            }
            hash ^= Labels.GetHashCode();
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            if (State != global::Google.Cloud.AIPlatform.V1.Artifact.Types.State.Unspecified)
            {
                hash ^= State.GetHashCode();
            }
            if (SchemaTitle.Length != 0)
            {
                hash ^= SchemaTitle.GetHashCode();
            }
            if (SchemaVersion.Length != 0)
            {
                hash ^= SchemaVersion.GetHashCode();
            }
            if (metadata_ != null)
            {
                hash ^= Metadata.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 10
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (ValueType != global::Google.Cloud.AIPlatform.V1.TensorboardTimeSeries.Types.ValueType.Unspecified)
            {
                hash ^= ValueType.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            if (Etag.Length != 0)
            {
                hash ^= Etag.GetHashCode();
            }
            if (PluginName.Length != 0)
            {
                hash ^= PluginName.GetHashCode();
            }
            if (PluginData.Length != 0)
            {
                hash ^= PluginData.GetHashCode();
            }
            if (metadata_ != null)
            {
                hash ^= Metadata.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
 public override int GetHashCode() {
   int hash = 1;
   if (Name.Length != 0) hash ^= Name.GetHashCode();
   if (PayloadSchemaUri.Length != 0) hash ^= PayloadSchemaUri.GetHashCode();
   if (payload_ != null) hash ^= Payload.GetHashCode();
   if (createTime_ != null) hash ^= CreateTime.GetHashCode();
   if (updateTime_ != null) hash ^= UpdateTime.GetHashCode();
   if (Etag.Length != 0) hash ^= Etag.GetHashCode();
   if (annotationSource_ != null) hash ^= AnnotationSource.GetHashCode();
   hash ^= Labels.GetHashCode();
   if (_unknownFields != null) {
     hash ^= _unknownFields.GetHashCode();
   }
   return hash;
 }
Esempio n. 12
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            hash ^= UsageWithinTimeRange.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 13
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            hash ^= schedule_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 14
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (conditionTypeCase_ == ConditionTypeOneofCase.Exists)
            {
                hash ^= Exists.GetHashCode();
            }
            if (conditionTypeCase_ == ConditionTypeOneofCase.UpdateTime)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            hash ^= (int)conditionTypeCase_;
            return(hash);
        }
Esempio n. 15
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (Etag.Length != 0)
            {
                hash ^= Etag.GetHashCode();
            }
            hash ^= Labels.GetHashCode();
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            hash ^= parentContexts_.GetHashCode();
            if (SchemaTitle.Length != 0)
            {
                hash ^= SchemaTitle.GetHashCode();
            }
            if (SchemaVersion.Length != 0)
            {
                hash ^= SchemaVersion.GetHashCode();
            }
            if (metadata_ != null)
            {
                hash ^= Metadata.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 16
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = UpdateTime.GetHashCode();
         hashCode = (hashCode * 397) ^ (CurrencyFrom != null ? CurrencyFrom.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (CurrencyTo != null ? CurrencyTo.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ New.GetHashCode();
         hashCode = (hashCode * 397) ^ YestdayClose.GetHashCode();
         hashCode = (hashCode * 397) ^ Open.GetHashCode();
         hashCode = (hashCode * 397) ^ High.GetHashCode();
         hashCode = (hashCode * 397) ^ Low.GetHashCode();
         hashCode = (hashCode * 397) ^ (Desc != null ? Desc.GetHashCode() : 0);
         return(hashCode);
     }
 }
Esempio n. 17
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (encryptionSpec_ != null)
            {
                hash ^= EncryptionSpec.GetHashCode();
            }
            if (BlobStoragePathPrefix.Length != 0)
            {
                hash ^= BlobStoragePathPrefix.GetHashCode();
            }
            if (RunCount != 0)
            {
                hash ^= RunCount.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            hash ^= Labels.GetHashCode();
            if (Etag.Length != 0)
            {
                hash ^= Etag.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 18
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (State != global::Google.Cloud.Notebooks.V1.Schedule.Types.State.Unspecified)
            {
                hash ^= State.GetHashCode();
            }
            if (CronSchedule.Length != 0)
            {
                hash ^= CronSchedule.GetHashCode();
            }
            if (TimeZone.Length != 0)
            {
                hash ^= TimeZone.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            if (executionTemplate_ != null)
            {
                hash ^= ExecutionTemplate.GetHashCode();
            }
            hash ^= recentExecutions_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 19
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Title.Length != 0)
            {
                hash ^= Title.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            if (PerimeterType != global::Google.Identity.AccessContextManager.V1.ServicePerimeter.Types.PerimeterType.Regular)
            {
                hash ^= PerimeterType.GetHashCode();
            }
            if (status_ != null)
            {
                hash ^= Status.GetHashCode();
            }
            if (spec_ != null)
            {
                hash ^= Spec.GetHashCode();
            }
            if (UseExplicitDryRunSpec != false)
            {
                hash ^= UseExplicitDryRunSpec.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 20
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            if (DataType != global::Google.Cloud.DataLabeling.V1Beta1.DataType.Unspecified)
            {
                hash ^= DataType.GetHashCode();
            }
            if (csvInstruction_ != null)
            {
                hash ^= CsvInstruction.GetHashCode();
            }
            if (pdfInstruction_ != null)
            {
                hash ^= PdfInstruction.GetHashCode();
            }
            hash ^= blockingResources_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (ResellerCloudIdentityId.Length != 0)
            {
                hash ^= ResellerCloudIdentityId.GetHashCode();
            }
            if (LinkState != global::Google.Cloud.Channel.V1.ChannelPartnerLinkState.Unspecified)
            {
                hash ^= LinkState.GetHashCode();
            }
            if (InviteLinkUri.Length != 0)
            {
                hash ^= InviteLinkUri.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            if (PublicId.Length != 0)
            {
                hash ^= PublicId.GetHashCode();
            }
            if (channelPartnerCloudIdentityInfo_ != null)
            {
                hash ^= ChannelPartnerCloudIdentityInfo.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 22
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (State != 0)
            {
                hash ^= State.GetHashCode();
            }
            if (StateDescription.Length != 0)
            {
                hash ^= StateDescription.GetHashCode();
            }
            if (SuccessCount != 0)
            {
                hash ^= SuccessCount.GetHashCode();
            }
            if (FailureCount != 0)
            {
                hash ^= FailureCount.GetHashCode();
            }
            if (TotalCount != 0)
            {
                hash ^= TotalCount.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            if (endTime_ != null)
            {
                hash ^= EndTime.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 23
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (modelMetadataCase_ == ModelMetadataOneofCase.TranslationModelMetadata)
            {
                hash ^= TranslationModelMetadata.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (DatasetId.Length != 0)
            {
                hash ^= DatasetId.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            if (DeploymentState != 0)
            {
                hash ^= DeploymentState.GetHashCode();
            }
            hash ^= Labels.GetHashCode();
            hash ^= (int)modelMetadataCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 24
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            if (Etag.Length != 0)
            {
                hash ^= Etag.GetHashCode();
            }
            hash ^= Labels.GetHashCode();
            if (onlineServingConfig_ != null)
            {
                hash ^= OnlineServingConfig.GetHashCode();
            }
            if (State != global::Google.Cloud.AIPlatform.V1.Featurestore.Types.State.Unspecified)
            {
                hash ^= State.GetHashCode();
            }
            if (encryptionSpec_ != null)
            {
                hash ^= EncryptionSpec.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 25
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            if (expireTime_ != null)
            {
                hash ^= ExpireTime.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 26
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (VersionNumber != 0L)
            {
                hash ^= VersionNumber.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            if (updateUser_ != null)
            {
                hash ^= UpdateUser.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (UpdateOrigin != global::Google.Events.Protobuf.Firebase.RemoteConfig.V1.RemoteConfigUpdateOrigin.Unspecified)
            {
                hash ^= UpdateOrigin.GetHashCode();
            }
            if (UpdateType != global::Google.Events.Protobuf.Firebase.RemoteConfig.V1.RemoteConfigUpdateType.Unspecified)
            {
                hash ^= UpdateType.GetHashCode();
            }
            if (RollbackSource != 0L)
            {
                hash ^= RollbackSource.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 27
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (Filter.Length != 0)
            {
                hash ^= Filter.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            if (MostRecentEditor.Length != 0)
            {
                hash ^= MostRecentEditor.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 28
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (ExternalId.Length != 0)
            {
                hash ^= ExternalId.GetHashCode();
            }
            if (Profile.Length != 0)
            {
                hash ^= Profile.GetHashCode();
            }
            if (Job.Length != 0)
            {
                hash ^= Job.GetHashCode();
            }
            if (Company.Length != 0)
            {
                hash ^= Company.GetHashCode();
            }
            if (applicationDate_ != null)
            {
                hash ^= ApplicationDate.GetHashCode();
            }
            if (Stage != global::Google.Cloud.Talent.V4Beta1.Application.Types.ApplicationStage.Unspecified)
            {
                hash ^= Stage.GetHashCode();
            }
            if (State != global::Google.Cloud.Talent.V4Beta1.Application.Types.ApplicationState.Unspecified)
            {
                hash ^= State.GetHashCode();
            }
            hash ^= interviews_.GetHashCode();
            if (referral_ != null)
            {
                hash ^= Referral.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            if (OutcomeNotes.Length != 0)
            {
                hash ^= OutcomeNotes.GetHashCode();
            }
            if (Outcome != global::Google.Cloud.Talent.V4Beta1.Outcome.Unspecified)
            {
                hash ^= Outcome.GetHashCode();
            }
            if (isMatch_ != null)
            {
                hash ^= IsMatch.GetHashCode();
            }
            if (JobTitleSnippet.Length != 0)
            {
                hash ^= JobTitleSnippet.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 29
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (modelMetadataCase_ == ModelMetadataOneofCase.TranslationModelMetadata)
            {
                hash ^= TranslationModelMetadata.GetHashCode();
            }
            if (modelMetadataCase_ == ModelMetadataOneofCase.ImageClassificationModelMetadata)
            {
                hash ^= ImageClassificationModelMetadata.GetHashCode();
            }
            if (modelMetadataCase_ == ModelMetadataOneofCase.TextClassificationModelMetadata)
            {
                hash ^= TextClassificationModelMetadata.GetHashCode();
            }
            if (modelMetadataCase_ == ModelMetadataOneofCase.ImageObjectDetectionModelMetadata)
            {
                hash ^= ImageObjectDetectionModelMetadata.GetHashCode();
            }
            if (modelMetadataCase_ == ModelMetadataOneofCase.TextExtractionModelMetadata)
            {
                hash ^= TextExtractionModelMetadata.GetHashCode();
            }
            if (modelMetadataCase_ == ModelMetadataOneofCase.TextSentimentModelMetadata)
            {
                hash ^= TextSentimentModelMetadata.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (DatasetId.Length != 0)
            {
                hash ^= DatasetId.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            if (DeploymentState != 0)
            {
                hash ^= DeploymentState.GetHashCode();
            }
            if (Etag.Length != 0)
            {
                hash ^= Etag.GetHashCode();
            }
            hash ^= Labels.GetHashCode();
            hash ^= (int)modelMetadataCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 30
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (studySpec_ != null)
            {
                hash ^= StudySpec.GetHashCode();
            }
            if (MaxTrialCount != 0)
            {
                hash ^= MaxTrialCount.GetHashCode();
            }
            if (ParallelTrialCount != 0)
            {
                hash ^= ParallelTrialCount.GetHashCode();
            }
            if (MaxFailedTrialCount != 0)
            {
                hash ^= MaxFailedTrialCount.GetHashCode();
            }
            if (trialJobSpec_ != null)
            {
                hash ^= TrialJobSpec.GetHashCode();
            }
            hash ^= trials_.GetHashCode();
            if (State != global::Google.Cloud.AIPlatform.V1.JobState.Unspecified)
            {
                hash ^= State.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (startTime_ != null)
            {
                hash ^= StartTime.GetHashCode();
            }
            if (endTime_ != null)
            {
                hash ^= EndTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            if (error_ != null)
            {
                hash ^= Error.GetHashCode();
            }
            hash ^= Labels.GetHashCode();
            if (encryptionSpec_ != null)
            {
                hash ^= EncryptionSpec.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }