application_domain_name = The domain name of the app, for
example <app-id>.appspot.com, which is associated with the
job's project ID.
service =service
version =version
version_dot_service =version+ '.' +service
instance =instance
instance_dot_service =instance+ '.' +service
instance_dot_version =instance+ '.' +version
instance_dot_version_dot_service =instance+ '.' +version+ '.' +service
If service is empty,
then the job will be sent to the service which is the default service when
the job is attempted.
If version is empty,
then the job will be sent to the version which is the default version when
the job is attempted.
If instance is
empty, then the job will be sent to an instance which is available when the
job is attempted.
If service,
version, or
instance is invalid,
then the job will be sent to the default version of the default service
when the job is attempted.
application_domain_name = The domain name of the app, for
example <app-id>.appspot.com, which is associated with the
job's project ID.
service =service
version =version
version_dot_service =version+ '.' +service
instance =instance
instance_dot_service =instance+ '.' +service
instance_dot_version =instance+ '.' +version
instance_dot_version_dot_service =instance+ '.' +version+ '.' +service
If service is empty,
then the job will be sent to the service which is the default service when
the job is attempted.
If version is empty,
then the job will be sent to the version which is the default version when
the job is attempted.
If instance is
empty, then the job will be sent to an instance which is available when the
job is attempted.
If service,
version, or
instance is invalid,
then the job will be sent to the default version of the default service
when the job is attempted.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface AppEngineRoutingOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.scheduler.v1.AppEngineRoutingOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.scheduler.v1.AppEngineRoutingOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.scheduler.v1.AppEngineRoutingOrBuilder) \n\n public interface AppEngineRoutingOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getHost()\n\n public abstract String getHost()\n\nOutput only. The host that the job is sent to.\nFor more information about how App Engine requests are routed, see\n[here](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed).\nThe host is constructed as:\n\n- `host = [application_domain_name]`\\\u003c/br\\\u003e `| [service] + '.' + [application_domain_name]`\\\u003c/br\\\u003e `| [version] + '.' + [application_domain_name]`\\\u003c/br\\\u003e `| [version_dot_service]+ '.' + [application_domain_name]`\\\u003c/br\\\u003e `| [instance] + '.' + [application_domain_name]`\\\u003c/br\\\u003e `| [instance_dot_service] + '.' + [application_domain_name]`\\\u003c/br\\\u003e `| [instance_dot_version] + '.' + [application_domain_name]`\\\u003c/br\\\u003e `| [instance_dot_version_dot_service] + '.' + [application_domain_name]`\n- `application_domain_name` = The domain name of the app, for example \\\u003capp-id\\\u003e.appspot.com, which is associated with the job's project ID.\n- `service =` service\n- `version =` version\n- `version_dot_service =` version `+ '.' +` service\n- `instance =` instance\n- `instance_dot_service =` instance `+ '.' +` service\n- `instance_dot_version =` instance `+ '.' +` version\n- `instance_dot_version_dot_service =` instance `+ '.' +` version `+ '.' +` service If service is empty, then the job will be sent to the service which is the default service when the job is attempted. If version is empty, then the job will be sent to the version which is the default version when the job is attempted. If instance is empty, then the job will be sent to an instance which is available when the job is attempted. If service, version, or instance is invalid, then the job will be sent to the default version of the default service when the job is attempted.\n\n`string host = 4;`\n\n### getHostBytes()\n\n public abstract ByteString getHostBytes()\n\nOutput only. The host that the job is sent to.\nFor more information about how App Engine requests are routed, see\n[here](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed).\nThe host is constructed as:\n\n- `host = [application_domain_name]`\\\u003c/br\\\u003e `| [service] + '.' + [application_domain_name]`\\\u003c/br\\\u003e `| [version] + '.' + [application_domain_name]`\\\u003c/br\\\u003e `| [version_dot_service]+ '.' + [application_domain_name]`\\\u003c/br\\\u003e `| [instance] + '.' + [application_domain_name]`\\\u003c/br\\\u003e `| [instance_dot_service] + '.' + [application_domain_name]`\\\u003c/br\\\u003e `| [instance_dot_version] + '.' + [application_domain_name]`\\\u003c/br\\\u003e `| [instance_dot_version_dot_service] + '.' + [application_domain_name]`\n- `application_domain_name` = The domain name of the app, for example \\\u003capp-id\\\u003e.appspot.com, which is associated with the job's project ID.\n- `service =` service\n- `version =` version\n- `version_dot_service =` version `+ '.' +` service\n- `instance =` instance\n- `instance_dot_service =` instance `+ '.' +` service\n- `instance_dot_version =` instance `+ '.' +` version\n- `instance_dot_version_dot_service =` instance `+ '.' +` version `+ '.' +` service If service is empty, then the job will be sent to the service which is the default service when the job is attempted. If version is empty, then the job will be sent to the version which is the default version when the job is attempted. If instance is empty, then the job will be sent to an instance which is available when the job is attempted. If service, version, or instance is invalid, then the job will be sent to the default version of the default service when the job is attempted.\n\n`string host = 4;`\n\n### getInstance()\n\n public abstract String getInstance()\n\nApp instance.\nBy default, the job is sent to an instance which is available when\nthe job is attempted.\nRequests can only be sent to a specific instance if\n[manual scaling is used in App Engine\nStandard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?#scaling_types_and_instance_classes).\nApp Engine Flex does not support instances. For more information, see\n[App Engine Standard request\nrouting](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed)\nand [App Engine Flex request\nrouting](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).\n\n`string instance = 3;`\n\n### getInstanceBytes()\n\n public abstract ByteString getInstanceBytes()\n\nApp instance.\nBy default, the job is sent to an instance which is available when\nthe job is attempted.\nRequests can only be sent to a specific instance if\n[manual scaling is used in App Engine\nStandard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?#scaling_types_and_instance_classes).\nApp Engine Flex does not support instances. For more information, see\n[App Engine Standard request\nrouting](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed)\nand [App Engine Flex request\nrouting](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).\n\n`string instance = 3;`\n\n### getService()\n\n public abstract String getService()\n\nApp service.\nBy default, the job is sent to the service which is the default\nservice when the job is attempted.\n\n`string service = 1;`\n\n### getServiceBytes()\n\n public abstract ByteString getServiceBytes()\n\nApp service.\nBy default, the job is sent to the service which is the default\nservice when the job is attempted.\n\n`string service = 1;`\n\n### getVersion()\n\n public abstract String getVersion()\n\nApp version.\nBy default, the job is sent to the version which is the default\nversion when the job is attempted.\n\n`string version = 2;`\n\n### getVersionBytes()\n\n public abstract ByteString getVersionBytes()\n\nApp version.\nBy default, the job is sent to the version which is the default\nversion when the job is attempted.\n\n`string version = 2;`"]]