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 /** 22 * 23 * 24 * <pre> 25 * A request message for UrlMaps.List. See the method description for details. 26 * </pre> 27 * 28 * Protobuf type {@code google.cloud.compute.v1.ListUrlMapsRequest} 29 */ 30 public final class ListUrlMapsRequest extends com.google.protobuf.GeneratedMessageV3 31 implements 32 // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.ListUrlMapsRequest) 33 ListUrlMapsRequestOrBuilder { 34 private static final long serialVersionUID = 0L; 35 // Use ListUrlMapsRequest.newBuilder() to construct. ListUrlMapsRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)36 private ListUrlMapsRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 37 super(builder); 38 } 39 ListUrlMapsRequest()40 private ListUrlMapsRequest() { 41 filter_ = ""; 42 orderBy_ = ""; 43 pageToken_ = ""; 44 project_ = ""; 45 } 46 47 @java.lang.Override 48 @SuppressWarnings({"unused"}) newInstance(UnusedPrivateParameter unused)49 protected java.lang.Object newInstance(UnusedPrivateParameter unused) { 50 return new ListUrlMapsRequest(); 51 } 52 53 @java.lang.Override getUnknownFields()54 public final com.google.protobuf.UnknownFieldSet getUnknownFields() { 55 return this.unknownFields; 56 } 57 getDescriptor()58 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { 59 return com.google.cloud.compute.v1.Compute 60 .internal_static_google_cloud_compute_v1_ListUrlMapsRequest_descriptor; 61 } 62 63 @java.lang.Override 64 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()65 internalGetFieldAccessorTable() { 66 return com.google.cloud.compute.v1.Compute 67 .internal_static_google_cloud_compute_v1_ListUrlMapsRequest_fieldAccessorTable 68 .ensureFieldAccessorsInitialized( 69 com.google.cloud.compute.v1.ListUrlMapsRequest.class, 70 com.google.cloud.compute.v1.ListUrlMapsRequest.Builder.class); 71 } 72 73 private int bitField0_; 74 public static final int FILTER_FIELD_NUMBER = 336120696; 75 76 @SuppressWarnings("serial") 77 private volatile java.lang.Object filter_ = ""; 78 /** 79 * 80 * 81 * <pre> 82 * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. 83 * </pre> 84 * 85 * <code>optional string filter = 336120696;</code> 86 * 87 * @return Whether the filter field is set. 88 */ 89 @java.lang.Override hasFilter()90 public boolean hasFilter() { 91 return ((bitField0_ & 0x00000001) != 0); 92 } 93 /** 94 * 95 * 96 * <pre> 97 * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. 98 * </pre> 99 * 100 * <code>optional string filter = 336120696;</code> 101 * 102 * @return The filter. 103 */ 104 @java.lang.Override getFilter()105 public java.lang.String getFilter() { 106 java.lang.Object ref = filter_; 107 if (ref instanceof java.lang.String) { 108 return (java.lang.String) ref; 109 } else { 110 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 111 java.lang.String s = bs.toStringUtf8(); 112 filter_ = s; 113 return s; 114 } 115 } 116 /** 117 * 118 * 119 * <pre> 120 * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. 121 * </pre> 122 * 123 * <code>optional string filter = 336120696;</code> 124 * 125 * @return The bytes for filter. 126 */ 127 @java.lang.Override getFilterBytes()128 public com.google.protobuf.ByteString getFilterBytes() { 129 java.lang.Object ref = filter_; 130 if (ref instanceof java.lang.String) { 131 com.google.protobuf.ByteString b = 132 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 133 filter_ = b; 134 return b; 135 } else { 136 return (com.google.protobuf.ByteString) ref; 137 } 138 } 139 140 public static final int MAX_RESULTS_FIELD_NUMBER = 54715419; 141 private int maxResults_ = 0; 142 /** 143 * 144 * 145 * <pre> 146 * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) 147 * </pre> 148 * 149 * <code>optional uint32 max_results = 54715419;</code> 150 * 151 * @return Whether the maxResults field is set. 152 */ 153 @java.lang.Override hasMaxResults()154 public boolean hasMaxResults() { 155 return ((bitField0_ & 0x00000002) != 0); 156 } 157 /** 158 * 159 * 160 * <pre> 161 * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) 162 * </pre> 163 * 164 * <code>optional uint32 max_results = 54715419;</code> 165 * 166 * @return The maxResults. 167 */ 168 @java.lang.Override getMaxResults()169 public int getMaxResults() { 170 return maxResults_; 171 } 172 173 public static final int ORDER_BY_FIELD_NUMBER = 160562920; 174 175 @SuppressWarnings("serial") 176 private volatile java.lang.Object orderBy_ = ""; 177 /** 178 * 179 * 180 * <pre> 181 * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. 182 * </pre> 183 * 184 * <code>optional string order_by = 160562920;</code> 185 * 186 * @return Whether the orderBy field is set. 187 */ 188 @java.lang.Override hasOrderBy()189 public boolean hasOrderBy() { 190 return ((bitField0_ & 0x00000004) != 0); 191 } 192 /** 193 * 194 * 195 * <pre> 196 * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. 197 * </pre> 198 * 199 * <code>optional string order_by = 160562920;</code> 200 * 201 * @return The orderBy. 202 */ 203 @java.lang.Override getOrderBy()204 public java.lang.String getOrderBy() { 205 java.lang.Object ref = orderBy_; 206 if (ref instanceof java.lang.String) { 207 return (java.lang.String) ref; 208 } else { 209 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 210 java.lang.String s = bs.toStringUtf8(); 211 orderBy_ = s; 212 return s; 213 } 214 } 215 /** 216 * 217 * 218 * <pre> 219 * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. 220 * </pre> 221 * 222 * <code>optional string order_by = 160562920;</code> 223 * 224 * @return The bytes for orderBy. 225 */ 226 @java.lang.Override getOrderByBytes()227 public com.google.protobuf.ByteString getOrderByBytes() { 228 java.lang.Object ref = orderBy_; 229 if (ref instanceof java.lang.String) { 230 com.google.protobuf.ByteString b = 231 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 232 orderBy_ = b; 233 return b; 234 } else { 235 return (com.google.protobuf.ByteString) ref; 236 } 237 } 238 239 public static final int PAGE_TOKEN_FIELD_NUMBER = 19994697; 240 241 @SuppressWarnings("serial") 242 private volatile java.lang.Object pageToken_ = ""; 243 /** 244 * 245 * 246 * <pre> 247 * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. 248 * </pre> 249 * 250 * <code>optional string page_token = 19994697;</code> 251 * 252 * @return Whether the pageToken field is set. 253 */ 254 @java.lang.Override hasPageToken()255 public boolean hasPageToken() { 256 return ((bitField0_ & 0x00000008) != 0); 257 } 258 /** 259 * 260 * 261 * <pre> 262 * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. 263 * </pre> 264 * 265 * <code>optional string page_token = 19994697;</code> 266 * 267 * @return The pageToken. 268 */ 269 @java.lang.Override getPageToken()270 public java.lang.String getPageToken() { 271 java.lang.Object ref = pageToken_; 272 if (ref instanceof java.lang.String) { 273 return (java.lang.String) ref; 274 } else { 275 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 276 java.lang.String s = bs.toStringUtf8(); 277 pageToken_ = s; 278 return s; 279 } 280 } 281 /** 282 * 283 * 284 * <pre> 285 * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. 286 * </pre> 287 * 288 * <code>optional string page_token = 19994697;</code> 289 * 290 * @return The bytes for pageToken. 291 */ 292 @java.lang.Override getPageTokenBytes()293 public com.google.protobuf.ByteString getPageTokenBytes() { 294 java.lang.Object ref = pageToken_; 295 if (ref instanceof java.lang.String) { 296 com.google.protobuf.ByteString b = 297 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 298 pageToken_ = b; 299 return b; 300 } else { 301 return (com.google.protobuf.ByteString) ref; 302 } 303 } 304 305 public static final int PROJECT_FIELD_NUMBER = 227560217; 306 307 @SuppressWarnings("serial") 308 private volatile java.lang.Object project_ = ""; 309 /** 310 * 311 * 312 * <pre> 313 * Project ID for this request. 314 * </pre> 315 * 316 * <code>string project = 227560217 [(.google.api.field_behavior) = REQUIRED];</code> 317 * 318 * @return The project. 319 */ 320 @java.lang.Override getProject()321 public java.lang.String getProject() { 322 java.lang.Object ref = project_; 323 if (ref instanceof java.lang.String) { 324 return (java.lang.String) ref; 325 } else { 326 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 327 java.lang.String s = bs.toStringUtf8(); 328 project_ = s; 329 return s; 330 } 331 } 332 /** 333 * 334 * 335 * <pre> 336 * Project ID for this request. 337 * </pre> 338 * 339 * <code>string project = 227560217 [(.google.api.field_behavior) = REQUIRED];</code> 340 * 341 * @return The bytes for project. 342 */ 343 @java.lang.Override getProjectBytes()344 public com.google.protobuf.ByteString getProjectBytes() { 345 java.lang.Object ref = project_; 346 if (ref instanceof java.lang.String) { 347 com.google.protobuf.ByteString b = 348 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 349 project_ = b; 350 return b; 351 } else { 352 return (com.google.protobuf.ByteString) ref; 353 } 354 } 355 356 public static final int RETURN_PARTIAL_SUCCESS_FIELD_NUMBER = 517198390; 357 private boolean returnPartialSuccess_ = false; 358 /** 359 * 360 * 361 * <pre> 362 * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. 363 * </pre> 364 * 365 * <code>optional bool return_partial_success = 517198390;</code> 366 * 367 * @return Whether the returnPartialSuccess field is set. 368 */ 369 @java.lang.Override hasReturnPartialSuccess()370 public boolean hasReturnPartialSuccess() { 371 return ((bitField0_ & 0x00000010) != 0); 372 } 373 /** 374 * 375 * 376 * <pre> 377 * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. 378 * </pre> 379 * 380 * <code>optional bool return_partial_success = 517198390;</code> 381 * 382 * @return The returnPartialSuccess. 383 */ 384 @java.lang.Override getReturnPartialSuccess()385 public boolean getReturnPartialSuccess() { 386 return returnPartialSuccess_; 387 } 388 389 private byte memoizedIsInitialized = -1; 390 391 @java.lang.Override isInitialized()392 public final boolean isInitialized() { 393 byte isInitialized = memoizedIsInitialized; 394 if (isInitialized == 1) return true; 395 if (isInitialized == 0) return false; 396 397 memoizedIsInitialized = 1; 398 return true; 399 } 400 401 @java.lang.Override writeTo(com.google.protobuf.CodedOutputStream output)402 public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { 403 if (((bitField0_ & 0x00000008) != 0)) { 404 com.google.protobuf.GeneratedMessageV3.writeString(output, 19994697, pageToken_); 405 } 406 if (((bitField0_ & 0x00000002) != 0)) { 407 output.writeUInt32(54715419, maxResults_); 408 } 409 if (((bitField0_ & 0x00000004) != 0)) { 410 com.google.protobuf.GeneratedMessageV3.writeString(output, 160562920, orderBy_); 411 } 412 if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { 413 com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); 414 } 415 if (((bitField0_ & 0x00000001) != 0)) { 416 com.google.protobuf.GeneratedMessageV3.writeString(output, 336120696, filter_); 417 } 418 if (((bitField0_ & 0x00000010) != 0)) { 419 output.writeBool(517198390, returnPartialSuccess_); 420 } 421 getUnknownFields().writeTo(output); 422 } 423 424 @java.lang.Override getSerializedSize()425 public int getSerializedSize() { 426 int size = memoizedSize; 427 if (size != -1) return size; 428 429 size = 0; 430 if (((bitField0_ & 0x00000008) != 0)) { 431 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19994697, pageToken_); 432 } 433 if (((bitField0_ & 0x00000002) != 0)) { 434 size += com.google.protobuf.CodedOutputStream.computeUInt32Size(54715419, maxResults_); 435 } 436 if (((bitField0_ & 0x00000004) != 0)) { 437 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(160562920, orderBy_); 438 } 439 if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { 440 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); 441 } 442 if (((bitField0_ & 0x00000001) != 0)) { 443 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(336120696, filter_); 444 } 445 if (((bitField0_ & 0x00000010) != 0)) { 446 size += 447 com.google.protobuf.CodedOutputStream.computeBoolSize(517198390, returnPartialSuccess_); 448 } 449 size += getUnknownFields().getSerializedSize(); 450 memoizedSize = size; 451 return size; 452 } 453 454 @java.lang.Override equals(final java.lang.Object obj)455 public boolean equals(final java.lang.Object obj) { 456 if (obj == this) { 457 return true; 458 } 459 if (!(obj instanceof com.google.cloud.compute.v1.ListUrlMapsRequest)) { 460 return super.equals(obj); 461 } 462 com.google.cloud.compute.v1.ListUrlMapsRequest other = 463 (com.google.cloud.compute.v1.ListUrlMapsRequest) obj; 464 465 if (hasFilter() != other.hasFilter()) return false; 466 if (hasFilter()) { 467 if (!getFilter().equals(other.getFilter())) return false; 468 } 469 if (hasMaxResults() != other.hasMaxResults()) return false; 470 if (hasMaxResults()) { 471 if (getMaxResults() != other.getMaxResults()) return false; 472 } 473 if (hasOrderBy() != other.hasOrderBy()) return false; 474 if (hasOrderBy()) { 475 if (!getOrderBy().equals(other.getOrderBy())) return false; 476 } 477 if (hasPageToken() != other.hasPageToken()) return false; 478 if (hasPageToken()) { 479 if (!getPageToken().equals(other.getPageToken())) return false; 480 } 481 if (!getProject().equals(other.getProject())) return false; 482 if (hasReturnPartialSuccess() != other.hasReturnPartialSuccess()) return false; 483 if (hasReturnPartialSuccess()) { 484 if (getReturnPartialSuccess() != other.getReturnPartialSuccess()) return false; 485 } 486 if (!getUnknownFields().equals(other.getUnknownFields())) return false; 487 return true; 488 } 489 490 @java.lang.Override hashCode()491 public int hashCode() { 492 if (memoizedHashCode != 0) { 493 return memoizedHashCode; 494 } 495 int hash = 41; 496 hash = (19 * hash) + getDescriptor().hashCode(); 497 if (hasFilter()) { 498 hash = (37 * hash) + FILTER_FIELD_NUMBER; 499 hash = (53 * hash) + getFilter().hashCode(); 500 } 501 if (hasMaxResults()) { 502 hash = (37 * hash) + MAX_RESULTS_FIELD_NUMBER; 503 hash = (53 * hash) + getMaxResults(); 504 } 505 if (hasOrderBy()) { 506 hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; 507 hash = (53 * hash) + getOrderBy().hashCode(); 508 } 509 if (hasPageToken()) { 510 hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; 511 hash = (53 * hash) + getPageToken().hashCode(); 512 } 513 hash = (37 * hash) + PROJECT_FIELD_NUMBER; 514 hash = (53 * hash) + getProject().hashCode(); 515 if (hasReturnPartialSuccess()) { 516 hash = (37 * hash) + RETURN_PARTIAL_SUCCESS_FIELD_NUMBER; 517 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnPartialSuccess()); 518 } 519 hash = (29 * hash) + getUnknownFields().hashCode(); 520 memoizedHashCode = hash; 521 return hash; 522 } 523 parseFrom(java.nio.ByteBuffer data)524 public static com.google.cloud.compute.v1.ListUrlMapsRequest parseFrom(java.nio.ByteBuffer data) 525 throws com.google.protobuf.InvalidProtocolBufferException { 526 return PARSER.parseFrom(data); 527 } 528 parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)529 public static com.google.cloud.compute.v1.ListUrlMapsRequest parseFrom( 530 java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 531 throws com.google.protobuf.InvalidProtocolBufferException { 532 return PARSER.parseFrom(data, extensionRegistry); 533 } 534 parseFrom( com.google.protobuf.ByteString data)535 public static com.google.cloud.compute.v1.ListUrlMapsRequest parseFrom( 536 com.google.protobuf.ByteString data) 537 throws com.google.protobuf.InvalidProtocolBufferException { 538 return PARSER.parseFrom(data); 539 } 540 parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)541 public static com.google.cloud.compute.v1.ListUrlMapsRequest parseFrom( 542 com.google.protobuf.ByteString data, 543 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 544 throws com.google.protobuf.InvalidProtocolBufferException { 545 return PARSER.parseFrom(data, extensionRegistry); 546 } 547 parseFrom(byte[] data)548 public static com.google.cloud.compute.v1.ListUrlMapsRequest parseFrom(byte[] data) 549 throws com.google.protobuf.InvalidProtocolBufferException { 550 return PARSER.parseFrom(data); 551 } 552 parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)553 public static com.google.cloud.compute.v1.ListUrlMapsRequest parseFrom( 554 byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 555 throws com.google.protobuf.InvalidProtocolBufferException { 556 return PARSER.parseFrom(data, extensionRegistry); 557 } 558 parseFrom(java.io.InputStream input)559 public static com.google.cloud.compute.v1.ListUrlMapsRequest parseFrom(java.io.InputStream input) 560 throws java.io.IOException { 561 return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); 562 } 563 parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)564 public static com.google.cloud.compute.v1.ListUrlMapsRequest parseFrom( 565 java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 566 throws java.io.IOException { 567 return com.google.protobuf.GeneratedMessageV3.parseWithIOException( 568 PARSER, input, extensionRegistry); 569 } 570 parseDelimitedFrom( java.io.InputStream input)571 public static com.google.cloud.compute.v1.ListUrlMapsRequest parseDelimitedFrom( 572 java.io.InputStream input) throws java.io.IOException { 573 return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); 574 } 575 parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)576 public static com.google.cloud.compute.v1.ListUrlMapsRequest parseDelimitedFrom( 577 java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 578 throws java.io.IOException { 579 return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( 580 PARSER, input, extensionRegistry); 581 } 582 parseFrom( com.google.protobuf.CodedInputStream input)583 public static com.google.cloud.compute.v1.ListUrlMapsRequest parseFrom( 584 com.google.protobuf.CodedInputStream input) throws java.io.IOException { 585 return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); 586 } 587 parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)588 public static com.google.cloud.compute.v1.ListUrlMapsRequest parseFrom( 589 com.google.protobuf.CodedInputStream input, 590 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 591 throws java.io.IOException { 592 return com.google.protobuf.GeneratedMessageV3.parseWithIOException( 593 PARSER, input, extensionRegistry); 594 } 595 596 @java.lang.Override newBuilderForType()597 public Builder newBuilderForType() { 598 return newBuilder(); 599 } 600 newBuilder()601 public static Builder newBuilder() { 602 return DEFAULT_INSTANCE.toBuilder(); 603 } 604 newBuilder(com.google.cloud.compute.v1.ListUrlMapsRequest prototype)605 public static Builder newBuilder(com.google.cloud.compute.v1.ListUrlMapsRequest prototype) { 606 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 607 } 608 609 @java.lang.Override toBuilder()610 public Builder toBuilder() { 611 return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); 612 } 613 614 @java.lang.Override newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)615 protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 616 Builder builder = new Builder(parent); 617 return builder; 618 } 619 /** 620 * 621 * 622 * <pre> 623 * A request message for UrlMaps.List. See the method description for details. 624 * </pre> 625 * 626 * Protobuf type {@code google.cloud.compute.v1.ListUrlMapsRequest} 627 */ 628 public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> 629 implements 630 // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.ListUrlMapsRequest) 631 com.google.cloud.compute.v1.ListUrlMapsRequestOrBuilder { getDescriptor()632 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { 633 return com.google.cloud.compute.v1.Compute 634 .internal_static_google_cloud_compute_v1_ListUrlMapsRequest_descriptor; 635 } 636 637 @java.lang.Override 638 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()639 internalGetFieldAccessorTable() { 640 return com.google.cloud.compute.v1.Compute 641 .internal_static_google_cloud_compute_v1_ListUrlMapsRequest_fieldAccessorTable 642 .ensureFieldAccessorsInitialized( 643 com.google.cloud.compute.v1.ListUrlMapsRequest.class, 644 com.google.cloud.compute.v1.ListUrlMapsRequest.Builder.class); 645 } 646 647 // Construct using com.google.cloud.compute.v1.ListUrlMapsRequest.newBuilder() Builder()648 private Builder() {} 649 Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)650 private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 651 super(parent); 652 } 653 654 @java.lang.Override clear()655 public Builder clear() { 656 super.clear(); 657 bitField0_ = 0; 658 filter_ = ""; 659 maxResults_ = 0; 660 orderBy_ = ""; 661 pageToken_ = ""; 662 project_ = ""; 663 returnPartialSuccess_ = false; 664 return this; 665 } 666 667 @java.lang.Override getDescriptorForType()668 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { 669 return com.google.cloud.compute.v1.Compute 670 .internal_static_google_cloud_compute_v1_ListUrlMapsRequest_descriptor; 671 } 672 673 @java.lang.Override getDefaultInstanceForType()674 public com.google.cloud.compute.v1.ListUrlMapsRequest getDefaultInstanceForType() { 675 return com.google.cloud.compute.v1.ListUrlMapsRequest.getDefaultInstance(); 676 } 677 678 @java.lang.Override build()679 public com.google.cloud.compute.v1.ListUrlMapsRequest build() { 680 com.google.cloud.compute.v1.ListUrlMapsRequest result = buildPartial(); 681 if (!result.isInitialized()) { 682 throw newUninitializedMessageException(result); 683 } 684 return result; 685 } 686 687 @java.lang.Override buildPartial()688 public com.google.cloud.compute.v1.ListUrlMapsRequest buildPartial() { 689 com.google.cloud.compute.v1.ListUrlMapsRequest result = 690 new com.google.cloud.compute.v1.ListUrlMapsRequest(this); 691 if (bitField0_ != 0) { 692 buildPartial0(result); 693 } 694 onBuilt(); 695 return result; 696 } 697 buildPartial0(com.google.cloud.compute.v1.ListUrlMapsRequest result)698 private void buildPartial0(com.google.cloud.compute.v1.ListUrlMapsRequest result) { 699 int from_bitField0_ = bitField0_; 700 int to_bitField0_ = 0; 701 if (((from_bitField0_ & 0x00000001) != 0)) { 702 result.filter_ = filter_; 703 to_bitField0_ |= 0x00000001; 704 } 705 if (((from_bitField0_ & 0x00000002) != 0)) { 706 result.maxResults_ = maxResults_; 707 to_bitField0_ |= 0x00000002; 708 } 709 if (((from_bitField0_ & 0x00000004) != 0)) { 710 result.orderBy_ = orderBy_; 711 to_bitField0_ |= 0x00000004; 712 } 713 if (((from_bitField0_ & 0x00000008) != 0)) { 714 result.pageToken_ = pageToken_; 715 to_bitField0_ |= 0x00000008; 716 } 717 if (((from_bitField0_ & 0x00000010) != 0)) { 718 result.project_ = project_; 719 } 720 if (((from_bitField0_ & 0x00000020) != 0)) { 721 result.returnPartialSuccess_ = returnPartialSuccess_; 722 to_bitField0_ |= 0x00000010; 723 } 724 result.bitField0_ |= to_bitField0_; 725 } 726 727 @java.lang.Override clone()728 public Builder clone() { 729 return super.clone(); 730 } 731 732 @java.lang.Override setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)733 public Builder setField( 734 com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 735 return super.setField(field, value); 736 } 737 738 @java.lang.Override clearField(com.google.protobuf.Descriptors.FieldDescriptor field)739 public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { 740 return super.clearField(field); 741 } 742 743 @java.lang.Override clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)744 public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { 745 return super.clearOneof(oneof); 746 } 747 748 @java.lang.Override setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)749 public Builder setRepeatedField( 750 com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { 751 return super.setRepeatedField(field, index, value); 752 } 753 754 @java.lang.Override addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)755 public Builder addRepeatedField( 756 com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 757 return super.addRepeatedField(field, value); 758 } 759 760 @java.lang.Override mergeFrom(com.google.protobuf.Message other)761 public Builder mergeFrom(com.google.protobuf.Message other) { 762 if (other instanceof com.google.cloud.compute.v1.ListUrlMapsRequest) { 763 return mergeFrom((com.google.cloud.compute.v1.ListUrlMapsRequest) other); 764 } else { 765 super.mergeFrom(other); 766 return this; 767 } 768 } 769 mergeFrom(com.google.cloud.compute.v1.ListUrlMapsRequest other)770 public Builder mergeFrom(com.google.cloud.compute.v1.ListUrlMapsRequest other) { 771 if (other == com.google.cloud.compute.v1.ListUrlMapsRequest.getDefaultInstance()) return this; 772 if (other.hasFilter()) { 773 filter_ = other.filter_; 774 bitField0_ |= 0x00000001; 775 onChanged(); 776 } 777 if (other.hasMaxResults()) { 778 setMaxResults(other.getMaxResults()); 779 } 780 if (other.hasOrderBy()) { 781 orderBy_ = other.orderBy_; 782 bitField0_ |= 0x00000004; 783 onChanged(); 784 } 785 if (other.hasPageToken()) { 786 pageToken_ = other.pageToken_; 787 bitField0_ |= 0x00000008; 788 onChanged(); 789 } 790 if (!other.getProject().isEmpty()) { 791 project_ = other.project_; 792 bitField0_ |= 0x00000010; 793 onChanged(); 794 } 795 if (other.hasReturnPartialSuccess()) { 796 setReturnPartialSuccess(other.getReturnPartialSuccess()); 797 } 798 this.mergeUnknownFields(other.getUnknownFields()); 799 onChanged(); 800 return this; 801 } 802 803 @java.lang.Override isInitialized()804 public final boolean isInitialized() { 805 return true; 806 } 807 808 @java.lang.Override mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)809 public Builder mergeFrom( 810 com.google.protobuf.CodedInputStream input, 811 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 812 throws java.io.IOException { 813 if (extensionRegistry == null) { 814 throw new java.lang.NullPointerException(); 815 } 816 try { 817 boolean done = false; 818 while (!done) { 819 int tag = input.readTag(); 820 switch (tag) { 821 case 0: 822 done = true; 823 break; 824 case 159957578: 825 { 826 pageToken_ = input.readStringRequireUtf8(); 827 bitField0_ |= 0x00000008; 828 break; 829 } // case 159957578 830 case 437723352: 831 { 832 maxResults_ = input.readUInt32(); 833 bitField0_ |= 0x00000002; 834 break; 835 } // case 437723352 836 case 1284503362: 837 { 838 orderBy_ = input.readStringRequireUtf8(); 839 bitField0_ |= 0x00000004; 840 break; 841 } // case 1284503362 842 case 1820481738: 843 { 844 project_ = input.readStringRequireUtf8(); 845 bitField0_ |= 0x00000010; 846 break; 847 } // case 1820481738 848 case -1606001726: 849 { 850 filter_ = input.readStringRequireUtf8(); 851 bitField0_ |= 0x00000001; 852 break; 853 } // case -1606001726 854 case -157380176: 855 { 856 returnPartialSuccess_ = input.readBool(); 857 bitField0_ |= 0x00000020; 858 break; 859 } // case -157380176 860 default: 861 { 862 if (!super.parseUnknownField(input, extensionRegistry, tag)) { 863 done = true; // was an endgroup tag 864 } 865 break; 866 } // default: 867 } // switch (tag) 868 } // while (!done) 869 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 870 throw e.unwrapIOException(); 871 } finally { 872 onChanged(); 873 } // finally 874 return this; 875 } 876 877 private int bitField0_; 878 879 private java.lang.Object filter_ = ""; 880 /** 881 * 882 * 883 * <pre> 884 * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. 885 * </pre> 886 * 887 * <code>optional string filter = 336120696;</code> 888 * 889 * @return Whether the filter field is set. 890 */ hasFilter()891 public boolean hasFilter() { 892 return ((bitField0_ & 0x00000001) != 0); 893 } 894 /** 895 * 896 * 897 * <pre> 898 * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. 899 * </pre> 900 * 901 * <code>optional string filter = 336120696;</code> 902 * 903 * @return The filter. 904 */ getFilter()905 public java.lang.String getFilter() { 906 java.lang.Object ref = filter_; 907 if (!(ref instanceof java.lang.String)) { 908 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 909 java.lang.String s = bs.toStringUtf8(); 910 filter_ = s; 911 return s; 912 } else { 913 return (java.lang.String) ref; 914 } 915 } 916 /** 917 * 918 * 919 * <pre> 920 * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. 921 * </pre> 922 * 923 * <code>optional string filter = 336120696;</code> 924 * 925 * @return The bytes for filter. 926 */ getFilterBytes()927 public com.google.protobuf.ByteString getFilterBytes() { 928 java.lang.Object ref = filter_; 929 if (ref instanceof String) { 930 com.google.protobuf.ByteString b = 931 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 932 filter_ = b; 933 return b; 934 } else { 935 return (com.google.protobuf.ByteString) ref; 936 } 937 } 938 /** 939 * 940 * 941 * <pre> 942 * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. 943 * </pre> 944 * 945 * <code>optional string filter = 336120696;</code> 946 * 947 * @param value The filter to set. 948 * @return This builder for chaining. 949 */ setFilter(java.lang.String value)950 public Builder setFilter(java.lang.String value) { 951 if (value == null) { 952 throw new NullPointerException(); 953 } 954 filter_ = value; 955 bitField0_ |= 0x00000001; 956 onChanged(); 957 return this; 958 } 959 /** 960 * 961 * 962 * <pre> 963 * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. 964 * </pre> 965 * 966 * <code>optional string filter = 336120696;</code> 967 * 968 * @return This builder for chaining. 969 */ clearFilter()970 public Builder clearFilter() { 971 filter_ = getDefaultInstance().getFilter(); 972 bitField0_ = (bitField0_ & ~0x00000001); 973 onChanged(); 974 return this; 975 } 976 /** 977 * 978 * 979 * <pre> 980 * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. 981 * </pre> 982 * 983 * <code>optional string filter = 336120696;</code> 984 * 985 * @param value The bytes for filter to set. 986 * @return This builder for chaining. 987 */ setFilterBytes(com.google.protobuf.ByteString value)988 public Builder setFilterBytes(com.google.protobuf.ByteString value) { 989 if (value == null) { 990 throw new NullPointerException(); 991 } 992 checkByteStringIsUtf8(value); 993 filter_ = value; 994 bitField0_ |= 0x00000001; 995 onChanged(); 996 return this; 997 } 998 999 private int maxResults_; 1000 /** 1001 * 1002 * 1003 * <pre> 1004 * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) 1005 * </pre> 1006 * 1007 * <code>optional uint32 max_results = 54715419;</code> 1008 * 1009 * @return Whether the maxResults field is set. 1010 */ 1011 @java.lang.Override hasMaxResults()1012 public boolean hasMaxResults() { 1013 return ((bitField0_ & 0x00000002) != 0); 1014 } 1015 /** 1016 * 1017 * 1018 * <pre> 1019 * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) 1020 * </pre> 1021 * 1022 * <code>optional uint32 max_results = 54715419;</code> 1023 * 1024 * @return The maxResults. 1025 */ 1026 @java.lang.Override getMaxResults()1027 public int getMaxResults() { 1028 return maxResults_; 1029 } 1030 /** 1031 * 1032 * 1033 * <pre> 1034 * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) 1035 * </pre> 1036 * 1037 * <code>optional uint32 max_results = 54715419;</code> 1038 * 1039 * @param value The maxResults to set. 1040 * @return This builder for chaining. 1041 */ setMaxResults(int value)1042 public Builder setMaxResults(int value) { 1043 1044 maxResults_ = value; 1045 bitField0_ |= 0x00000002; 1046 onChanged(); 1047 return this; 1048 } 1049 /** 1050 * 1051 * 1052 * <pre> 1053 * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) 1054 * </pre> 1055 * 1056 * <code>optional uint32 max_results = 54715419;</code> 1057 * 1058 * @return This builder for chaining. 1059 */ clearMaxResults()1060 public Builder clearMaxResults() { 1061 bitField0_ = (bitField0_ & ~0x00000002); 1062 maxResults_ = 0; 1063 onChanged(); 1064 return this; 1065 } 1066 1067 private java.lang.Object orderBy_ = ""; 1068 /** 1069 * 1070 * 1071 * <pre> 1072 * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. 1073 * </pre> 1074 * 1075 * <code>optional string order_by = 160562920;</code> 1076 * 1077 * @return Whether the orderBy field is set. 1078 */ hasOrderBy()1079 public boolean hasOrderBy() { 1080 return ((bitField0_ & 0x00000004) != 0); 1081 } 1082 /** 1083 * 1084 * 1085 * <pre> 1086 * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. 1087 * </pre> 1088 * 1089 * <code>optional string order_by = 160562920;</code> 1090 * 1091 * @return The orderBy. 1092 */ getOrderBy()1093 public java.lang.String getOrderBy() { 1094 java.lang.Object ref = orderBy_; 1095 if (!(ref instanceof java.lang.String)) { 1096 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 1097 java.lang.String s = bs.toStringUtf8(); 1098 orderBy_ = s; 1099 return s; 1100 } else { 1101 return (java.lang.String) ref; 1102 } 1103 } 1104 /** 1105 * 1106 * 1107 * <pre> 1108 * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. 1109 * </pre> 1110 * 1111 * <code>optional string order_by = 160562920;</code> 1112 * 1113 * @return The bytes for orderBy. 1114 */ getOrderByBytes()1115 public com.google.protobuf.ByteString getOrderByBytes() { 1116 java.lang.Object ref = orderBy_; 1117 if (ref instanceof String) { 1118 com.google.protobuf.ByteString b = 1119 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 1120 orderBy_ = b; 1121 return b; 1122 } else { 1123 return (com.google.protobuf.ByteString) ref; 1124 } 1125 } 1126 /** 1127 * 1128 * 1129 * <pre> 1130 * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. 1131 * </pre> 1132 * 1133 * <code>optional string order_by = 160562920;</code> 1134 * 1135 * @param value The orderBy to set. 1136 * @return This builder for chaining. 1137 */ setOrderBy(java.lang.String value)1138 public Builder setOrderBy(java.lang.String value) { 1139 if (value == null) { 1140 throw new NullPointerException(); 1141 } 1142 orderBy_ = value; 1143 bitField0_ |= 0x00000004; 1144 onChanged(); 1145 return this; 1146 } 1147 /** 1148 * 1149 * 1150 * <pre> 1151 * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. 1152 * </pre> 1153 * 1154 * <code>optional string order_by = 160562920;</code> 1155 * 1156 * @return This builder for chaining. 1157 */ clearOrderBy()1158 public Builder clearOrderBy() { 1159 orderBy_ = getDefaultInstance().getOrderBy(); 1160 bitField0_ = (bitField0_ & ~0x00000004); 1161 onChanged(); 1162 return this; 1163 } 1164 /** 1165 * 1166 * 1167 * <pre> 1168 * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. 1169 * </pre> 1170 * 1171 * <code>optional string order_by = 160562920;</code> 1172 * 1173 * @param value The bytes for orderBy to set. 1174 * @return This builder for chaining. 1175 */ setOrderByBytes(com.google.protobuf.ByteString value)1176 public Builder setOrderByBytes(com.google.protobuf.ByteString value) { 1177 if (value == null) { 1178 throw new NullPointerException(); 1179 } 1180 checkByteStringIsUtf8(value); 1181 orderBy_ = value; 1182 bitField0_ |= 0x00000004; 1183 onChanged(); 1184 return this; 1185 } 1186 1187 private java.lang.Object pageToken_ = ""; 1188 /** 1189 * 1190 * 1191 * <pre> 1192 * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. 1193 * </pre> 1194 * 1195 * <code>optional string page_token = 19994697;</code> 1196 * 1197 * @return Whether the pageToken field is set. 1198 */ hasPageToken()1199 public boolean hasPageToken() { 1200 return ((bitField0_ & 0x00000008) != 0); 1201 } 1202 /** 1203 * 1204 * 1205 * <pre> 1206 * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. 1207 * </pre> 1208 * 1209 * <code>optional string page_token = 19994697;</code> 1210 * 1211 * @return The pageToken. 1212 */ getPageToken()1213 public java.lang.String getPageToken() { 1214 java.lang.Object ref = pageToken_; 1215 if (!(ref instanceof java.lang.String)) { 1216 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 1217 java.lang.String s = bs.toStringUtf8(); 1218 pageToken_ = s; 1219 return s; 1220 } else { 1221 return (java.lang.String) ref; 1222 } 1223 } 1224 /** 1225 * 1226 * 1227 * <pre> 1228 * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. 1229 * </pre> 1230 * 1231 * <code>optional string page_token = 19994697;</code> 1232 * 1233 * @return The bytes for pageToken. 1234 */ getPageTokenBytes()1235 public com.google.protobuf.ByteString getPageTokenBytes() { 1236 java.lang.Object ref = pageToken_; 1237 if (ref instanceof String) { 1238 com.google.protobuf.ByteString b = 1239 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 1240 pageToken_ = b; 1241 return b; 1242 } else { 1243 return (com.google.protobuf.ByteString) ref; 1244 } 1245 } 1246 /** 1247 * 1248 * 1249 * <pre> 1250 * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. 1251 * </pre> 1252 * 1253 * <code>optional string page_token = 19994697;</code> 1254 * 1255 * @param value The pageToken to set. 1256 * @return This builder for chaining. 1257 */ setPageToken(java.lang.String value)1258 public Builder setPageToken(java.lang.String value) { 1259 if (value == null) { 1260 throw new NullPointerException(); 1261 } 1262 pageToken_ = value; 1263 bitField0_ |= 0x00000008; 1264 onChanged(); 1265 return this; 1266 } 1267 /** 1268 * 1269 * 1270 * <pre> 1271 * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. 1272 * </pre> 1273 * 1274 * <code>optional string page_token = 19994697;</code> 1275 * 1276 * @return This builder for chaining. 1277 */ clearPageToken()1278 public Builder clearPageToken() { 1279 pageToken_ = getDefaultInstance().getPageToken(); 1280 bitField0_ = (bitField0_ & ~0x00000008); 1281 onChanged(); 1282 return this; 1283 } 1284 /** 1285 * 1286 * 1287 * <pre> 1288 * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. 1289 * </pre> 1290 * 1291 * <code>optional string page_token = 19994697;</code> 1292 * 1293 * @param value The bytes for pageToken to set. 1294 * @return This builder for chaining. 1295 */ setPageTokenBytes(com.google.protobuf.ByteString value)1296 public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { 1297 if (value == null) { 1298 throw new NullPointerException(); 1299 } 1300 checkByteStringIsUtf8(value); 1301 pageToken_ = value; 1302 bitField0_ |= 0x00000008; 1303 onChanged(); 1304 return this; 1305 } 1306 1307 private java.lang.Object project_ = ""; 1308 /** 1309 * 1310 * 1311 * <pre> 1312 * Project ID for this request. 1313 * </pre> 1314 * 1315 * <code>string project = 227560217 [(.google.api.field_behavior) = REQUIRED];</code> 1316 * 1317 * @return The project. 1318 */ getProject()1319 public java.lang.String getProject() { 1320 java.lang.Object ref = project_; 1321 if (!(ref instanceof java.lang.String)) { 1322 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 1323 java.lang.String s = bs.toStringUtf8(); 1324 project_ = s; 1325 return s; 1326 } else { 1327 return (java.lang.String) ref; 1328 } 1329 } 1330 /** 1331 * 1332 * 1333 * <pre> 1334 * Project ID for this request. 1335 * </pre> 1336 * 1337 * <code>string project = 227560217 [(.google.api.field_behavior) = REQUIRED];</code> 1338 * 1339 * @return The bytes for project. 1340 */ getProjectBytes()1341 public com.google.protobuf.ByteString getProjectBytes() { 1342 java.lang.Object ref = project_; 1343 if (ref instanceof String) { 1344 com.google.protobuf.ByteString b = 1345 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 1346 project_ = b; 1347 return b; 1348 } else { 1349 return (com.google.protobuf.ByteString) ref; 1350 } 1351 } 1352 /** 1353 * 1354 * 1355 * <pre> 1356 * Project ID for this request. 1357 * </pre> 1358 * 1359 * <code>string project = 227560217 [(.google.api.field_behavior) = REQUIRED];</code> 1360 * 1361 * @param value The project to set. 1362 * @return This builder for chaining. 1363 */ setProject(java.lang.String value)1364 public Builder setProject(java.lang.String value) { 1365 if (value == null) { 1366 throw new NullPointerException(); 1367 } 1368 project_ = value; 1369 bitField0_ |= 0x00000010; 1370 onChanged(); 1371 return this; 1372 } 1373 /** 1374 * 1375 * 1376 * <pre> 1377 * Project ID for this request. 1378 * </pre> 1379 * 1380 * <code>string project = 227560217 [(.google.api.field_behavior) = REQUIRED];</code> 1381 * 1382 * @return This builder for chaining. 1383 */ clearProject()1384 public Builder clearProject() { 1385 project_ = getDefaultInstance().getProject(); 1386 bitField0_ = (bitField0_ & ~0x00000010); 1387 onChanged(); 1388 return this; 1389 } 1390 /** 1391 * 1392 * 1393 * <pre> 1394 * Project ID for this request. 1395 * </pre> 1396 * 1397 * <code>string project = 227560217 [(.google.api.field_behavior) = REQUIRED];</code> 1398 * 1399 * @param value The bytes for project to set. 1400 * @return This builder for chaining. 1401 */ setProjectBytes(com.google.protobuf.ByteString value)1402 public Builder setProjectBytes(com.google.protobuf.ByteString value) { 1403 if (value == null) { 1404 throw new NullPointerException(); 1405 } 1406 checkByteStringIsUtf8(value); 1407 project_ = value; 1408 bitField0_ |= 0x00000010; 1409 onChanged(); 1410 return this; 1411 } 1412 1413 private boolean returnPartialSuccess_; 1414 /** 1415 * 1416 * 1417 * <pre> 1418 * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. 1419 * </pre> 1420 * 1421 * <code>optional bool return_partial_success = 517198390;</code> 1422 * 1423 * @return Whether the returnPartialSuccess field is set. 1424 */ 1425 @java.lang.Override hasReturnPartialSuccess()1426 public boolean hasReturnPartialSuccess() { 1427 return ((bitField0_ & 0x00000020) != 0); 1428 } 1429 /** 1430 * 1431 * 1432 * <pre> 1433 * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. 1434 * </pre> 1435 * 1436 * <code>optional bool return_partial_success = 517198390;</code> 1437 * 1438 * @return The returnPartialSuccess. 1439 */ 1440 @java.lang.Override getReturnPartialSuccess()1441 public boolean getReturnPartialSuccess() { 1442 return returnPartialSuccess_; 1443 } 1444 /** 1445 * 1446 * 1447 * <pre> 1448 * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. 1449 * </pre> 1450 * 1451 * <code>optional bool return_partial_success = 517198390;</code> 1452 * 1453 * @param value The returnPartialSuccess to set. 1454 * @return This builder for chaining. 1455 */ setReturnPartialSuccess(boolean value)1456 public Builder setReturnPartialSuccess(boolean value) { 1457 1458 returnPartialSuccess_ = value; 1459 bitField0_ |= 0x00000020; 1460 onChanged(); 1461 return this; 1462 } 1463 /** 1464 * 1465 * 1466 * <pre> 1467 * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. 1468 * </pre> 1469 * 1470 * <code>optional bool return_partial_success = 517198390;</code> 1471 * 1472 * @return This builder for chaining. 1473 */ clearReturnPartialSuccess()1474 public Builder clearReturnPartialSuccess() { 1475 bitField0_ = (bitField0_ & ~0x00000020); 1476 returnPartialSuccess_ = false; 1477 onChanged(); 1478 return this; 1479 } 1480 1481 @java.lang.Override setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)1482 public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { 1483 return super.setUnknownFields(unknownFields); 1484 } 1485 1486 @java.lang.Override mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)1487 public final Builder mergeUnknownFields( 1488 final com.google.protobuf.UnknownFieldSet unknownFields) { 1489 return super.mergeUnknownFields(unknownFields); 1490 } 1491 1492 // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.ListUrlMapsRequest) 1493 } 1494 1495 // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.ListUrlMapsRequest) 1496 private static final com.google.cloud.compute.v1.ListUrlMapsRequest DEFAULT_INSTANCE; 1497 1498 static { 1499 DEFAULT_INSTANCE = new com.google.cloud.compute.v1.ListUrlMapsRequest(); 1500 } 1501 getDefaultInstance()1502 public static com.google.cloud.compute.v1.ListUrlMapsRequest getDefaultInstance() { 1503 return DEFAULT_INSTANCE; 1504 } 1505 1506 private static final com.google.protobuf.Parser<ListUrlMapsRequest> PARSER = 1507 new com.google.protobuf.AbstractParser<ListUrlMapsRequest>() { 1508 @java.lang.Override 1509 public ListUrlMapsRequest parsePartialFrom( 1510 com.google.protobuf.CodedInputStream input, 1511 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1512 throws com.google.protobuf.InvalidProtocolBufferException { 1513 Builder builder = newBuilder(); 1514 try { 1515 builder.mergeFrom(input, extensionRegistry); 1516 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 1517 throw e.setUnfinishedMessage(builder.buildPartial()); 1518 } catch (com.google.protobuf.UninitializedMessageException e) { 1519 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); 1520 } catch (java.io.IOException e) { 1521 throw new com.google.protobuf.InvalidProtocolBufferException(e) 1522 .setUnfinishedMessage(builder.buildPartial()); 1523 } 1524 return builder.buildPartial(); 1525 } 1526 }; 1527 parser()1528 public static com.google.protobuf.Parser<ListUrlMapsRequest> parser() { 1529 return PARSER; 1530 } 1531 1532 @java.lang.Override getParserForType()1533 public com.google.protobuf.Parser<ListUrlMapsRequest> getParserForType() { 1534 return PARSER; 1535 } 1536 1537 @java.lang.Override getDefaultInstanceForType()1538 public com.google.cloud.compute.v1.ListUrlMapsRequest getDefaultInstanceForType() { 1539 return DEFAULT_INSTANCE; 1540 } 1541 } 1542