public void MergeFrom(ExecutionMessage other)
 {
     if (other == null)
     {
         return;
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     if (other.Side != 0)
     {
         Side = other.Side;
     }
     if (other.Price != 0D)
     {
         Price = other.Price;
     }
     if (other.Size != 0D)
     {
         Size = other.Size;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Esempio n. 2
0
 public void MergeFrom(Registry other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.FolderId.Length != 0)
     {
         FolderId = other.FolderId;
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.Status != global::Yandex.Cloud.Containerregistry.V1.Registry.Types.Status.Unspecified)
     {
         Status = other.Status;
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     labels_.Add(other.labels_);
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Esempio n. 3
0
 public void MergeFrom(AccessKey other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.ServiceAccountId.Length != 0)
     {
         ServiceAccountId = other.ServiceAccountId;
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     if (other.Description.Length != 0)
     {
         Description = other.Description;
     }
     if (other.KeyId.Length != 0)
     {
         KeyId = other.KeyId;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Esempio n. 4
0
 public void MergeFrom(Cloud other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.Description.Length != 0)
     {
         Description = other.Description;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Esempio n. 5
0
 public void MergeFrom(Dataset other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Consumer.Length != 0)
     {
         Consumer = other.Consumer;
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.Type.Length != 0)
     {
         Type = other.Type;
     }
     tags_.Add(other.tags_);
     targets_.Add(other.targets_);
     if (other.retentionPolicy_ != null)
     {
         if (retentionPolicy_ == null)
         {
             RetentionPolicy = new global::Asgt.Type.RetentionPolicy();
         }
         RetentionPolicy.MergeFrom(other.RetentionPolicy);
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     if (other.updatedAt_ != null)
     {
         if (updatedAt_ == null)
         {
             UpdatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         UpdatedAt.MergeFrom(other.UpdatedAt);
     }
     if (other.Size != 0L)
     {
         Size = other.Size;
     }
     if (other.truncatedAt_ != null)
     {
         if (truncatedAt_ == null)
         {
             TruncatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         TruncatedAt.MergeFrom(other.TruncatedAt);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Esempio n. 6
0
 public void MergeFrom(Image other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.FolderId.Length != 0)
     {
         FolderId = other.FolderId;
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.Description.Length != 0)
     {
         Description = other.Description;
     }
     labels_.Add(other.labels_);
     if (other.Family.Length != 0)
     {
         Family = other.Family;
     }
     if (other.StorageSize != 0L)
     {
         StorageSize = other.StorageSize;
     }
     if (other.MinDiskSize != 0L)
     {
         MinDiskSize = other.MinDiskSize;
     }
     productIds_.Add(other.productIds_);
     if (other.Status != global::Yandex.Cloud.Compute.V1.Image.Types.Status.Unspecified)
     {
         Status = other.Status;
     }
     if (other.os_ != null)
     {
         if (os_ == null)
         {
             Os = new global::Yandex.Cloud.Compute.V1.Os();
         }
         Os.MergeFrom(other.Os);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Esempio n. 7
0
 public void MergeFrom(ClosedMerchantBatch other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.Money.Cards.Transactions.ClosedMerchantBatchIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.merchantId_ != null)
     {
         if (merchantId_ == null)
         {
             merchantId_ = new global::HOLMS.Types.Money.Cards.CardMerchantIndicator();
         }
         MerchantId.MergeFrom(other.MerchantId);
     }
     if (other.MerchantName.Length != 0)
     {
         MerchantName = other.MerchantName;
     }
     if (other.Result != 0)
     {
         Result = other.Result;
     }
     if (other.ProcessorBatchId != 0)
     {
         ProcessorBatchId = other.ProcessorBatchId;
     }
     if (other.TransactionCount != 0)
     {
         TransactionCount = other.TransactionCount;
     }
     if (other.totalAmount_ != null)
     {
         if (totalAmount_ == null)
         {
             totalAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         TotalAmount.MergeFrom(other.TotalAmount);
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             createdAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     captures_.Add(other.captures_);
     refunds_.Add(other.refunds_);
 }
Esempio n. 8
0
 public void MergeFrom(HostGroup other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.FolderId.Length != 0)
     {
         FolderId = other.FolderId;
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.Description.Length != 0)
     {
         Description = other.Description;
     }
     labels_.Add(other.labels_);
     if (other.ZoneId.Length != 0)
     {
         ZoneId = other.ZoneId;
     }
     if (other.Status != global::Yandex.Cloud.Compute.V1.HostGroup.Types.Status.Unspecified)
     {
         Status = other.Status;
     }
     if (other.TypeId.Length != 0)
     {
         TypeId = other.TypeId;
     }
     if (other.MaintenancePolicy != global::Yandex.Cloud.Compute.V1.MaintenancePolicy.Unspecified)
     {
         MaintenancePolicy = other.MaintenancePolicy;
     }
     if (other.scalePolicy_ != null)
     {
         if (scalePolicy_ == null)
         {
             ScalePolicy = new global::Yandex.Cloud.Compute.V1.ScalePolicy();
         }
         ScalePolicy.MergeFrom(other.ScalePolicy);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Esempio n. 9
0
 public void MergeFrom(Subnet other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.FolderId.Length != 0)
     {
         FolderId = other.FolderId;
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.Description.Length != 0)
     {
         Description = other.Description;
     }
     labels_.Add(other.labels_);
     if (other.NetworkId.Length != 0)
     {
         NetworkId = other.NetworkId;
     }
     if (other.ZoneId.Length != 0)
     {
         ZoneId = other.ZoneId;
     }
     v4CidrBlocks_.Add(other.v4CidrBlocks_);
     v6CidrBlocks_.Add(other.v6CidrBlocks_);
     if (other.RouteTableId.Length != 0)
     {
         RouteTableId = other.RouteTableId;
     }
     if (other.dhcpOptions_ != null)
     {
         if (dhcpOptions_ == null)
         {
             DhcpOptions = new global::Yandex.Cloud.Vpc.V1.DhcpOptions();
         }
         DhcpOptions.MergeFrom(other.DhcpOptions);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
        public void MergeFrom(DiskPlacementGroup other)
        {
            if (other == null)
            {
                return;
            }
            if (other.Id.Length != 0)
            {
                Id = other.Id;
            }
            if (other.FolderId.Length != 0)
            {
                FolderId = other.FolderId;
            }
            if (other.createdAt_ != null)
            {
                if (createdAt_ == null)
                {
                    CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                }
                CreatedAt.MergeFrom(other.CreatedAt);
            }
            if (other.Name.Length != 0)
            {
                Name = other.Name;
            }
            if (other.Description.Length != 0)
            {
                Description = other.Description;
            }
            labels_.Add(other.labels_);
            if (other.ZoneId.Length != 0)
            {
                ZoneId = other.ZoneId;
            }
            if (other.Status != global::Yandex.Cloud.Compute.V1.DiskPlacementGroup.Types.Status.Unspecified)
            {
                Status = other.Status;
            }
            switch (other.PlacementStrategyCase)
            {
            case PlacementStrategyOneofCase.SpreadPlacementStrategy:
                if (SpreadPlacementStrategy == null)
                {
                    SpreadPlacementStrategy = new global::Yandex.Cloud.Compute.V1.DiskSpreadPlacementStrategy();
                }
                SpreadPlacementStrategy.MergeFrom(other.SpreadPlacementStrategy);
                break;
            }

            _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
        }
Esempio n. 11
0
 public void MergeFrom(MailboxEntry other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.Operations.Messaging.MailboxEntryIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.Subject.Length != 0)
     {
         Subject = other.Subject;
     }
     if (other.Body.Length != 0)
     {
         Body = other.Body;
     }
     if (other.sender_ != null)
     {
         if (sender_ == null)
         {
             sender_ = new global::HOLMS.Types.IAM.StaffMember();
         }
         Sender.MergeFrom(other.Sender);
     }
     recipients_.Add(other.recipients_);
     if (other.viewedAt_ != null)
     {
         if (viewedAt_ == null)
         {
             viewedAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         ViewedAt.MergeFrom(other.ViewedAt);
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             createdAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     if (other.MessageId.Length != 0)
     {
         MessageId = other.MessageId;
     }
 }
Esempio n. 12
0
        public void MergeFrom(Address other)
        {
            if (other == null)
            {
                return;
            }
            if (other.Id.Length != 0)
            {
                Id = other.Id;
            }
            if (other.FolderId.Length != 0)
            {
                FolderId = other.FolderId;
            }
            if (other.createdAt_ != null)
            {
                if (createdAt_ == null)
                {
                    CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                }
                CreatedAt.MergeFrom(other.CreatedAt);
            }
            if (other.Name.Length != 0)
            {
                Name = other.Name;
            }
            if (other.Description.Length != 0)
            {
                Description = other.Description;
            }
            labels_.Add(other.labels_);
            if (other.Reserved != false)
            {
                Reserved = other.Reserved;
            }
            if (other.Used != false)
            {
                Used = other.Used;
            }
            switch (other.AddressCase)
            {
            case AddressOneofCase.ExternalIpv4Address:
                if (ExternalIpv4Address == null)
                {
                    ExternalIpv4Address = new global::Yandex.Cloud.Vpc.V1.ExternalIpv4Address();
                }
                ExternalIpv4Address.MergeFrom(other.ExternalIpv4Address);
                break;
            }

            _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
        }
Esempio n. 13
0
 public void MergeFrom(Backup other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.FolderId.Length != 0)
     {
         FolderId = other.FolderId;
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     if (other.SourceClusterId.Length != 0)
     {
         SourceClusterId = other.SourceClusterId;
     }
     if (other.startedAt_ != null)
     {
         if (startedAt_ == null)
         {
             StartedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         StartedAt.MergeFrom(other.StartedAt);
     }
     sourceShardNames_.Add(other.sourceShardNames_);
     if (other.Size != 0L)
     {
         Size = other.Size;
     }
     if (other.Type != global::Yandex.Cloud.Mdb.Mongodb.V1.Backup.Types.BackupType.Unspecified)
     {
         Type = other.Type;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Esempio n. 14
0
 public void MergeFrom(Training other)
 {
     if (other == null)
     {
         return;
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     if (other.Status.Length != 0)
     {
         Status = other.Status;
     }
     if (other.TrainingStatus.Length != 0)
     {
         TrainingStatus = other.TrainingStatus;
     }
     if (other.TrainingStatusMessage.Length != 0)
     {
         TrainingStatusMessage = other.TrainingStatusMessage;
     }
     if (other.finishTime_ != null)
     {
         if (finishTime_ == null)
         {
             FinishTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         FinishTime.MergeFrom(other.FinishTime);
     }
     if (other.dataset_ != null)
     {
         if (dataset_ == null)
         {
             Dataset = new global::Asgt.Type.Dataset();
         }
         Dataset.MergeFrom(other.Dataset);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Esempio n. 15
0
 public void MergeFrom(SymmetricKeyVersion other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.KeyId.Length != 0)
     {
         KeyId = other.KeyId;
     }
     if (other.Status != global::Yandex.Cloud.Kms.V1.SymmetricKeyVersion.Types.Status.Unspecified)
     {
         Status = other.Status;
     }
     if (other.Algorithm != global::Yandex.Cloud.Kms.V1.SymmetricAlgorithm.Unspecified)
     {
         Algorithm = other.Algorithm;
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     if (other.Primary != false)
     {
         Primary = other.Primary;
     }
     if (other.destroyAt_ != null)
     {
         if (destroyAt_ == null)
         {
             DestroyAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         DestroyAt.MergeFrom(other.DestroyAt);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Esempio n. 16
0
        public void MergeFrom(Key other)
        {
            if (other == null)
            {
                return;
            }
            if (other.Id.Length != 0)
            {
                Id = other.Id;
            }
            if (other.createdAt_ != null)
            {
                if (createdAt_ == null)
                {
                    CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                }
                CreatedAt.MergeFrom(other.CreatedAt);
            }
            if (other.Description.Length != 0)
            {
                Description = other.Description;
            }
            if (other.KeyAlgorithm != global::Yandex.Cloud.Iam.V1.Key.Types.Algorithm.Unspecified)
            {
                KeyAlgorithm = other.KeyAlgorithm;
            }
            if (other.PublicKey.Length != 0)
            {
                PublicKey = other.PublicKey;
            }
            switch (other.SubjectCase)
            {
            case SubjectOneofCase.UserAccountId:
                UserAccountId = other.UserAccountId;
                break;

            case SubjectOneofCase.ServiceAccountId:
                ServiceAccountId = other.ServiceAccountId;
                break;
            }

            _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
        }
 public void MergeFrom(PortfolioCreated other)
 {
     if (other == null)
     {
         return;
     }
     if (other.ObjectUuid.Length != 0)
     {
         ObjectUuid = other.ObjectUuid;
     }
     if (other.Client.Length != 0)
     {
         Client = other.Client;
     }
     if (other.PortfolioName.Length != 0)
     {
         PortfolioName = other.PortfolioName;
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             createdAt_ = new global::ProtocolBufferExperiments.Common.TimezoneTimestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     if (other.receivedAt_ != null)
     {
         if (receivedAt_ == null)
         {
             receivedAt_ = new global::ProtocolBufferExperiments.Common.TimezoneTimestamp();
         }
         ReceivedAt.MergeFrom(other.ReceivedAt);
     }
     if (other.value_ != null)
     {
         if (value_ == null)
         {
             value_ = new global::DotNet.Decimal();
         }
         Value.MergeFrom(other.Value);
     }
 }
Esempio n. 18
0
 public void MergeFrom(App other)
 {
     if (other == null)
     {
         return;
     }
     if (other.AppId.Length != 0)
     {
         AppId = other.AppId;
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.Namespace.Length != 0)
     {
         Namespace = other.Namespace;
     }
     if (other.Revision != 0UL)
     {
         Revision = other.Revision;
     }
     if (other.SourceId.Length != 0)
     {
         SourceId = other.SourceId;
     }
     jobs_.Add(other.jobs_);
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     if (other.CreatedBy.Length != 0)
     {
         CreatedBy = other.CreatedBy;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Esempio n. 19
0
 public void MergeFrom(HousekeepingAssignment other)
 {
     if (other == null)
     {
         return;
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             createdAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     if (other.effectiveDate_ != null)
     {
         if (effectiveDate_ == null)
         {
             effectiveDate_ = new global::HOLMS.Types.Primitive.PbLocalDate();
         }
         EffectiveDate.MergeFrom(other.EffectiveDate);
     }
     if (other.housekeeper_ != null)
     {
         if (housekeeper_ == null)
         {
             housekeeper_ = new global::HOLMS.Types.IAM.StaffMemberIndicator();
         }
         Housekeeper.MergeFrom(other.Housekeeper);
     }
     if (other.room_ != null)
     {
         if (room_ == null)
         {
             room_ = new global::HOLMS.Types.Operations.Rooms.RoomIndicator();
         }
         Room.MergeFrom(other.Room);
     }
 }
Esempio n. 20
0
        public void MergeFrom(Message other)
        {
            if (other == null)
            {
                return;
            }
            if (other.ChatIDBytes.Length != 0)
            {
                ChatIDBytes = other.ChatIDBytes;
            }
            if (other.createdAt_ != null)
            {
                if (createdAt_ == null)
                {
                    CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                }
                CreatedAt.MergeFrom(other.CreatedAt);
            }
            switch (other.MessageTypeCase)
            {
            case MessageTypeOneofCase.EncryptedMessage:
                if (EncryptedMessage == null)
                {
                    EncryptedMessage = new global::ChatServer.Transmissions.EncryptedMessage();
                }
                EncryptedMessage.MergeFrom(other.EncryptedMessage);
                break;

            case MessageTypeOneofCase.ServerMessage:
                if (ServerMessage == null)
                {
                    ServerMessage = new global::ChatServer.Transmissions.ServerMessage();
                }
                ServerMessage.MergeFrom(other.ServerMessage);
                break;
            }

            _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
        }
Esempio n. 21
0
 public void MergeFrom(RouteTable other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.FolderId.Length != 0)
     {
         FolderId = other.FolderId;
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.Description.Length != 0)
     {
         Description = other.Description;
     }
     labels_.Add(other.labels_);
     if (other.NetworkId.Length != 0)
     {
         NetworkId = other.NetworkId;
     }
     staticRoutes_.Add(other.staticRoutes_);
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Esempio n. 22
0
 public void MergeFrom(Folder other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.CloudId.Length != 0)
     {
         CloudId = other.CloudId;
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.Description.Length != 0)
     {
         Description = other.Description;
     }
     labels_.Add(other.labels_);
     if (other.Status != global::Yandex.Cloud.Resourcemanager.V1.Folder.Types.Status.Unspecified)
     {
         Status = other.Status;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Esempio n. 23
0
 public void MergeFrom(LifecyclePolicy other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.RepositoryId.Length != 0)
     {
         RepositoryId = other.RepositoryId;
     }
     if (other.Description.Length != 0)
     {
         Description = other.Description;
     }
     if (other.Status != global::Yandex.Cloud.Containerregistry.V1.LifecyclePolicy.Types.Status.Unspecified)
     {
         Status = other.Status;
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     rules_.Add(other.rules_);
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Esempio n. 24
0
 public void MergeFrom(Backup other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.FolderId.Length != 0)
     {
         FolderId = other.FolderId;
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     if (other.SourceClusterId.Length != 0)
     {
         SourceClusterId = other.SourceClusterId;
     }
     sourceShardNames_.Add(other.sourceShardNames_);
     if (other.startedAt_ != null)
     {
         if (startedAt_ == null)
         {
             StartedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         StartedAt.MergeFrom(other.StartedAt);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Esempio n. 25
0
 public void MergeFrom(Model other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Version != 0L)
     {
         Version = other.Version;
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     if (other.DatasetSize != 0)
     {
         DatasetSize = other.DatasetSize;
     }
     if (other.TrainingSize != 0)
     {
         TrainingSize = other.TrainingSize;
     }
     confidenceScores_.Add(other.confidenceScores_);
     if (other.InputType != global::Asgt.Type.Model.Types.InputType.FeatureTensors)
     {
         InputType = other.InputType;
     }
     if (other.DatasetType.Length != 0)
     {
         DatasetType = other.DatasetType;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Esempio n. 26
0
 public void MergeFrom(Revision other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Number != 0L)
     {
         Number = other.Number;
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     if (other.Size != 0L)
     {
         Size = other.Size;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Esempio n. 27
0
 public void MergeFrom(UserMetadata other)
 {
     if (other == null)
     {
         return;
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     if (other.lastSignedInAt_ != null)
     {
         if (lastSignedInAt_ == null)
         {
             LastSignedInAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         LastSignedInAt.MergeFrom(other.LastSignedInAt);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Esempio n. 28
0
        public void MergeFrom(Disk other)
        {
            if (other == null)
            {
                return;
            }
            if (other.Id.Length != 0)
            {
                Id = other.Id;
            }
            if (other.FolderId.Length != 0)
            {
                FolderId = other.FolderId;
            }
            if (other.createdAt_ != null)
            {
                if (createdAt_ == null)
                {
                    CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                }
                CreatedAt.MergeFrom(other.CreatedAt);
            }
            if (other.Name.Length != 0)
            {
                Name = other.Name;
            }
            if (other.Description.Length != 0)
            {
                Description = other.Description;
            }
            labels_.Add(other.labels_);
            if (other.TypeId.Length != 0)
            {
                TypeId = other.TypeId;
            }
            if (other.ZoneId.Length != 0)
            {
                ZoneId = other.ZoneId;
            }
            if (other.Size != 0L)
            {
                Size = other.Size;
            }
            if (other.BlockSize != 0L)
            {
                BlockSize = other.BlockSize;
            }
            productIds_.Add(other.productIds_);
            if (other.Status != global::Yandex.Cloud.Compute.V1.Disk.Types.Status.Unspecified)
            {
                Status = other.Status;
            }
            instanceIds_.Add(other.instanceIds_);
            if (other.diskPlacementPolicy_ != null)
            {
                if (diskPlacementPolicy_ == null)
                {
                    DiskPlacementPolicy = new global::Yandex.Cloud.Compute.V1.DiskPlacementPolicy();
                }
                DiskPlacementPolicy.MergeFrom(other.DiskPlacementPolicy);
            }
            switch (other.SourceCase)
            {
            case SourceOneofCase.SourceImageId:
                SourceImageId = other.SourceImageId;
                break;

            case SourceOneofCase.SourceSnapshotId:
                SourceSnapshotId = other.SourceSnapshotId;
                break;
            }

            _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
        }
Esempio n. 29
0
 public void MergeFrom(SymmetricKey other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.FolderId.Length != 0)
     {
         FolderId = other.FolderId;
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.Description.Length != 0)
     {
         Description = other.Description;
     }
     labels_.Add(other.labels_);
     if (other.Status != global::Yandex.Cloud.Kms.V1.SymmetricKey.Types.Status.Unspecified)
     {
         Status = other.Status;
     }
     if (other.primaryVersion_ != null)
     {
         if (primaryVersion_ == null)
         {
             PrimaryVersion = new global::Yandex.Cloud.Kms.V1.SymmetricKeyVersion();
         }
         PrimaryVersion.MergeFrom(other.PrimaryVersion);
     }
     if (other.DefaultAlgorithm != global::Yandex.Cloud.Kms.V1.SymmetricAlgorithm.Unspecified)
     {
         DefaultAlgorithm = other.DefaultAlgorithm;
     }
     if (other.rotatedAt_ != null)
     {
         if (rotatedAt_ == null)
         {
             RotatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         RotatedAt.MergeFrom(other.RotatedAt);
     }
     if (other.rotationPeriod_ != null)
     {
         if (rotationPeriod_ == null)
         {
             RotationPeriod = new global::Google.Protobuf.WellKnownTypes.Duration();
         }
         RotationPeriod.MergeFrom(other.RotationPeriod);
     }
     if (other.DeletionProtection != false)
     {
         DeletionProtection = other.DeletionProtection;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Esempio n. 30
0
        public void MergeFrom(Operation other)
        {
            if (other == null)
            {
                return;
            }
            if (other.Id.Length != 0)
            {
                Id = other.Id;
            }
            if (other.Description.Length != 0)
            {
                Description = other.Description;
            }
            if (other.createdAt_ != null)
            {
                if (createdAt_ == null)
                {
                    CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                }
                CreatedAt.MergeFrom(other.CreatedAt);
            }
            if (other.CreatedBy.Length != 0)
            {
                CreatedBy = other.CreatedBy;
            }
            if (other.modifiedAt_ != null)
            {
                if (modifiedAt_ == null)
                {
                    ModifiedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                }
                ModifiedAt.MergeFrom(other.ModifiedAt);
            }
            if (other.Done != false)
            {
                Done = other.Done;
            }
            if (other.metadata_ != null)
            {
                if (metadata_ == null)
                {
                    Metadata = new global::Google.Protobuf.WellKnownTypes.Any();
                }
                Metadata.MergeFrom(other.Metadata);
            }
            switch (other.ResultCase)
            {
            case ResultOneofCase.Error:
                if (Error == null)
                {
                    Error = new global::Google.Rpc.Status();
                }
                Error.MergeFrom(other.Error);
                break;

            case ResultOneofCase.Response:
                if (Response == null)
                {
                    Response = new global::Google.Protobuf.WellKnownTypes.Any();
                }
                Response.MergeFrom(other.Response);
                break;
            }

            _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
        }