1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/tasks/v2/target.proto 18 19 package com.google.cloud.tasks.v2; 20 21 public interface AppEngineRoutingOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.AppEngineRouting) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * App service. 31 * By default, the task is sent to the service which is the default 32 * service when the task is attempted. 33 * For some queues or tasks which were created using the App Engine 34 * Task Queue API, [host][google.cloud.tasks.v2.AppEngineRouting.host] is not 35 * parsable into [service][google.cloud.tasks.v2.AppEngineRouting.service], 36 * [version][google.cloud.tasks.v2.AppEngineRouting.version], and 37 * [instance][google.cloud.tasks.v2.AppEngineRouting.instance]. For example, 38 * some tasks which were created using the App Engine SDK use a custom domain 39 * name; custom domains are not parsed by Cloud Tasks. If 40 * [host][google.cloud.tasks.v2.AppEngineRouting.host] is not parsable, then 41 * [service][google.cloud.tasks.v2.AppEngineRouting.service], 42 * [version][google.cloud.tasks.v2.AppEngineRouting.version], and 43 * [instance][google.cloud.tasks.v2.AppEngineRouting.instance] are the empty 44 * string. 45 * </pre> 46 * 47 * <code>string service = 1;</code> 48 * 49 * @return The service. 50 */ getService()51 java.lang.String getService(); 52 /** 53 * 54 * 55 * <pre> 56 * App service. 57 * By default, the task is sent to the service which is the default 58 * service when the task is attempted. 59 * For some queues or tasks which were created using the App Engine 60 * Task Queue API, [host][google.cloud.tasks.v2.AppEngineRouting.host] is not 61 * parsable into [service][google.cloud.tasks.v2.AppEngineRouting.service], 62 * [version][google.cloud.tasks.v2.AppEngineRouting.version], and 63 * [instance][google.cloud.tasks.v2.AppEngineRouting.instance]. For example, 64 * some tasks which were created using the App Engine SDK use a custom domain 65 * name; custom domains are not parsed by Cloud Tasks. If 66 * [host][google.cloud.tasks.v2.AppEngineRouting.host] is not parsable, then 67 * [service][google.cloud.tasks.v2.AppEngineRouting.service], 68 * [version][google.cloud.tasks.v2.AppEngineRouting.version], and 69 * [instance][google.cloud.tasks.v2.AppEngineRouting.instance] are the empty 70 * string. 71 * </pre> 72 * 73 * <code>string service = 1;</code> 74 * 75 * @return The bytes for service. 76 */ getServiceBytes()77 com.google.protobuf.ByteString getServiceBytes(); 78 79 /** 80 * 81 * 82 * <pre> 83 * App version. 84 * By default, the task is sent to the version which is the default 85 * version when the task is attempted. 86 * For some queues or tasks which were created using the App Engine 87 * Task Queue API, [host][google.cloud.tasks.v2.AppEngineRouting.host] is not 88 * parsable into [service][google.cloud.tasks.v2.AppEngineRouting.service], 89 * [version][google.cloud.tasks.v2.AppEngineRouting.version], and 90 * [instance][google.cloud.tasks.v2.AppEngineRouting.instance]. For example, 91 * some tasks which were created using the App Engine SDK use a custom domain 92 * name; custom domains are not parsed by Cloud Tasks. If 93 * [host][google.cloud.tasks.v2.AppEngineRouting.host] is not parsable, then 94 * [service][google.cloud.tasks.v2.AppEngineRouting.service], 95 * [version][google.cloud.tasks.v2.AppEngineRouting.version], and 96 * [instance][google.cloud.tasks.v2.AppEngineRouting.instance] are the empty 97 * string. 98 * </pre> 99 * 100 * <code>string version = 2;</code> 101 * 102 * @return The version. 103 */ getVersion()104 java.lang.String getVersion(); 105 /** 106 * 107 * 108 * <pre> 109 * App version. 110 * By default, the task is sent to the version which is the default 111 * version when the task is attempted. 112 * For some queues or tasks which were created using the App Engine 113 * Task Queue API, [host][google.cloud.tasks.v2.AppEngineRouting.host] is not 114 * parsable into [service][google.cloud.tasks.v2.AppEngineRouting.service], 115 * [version][google.cloud.tasks.v2.AppEngineRouting.version], and 116 * [instance][google.cloud.tasks.v2.AppEngineRouting.instance]. For example, 117 * some tasks which were created using the App Engine SDK use a custom domain 118 * name; custom domains are not parsed by Cloud Tasks. If 119 * [host][google.cloud.tasks.v2.AppEngineRouting.host] is not parsable, then 120 * [service][google.cloud.tasks.v2.AppEngineRouting.service], 121 * [version][google.cloud.tasks.v2.AppEngineRouting.version], and 122 * [instance][google.cloud.tasks.v2.AppEngineRouting.instance] are the empty 123 * string. 124 * </pre> 125 * 126 * <code>string version = 2;</code> 127 * 128 * @return The bytes for version. 129 */ getVersionBytes()130 com.google.protobuf.ByteString getVersionBytes(); 131 132 /** 133 * 134 * 135 * <pre> 136 * App instance. 137 * By default, the task is sent to an instance which is available when 138 * the task is attempted. 139 * Requests can only be sent to a specific instance if 140 * [manual scaling is used in App Engine 141 * Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes). 142 * App Engine Flex does not support instances. For more information, see 143 * [App Engine Standard request 144 * routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) 145 * and [App Engine Flex request 146 * routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). 147 * </pre> 148 * 149 * <code>string instance = 3;</code> 150 * 151 * @return The instance. 152 */ getInstance()153 java.lang.String getInstance(); 154 /** 155 * 156 * 157 * <pre> 158 * App instance. 159 * By default, the task is sent to an instance which is available when 160 * the task is attempted. 161 * Requests can only be sent to a specific instance if 162 * [manual scaling is used in App Engine 163 * Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes). 164 * App Engine Flex does not support instances. For more information, see 165 * [App Engine Standard request 166 * routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) 167 * and [App Engine Flex request 168 * routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). 169 * </pre> 170 * 171 * <code>string instance = 3;</code> 172 * 173 * @return The bytes for instance. 174 */ getInstanceBytes()175 com.google.protobuf.ByteString getInstanceBytes(); 176 177 /** 178 * 179 * 180 * <pre> 181 * Output only. The host that the task is sent to. 182 * The host is constructed from the domain name of the app associated with 183 * the queue's project ID (for example <app-id>.appspot.com), and the 184 * [service][google.cloud.tasks.v2.AppEngineRouting.service], 185 * [version][google.cloud.tasks.v2.AppEngineRouting.version], and 186 * [instance][google.cloud.tasks.v2.AppEngineRouting.instance]. Tasks which 187 * were created using the App Engine SDK might have a custom domain name. 188 * For more information, see 189 * [How Requests are 190 * Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). 191 * </pre> 192 * 193 * <code>string host = 4;</code> 194 * 195 * @return The host. 196 */ getHost()197 java.lang.String getHost(); 198 /** 199 * 200 * 201 * <pre> 202 * Output only. The host that the task is sent to. 203 * The host is constructed from the domain name of the app associated with 204 * the queue's project ID (for example <app-id>.appspot.com), and the 205 * [service][google.cloud.tasks.v2.AppEngineRouting.service], 206 * [version][google.cloud.tasks.v2.AppEngineRouting.version], and 207 * [instance][google.cloud.tasks.v2.AppEngineRouting.instance]. Tasks which 208 * were created using the App Engine SDK might have a custom domain name. 209 * For more information, see 210 * [How Requests are 211 * Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). 212 * </pre> 213 * 214 * <code>string host = 4;</code> 215 * 216 * @return The bytes for host. 217 */ getHostBytes()218 com.google.protobuf.ByteString getHostBytes(); 219 } 220