public void MergeFrom(ConsolidationStrategy other)
        {
            if (other == null)
            {
                return;
            }
            switch (other.StrategyCase)
            {
            case StrategyOneofCase.None:
                if (None == null)
                {
                    None = new global::Google.Apps.Drive.Activity.V2.ConsolidationStrategy.Types.NoConsolidation();
                }
                None.MergeFrom(other.None);
                break;

            case StrategyOneofCase.Legacy:
                if (Legacy == null)
                {
                    Legacy = new global::Google.Apps.Drive.Activity.V2.ConsolidationStrategy.Types.Legacy();
                }
                Legacy.MergeFrom(other.Legacy);
                break;
            }

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