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 TargetHttpProxyOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.TargetHttpProxy) 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 * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetHttpProxy. An up-to-date fingerprint must be provided in order to patch/update the TargetHttpProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetHttpProxy. 105 * </pre> 106 * 107 * <code>optional string fingerprint = 234678500;</code> 108 * 109 * @return Whether the fingerprint field is set. 110 */ hasFingerprint()111 boolean hasFingerprint(); 112 /** 113 * 114 * 115 * <pre> 116 * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetHttpProxy. An up-to-date fingerprint must be provided in order to patch/update the TargetHttpProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetHttpProxy. 117 * </pre> 118 * 119 * <code>optional string fingerprint = 234678500;</code> 120 * 121 * @return The fingerprint. 122 */ getFingerprint()123 java.lang.String getFingerprint(); 124 /** 125 * 126 * 127 * <pre> 128 * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetHttpProxy. An up-to-date fingerprint must be provided in order to patch/update the TargetHttpProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetHttpProxy. 129 * </pre> 130 * 131 * <code>optional string fingerprint = 234678500;</code> 132 * 133 * @return The bytes for fingerprint. 134 */ getFingerprintBytes()135 com.google.protobuf.ByteString getFingerprintBytes(); 136 137 /** 138 * 139 * 140 * <pre> 141 * [Output Only] The unique identifier for the resource. This identifier is defined by the server. 142 * </pre> 143 * 144 * <code>optional uint64 id = 3355;</code> 145 * 146 * @return Whether the id field is set. 147 */ hasId()148 boolean hasId(); 149 /** 150 * 151 * 152 * <pre> 153 * [Output Only] The unique identifier for the resource. This identifier is defined by the server. 154 * </pre> 155 * 156 * <code>optional uint64 id = 3355;</code> 157 * 158 * @return The id. 159 */ getId()160 long getId(); 161 162 /** 163 * 164 * 165 * <pre> 166 * [Output Only] Type of resource. Always compute#targetHttpProxy for target HTTP proxies. 167 * </pre> 168 * 169 * <code>optional string kind = 3292052;</code> 170 * 171 * @return Whether the kind field is set. 172 */ hasKind()173 boolean hasKind(); 174 /** 175 * 176 * 177 * <pre> 178 * [Output Only] Type of resource. Always compute#targetHttpProxy for target HTTP proxies. 179 * </pre> 180 * 181 * <code>optional string kind = 3292052;</code> 182 * 183 * @return The kind. 184 */ getKind()185 java.lang.String getKind(); 186 /** 187 * 188 * 189 * <pre> 190 * [Output Only] Type of resource. Always compute#targetHttpProxy for target HTTP proxies. 191 * </pre> 192 * 193 * <code>optional string kind = 3292052;</code> 194 * 195 * @return The bytes for kind. 196 */ getKindBytes()197 com.google.protobuf.ByteString getKindBytes(); 198 199 /** 200 * 201 * 202 * <pre> 203 * 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. 204 * </pre> 205 * 206 * <code>optional string name = 3373707;</code> 207 * 208 * @return Whether the name field is set. 209 */ hasName()210 boolean hasName(); 211 /** 212 * 213 * 214 * <pre> 215 * 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. 216 * </pre> 217 * 218 * <code>optional string name = 3373707;</code> 219 * 220 * @return The name. 221 */ getName()222 java.lang.String getName(); 223 /** 224 * 225 * 226 * <pre> 227 * 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. 228 * </pre> 229 * 230 * <code>optional string name = 3373707;</code> 231 * 232 * @return The bytes for name. 233 */ getNameBytes()234 com.google.protobuf.ByteString getNameBytes(); 235 236 /** 237 * 238 * 239 * <pre> 240 * 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. 241 * </pre> 242 * 243 * <code>optional bool proxy_bind = 286025582;</code> 244 * 245 * @return Whether the proxyBind field is set. 246 */ hasProxyBind()247 boolean hasProxyBind(); 248 /** 249 * 250 * 251 * <pre> 252 * 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. 253 * </pre> 254 * 255 * <code>optional bool proxy_bind = 286025582;</code> 256 * 257 * @return The proxyBind. 258 */ getProxyBind()259 boolean getProxyBind(); 260 261 /** 262 * 263 * 264 * <pre> 265 * [Output Only] URL of the region where the regional Target HTTP Proxy resides. This field is not applicable to global Target HTTP Proxies. 266 * </pre> 267 * 268 * <code>optional string region = 138946292;</code> 269 * 270 * @return Whether the region field is set. 271 */ hasRegion()272 boolean hasRegion(); 273 /** 274 * 275 * 276 * <pre> 277 * [Output Only] URL of the region where the regional Target HTTP Proxy resides. This field is not applicable to global Target HTTP Proxies. 278 * </pre> 279 * 280 * <code>optional string region = 138946292;</code> 281 * 282 * @return The region. 283 */ getRegion()284 java.lang.String getRegion(); 285 /** 286 * 287 * 288 * <pre> 289 * [Output Only] URL of the region where the regional Target HTTP Proxy resides. This field is not applicable to global Target HTTP Proxies. 290 * </pre> 291 * 292 * <code>optional string region = 138946292;</code> 293 * 294 * @return The bytes for region. 295 */ getRegionBytes()296 com.google.protobuf.ByteString getRegionBytes(); 297 298 /** 299 * 300 * 301 * <pre> 302 * [Output Only] Server-defined URL for the resource. 303 * </pre> 304 * 305 * <code>optional string self_link = 456214797;</code> 306 * 307 * @return Whether the selfLink field is set. 308 */ hasSelfLink()309 boolean hasSelfLink(); 310 /** 311 * 312 * 313 * <pre> 314 * [Output Only] Server-defined URL for the resource. 315 * </pre> 316 * 317 * <code>optional string self_link = 456214797;</code> 318 * 319 * @return The selfLink. 320 */ getSelfLink()321 java.lang.String getSelfLink(); 322 /** 323 * 324 * 325 * <pre> 326 * [Output Only] Server-defined URL for the resource. 327 * </pre> 328 * 329 * <code>optional string self_link = 456214797;</code> 330 * 331 * @return The bytes for selfLink. 332 */ getSelfLinkBytes()333 com.google.protobuf.ByteString getSelfLinkBytes(); 334 335 /** 336 * 337 * 338 * <pre> 339 * URL to the UrlMap resource that defines the mapping from URL to the BackendService. 340 * </pre> 341 * 342 * <code>optional string url_map = 367020684;</code> 343 * 344 * @return Whether the urlMap field is set. 345 */ hasUrlMap()346 boolean hasUrlMap(); 347 /** 348 * 349 * 350 * <pre> 351 * URL to the UrlMap resource that defines the mapping from URL to the BackendService. 352 * </pre> 353 * 354 * <code>optional string url_map = 367020684;</code> 355 * 356 * @return The urlMap. 357 */ getUrlMap()358 java.lang.String getUrlMap(); 359 /** 360 * 361 * 362 * <pre> 363 * URL to the UrlMap resource that defines the mapping from URL to the BackendService. 364 * </pre> 365 * 366 * <code>optional string url_map = 367020684;</code> 367 * 368 * @return The bytes for urlMap. 369 */ getUrlMapBytes()370 com.google.protobuf.ByteString getUrlMapBytes(); 371 } 372