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/compute/v1/compute.proto 18 19 package com.google.cloud.compute.v1; 20 21 public interface TargetTcpProxyOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.TargetTcpProxy) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * [Output Only] Creation timestamp in RFC3339 text format. 31 * </pre> 32 * 33 * <code>optional string creation_timestamp = 30525366;</code> 34 * 35 * @return Whether the creationTimestamp field is set. 36 */ hasCreationTimestamp()37 boolean hasCreationTimestamp(); 38 /** 39 * 40 * 41 * <pre> 42 * [Output Only] Creation timestamp in RFC3339 text format. 43 * </pre> 44 * 45 * <code>optional string creation_timestamp = 30525366;</code> 46 * 47 * @return The creationTimestamp. 48 */ getCreationTimestamp()49 java.lang.String getCreationTimestamp(); 50 /** 51 * 52 * 53 * <pre> 54 * [Output Only] Creation timestamp in RFC3339 text format. 55 * </pre> 56 * 57 * <code>optional string creation_timestamp = 30525366;</code> 58 * 59 * @return The bytes for creationTimestamp. 60 */ getCreationTimestampBytes()61 com.google.protobuf.ByteString getCreationTimestampBytes(); 62 63 /** 64 * 65 * 66 * <pre> 67 * An optional description of this resource. Provide this property when you create the resource. 68 * </pre> 69 * 70 * <code>optional string description = 422937596;</code> 71 * 72 * @return Whether the description field is set. 73 */ hasDescription()74 boolean hasDescription(); 75 /** 76 * 77 * 78 * <pre> 79 * An optional description of this resource. Provide this property when you create the resource. 80 * </pre> 81 * 82 * <code>optional string description = 422937596;</code> 83 * 84 * @return The description. 85 */ getDescription()86 java.lang.String getDescription(); 87 /** 88 * 89 * 90 * <pre> 91 * An optional description of this resource. Provide this property when you create the resource. 92 * </pre> 93 * 94 * <code>optional string description = 422937596;</code> 95 * 96 * @return The bytes for description. 97 */ getDescriptionBytes()98 com.google.protobuf.ByteString getDescriptionBytes(); 99 100 /** 101 * 102 * 103 * <pre> 104 * [Output Only] The unique identifier for the resource. This identifier is defined by the server. 105 * </pre> 106 * 107 * <code>optional uint64 id = 3355;</code> 108 * 109 * @return Whether the id field is set. 110 */ hasId()111 boolean hasId(); 112 /** 113 * 114 * 115 * <pre> 116 * [Output Only] The unique identifier for the resource. This identifier is defined by the server. 117 * </pre> 118 * 119 * <code>optional uint64 id = 3355;</code> 120 * 121 * @return The id. 122 */ getId()123 long getId(); 124 125 /** 126 * 127 * 128 * <pre> 129 * [Output Only] Type of the resource. Always compute#targetTcpProxy for target TCP proxies. 130 * </pre> 131 * 132 * <code>optional string kind = 3292052;</code> 133 * 134 * @return Whether the kind field is set. 135 */ hasKind()136 boolean hasKind(); 137 /** 138 * 139 * 140 * <pre> 141 * [Output Only] Type of the resource. Always compute#targetTcpProxy for target TCP proxies. 142 * </pre> 143 * 144 * <code>optional string kind = 3292052;</code> 145 * 146 * @return The kind. 147 */ getKind()148 java.lang.String getKind(); 149 /** 150 * 151 * 152 * <pre> 153 * [Output Only] Type of the resource. Always compute#targetTcpProxy for target TCP proxies. 154 * </pre> 155 * 156 * <code>optional string kind = 3292052;</code> 157 * 158 * @return The bytes for kind. 159 */ getKindBytes()160 com.google.protobuf.ByteString getKindBytes(); 161 162 /** 163 * 164 * 165 * <pre> 166 * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. 167 * </pre> 168 * 169 * <code>optional string name = 3373707;</code> 170 * 171 * @return Whether the name field is set. 172 */ hasName()173 boolean hasName(); 174 /** 175 * 176 * 177 * <pre> 178 * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. 179 * </pre> 180 * 181 * <code>optional string name = 3373707;</code> 182 * 183 * @return The name. 184 */ getName()185 java.lang.String getName(); 186 /** 187 * 188 * 189 * <pre> 190 * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. 191 * </pre> 192 * 193 * <code>optional string name = 3373707;</code> 194 * 195 * @return The bytes for name. 196 */ getNameBytes()197 com.google.protobuf.ByteString getNameBytes(); 198 199 /** 200 * 201 * 202 * <pre> 203 * This field only applies when the forwarding rule that references this target proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED. When this field is set to true, Envoy proxies set up inbound traffic interception and bind to the IP address and port specified in the forwarding rule. This is generally useful when using Traffic Director to configure Envoy as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy proxy listens for inbound requests and handles requests when it receives them. The default is false. 204 * </pre> 205 * 206 * <code>optional bool proxy_bind = 286025582;</code> 207 * 208 * @return Whether the proxyBind field is set. 209 */ hasProxyBind()210 boolean hasProxyBind(); 211 /** 212 * 213 * 214 * <pre> 215 * This field only applies when the forwarding rule that references this target proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED. When this field is set to true, Envoy proxies set up inbound traffic interception and bind to the IP address and port specified in the forwarding rule. This is generally useful when using Traffic Director to configure Envoy as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy proxy listens for inbound requests and handles requests when it receives them. The default is false. 216 * </pre> 217 * 218 * <code>optional bool proxy_bind = 286025582;</code> 219 * 220 * @return The proxyBind. 221 */ getProxyBind()222 boolean getProxyBind(); 223 224 /** 225 * 226 * 227 * <pre> 228 * Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. 229 * Check the ProxyHeader enum for the list of possible values. 230 * </pre> 231 * 232 * <code>optional string proxy_header = 160374142;</code> 233 * 234 * @return Whether the proxyHeader field is set. 235 */ hasProxyHeader()236 boolean hasProxyHeader(); 237 /** 238 * 239 * 240 * <pre> 241 * Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. 242 * Check the ProxyHeader enum for the list of possible values. 243 * </pre> 244 * 245 * <code>optional string proxy_header = 160374142;</code> 246 * 247 * @return The proxyHeader. 248 */ getProxyHeader()249 java.lang.String getProxyHeader(); 250 /** 251 * 252 * 253 * <pre> 254 * Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. 255 * Check the ProxyHeader enum for the list of possible values. 256 * </pre> 257 * 258 * <code>optional string proxy_header = 160374142;</code> 259 * 260 * @return The bytes for proxyHeader. 261 */ getProxyHeaderBytes()262 com.google.protobuf.ByteString getProxyHeaderBytes(); 263 264 /** 265 * 266 * 267 * <pre> 268 * [Output Only] URL of the region where the regional TCP proxy resides. This field is not applicable to global TCP proxy. 269 * </pre> 270 * 271 * <code>optional string region = 138946292;</code> 272 * 273 * @return Whether the region field is set. 274 */ hasRegion()275 boolean hasRegion(); 276 /** 277 * 278 * 279 * <pre> 280 * [Output Only] URL of the region where the regional TCP proxy resides. This field is not applicable to global TCP proxy. 281 * </pre> 282 * 283 * <code>optional string region = 138946292;</code> 284 * 285 * @return The region. 286 */ getRegion()287 java.lang.String getRegion(); 288 /** 289 * 290 * 291 * <pre> 292 * [Output Only] URL of the region where the regional TCP proxy resides. This field is not applicable to global TCP proxy. 293 * </pre> 294 * 295 * <code>optional string region = 138946292;</code> 296 * 297 * @return The bytes for region. 298 */ getRegionBytes()299 com.google.protobuf.ByteString getRegionBytes(); 300 301 /** 302 * 303 * 304 * <pre> 305 * [Output Only] Server-defined URL for the resource. 306 * </pre> 307 * 308 * <code>optional string self_link = 456214797;</code> 309 * 310 * @return Whether the selfLink field is set. 311 */ hasSelfLink()312 boolean hasSelfLink(); 313 /** 314 * 315 * 316 * <pre> 317 * [Output Only] Server-defined URL for the resource. 318 * </pre> 319 * 320 * <code>optional string self_link = 456214797;</code> 321 * 322 * @return The selfLink. 323 */ getSelfLink()324 java.lang.String getSelfLink(); 325 /** 326 * 327 * 328 * <pre> 329 * [Output Only] Server-defined URL for the resource. 330 * </pre> 331 * 332 * <code>optional string self_link = 456214797;</code> 333 * 334 * @return The bytes for selfLink. 335 */ getSelfLinkBytes()336 com.google.protobuf.ByteString getSelfLinkBytes(); 337 338 /** 339 * 340 * 341 * <pre> 342 * URL to the BackendService resource. 343 * </pre> 344 * 345 * <code>optional string service = 373540533;</code> 346 * 347 * @return Whether the service field is set. 348 */ hasService()349 boolean hasService(); 350 /** 351 * 352 * 353 * <pre> 354 * URL to the BackendService resource. 355 * </pre> 356 * 357 * <code>optional string service = 373540533;</code> 358 * 359 * @return The service. 360 */ getService()361 java.lang.String getService(); 362 /** 363 * 364 * 365 * <pre> 366 * URL to the BackendService resource. 367 * </pre> 368 * 369 * <code>optional string service = 373540533;</code> 370 * 371 * @return The bytes for service. 372 */ getServiceBytes()373 com.google.protobuf.ByteString getServiceBytes(); 374 } 375