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);
        }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    Id = input.ReadString();
                    break;
                }

                case 18: {
                    FolderId = input.ReadString();
                    break;
                }

                case 26: {
                    if (createdAt_ == null)
                    {
                        CreatedAt = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(CreatedAt);
                    break;
                }

                case 34: {
                    Name = input.ReadString();
                    break;
                }

                case 42: {
                    Description = input.ReadString();
                    break;
                }

                case 50: {
                    labels_.AddEntriesFrom(input, _map_labels_codec);
                    break;
                }

                case 58: {
                    ZoneId = input.ReadString();
                    break;
                }

                case 66: {
                    global::Yandex.Cloud.Compute.V1.DiskSpreadPlacementStrategy subBuilder = new global::Yandex.Cloud.Compute.V1.DiskSpreadPlacementStrategy();
                    if (placementStrategyCase_ == PlacementStrategyOneofCase.SpreadPlacementStrategy)
                    {
                        subBuilder.MergeFrom(SpreadPlacementStrategy);
                    }
                    input.ReadMessage(subBuilder);
                    SpreadPlacementStrategy = subBuilder;
                    break;
                }

                case 88: {
                    Status = (global::Yandex.Cloud.Compute.V1.DiskPlacementGroup.Types.Status)input.ReadEnum();
                    break;
                }
                }
            }
        }