'Takes the greater of <manual_scaling.instances> from the args.
Note that appinclude_one is mutated to be the merged result in this process.
Also, this function needs to be updated if ManualScaling gets additional
fields.
Args:
appinclude_one: object one to merge. Must have a "manual_scaling" field
which contains a ManualScaling().
appinclude_two: object two to merge. Must have a "manual_scaling" field
which contains a ManualScaling().
Returns:
Object that is the result of merging
appinclude_one.manual_scaling.instances and
appinclude_two.manual_scaling.instances. I.e., <appinclude_one>
after the mutations are complete.'

@classmethod
def MergeManualScaling(cls, appinclude_one, appinclude_two):

    def _Instances(appinclude):
        if appinclude.manual_scaling:
            if appinclude.manual_scaling.instances:
                return int(appinclude.manual_scaling.instances)
        return None
    instances = max(_Instances(appinclude_one), _Instances(appinclude_two))
    if (instances is not None):
        appinclude_one.manual_scaling = ManualScaling(instances=str(instances))
    return appinclude_one
