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/container/v1/cluster_service.proto 18 19 package com.google.container.v1; 20 21 /** 22 * 23 * 24 * <pre> 25 * SandboxConfig contains configurations of the sandbox to use for the node. 26 * </pre> 27 * 28 * Protobuf type {@code google.container.v1.SandboxConfig} 29 */ 30 public final class SandboxConfig extends com.google.protobuf.GeneratedMessageV3 31 implements 32 // @@protoc_insertion_point(message_implements:google.container.v1.SandboxConfig) 33 SandboxConfigOrBuilder { 34 private static final long serialVersionUID = 0L; 35 // Use SandboxConfig.newBuilder() to construct. SandboxConfig(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)36 private SandboxConfig(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 37 super(builder); 38 } 39 SandboxConfig()40 private SandboxConfig() { 41 type_ = 0; 42 } 43 44 @java.lang.Override 45 @SuppressWarnings({"unused"}) newInstance(UnusedPrivateParameter unused)46 protected java.lang.Object newInstance(UnusedPrivateParameter unused) { 47 return new SandboxConfig(); 48 } 49 50 @java.lang.Override getUnknownFields()51 public final com.google.protobuf.UnknownFieldSet getUnknownFields() { 52 return this.unknownFields; 53 } 54 getDescriptor()55 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { 56 return com.google.container.v1.ClusterServiceProto 57 .internal_static_google_container_v1_SandboxConfig_descriptor; 58 } 59 60 @java.lang.Override 61 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()62 internalGetFieldAccessorTable() { 63 return com.google.container.v1.ClusterServiceProto 64 .internal_static_google_container_v1_SandboxConfig_fieldAccessorTable 65 .ensureFieldAccessorsInitialized( 66 com.google.container.v1.SandboxConfig.class, 67 com.google.container.v1.SandboxConfig.Builder.class); 68 } 69 70 /** 71 * 72 * 73 * <pre> 74 * Possible types of sandboxes. 75 * </pre> 76 * 77 * Protobuf enum {@code google.container.v1.SandboxConfig.Type} 78 */ 79 public enum Type implements com.google.protobuf.ProtocolMessageEnum { 80 /** 81 * 82 * 83 * <pre> 84 * Default value. This should not be used. 85 * </pre> 86 * 87 * <code>UNSPECIFIED = 0;</code> 88 */ 89 UNSPECIFIED(0), 90 /** 91 * 92 * 93 * <pre> 94 * Run sandbox using gvisor. 95 * </pre> 96 * 97 * <code>GVISOR = 1;</code> 98 */ 99 GVISOR(1), 100 UNRECOGNIZED(-1), 101 ; 102 103 /** 104 * 105 * 106 * <pre> 107 * Default value. This should not be used. 108 * </pre> 109 * 110 * <code>UNSPECIFIED = 0;</code> 111 */ 112 public static final int UNSPECIFIED_VALUE = 0; 113 /** 114 * 115 * 116 * <pre> 117 * Run sandbox using gvisor. 118 * </pre> 119 * 120 * <code>GVISOR = 1;</code> 121 */ 122 public static final int GVISOR_VALUE = 1; 123 getNumber()124 public final int getNumber() { 125 if (this == UNRECOGNIZED) { 126 throw new java.lang.IllegalArgumentException( 127 "Can't get the number of an unknown enum value."); 128 } 129 return value; 130 } 131 132 /** 133 * @param value The numeric wire value of the corresponding enum entry. 134 * @return The enum associated with the given numeric wire value. 135 * @deprecated Use {@link #forNumber(int)} instead. 136 */ 137 @java.lang.Deprecated valueOf(int value)138 public static Type valueOf(int value) { 139 return forNumber(value); 140 } 141 142 /** 143 * @param value The numeric wire value of the corresponding enum entry. 144 * @return The enum associated with the given numeric wire value. 145 */ forNumber(int value)146 public static Type forNumber(int value) { 147 switch (value) { 148 case 0: 149 return UNSPECIFIED; 150 case 1: 151 return GVISOR; 152 default: 153 return null; 154 } 155 } 156 internalGetValueMap()157 public static com.google.protobuf.Internal.EnumLiteMap<Type> internalGetValueMap() { 158 return internalValueMap; 159 } 160 161 private static final com.google.protobuf.Internal.EnumLiteMap<Type> internalValueMap = 162 new com.google.protobuf.Internal.EnumLiteMap<Type>() { 163 public Type findValueByNumber(int number) { 164 return Type.forNumber(number); 165 } 166 }; 167 getValueDescriptor()168 public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 169 if (this == UNRECOGNIZED) { 170 throw new java.lang.IllegalStateException( 171 "Can't get the descriptor of an unrecognized enum value."); 172 } 173 return getDescriptor().getValues().get(ordinal()); 174 } 175 getDescriptorForType()176 public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { 177 return getDescriptor(); 178 } 179 getDescriptor()180 public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { 181 return com.google.container.v1.SandboxConfig.getDescriptor().getEnumTypes().get(0); 182 } 183 184 private static final Type[] VALUES = values(); 185 valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)186 public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { 187 if (desc.getType() != getDescriptor()) { 188 throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); 189 } 190 if (desc.getIndex() == -1) { 191 return UNRECOGNIZED; 192 } 193 return VALUES[desc.getIndex()]; 194 } 195 196 private final int value; 197 Type(int value)198 private Type(int value) { 199 this.value = value; 200 } 201 202 // @@protoc_insertion_point(enum_scope:google.container.v1.SandboxConfig.Type) 203 } 204 205 public static final int TYPE_FIELD_NUMBER = 2; 206 private int type_ = 0; 207 /** 208 * 209 * 210 * <pre> 211 * Type of the sandbox to use for the node. 212 * </pre> 213 * 214 * <code>.google.container.v1.SandboxConfig.Type type = 2;</code> 215 * 216 * @return The enum numeric value on the wire for type. 217 */ 218 @java.lang.Override getTypeValue()219 public int getTypeValue() { 220 return type_; 221 } 222 /** 223 * 224 * 225 * <pre> 226 * Type of the sandbox to use for the node. 227 * </pre> 228 * 229 * <code>.google.container.v1.SandboxConfig.Type type = 2;</code> 230 * 231 * @return The type. 232 */ 233 @java.lang.Override getType()234 public com.google.container.v1.SandboxConfig.Type getType() { 235 com.google.container.v1.SandboxConfig.Type result = 236 com.google.container.v1.SandboxConfig.Type.forNumber(type_); 237 return result == null ? com.google.container.v1.SandboxConfig.Type.UNRECOGNIZED : result; 238 } 239 240 private byte memoizedIsInitialized = -1; 241 242 @java.lang.Override isInitialized()243 public final boolean isInitialized() { 244 byte isInitialized = memoizedIsInitialized; 245 if (isInitialized == 1) return true; 246 if (isInitialized == 0) return false; 247 248 memoizedIsInitialized = 1; 249 return true; 250 } 251 252 @java.lang.Override writeTo(com.google.protobuf.CodedOutputStream output)253 public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { 254 if (type_ != com.google.container.v1.SandboxConfig.Type.UNSPECIFIED.getNumber()) { 255 output.writeEnum(2, type_); 256 } 257 getUnknownFields().writeTo(output); 258 } 259 260 @java.lang.Override getSerializedSize()261 public int getSerializedSize() { 262 int size = memoizedSize; 263 if (size != -1) return size; 264 265 size = 0; 266 if (type_ != com.google.container.v1.SandboxConfig.Type.UNSPECIFIED.getNumber()) { 267 size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); 268 } 269 size += getUnknownFields().getSerializedSize(); 270 memoizedSize = size; 271 return size; 272 } 273 274 @java.lang.Override equals(final java.lang.Object obj)275 public boolean equals(final java.lang.Object obj) { 276 if (obj == this) { 277 return true; 278 } 279 if (!(obj instanceof com.google.container.v1.SandboxConfig)) { 280 return super.equals(obj); 281 } 282 com.google.container.v1.SandboxConfig other = (com.google.container.v1.SandboxConfig) obj; 283 284 if (type_ != other.type_) return false; 285 if (!getUnknownFields().equals(other.getUnknownFields())) return false; 286 return true; 287 } 288 289 @java.lang.Override hashCode()290 public int hashCode() { 291 if (memoizedHashCode != 0) { 292 return memoizedHashCode; 293 } 294 int hash = 41; 295 hash = (19 * hash) + getDescriptor().hashCode(); 296 hash = (37 * hash) + TYPE_FIELD_NUMBER; 297 hash = (53 * hash) + type_; 298 hash = (29 * hash) + getUnknownFields().hashCode(); 299 memoizedHashCode = hash; 300 return hash; 301 } 302 parseFrom(java.nio.ByteBuffer data)303 public static com.google.container.v1.SandboxConfig parseFrom(java.nio.ByteBuffer data) 304 throws com.google.protobuf.InvalidProtocolBufferException { 305 return PARSER.parseFrom(data); 306 } 307 parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)308 public static com.google.container.v1.SandboxConfig parseFrom( 309 java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 310 throws com.google.protobuf.InvalidProtocolBufferException { 311 return PARSER.parseFrom(data, extensionRegistry); 312 } 313 parseFrom(com.google.protobuf.ByteString data)314 public static com.google.container.v1.SandboxConfig parseFrom(com.google.protobuf.ByteString data) 315 throws com.google.protobuf.InvalidProtocolBufferException { 316 return PARSER.parseFrom(data); 317 } 318 parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)319 public static com.google.container.v1.SandboxConfig parseFrom( 320 com.google.protobuf.ByteString data, 321 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 322 throws com.google.protobuf.InvalidProtocolBufferException { 323 return PARSER.parseFrom(data, extensionRegistry); 324 } 325 parseFrom(byte[] data)326 public static com.google.container.v1.SandboxConfig parseFrom(byte[] data) 327 throws com.google.protobuf.InvalidProtocolBufferException { 328 return PARSER.parseFrom(data); 329 } 330 parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)331 public static com.google.container.v1.SandboxConfig parseFrom( 332 byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 333 throws com.google.protobuf.InvalidProtocolBufferException { 334 return PARSER.parseFrom(data, extensionRegistry); 335 } 336 parseFrom(java.io.InputStream input)337 public static com.google.container.v1.SandboxConfig parseFrom(java.io.InputStream input) 338 throws java.io.IOException { 339 return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); 340 } 341 parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)342 public static com.google.container.v1.SandboxConfig parseFrom( 343 java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 344 throws java.io.IOException { 345 return com.google.protobuf.GeneratedMessageV3.parseWithIOException( 346 PARSER, input, extensionRegistry); 347 } 348 parseDelimitedFrom(java.io.InputStream input)349 public static com.google.container.v1.SandboxConfig parseDelimitedFrom(java.io.InputStream input) 350 throws java.io.IOException { 351 return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); 352 } 353 parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)354 public static com.google.container.v1.SandboxConfig parseDelimitedFrom( 355 java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 356 throws java.io.IOException { 357 return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( 358 PARSER, input, extensionRegistry); 359 } 360 parseFrom( com.google.protobuf.CodedInputStream input)361 public static com.google.container.v1.SandboxConfig parseFrom( 362 com.google.protobuf.CodedInputStream input) throws java.io.IOException { 363 return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); 364 } 365 parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)366 public static com.google.container.v1.SandboxConfig parseFrom( 367 com.google.protobuf.CodedInputStream input, 368 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 369 throws java.io.IOException { 370 return com.google.protobuf.GeneratedMessageV3.parseWithIOException( 371 PARSER, input, extensionRegistry); 372 } 373 374 @java.lang.Override newBuilderForType()375 public Builder newBuilderForType() { 376 return newBuilder(); 377 } 378 newBuilder()379 public static Builder newBuilder() { 380 return DEFAULT_INSTANCE.toBuilder(); 381 } 382 newBuilder(com.google.container.v1.SandboxConfig prototype)383 public static Builder newBuilder(com.google.container.v1.SandboxConfig prototype) { 384 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 385 } 386 387 @java.lang.Override toBuilder()388 public Builder toBuilder() { 389 return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); 390 } 391 392 @java.lang.Override newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)393 protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 394 Builder builder = new Builder(parent); 395 return builder; 396 } 397 /** 398 * 399 * 400 * <pre> 401 * SandboxConfig contains configurations of the sandbox to use for the node. 402 * </pre> 403 * 404 * Protobuf type {@code google.container.v1.SandboxConfig} 405 */ 406 public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> 407 implements 408 // @@protoc_insertion_point(builder_implements:google.container.v1.SandboxConfig) 409 com.google.container.v1.SandboxConfigOrBuilder { getDescriptor()410 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { 411 return com.google.container.v1.ClusterServiceProto 412 .internal_static_google_container_v1_SandboxConfig_descriptor; 413 } 414 415 @java.lang.Override 416 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()417 internalGetFieldAccessorTable() { 418 return com.google.container.v1.ClusterServiceProto 419 .internal_static_google_container_v1_SandboxConfig_fieldAccessorTable 420 .ensureFieldAccessorsInitialized( 421 com.google.container.v1.SandboxConfig.class, 422 com.google.container.v1.SandboxConfig.Builder.class); 423 } 424 425 // Construct using com.google.container.v1.SandboxConfig.newBuilder() Builder()426 private Builder() {} 427 Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)428 private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 429 super(parent); 430 } 431 432 @java.lang.Override clear()433 public Builder clear() { 434 super.clear(); 435 bitField0_ = 0; 436 type_ = 0; 437 return this; 438 } 439 440 @java.lang.Override getDescriptorForType()441 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { 442 return com.google.container.v1.ClusterServiceProto 443 .internal_static_google_container_v1_SandboxConfig_descriptor; 444 } 445 446 @java.lang.Override getDefaultInstanceForType()447 public com.google.container.v1.SandboxConfig getDefaultInstanceForType() { 448 return com.google.container.v1.SandboxConfig.getDefaultInstance(); 449 } 450 451 @java.lang.Override build()452 public com.google.container.v1.SandboxConfig build() { 453 com.google.container.v1.SandboxConfig result = buildPartial(); 454 if (!result.isInitialized()) { 455 throw newUninitializedMessageException(result); 456 } 457 return result; 458 } 459 460 @java.lang.Override buildPartial()461 public com.google.container.v1.SandboxConfig buildPartial() { 462 com.google.container.v1.SandboxConfig result = 463 new com.google.container.v1.SandboxConfig(this); 464 if (bitField0_ != 0) { 465 buildPartial0(result); 466 } 467 onBuilt(); 468 return result; 469 } 470 buildPartial0(com.google.container.v1.SandboxConfig result)471 private void buildPartial0(com.google.container.v1.SandboxConfig result) { 472 int from_bitField0_ = bitField0_; 473 if (((from_bitField0_ & 0x00000001) != 0)) { 474 result.type_ = type_; 475 } 476 } 477 478 @java.lang.Override clone()479 public Builder clone() { 480 return super.clone(); 481 } 482 483 @java.lang.Override setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)484 public Builder setField( 485 com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 486 return super.setField(field, value); 487 } 488 489 @java.lang.Override clearField(com.google.protobuf.Descriptors.FieldDescriptor field)490 public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { 491 return super.clearField(field); 492 } 493 494 @java.lang.Override clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)495 public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { 496 return super.clearOneof(oneof); 497 } 498 499 @java.lang.Override setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)500 public Builder setRepeatedField( 501 com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { 502 return super.setRepeatedField(field, index, value); 503 } 504 505 @java.lang.Override addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)506 public Builder addRepeatedField( 507 com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 508 return super.addRepeatedField(field, value); 509 } 510 511 @java.lang.Override mergeFrom(com.google.protobuf.Message other)512 public Builder mergeFrom(com.google.protobuf.Message other) { 513 if (other instanceof com.google.container.v1.SandboxConfig) { 514 return mergeFrom((com.google.container.v1.SandboxConfig) other); 515 } else { 516 super.mergeFrom(other); 517 return this; 518 } 519 } 520 mergeFrom(com.google.container.v1.SandboxConfig other)521 public Builder mergeFrom(com.google.container.v1.SandboxConfig other) { 522 if (other == com.google.container.v1.SandboxConfig.getDefaultInstance()) return this; 523 if (other.type_ != 0) { 524 setTypeValue(other.getTypeValue()); 525 } 526 this.mergeUnknownFields(other.getUnknownFields()); 527 onChanged(); 528 return this; 529 } 530 531 @java.lang.Override isInitialized()532 public final boolean isInitialized() { 533 return true; 534 } 535 536 @java.lang.Override mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)537 public Builder mergeFrom( 538 com.google.protobuf.CodedInputStream input, 539 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 540 throws java.io.IOException { 541 if (extensionRegistry == null) { 542 throw new java.lang.NullPointerException(); 543 } 544 try { 545 boolean done = false; 546 while (!done) { 547 int tag = input.readTag(); 548 switch (tag) { 549 case 0: 550 done = true; 551 break; 552 case 16: 553 { 554 type_ = input.readEnum(); 555 bitField0_ |= 0x00000001; 556 break; 557 } // case 16 558 default: 559 { 560 if (!super.parseUnknownField(input, extensionRegistry, tag)) { 561 done = true; // was an endgroup tag 562 } 563 break; 564 } // default: 565 } // switch (tag) 566 } // while (!done) 567 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 568 throw e.unwrapIOException(); 569 } finally { 570 onChanged(); 571 } // finally 572 return this; 573 } 574 575 private int bitField0_; 576 577 private int type_ = 0; 578 /** 579 * 580 * 581 * <pre> 582 * Type of the sandbox to use for the node. 583 * </pre> 584 * 585 * <code>.google.container.v1.SandboxConfig.Type type = 2;</code> 586 * 587 * @return The enum numeric value on the wire for type. 588 */ 589 @java.lang.Override getTypeValue()590 public int getTypeValue() { 591 return type_; 592 } 593 /** 594 * 595 * 596 * <pre> 597 * Type of the sandbox to use for the node. 598 * </pre> 599 * 600 * <code>.google.container.v1.SandboxConfig.Type type = 2;</code> 601 * 602 * @param value The enum numeric value on the wire for type to set. 603 * @return This builder for chaining. 604 */ setTypeValue(int value)605 public Builder setTypeValue(int value) { 606 type_ = value; 607 bitField0_ |= 0x00000001; 608 onChanged(); 609 return this; 610 } 611 /** 612 * 613 * 614 * <pre> 615 * Type of the sandbox to use for the node. 616 * </pre> 617 * 618 * <code>.google.container.v1.SandboxConfig.Type type = 2;</code> 619 * 620 * @return The type. 621 */ 622 @java.lang.Override getType()623 public com.google.container.v1.SandboxConfig.Type getType() { 624 com.google.container.v1.SandboxConfig.Type result = 625 com.google.container.v1.SandboxConfig.Type.forNumber(type_); 626 return result == null ? com.google.container.v1.SandboxConfig.Type.UNRECOGNIZED : result; 627 } 628 /** 629 * 630 * 631 * <pre> 632 * Type of the sandbox to use for the node. 633 * </pre> 634 * 635 * <code>.google.container.v1.SandboxConfig.Type type = 2;</code> 636 * 637 * @param value The type to set. 638 * @return This builder for chaining. 639 */ setType(com.google.container.v1.SandboxConfig.Type value)640 public Builder setType(com.google.container.v1.SandboxConfig.Type value) { 641 if (value == null) { 642 throw new NullPointerException(); 643 } 644 bitField0_ |= 0x00000001; 645 type_ = value.getNumber(); 646 onChanged(); 647 return this; 648 } 649 /** 650 * 651 * 652 * <pre> 653 * Type of the sandbox to use for the node. 654 * </pre> 655 * 656 * <code>.google.container.v1.SandboxConfig.Type type = 2;</code> 657 * 658 * @return This builder for chaining. 659 */ clearType()660 public Builder clearType() { 661 bitField0_ = (bitField0_ & ~0x00000001); 662 type_ = 0; 663 onChanged(); 664 return this; 665 } 666 667 @java.lang.Override setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)668 public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { 669 return super.setUnknownFields(unknownFields); 670 } 671 672 @java.lang.Override mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)673 public final Builder mergeUnknownFields( 674 final com.google.protobuf.UnknownFieldSet unknownFields) { 675 return super.mergeUnknownFields(unknownFields); 676 } 677 678 // @@protoc_insertion_point(builder_scope:google.container.v1.SandboxConfig) 679 } 680 681 // @@protoc_insertion_point(class_scope:google.container.v1.SandboxConfig) 682 private static final com.google.container.v1.SandboxConfig DEFAULT_INSTANCE; 683 684 static { 685 DEFAULT_INSTANCE = new com.google.container.v1.SandboxConfig(); 686 } 687 getDefaultInstance()688 public static com.google.container.v1.SandboxConfig getDefaultInstance() { 689 return DEFAULT_INSTANCE; 690 } 691 692 private static final com.google.protobuf.Parser<SandboxConfig> PARSER = 693 new com.google.protobuf.AbstractParser<SandboxConfig>() { 694 @java.lang.Override 695 public SandboxConfig parsePartialFrom( 696 com.google.protobuf.CodedInputStream input, 697 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 698 throws com.google.protobuf.InvalidProtocolBufferException { 699 Builder builder = newBuilder(); 700 try { 701 builder.mergeFrom(input, extensionRegistry); 702 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 703 throw e.setUnfinishedMessage(builder.buildPartial()); 704 } catch (com.google.protobuf.UninitializedMessageException e) { 705 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); 706 } catch (java.io.IOException e) { 707 throw new com.google.protobuf.InvalidProtocolBufferException(e) 708 .setUnfinishedMessage(builder.buildPartial()); 709 } 710 return builder.buildPartial(); 711 } 712 }; 713 parser()714 public static com.google.protobuf.Parser<SandboxConfig> parser() { 715 return PARSER; 716 } 717 718 @java.lang.Override getParserForType()719 public com.google.protobuf.Parser<SandboxConfig> getParserForType() { 720 return PARSER; 721 } 722 723 @java.lang.Override getDefaultInstanceForType()724 public com.google.container.v1.SandboxConfig getDefaultInstanceForType() { 725 return DEFAULT_INSTANCE; 726 } 727 } 728