public void MergeFrom(ServicePerimeter other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.Title.Length != 0) { Title = other.Title; } if (other.Description.Length != 0) { Description = other.Description; } if (other.createTime_ != null) { if (createTime_ == null) { CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreateTime.MergeFrom(other.CreateTime); } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } if (other.PerimeterType != global::Google.Identity.AccessContextManager.V1.ServicePerimeter.Types.PerimeterType.Regular) { PerimeterType = other.PerimeterType; } if (other.status_ != null) { if (status_ == null) { Status = new global::Google.Identity.AccessContextManager.V1.ServicePerimeterConfig(); } Status.MergeFrom(other.Status); } if (other.spec_ != null) { if (spec_ == null) { Spec = new global::Google.Identity.AccessContextManager.V1.ServicePerimeterConfig(); } Spec.MergeFrom(other.Spec); } if (other.UseExplicitDryRunSpec != false) { UseExplicitDryRunSpec = other.UseExplicitDryRunSpec; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(SystemTimestamps other) { if (other == null) { return; } if (other.createTime_ != null) { if (createTime_ == null) { CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreateTime.MergeFrom(other.CreateTime); } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } if (other.expireTime_ != null) { if (expireTime_ == null) { ExpireTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } ExpireTime.MergeFrom(other.ExpireTime); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(TensorboardTimeSeries other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.DisplayName.Length != 0) { DisplayName = other.DisplayName; } if (other.Description.Length != 0) { Description = other.Description; } if (other.ValueType != global::Google.Cloud.AIPlatform.V1.TensorboardTimeSeries.Types.ValueType.Unspecified) { ValueType = other.ValueType; } if (other.createTime_ != null) { if (createTime_ == null) { CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreateTime.MergeFrom(other.CreateTime); } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } if (other.Etag.Length != 0) { Etag = other.Etag; } if (other.PluginName.Length != 0) { PluginName = other.PluginName; } if (other.PluginData.Length != 0) { PluginData = other.PluginData; } if (other.metadata_ != null) { if (metadata_ == null) { Metadata = new global::Google.Cloud.AIPlatform.V1.TensorboardTimeSeries.Types.Metadata(); } Metadata.MergeFrom(other.Metadata); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(Context other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.DisplayName.Length != 0) { DisplayName = other.DisplayName; } if (other.Etag.Length != 0) { Etag = other.Etag; } labels_.Add(other.labels_); if (other.createTime_ != null) { if (createTime_ == null) { CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreateTime.MergeFrom(other.CreateTime); } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } parentContexts_.Add(other.parentContexts_); if (other.SchemaTitle.Length != 0) { SchemaTitle = other.SchemaTitle; } if (other.SchemaVersion.Length != 0) { SchemaVersion = other.SchemaVersion; } if (other.metadata_ != null) { if (metadata_ == null) { Metadata = new global::Google.Protobuf.WellKnownTypes.Struct(); } Metadata.MergeFrom(other.Metadata); } if (other.Description.Length != 0) { Description = other.Description; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(Customer other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.OrgDisplayName.Length != 0) { OrgDisplayName = other.OrgDisplayName; } if (other.orgPostalAddress_ != null) { if (orgPostalAddress_ == null) { OrgPostalAddress = new global::Google.Type.PostalAddress(); } OrgPostalAddress.MergeFrom(other.OrgPostalAddress); } if (other.primaryContactInfo_ != null) { if (primaryContactInfo_ == null) { PrimaryContactInfo = new global::Google.Cloud.Channel.V1.ContactInfo(); } PrimaryContactInfo.MergeFrom(other.PrimaryContactInfo); } if (other.AlternateEmail.Length != 0) { AlternateEmail = other.AlternateEmail; } if (other.Domain.Length != 0) { Domain = other.Domain; } if (other.createTime_ != null) { if (createTime_ == null) { CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreateTime.MergeFrom(other.CreateTime); } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } if (other.CloudIdentityId.Length != 0) { CloudIdentityId = other.CloudIdentityId; } if (other.LanguageCode.Length != 0) { LanguageCode = other.LanguageCode; } if (other.cloudIdentityInfo_ != null) { if (cloudIdentityInfo_ == null) { CloudIdentityInfo = new global::Google.Cloud.Channel.V1.CloudIdentityInfo(); } CloudIdentityInfo.MergeFrom(other.CloudIdentityInfo); } if (other.ChannelPartnerId.Length != 0) { ChannelPartnerId = other.ChannelPartnerId; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(Tensorboard other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.DisplayName.Length != 0) { DisplayName = other.DisplayName; } if (other.Description.Length != 0) { Description = other.Description; } if (other.encryptionSpec_ != null) { if (encryptionSpec_ == null) { EncryptionSpec = new global::Google.Cloud.AIPlatform.V1.EncryptionSpec(); } EncryptionSpec.MergeFrom(other.EncryptionSpec); } if (other.BlobStoragePathPrefix.Length != 0) { BlobStoragePathPrefix = other.BlobStoragePathPrefix; } if (other.RunCount != 0) { RunCount = other.RunCount; } if (other.createTime_ != null) { if (createTime_ == null) { CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreateTime.MergeFrom(other.CreateTime); } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } labels_.Add(other.labels_); if (other.Etag.Length != 0) { Etag = other.Etag; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(Schedule other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.DisplayName.Length != 0) { DisplayName = other.DisplayName; } if (other.Description.Length != 0) { Description = other.Description; } if (other.State != global::Google.Cloud.Notebooks.V1.Schedule.Types.State.Unspecified) { State = other.State; } if (other.CronSchedule.Length != 0) { CronSchedule = other.CronSchedule; } if (other.TimeZone.Length != 0) { TimeZone = other.TimeZone; } if (other.createTime_ != null) { if (createTime_ == null) { CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreateTime.MergeFrom(other.CreateTime); } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } if (other.executionTemplate_ != null) { if (executionTemplate_ == null) { ExecutionTemplate = new global::Google.Cloud.Notebooks.V1.ExecutionTemplate(); } ExecutionTemplate.MergeFrom(other.ExecutionTemplate); } recentExecutions_.Add(other.recentExecutions_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(Instruction other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.DisplayName.Length != 0) { DisplayName = other.DisplayName; } if (other.Description.Length != 0) { Description = other.Description; } if (other.createTime_ != null) { if (createTime_ == null) { CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreateTime.MergeFrom(other.CreateTime); } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } if (other.DataType != global::Google.Cloud.DataLabeling.V1Beta1.DataType.Unspecified) { DataType = other.DataType; } if (other.csvInstruction_ != null) { if (csvInstruction_ == null) { CsvInstruction = new global::Google.Cloud.DataLabeling.V1Beta1.CsvInstruction(); } CsvInstruction.MergeFrom(other.CsvInstruction); } if (other.pdfInstruction_ != null) { if (pdfInstruction_ == null) { PdfInstruction = new global::Google.Cloud.DataLabeling.V1Beta1.PdfInstruction(); } PdfInstruction.MergeFrom(other.PdfInstruction); } blockingResources_.Add(other.blockingResources_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(Annotation other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.PayloadSchemaUri.Length != 0) { PayloadSchemaUri = other.PayloadSchemaUri; } if (other.payload_ != null) { if (payload_ == null) { Payload = new global::Google.Protobuf.WellKnownTypes.Value(); } Payload.MergeFrom(other.Payload); } if (other.createTime_ != null) { if (createTime_ == null) { CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreateTime.MergeFrom(other.CreateTime); } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } if (other.Etag.Length != 0) { Etag = other.Etag; } if (other.annotationSource_ != null) { if (annotationSource_ == null) { AnnotationSource = new global::Google.Cloud.AIPlatform.V1.UserActionReference(); } AnnotationSource.MergeFrom(other.AnnotationSource); } labels_.Add(other.labels_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(Featurestore other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.createTime_ != null) { if (createTime_ == null) { CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreateTime.MergeFrom(other.CreateTime); } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } if (other.Etag.Length != 0) { Etag = other.Etag; } labels_.Add(other.labels_); if (other.onlineServingConfig_ != null) { if (onlineServingConfig_ == null) { OnlineServingConfig = new global::Google.Cloud.AIPlatform.V1.Featurestore.Types.OnlineServingConfig(); } OnlineServingConfig.MergeFrom(other.OnlineServingConfig); } if (other.State != global::Google.Cloud.AIPlatform.V1.Featurestore.Types.State.Unspecified) { State = other.State; } if (other.encryptionSpec_ != null) { if (encryptionSpec_ == null) { EncryptionSpec = new global::Google.Cloud.AIPlatform.V1.EncryptionSpec(); } EncryptionSpec.MergeFrom(other.EncryptionSpec); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(Asset other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.securityCenterProperties_ != null) { if (securityCenterProperties_ == null) { SecurityCenterProperties = new global::Google.Cloud.SecurityCenter.V1P1Beta1.Asset.Types.SecurityCenterProperties(); } SecurityCenterProperties.MergeFrom(other.SecurityCenterProperties); } resourceProperties_.Add(other.resourceProperties_); if (other.securityMarks_ != null) { if (securityMarks_ == null) { SecurityMarks = new global::Google.Cloud.SecurityCenter.V1P1Beta1.SecurityMarks(); } SecurityMarks.MergeFrom(other.SecurityMarks); } if (other.createTime_ != null) { if (createTime_ == null) { CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreateTime.MergeFrom(other.CreateTime); } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } if (other.iamPolicy_ != null) { if (iamPolicy_ == null) { IamPolicy = new global::Google.Cloud.SecurityCenter.V1P1Beta1.Asset.Types.IamPolicy(); } IamPolicy.MergeFrom(other.IamPolicy); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(Model other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.DisplayName.Length != 0) { DisplayName = other.DisplayName; } if (other.DatasetId.Length != 0) { DatasetId = other.DatasetId; } if (other.createTime_ != null) { if (createTime_ == null) { CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreateTime.MergeFrom(other.CreateTime); } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } if (other.DeploymentState != 0) { DeploymentState = other.DeploymentState; } labels_.Add(other.labels_); switch (other.ModelMetadataCase) { case ModelMetadataOneofCase.TranslationModelMetadata: if (TranslationModelMetadata == null) { TranslationModelMetadata = new global::Google.Cloud.AutoML.V1.TranslationModelMetadata(); } TranslationModelMetadata.MergeFrom(other.TranslationModelMetadata); break; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(BatchOperationMetadata other) { if (other == null) { return; } if (other.State != 0) { State = other.State; } if (other.StateDescription.Length != 0) { StateDescription = other.StateDescription; } if (other.SuccessCount != 0) { SuccessCount = other.SuccessCount; } if (other.FailureCount != 0) { FailureCount = other.FailureCount; } if (other.TotalCount != 0) { TotalCount = other.TotalCount; } if (other.createTime_ != null) { if (createTime_ == null) { createTime_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreateTime.MergeFrom(other.CreateTime); } if (other.updateTime_ != null) { if (updateTime_ == null) { updateTime_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } if (other.endTime_ != null) { if (endTime_ == null) { endTime_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } EndTime.MergeFrom(other.EndTime); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(ChannelPartnerLink other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.ResellerCloudIdentityId.Length != 0) { ResellerCloudIdentityId = other.ResellerCloudIdentityId; } if (other.LinkState != global::Google.Cloud.Channel.V1.ChannelPartnerLinkState.Unspecified) { LinkState = other.LinkState; } if (other.InviteLinkUri.Length != 0) { InviteLinkUri = other.InviteLinkUri; } if (other.createTime_ != null) { if (createTime_ == null) { CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreateTime.MergeFrom(other.CreateTime); } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } if (other.PublicId.Length != 0) { PublicId = other.PublicId; } if (other.channelPartnerCloudIdentityInfo_ != null) { if (channelPartnerCloudIdentityInfo_ == null) { ChannelPartnerCloudIdentityInfo = new global::Google.Cloud.Channel.V1.CloudIdentityInfo(); } ChannelPartnerCloudIdentityInfo.MergeFrom(other.ChannelPartnerCloudIdentityInfo); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(MetadataStore other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.createTime_ != null) { if (createTime_ == null) { CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreateTime.MergeFrom(other.CreateTime); } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } if (other.encryptionSpec_ != null) { if (encryptionSpec_ == null) { EncryptionSpec = new global::Google.Cloud.AIPlatform.V1.EncryptionSpec(); } EncryptionSpec.MergeFrom(other.EncryptionSpec); } if (other.Description.Length != 0) { Description = other.Description; } if (other.state_ != null) { if (state_ == null) { State = new global::Google.Cloud.AIPlatform.V1.MetadataStore.Types.MetadataStoreState(); } State.MergeFrom(other.State); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(OperationMetadataV1 other) { if (other == null) { return; } if (other.Target.Length != 0) { Target = other.Target; } if (other.Type != global::Google.Cloud.Functions.V1.OperationType.OperationUnspecified) { Type = other.Type; } if (other.request_ != null) { if (request_ == null) { Request = new global::Google.Protobuf.WellKnownTypes.Any(); } Request.MergeFrom(other.Request); } if (other.VersionId != 0L) { VersionId = other.VersionId; } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } if (other.BuildId.Length != 0) { BuildId = other.BuildId; } if (other.SourceToken.Length != 0) { SourceToken = other.SourceToken; } if (other.BuildName.Length != 0) { BuildName = other.BuildName; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(OperationMetadata other) { if (other == null) { return; } if (other.ProgressPercent != 0) { ProgressPercent = other.ProgressPercent; } partialFailures_.Add(other.partialFailures_); if (other.createTime_ != null) { if (createTime_ == null) { CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreateTime.MergeFrom(other.CreateTime); } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } switch (other.DetailsCase) { case DetailsOneofCase.DeleteDetails: if (DeleteDetails == null) { DeleteDetails = new global::Google.Cloud.AutoML.V1.DeleteOperationMetadata(); } DeleteDetails.MergeFrom(other.DeleteDetails); break; case DetailsOneofCase.CreateModelDetails: if (CreateModelDetails == null) { CreateModelDetails = new global::Google.Cloud.AutoML.V1.CreateModelOperationMetadata(); } CreateModelDetails.MergeFrom(other.CreateModelDetails); break; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(GetQuoteScheduleListResponse other) { if (other == null) { return; } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } schedule_.Add(other.schedule_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(UsageSignal other) { if (other == null) { return; } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } usageWithinTimeRange_.Add(other.usageWithinTimeRange_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(Artifact other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.DisplayName.Length != 0) { DisplayName = other.DisplayName; } if (other.Uri.Length != 0) { Uri = other.Uri; } if (other.Etag.Length != 0) { Etag = other.Etag; } labels_.Add(other.labels_); if (other.createTime_ != null) { if (createTime_ == null) { CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreateTime.MergeFrom(other.CreateTime); } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } if (other.State != global::Google.Cloud.AIPlatform.V1.Artifact.Types.State.Unspecified) { State = other.State; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(TensorboardExperiment other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.DisplayName.Length != 0) { DisplayName = other.DisplayName; } if (other.Description.Length != 0) { Description = other.Description; } if (other.createTime_ != null) { if (createTime_ == null) { CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreateTime.MergeFrom(other.CreateTime); } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } labels_.Add(other.labels_); if (other.Etag.Length != 0) { Etag = other.Etag; } if (other.Source.Length != 0) { Source = other.Source; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(RemoteConfigEventData other) { if (other == null) { return; } if (other.VersionNumber != 0L) { VersionNumber = other.VersionNumber; } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } if (other.updateUser_ != null) { if (updateUser_ == null) { UpdateUser = new global::Google.Events.Protobuf.Firebase.RemoteConfig.V1.RemoteConfigUser(); } UpdateUser.MergeFrom(other.UpdateUser); } if (other.Description.Length != 0) { Description = other.Description; } if (other.UpdateOrigin != global::Google.Events.Protobuf.Firebase.RemoteConfig.V1.RemoteConfigUpdateOrigin.Unspecified) { UpdateOrigin = other.UpdateOrigin; } if (other.UpdateType != global::Google.Events.Protobuf.Firebase.RemoteConfig.V1.RemoteConfigUpdateType.Unspecified) { UpdateType = other.UpdateType; } if (other.RollbackSource != 0L) { RollbackSource = other.RollbackSource; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(MuteConfig other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.DisplayName.Length != 0) { DisplayName = other.DisplayName; } if (other.Description.Length != 0) { Description = other.Description; } if (other.Filter.Length != 0) { Filter = other.Filter; } if (other.createTime_ != null) { if (createTime_ == null) { CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreateTime.MergeFrom(other.CreateTime); } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } if (other.MostRecentEditor.Length != 0) { MostRecentEditor = other.MostRecentEditor; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(DataItem other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.createTime_ != null) { if (createTime_ == null) { CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreateTime.MergeFrom(other.CreateTime); } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } labels_.Add(other.labels_); if (other.payload_ != null) { if (payload_ == null) { Payload = new global::Google.Protobuf.WellKnownTypes.Value(); } Payload.MergeFrom(other.Payload); } if (other.Etag.Length != 0) { Etag = other.Etag; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(Feature other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.Description.Length != 0) { Description = other.Description; } if (other.ValueType != global::Google.Cloud.AIPlatform.V1.Feature.Types.ValueType.Unspecified) { ValueType = other.ValueType; } if (other.createTime_ != null) { if (createTime_ == null) { CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreateTime.MergeFrom(other.CreateTime); } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } labels_.Add(other.labels_); if (other.Etag.Length != 0) { Etag = other.Etag; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(AccessPolicy other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.Parent.Length != 0) { Parent = other.Parent; } if (other.Title.Length != 0) { Title = other.Title; } if (other.createTime_ != null) { if (createTime_ == null) { CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreateTime.MergeFrom(other.CreateTime); } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } if (other.Etag.Length != 0) { Etag = other.Etag; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(Context other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.DisplayName.Length != 0) { DisplayName = other.DisplayName; } if (other.Etag.Length != 0) { Etag = other.Etag; } labels_.Add(other.labels_); if (other.createTime_ != null) { if (createTime_ == null) { CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreateTime.MergeFrom(other.CreateTime); } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } parentContexts_.Add(other.parentContexts_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(Precondition other) { if (other == null) { return; } switch (other.ConditionTypeCase) { case ConditionTypeOneofCase.Exists: Exists = other.Exists; break; case ConditionTypeOneofCase.UpdateTime: if (UpdateTime == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); break; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(AnnotationSpec other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.DisplayName.Length != 0) { DisplayName = other.DisplayName; } if (other.createTime_ != null) { if (createTime_ == null) { CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreateTime.MergeFrom(other.CreateTime); } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } if (other.Etag.Length != 0) { Etag = other.Etag; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(Application other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.ExternalId.Length != 0) { ExternalId = other.ExternalId; } if (other.Profile.Length != 0) { Profile = other.Profile; } if (other.Job.Length != 0) { Job = other.Job; } if (other.Company.Length != 0) { Company = other.Company; } if (other.applicationDate_ != null) { if (applicationDate_ == null) { ApplicationDate = new global::Google.Type.Date(); } ApplicationDate.MergeFrom(other.ApplicationDate); } if (other.Stage != global::Google.Cloud.Talent.V4Beta1.Application.Types.ApplicationStage.Unspecified) { Stage = other.Stage; } if (other.State != global::Google.Cloud.Talent.V4Beta1.Application.Types.ApplicationState.Unspecified) { State = other.State; } interviews_.Add(other.interviews_); if (other.referral_ != null) { if (referral_ == null || other.Referral != false) { Referral = other.Referral; } } if (other.createTime_ != null) { if (createTime_ == null) { CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreateTime.MergeFrom(other.CreateTime); } if (other.updateTime_ != null) { if (updateTime_ == null) { UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } UpdateTime.MergeFrom(other.UpdateTime); } if (other.OutcomeNotes.Length != 0) { OutcomeNotes = other.OutcomeNotes; } if (other.Outcome != global::Google.Cloud.Talent.V4Beta1.Outcome.Unspecified) { Outcome = other.Outcome; } if (other.isMatch_ != null) { if (isMatch_ == null || other.IsMatch != false) { IsMatch = other.IsMatch; } } if (other.JobTitleSnippet.Length != 0) { JobTitleSnippet = other.JobTitleSnippet; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }