001// Generated by the protocol buffer compiler. DO NOT EDIT! 002// source: hapi/services/tiller.proto 003 004package hapi.services.tiller; 005 006public final class Tiller { 007 private Tiller() {} 008 public static void registerAllExtensions( 009 com.google.protobuf.ExtensionRegistryLite registry) { 010 } 011 012 public static void registerAllExtensions( 013 com.google.protobuf.ExtensionRegistry registry) { 014 registerAllExtensions( 015 (com.google.protobuf.ExtensionRegistryLite) registry); 016 } 017 public interface ListReleasesRequestOrBuilder extends 018 // @@protoc_insertion_point(interface_extends:hapi.services.tiller.ListReleasesRequest) 019 com.google.protobuf.MessageOrBuilder { 020 021 /** 022 * <pre> 023 * Limit is the maximum number of releases to be returned. 024 * </pre> 025 * 026 * <code>int64 limit = 1;</code> 027 */ 028 long getLimit(); 029 030 /** 031 * <pre> 032 * Offset is the last release name that was seen. The next listing 033 * operation will start with the name after this one. 034 * Example: If list one returns albert, bernie, carl, and sets 'next: dennis'. 035 * dennis is the offset. Supplying 'dennis' for the next request should 036 * cause the next batch to return a set of results starting with 'dennis'. 037 * </pre> 038 * 039 * <code>string offset = 2;</code> 040 */ 041 java.lang.String getOffset(); 042 /** 043 * <pre> 044 * Offset is the last release name that was seen. The next listing 045 * operation will start with the name after this one. 046 * Example: If list one returns albert, bernie, carl, and sets 'next: dennis'. 047 * dennis is the offset. Supplying 'dennis' for the next request should 048 * cause the next batch to return a set of results starting with 'dennis'. 049 * </pre> 050 * 051 * <code>string offset = 2;</code> 052 */ 053 com.google.protobuf.ByteString 054 getOffsetBytes(); 055 056 /** 057 * <pre> 058 * SortBy is the sort field that the ListReleases server should sort data before returning. 059 * </pre> 060 * 061 * <code>.hapi.services.tiller.ListSort.SortBy sort_by = 3;</code> 062 */ 063 int getSortByValue(); 064 /** 065 * <pre> 066 * SortBy is the sort field that the ListReleases server should sort data before returning. 067 * </pre> 068 * 069 * <code>.hapi.services.tiller.ListSort.SortBy sort_by = 3;</code> 070 */ 071 hapi.services.tiller.Tiller.ListSort.SortBy getSortBy(); 072 073 /** 074 * <pre> 075 * Filter is a regular expression used to filter which releases should be listed. 076 * Anything that matches the regexp will be included in the results. 077 * </pre> 078 * 079 * <code>string filter = 4;</code> 080 */ 081 java.lang.String getFilter(); 082 /** 083 * <pre> 084 * Filter is a regular expression used to filter which releases should be listed. 085 * Anything that matches the regexp will be included in the results. 086 * </pre> 087 * 088 * <code>string filter = 4;</code> 089 */ 090 com.google.protobuf.ByteString 091 getFilterBytes(); 092 093 /** 094 * <pre> 095 * SortOrder is the ordering directive used for sorting. 096 * </pre> 097 * 098 * <code>.hapi.services.tiller.ListSort.SortOrder sort_order = 5;</code> 099 */ 100 int getSortOrderValue(); 101 /** 102 * <pre> 103 * SortOrder is the ordering directive used for sorting. 104 * </pre> 105 * 106 * <code>.hapi.services.tiller.ListSort.SortOrder sort_order = 5;</code> 107 */ 108 hapi.services.tiller.Tiller.ListSort.SortOrder getSortOrder(); 109 110 /** 111 * <code>repeated .hapi.release.Status.Code status_codes = 6;</code> 112 */ 113 java.util.List<hapi.release.StatusOuterClass.Status.Code> getStatusCodesList(); 114 /** 115 * <code>repeated .hapi.release.Status.Code status_codes = 6;</code> 116 */ 117 int getStatusCodesCount(); 118 /** 119 * <code>repeated .hapi.release.Status.Code status_codes = 6;</code> 120 */ 121 hapi.release.StatusOuterClass.Status.Code getStatusCodes(int index); 122 /** 123 * <code>repeated .hapi.release.Status.Code status_codes = 6;</code> 124 */ 125 java.util.List<java.lang.Integer> 126 getStatusCodesValueList(); 127 /** 128 * <code>repeated .hapi.release.Status.Code status_codes = 6;</code> 129 */ 130 int getStatusCodesValue(int index); 131 132 /** 133 * <pre> 134 * Namespace is the filter to select releases only from a specific namespace. 135 * </pre> 136 * 137 * <code>string namespace = 7;</code> 138 */ 139 java.lang.String getNamespace(); 140 /** 141 * <pre> 142 * Namespace is the filter to select releases only from a specific namespace. 143 * </pre> 144 * 145 * <code>string namespace = 7;</code> 146 */ 147 com.google.protobuf.ByteString 148 getNamespaceBytes(); 149 } 150 /** 151 * <pre> 152 * ListReleasesRequest requests a list of releases. 153 * Releases can be retrieved in chunks by setting limit and offset. 154 * Releases can be sorted according to a few pre-determined sort stategies. 155 * </pre> 156 * 157 * Protobuf type {@code hapi.services.tiller.ListReleasesRequest} 158 */ 159 public static final class ListReleasesRequest extends 160 com.google.protobuf.GeneratedMessageV3 implements 161 // @@protoc_insertion_point(message_implements:hapi.services.tiller.ListReleasesRequest) 162 ListReleasesRequestOrBuilder { 163 private static final long serialVersionUID = 0L; 164 // Use ListReleasesRequest.newBuilder() to construct. 165 private ListReleasesRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 166 super(builder); 167 } 168 private ListReleasesRequest() { 169 limit_ = 0L; 170 offset_ = ""; 171 sortBy_ = 0; 172 filter_ = ""; 173 sortOrder_ = 0; 174 statusCodes_ = java.util.Collections.emptyList(); 175 namespace_ = ""; 176 } 177 178 @java.lang.Override 179 public final com.google.protobuf.UnknownFieldSet 180 getUnknownFields() { 181 return this.unknownFields; 182 } 183 private ListReleasesRequest( 184 com.google.protobuf.CodedInputStream input, 185 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 186 throws com.google.protobuf.InvalidProtocolBufferException { 187 this(); 188 if (extensionRegistry == null) { 189 throw new java.lang.NullPointerException(); 190 } 191 int mutable_bitField0_ = 0; 192 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 193 com.google.protobuf.UnknownFieldSet.newBuilder(); 194 try { 195 boolean done = false; 196 while (!done) { 197 int tag = input.readTag(); 198 switch (tag) { 199 case 0: 200 done = true; 201 break; 202 default: { 203 if (!parseUnknownFieldProto3( 204 input, unknownFields, extensionRegistry, tag)) { 205 done = true; 206 } 207 break; 208 } 209 case 8: { 210 211 limit_ = input.readInt64(); 212 break; 213 } 214 case 18: { 215 java.lang.String s = input.readStringRequireUtf8(); 216 217 offset_ = s; 218 break; 219 } 220 case 24: { 221 int rawValue = input.readEnum(); 222 223 sortBy_ = rawValue; 224 break; 225 } 226 case 34: { 227 java.lang.String s = input.readStringRequireUtf8(); 228 229 filter_ = s; 230 break; 231 } 232 case 40: { 233 int rawValue = input.readEnum(); 234 235 sortOrder_ = rawValue; 236 break; 237 } 238 case 48: { 239 int rawValue = input.readEnum(); 240 if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { 241 statusCodes_ = new java.util.ArrayList<java.lang.Integer>(); 242 mutable_bitField0_ |= 0x00000020; 243 } 244 statusCodes_.add(rawValue); 245 break; 246 } 247 case 50: { 248 int length = input.readRawVarint32(); 249 int oldLimit = input.pushLimit(length); 250 while(input.getBytesUntilLimit() > 0) { 251 int rawValue = input.readEnum(); 252 if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { 253 statusCodes_ = new java.util.ArrayList<java.lang.Integer>(); 254 mutable_bitField0_ |= 0x00000020; 255 } 256 statusCodes_.add(rawValue); 257 } 258 input.popLimit(oldLimit); 259 break; 260 } 261 case 58: { 262 java.lang.String s = input.readStringRequireUtf8(); 263 264 namespace_ = s; 265 break; 266 } 267 } 268 } 269 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 270 throw e.setUnfinishedMessage(this); 271 } catch (java.io.IOException e) { 272 throw new com.google.protobuf.InvalidProtocolBufferException( 273 e).setUnfinishedMessage(this); 274 } finally { 275 if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { 276 statusCodes_ = java.util.Collections.unmodifiableList(statusCodes_); 277 } 278 this.unknownFields = unknownFields.build(); 279 makeExtensionsImmutable(); 280 } 281 } 282 public static final com.google.protobuf.Descriptors.Descriptor 283 getDescriptor() { 284 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_ListReleasesRequest_descriptor; 285 } 286 287 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 288 internalGetFieldAccessorTable() { 289 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_ListReleasesRequest_fieldAccessorTable 290 .ensureFieldAccessorsInitialized( 291 hapi.services.tiller.Tiller.ListReleasesRequest.class, hapi.services.tiller.Tiller.ListReleasesRequest.Builder.class); 292 } 293 294 private int bitField0_; 295 public static final int LIMIT_FIELD_NUMBER = 1; 296 private long limit_; 297 /** 298 * <pre> 299 * Limit is the maximum number of releases to be returned. 300 * </pre> 301 * 302 * <code>int64 limit = 1;</code> 303 */ 304 public long getLimit() { 305 return limit_; 306 } 307 308 public static final int OFFSET_FIELD_NUMBER = 2; 309 private volatile java.lang.Object offset_; 310 /** 311 * <pre> 312 * Offset is the last release name that was seen. The next listing 313 * operation will start with the name after this one. 314 * Example: If list one returns albert, bernie, carl, and sets 'next: dennis'. 315 * dennis is the offset. Supplying 'dennis' for the next request should 316 * cause the next batch to return a set of results starting with 'dennis'. 317 * </pre> 318 * 319 * <code>string offset = 2;</code> 320 */ 321 public java.lang.String getOffset() { 322 java.lang.Object ref = offset_; 323 if (ref instanceof java.lang.String) { 324 return (java.lang.String) ref; 325 } else { 326 com.google.protobuf.ByteString bs = 327 (com.google.protobuf.ByteString) ref; 328 java.lang.String s = bs.toStringUtf8(); 329 offset_ = s; 330 return s; 331 } 332 } 333 /** 334 * <pre> 335 * Offset is the last release name that was seen. The next listing 336 * operation will start with the name after this one. 337 * Example: If list one returns albert, bernie, carl, and sets 'next: dennis'. 338 * dennis is the offset. Supplying 'dennis' for the next request should 339 * cause the next batch to return a set of results starting with 'dennis'. 340 * </pre> 341 * 342 * <code>string offset = 2;</code> 343 */ 344 public com.google.protobuf.ByteString 345 getOffsetBytes() { 346 java.lang.Object ref = offset_; 347 if (ref instanceof java.lang.String) { 348 com.google.protobuf.ByteString b = 349 com.google.protobuf.ByteString.copyFromUtf8( 350 (java.lang.String) ref); 351 offset_ = b; 352 return b; 353 } else { 354 return (com.google.protobuf.ByteString) ref; 355 } 356 } 357 358 public static final int SORT_BY_FIELD_NUMBER = 3; 359 private int sortBy_; 360 /** 361 * <pre> 362 * SortBy is the sort field that the ListReleases server should sort data before returning. 363 * </pre> 364 * 365 * <code>.hapi.services.tiller.ListSort.SortBy sort_by = 3;</code> 366 */ 367 public int getSortByValue() { 368 return sortBy_; 369 } 370 /** 371 * <pre> 372 * SortBy is the sort field that the ListReleases server should sort data before returning. 373 * </pre> 374 * 375 * <code>.hapi.services.tiller.ListSort.SortBy sort_by = 3;</code> 376 */ 377 public hapi.services.tiller.Tiller.ListSort.SortBy getSortBy() { 378 hapi.services.tiller.Tiller.ListSort.SortBy result = hapi.services.tiller.Tiller.ListSort.SortBy.valueOf(sortBy_); 379 return result == null ? hapi.services.tiller.Tiller.ListSort.SortBy.UNRECOGNIZED : result; 380 } 381 382 public static final int FILTER_FIELD_NUMBER = 4; 383 private volatile java.lang.Object filter_; 384 /** 385 * <pre> 386 * Filter is a regular expression used to filter which releases should be listed. 387 * Anything that matches the regexp will be included in the results. 388 * </pre> 389 * 390 * <code>string filter = 4;</code> 391 */ 392 public java.lang.String getFilter() { 393 java.lang.Object ref = filter_; 394 if (ref instanceof java.lang.String) { 395 return (java.lang.String) ref; 396 } else { 397 com.google.protobuf.ByteString bs = 398 (com.google.protobuf.ByteString) ref; 399 java.lang.String s = bs.toStringUtf8(); 400 filter_ = s; 401 return s; 402 } 403 } 404 /** 405 * <pre> 406 * Filter is a regular expression used to filter which releases should be listed. 407 * Anything that matches the regexp will be included in the results. 408 * </pre> 409 * 410 * <code>string filter = 4;</code> 411 */ 412 public com.google.protobuf.ByteString 413 getFilterBytes() { 414 java.lang.Object ref = filter_; 415 if (ref instanceof java.lang.String) { 416 com.google.protobuf.ByteString b = 417 com.google.protobuf.ByteString.copyFromUtf8( 418 (java.lang.String) ref); 419 filter_ = b; 420 return b; 421 } else { 422 return (com.google.protobuf.ByteString) ref; 423 } 424 } 425 426 public static final int SORT_ORDER_FIELD_NUMBER = 5; 427 private int sortOrder_; 428 /** 429 * <pre> 430 * SortOrder is the ordering directive used for sorting. 431 * </pre> 432 * 433 * <code>.hapi.services.tiller.ListSort.SortOrder sort_order = 5;</code> 434 */ 435 public int getSortOrderValue() { 436 return sortOrder_; 437 } 438 /** 439 * <pre> 440 * SortOrder is the ordering directive used for sorting. 441 * </pre> 442 * 443 * <code>.hapi.services.tiller.ListSort.SortOrder sort_order = 5;</code> 444 */ 445 public hapi.services.tiller.Tiller.ListSort.SortOrder getSortOrder() { 446 hapi.services.tiller.Tiller.ListSort.SortOrder result = hapi.services.tiller.Tiller.ListSort.SortOrder.valueOf(sortOrder_); 447 return result == null ? hapi.services.tiller.Tiller.ListSort.SortOrder.UNRECOGNIZED : result; 448 } 449 450 public static final int STATUS_CODES_FIELD_NUMBER = 6; 451 private java.util.List<java.lang.Integer> statusCodes_; 452 private static final com.google.protobuf.Internal.ListAdapter.Converter< 453 java.lang.Integer, hapi.release.StatusOuterClass.Status.Code> statusCodes_converter_ = 454 new com.google.protobuf.Internal.ListAdapter.Converter< 455 java.lang.Integer, hapi.release.StatusOuterClass.Status.Code>() { 456 public hapi.release.StatusOuterClass.Status.Code convert(java.lang.Integer from) { 457 hapi.release.StatusOuterClass.Status.Code result = hapi.release.StatusOuterClass.Status.Code.valueOf(from); 458 return result == null ? hapi.release.StatusOuterClass.Status.Code.UNRECOGNIZED : result; 459 } 460 }; 461 /** 462 * <code>repeated .hapi.release.Status.Code status_codes = 6;</code> 463 */ 464 public java.util.List<hapi.release.StatusOuterClass.Status.Code> getStatusCodesList() { 465 return new com.google.protobuf.Internal.ListAdapter< 466 java.lang.Integer, hapi.release.StatusOuterClass.Status.Code>(statusCodes_, statusCodes_converter_); 467 } 468 /** 469 * <code>repeated .hapi.release.Status.Code status_codes = 6;</code> 470 */ 471 public int getStatusCodesCount() { 472 return statusCodes_.size(); 473 } 474 /** 475 * <code>repeated .hapi.release.Status.Code status_codes = 6;</code> 476 */ 477 public hapi.release.StatusOuterClass.Status.Code getStatusCodes(int index) { 478 return statusCodes_converter_.convert(statusCodes_.get(index)); 479 } 480 /** 481 * <code>repeated .hapi.release.Status.Code status_codes = 6;</code> 482 */ 483 public java.util.List<java.lang.Integer> 484 getStatusCodesValueList() { 485 return statusCodes_; 486 } 487 /** 488 * <code>repeated .hapi.release.Status.Code status_codes = 6;</code> 489 */ 490 public int getStatusCodesValue(int index) { 491 return statusCodes_.get(index); 492 } 493 private int statusCodesMemoizedSerializedSize; 494 495 public static final int NAMESPACE_FIELD_NUMBER = 7; 496 private volatile java.lang.Object namespace_; 497 /** 498 * <pre> 499 * Namespace is the filter to select releases only from a specific namespace. 500 * </pre> 501 * 502 * <code>string namespace = 7;</code> 503 */ 504 public java.lang.String getNamespace() { 505 java.lang.Object ref = namespace_; 506 if (ref instanceof java.lang.String) { 507 return (java.lang.String) ref; 508 } else { 509 com.google.protobuf.ByteString bs = 510 (com.google.protobuf.ByteString) ref; 511 java.lang.String s = bs.toStringUtf8(); 512 namespace_ = s; 513 return s; 514 } 515 } 516 /** 517 * <pre> 518 * Namespace is the filter to select releases only from a specific namespace. 519 * </pre> 520 * 521 * <code>string namespace = 7;</code> 522 */ 523 public com.google.protobuf.ByteString 524 getNamespaceBytes() { 525 java.lang.Object ref = namespace_; 526 if (ref instanceof java.lang.String) { 527 com.google.protobuf.ByteString b = 528 com.google.protobuf.ByteString.copyFromUtf8( 529 (java.lang.String) ref); 530 namespace_ = b; 531 return b; 532 } else { 533 return (com.google.protobuf.ByteString) ref; 534 } 535 } 536 537 private byte memoizedIsInitialized = -1; 538 public final boolean isInitialized() { 539 byte isInitialized = memoizedIsInitialized; 540 if (isInitialized == 1) return true; 541 if (isInitialized == 0) return false; 542 543 memoizedIsInitialized = 1; 544 return true; 545 } 546 547 public void writeTo(com.google.protobuf.CodedOutputStream output) 548 throws java.io.IOException { 549 getSerializedSize(); 550 if (limit_ != 0L) { 551 output.writeInt64(1, limit_); 552 } 553 if (!getOffsetBytes().isEmpty()) { 554 com.google.protobuf.GeneratedMessageV3.writeString(output, 2, offset_); 555 } 556 if (sortBy_ != hapi.services.tiller.Tiller.ListSort.SortBy.UNKNOWN.getNumber()) { 557 output.writeEnum(3, sortBy_); 558 } 559 if (!getFilterBytes().isEmpty()) { 560 com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); 561 } 562 if (sortOrder_ != hapi.services.tiller.Tiller.ListSort.SortOrder.ASC.getNumber()) { 563 output.writeEnum(5, sortOrder_); 564 } 565 if (getStatusCodesList().size() > 0) { 566 output.writeUInt32NoTag(50); 567 output.writeUInt32NoTag(statusCodesMemoizedSerializedSize); 568 } 569 for (int i = 0; i < statusCodes_.size(); i++) { 570 output.writeEnumNoTag(statusCodes_.get(i)); 571 } 572 if (!getNamespaceBytes().isEmpty()) { 573 com.google.protobuf.GeneratedMessageV3.writeString(output, 7, namespace_); 574 } 575 unknownFields.writeTo(output); 576 } 577 578 public int getSerializedSize() { 579 int size = memoizedSize; 580 if (size != -1) return size; 581 582 size = 0; 583 if (limit_ != 0L) { 584 size += com.google.protobuf.CodedOutputStream 585 .computeInt64Size(1, limit_); 586 } 587 if (!getOffsetBytes().isEmpty()) { 588 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, offset_); 589 } 590 if (sortBy_ != hapi.services.tiller.Tiller.ListSort.SortBy.UNKNOWN.getNumber()) { 591 size += com.google.protobuf.CodedOutputStream 592 .computeEnumSize(3, sortBy_); 593 } 594 if (!getFilterBytes().isEmpty()) { 595 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); 596 } 597 if (sortOrder_ != hapi.services.tiller.Tiller.ListSort.SortOrder.ASC.getNumber()) { 598 size += com.google.protobuf.CodedOutputStream 599 .computeEnumSize(5, sortOrder_); 600 } 601 { 602 int dataSize = 0; 603 for (int i = 0; i < statusCodes_.size(); i++) { 604 dataSize += com.google.protobuf.CodedOutputStream 605 .computeEnumSizeNoTag(statusCodes_.get(i)); 606 } 607 size += dataSize; 608 if (!getStatusCodesList().isEmpty()) { size += 1; 609 size += com.google.protobuf.CodedOutputStream 610 .computeUInt32SizeNoTag(dataSize); 611 }statusCodesMemoizedSerializedSize = dataSize; 612 } 613 if (!getNamespaceBytes().isEmpty()) { 614 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, namespace_); 615 } 616 size += unknownFields.getSerializedSize(); 617 memoizedSize = size; 618 return size; 619 } 620 621 @java.lang.Override 622 public boolean equals(final java.lang.Object obj) { 623 if (obj == this) { 624 return true; 625 } 626 if (!(obj instanceof hapi.services.tiller.Tiller.ListReleasesRequest)) { 627 return super.equals(obj); 628 } 629 hapi.services.tiller.Tiller.ListReleasesRequest other = (hapi.services.tiller.Tiller.ListReleasesRequest) obj; 630 631 boolean result = true; 632 result = result && (getLimit() 633 == other.getLimit()); 634 result = result && getOffset() 635 .equals(other.getOffset()); 636 result = result && sortBy_ == other.sortBy_; 637 result = result && getFilter() 638 .equals(other.getFilter()); 639 result = result && sortOrder_ == other.sortOrder_; 640 result = result && statusCodes_.equals(other.statusCodes_); 641 result = result && getNamespace() 642 .equals(other.getNamespace()); 643 result = result && unknownFields.equals(other.unknownFields); 644 return result; 645 } 646 647 @java.lang.Override 648 public int hashCode() { 649 if (memoizedHashCode != 0) { 650 return memoizedHashCode; 651 } 652 int hash = 41; 653 hash = (19 * hash) + getDescriptor().hashCode(); 654 hash = (37 * hash) + LIMIT_FIELD_NUMBER; 655 hash = (53 * hash) + com.google.protobuf.Internal.hashLong( 656 getLimit()); 657 hash = (37 * hash) + OFFSET_FIELD_NUMBER; 658 hash = (53 * hash) + getOffset().hashCode(); 659 hash = (37 * hash) + SORT_BY_FIELD_NUMBER; 660 hash = (53 * hash) + sortBy_; 661 hash = (37 * hash) + FILTER_FIELD_NUMBER; 662 hash = (53 * hash) + getFilter().hashCode(); 663 hash = (37 * hash) + SORT_ORDER_FIELD_NUMBER; 664 hash = (53 * hash) + sortOrder_; 665 if (getStatusCodesCount() > 0) { 666 hash = (37 * hash) + STATUS_CODES_FIELD_NUMBER; 667 hash = (53 * hash) + statusCodes_.hashCode(); 668 } 669 hash = (37 * hash) + NAMESPACE_FIELD_NUMBER; 670 hash = (53 * hash) + getNamespace().hashCode(); 671 hash = (29 * hash) + unknownFields.hashCode(); 672 memoizedHashCode = hash; 673 return hash; 674 } 675 676 public static hapi.services.tiller.Tiller.ListReleasesRequest parseFrom( 677 java.nio.ByteBuffer data) 678 throws com.google.protobuf.InvalidProtocolBufferException { 679 return PARSER.parseFrom(data); 680 } 681 public static hapi.services.tiller.Tiller.ListReleasesRequest parseFrom( 682 java.nio.ByteBuffer data, 683 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 684 throws com.google.protobuf.InvalidProtocolBufferException { 685 return PARSER.parseFrom(data, extensionRegistry); 686 } 687 public static hapi.services.tiller.Tiller.ListReleasesRequest parseFrom( 688 com.google.protobuf.ByteString data) 689 throws com.google.protobuf.InvalidProtocolBufferException { 690 return PARSER.parseFrom(data); 691 } 692 public static hapi.services.tiller.Tiller.ListReleasesRequest parseFrom( 693 com.google.protobuf.ByteString data, 694 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 695 throws com.google.protobuf.InvalidProtocolBufferException { 696 return PARSER.parseFrom(data, extensionRegistry); 697 } 698 public static hapi.services.tiller.Tiller.ListReleasesRequest parseFrom(byte[] data) 699 throws com.google.protobuf.InvalidProtocolBufferException { 700 return PARSER.parseFrom(data); 701 } 702 public static hapi.services.tiller.Tiller.ListReleasesRequest parseFrom( 703 byte[] data, 704 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 705 throws com.google.protobuf.InvalidProtocolBufferException { 706 return PARSER.parseFrom(data, extensionRegistry); 707 } 708 public static hapi.services.tiller.Tiller.ListReleasesRequest parseFrom(java.io.InputStream input) 709 throws java.io.IOException { 710 return com.google.protobuf.GeneratedMessageV3 711 .parseWithIOException(PARSER, input); 712 } 713 public static hapi.services.tiller.Tiller.ListReleasesRequest parseFrom( 714 java.io.InputStream input, 715 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 716 throws java.io.IOException { 717 return com.google.protobuf.GeneratedMessageV3 718 .parseWithIOException(PARSER, input, extensionRegistry); 719 } 720 public static hapi.services.tiller.Tiller.ListReleasesRequest parseDelimitedFrom(java.io.InputStream input) 721 throws java.io.IOException { 722 return com.google.protobuf.GeneratedMessageV3 723 .parseDelimitedWithIOException(PARSER, input); 724 } 725 public static hapi.services.tiller.Tiller.ListReleasesRequest parseDelimitedFrom( 726 java.io.InputStream input, 727 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 728 throws java.io.IOException { 729 return com.google.protobuf.GeneratedMessageV3 730 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 731 } 732 public static hapi.services.tiller.Tiller.ListReleasesRequest parseFrom( 733 com.google.protobuf.CodedInputStream input) 734 throws java.io.IOException { 735 return com.google.protobuf.GeneratedMessageV3 736 .parseWithIOException(PARSER, input); 737 } 738 public static hapi.services.tiller.Tiller.ListReleasesRequest parseFrom( 739 com.google.protobuf.CodedInputStream input, 740 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 741 throws java.io.IOException { 742 return com.google.protobuf.GeneratedMessageV3 743 .parseWithIOException(PARSER, input, extensionRegistry); 744 } 745 746 public Builder newBuilderForType() { return newBuilder(); } 747 public static Builder newBuilder() { 748 return DEFAULT_INSTANCE.toBuilder(); 749 } 750 public static Builder newBuilder(hapi.services.tiller.Tiller.ListReleasesRequest prototype) { 751 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 752 } 753 public Builder toBuilder() { 754 return this == DEFAULT_INSTANCE 755 ? new Builder() : new Builder().mergeFrom(this); 756 } 757 758 @java.lang.Override 759 protected Builder newBuilderForType( 760 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 761 Builder builder = new Builder(parent); 762 return builder; 763 } 764 /** 765 * <pre> 766 * ListReleasesRequest requests a list of releases. 767 * Releases can be retrieved in chunks by setting limit and offset. 768 * Releases can be sorted according to a few pre-determined sort stategies. 769 * </pre> 770 * 771 * Protobuf type {@code hapi.services.tiller.ListReleasesRequest} 772 */ 773 public static final class Builder extends 774 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 775 // @@protoc_insertion_point(builder_implements:hapi.services.tiller.ListReleasesRequest) 776 hapi.services.tiller.Tiller.ListReleasesRequestOrBuilder { 777 public static final com.google.protobuf.Descriptors.Descriptor 778 getDescriptor() { 779 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_ListReleasesRequest_descriptor; 780 } 781 782 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 783 internalGetFieldAccessorTable() { 784 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_ListReleasesRequest_fieldAccessorTable 785 .ensureFieldAccessorsInitialized( 786 hapi.services.tiller.Tiller.ListReleasesRequest.class, hapi.services.tiller.Tiller.ListReleasesRequest.Builder.class); 787 } 788 789 // Construct using hapi.services.tiller.Tiller.ListReleasesRequest.newBuilder() 790 private Builder() { 791 maybeForceBuilderInitialization(); 792 } 793 794 private Builder( 795 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 796 super(parent); 797 maybeForceBuilderInitialization(); 798 } 799 private void maybeForceBuilderInitialization() { 800 if (com.google.protobuf.GeneratedMessageV3 801 .alwaysUseFieldBuilders) { 802 } 803 } 804 public Builder clear() { 805 super.clear(); 806 limit_ = 0L; 807 808 offset_ = ""; 809 810 sortBy_ = 0; 811 812 filter_ = ""; 813 814 sortOrder_ = 0; 815 816 statusCodes_ = java.util.Collections.emptyList(); 817 bitField0_ = (bitField0_ & ~0x00000020); 818 namespace_ = ""; 819 820 return this; 821 } 822 823 public com.google.protobuf.Descriptors.Descriptor 824 getDescriptorForType() { 825 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_ListReleasesRequest_descriptor; 826 } 827 828 public hapi.services.tiller.Tiller.ListReleasesRequest getDefaultInstanceForType() { 829 return hapi.services.tiller.Tiller.ListReleasesRequest.getDefaultInstance(); 830 } 831 832 public hapi.services.tiller.Tiller.ListReleasesRequest build() { 833 hapi.services.tiller.Tiller.ListReleasesRequest result = buildPartial(); 834 if (!result.isInitialized()) { 835 throw newUninitializedMessageException(result); 836 } 837 return result; 838 } 839 840 public hapi.services.tiller.Tiller.ListReleasesRequest buildPartial() { 841 hapi.services.tiller.Tiller.ListReleasesRequest result = new hapi.services.tiller.Tiller.ListReleasesRequest(this); 842 int from_bitField0_ = bitField0_; 843 int to_bitField0_ = 0; 844 result.limit_ = limit_; 845 result.offset_ = offset_; 846 result.sortBy_ = sortBy_; 847 result.filter_ = filter_; 848 result.sortOrder_ = sortOrder_; 849 if (((bitField0_ & 0x00000020) == 0x00000020)) { 850 statusCodes_ = java.util.Collections.unmodifiableList(statusCodes_); 851 bitField0_ = (bitField0_ & ~0x00000020); 852 } 853 result.statusCodes_ = statusCodes_; 854 result.namespace_ = namespace_; 855 result.bitField0_ = to_bitField0_; 856 onBuilt(); 857 return result; 858 } 859 860 public Builder clone() { 861 return (Builder) super.clone(); 862 } 863 public Builder setField( 864 com.google.protobuf.Descriptors.FieldDescriptor field, 865 java.lang.Object value) { 866 return (Builder) super.setField(field, value); 867 } 868 public Builder clearField( 869 com.google.protobuf.Descriptors.FieldDescriptor field) { 870 return (Builder) super.clearField(field); 871 } 872 public Builder clearOneof( 873 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 874 return (Builder) super.clearOneof(oneof); 875 } 876 public Builder setRepeatedField( 877 com.google.protobuf.Descriptors.FieldDescriptor field, 878 int index, java.lang.Object value) { 879 return (Builder) super.setRepeatedField(field, index, value); 880 } 881 public Builder addRepeatedField( 882 com.google.protobuf.Descriptors.FieldDescriptor field, 883 java.lang.Object value) { 884 return (Builder) super.addRepeatedField(field, value); 885 } 886 public Builder mergeFrom(com.google.protobuf.Message other) { 887 if (other instanceof hapi.services.tiller.Tiller.ListReleasesRequest) { 888 return mergeFrom((hapi.services.tiller.Tiller.ListReleasesRequest)other); 889 } else { 890 super.mergeFrom(other); 891 return this; 892 } 893 } 894 895 public Builder mergeFrom(hapi.services.tiller.Tiller.ListReleasesRequest other) { 896 if (other == hapi.services.tiller.Tiller.ListReleasesRequest.getDefaultInstance()) return this; 897 if (other.getLimit() != 0L) { 898 setLimit(other.getLimit()); 899 } 900 if (!other.getOffset().isEmpty()) { 901 offset_ = other.offset_; 902 onChanged(); 903 } 904 if (other.sortBy_ != 0) { 905 setSortByValue(other.getSortByValue()); 906 } 907 if (!other.getFilter().isEmpty()) { 908 filter_ = other.filter_; 909 onChanged(); 910 } 911 if (other.sortOrder_ != 0) { 912 setSortOrderValue(other.getSortOrderValue()); 913 } 914 if (!other.statusCodes_.isEmpty()) { 915 if (statusCodes_.isEmpty()) { 916 statusCodes_ = other.statusCodes_; 917 bitField0_ = (bitField0_ & ~0x00000020); 918 } else { 919 ensureStatusCodesIsMutable(); 920 statusCodes_.addAll(other.statusCodes_); 921 } 922 onChanged(); 923 } 924 if (!other.getNamespace().isEmpty()) { 925 namespace_ = other.namespace_; 926 onChanged(); 927 } 928 this.mergeUnknownFields(other.unknownFields); 929 onChanged(); 930 return this; 931 } 932 933 public final boolean isInitialized() { 934 return true; 935 } 936 937 public Builder mergeFrom( 938 com.google.protobuf.CodedInputStream input, 939 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 940 throws java.io.IOException { 941 hapi.services.tiller.Tiller.ListReleasesRequest parsedMessage = null; 942 try { 943 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 944 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 945 parsedMessage = (hapi.services.tiller.Tiller.ListReleasesRequest) e.getUnfinishedMessage(); 946 throw e.unwrapIOException(); 947 } finally { 948 if (parsedMessage != null) { 949 mergeFrom(parsedMessage); 950 } 951 } 952 return this; 953 } 954 private int bitField0_; 955 956 private long limit_ ; 957 /** 958 * <pre> 959 * Limit is the maximum number of releases to be returned. 960 * </pre> 961 * 962 * <code>int64 limit = 1;</code> 963 */ 964 public long getLimit() { 965 return limit_; 966 } 967 /** 968 * <pre> 969 * Limit is the maximum number of releases to be returned. 970 * </pre> 971 * 972 * <code>int64 limit = 1;</code> 973 */ 974 public Builder setLimit(long value) { 975 976 limit_ = value; 977 onChanged(); 978 return this; 979 } 980 /** 981 * <pre> 982 * Limit is the maximum number of releases to be returned. 983 * </pre> 984 * 985 * <code>int64 limit = 1;</code> 986 */ 987 public Builder clearLimit() { 988 989 limit_ = 0L; 990 onChanged(); 991 return this; 992 } 993 994 private java.lang.Object offset_ = ""; 995 /** 996 * <pre> 997 * Offset is the last release name that was seen. The next listing 998 * operation will start with the name after this one. 999 * Example: If list one returns albert, bernie, carl, and sets 'next: dennis'. 1000 * dennis is the offset. Supplying 'dennis' for the next request should 1001 * cause the next batch to return a set of results starting with 'dennis'. 1002 * </pre> 1003 * 1004 * <code>string offset = 2;</code> 1005 */ 1006 public java.lang.String getOffset() { 1007 java.lang.Object ref = offset_; 1008 if (!(ref instanceof java.lang.String)) { 1009 com.google.protobuf.ByteString bs = 1010 (com.google.protobuf.ByteString) ref; 1011 java.lang.String s = bs.toStringUtf8(); 1012 offset_ = s; 1013 return s; 1014 } else { 1015 return (java.lang.String) ref; 1016 } 1017 } 1018 /** 1019 * <pre> 1020 * Offset is the last release name that was seen. The next listing 1021 * operation will start with the name after this one. 1022 * Example: If list one returns albert, bernie, carl, and sets 'next: dennis'. 1023 * dennis is the offset. Supplying 'dennis' for the next request should 1024 * cause the next batch to return a set of results starting with 'dennis'. 1025 * </pre> 1026 * 1027 * <code>string offset = 2;</code> 1028 */ 1029 public com.google.protobuf.ByteString 1030 getOffsetBytes() { 1031 java.lang.Object ref = offset_; 1032 if (ref instanceof String) { 1033 com.google.protobuf.ByteString b = 1034 com.google.protobuf.ByteString.copyFromUtf8( 1035 (java.lang.String) ref); 1036 offset_ = b; 1037 return b; 1038 } else { 1039 return (com.google.protobuf.ByteString) ref; 1040 } 1041 } 1042 /** 1043 * <pre> 1044 * Offset is the last release name that was seen. The next listing 1045 * operation will start with the name after this one. 1046 * Example: If list one returns albert, bernie, carl, and sets 'next: dennis'. 1047 * dennis is the offset. Supplying 'dennis' for the next request should 1048 * cause the next batch to return a set of results starting with 'dennis'. 1049 * </pre> 1050 * 1051 * <code>string offset = 2;</code> 1052 */ 1053 public Builder setOffset( 1054 java.lang.String value) { 1055 if (value == null) { 1056 throw new NullPointerException(); 1057 } 1058 1059 offset_ = value; 1060 onChanged(); 1061 return this; 1062 } 1063 /** 1064 * <pre> 1065 * Offset is the last release name that was seen. The next listing 1066 * operation will start with the name after this one. 1067 * Example: If list one returns albert, bernie, carl, and sets 'next: dennis'. 1068 * dennis is the offset. Supplying 'dennis' for the next request should 1069 * cause the next batch to return a set of results starting with 'dennis'. 1070 * </pre> 1071 * 1072 * <code>string offset = 2;</code> 1073 */ 1074 public Builder clearOffset() { 1075 1076 offset_ = getDefaultInstance().getOffset(); 1077 onChanged(); 1078 return this; 1079 } 1080 /** 1081 * <pre> 1082 * Offset is the last release name that was seen. The next listing 1083 * operation will start with the name after this one. 1084 * Example: If list one returns albert, bernie, carl, and sets 'next: dennis'. 1085 * dennis is the offset. Supplying 'dennis' for the next request should 1086 * cause the next batch to return a set of results starting with 'dennis'. 1087 * </pre> 1088 * 1089 * <code>string offset = 2;</code> 1090 */ 1091 public Builder setOffsetBytes( 1092 com.google.protobuf.ByteString value) { 1093 if (value == null) { 1094 throw new NullPointerException(); 1095 } 1096 checkByteStringIsUtf8(value); 1097 1098 offset_ = value; 1099 onChanged(); 1100 return this; 1101 } 1102 1103 private int sortBy_ = 0; 1104 /** 1105 * <pre> 1106 * SortBy is the sort field that the ListReleases server should sort data before returning. 1107 * </pre> 1108 * 1109 * <code>.hapi.services.tiller.ListSort.SortBy sort_by = 3;</code> 1110 */ 1111 public int getSortByValue() { 1112 return sortBy_; 1113 } 1114 /** 1115 * <pre> 1116 * SortBy is the sort field that the ListReleases server should sort data before returning. 1117 * </pre> 1118 * 1119 * <code>.hapi.services.tiller.ListSort.SortBy sort_by = 3;</code> 1120 */ 1121 public Builder setSortByValue(int value) { 1122 sortBy_ = value; 1123 onChanged(); 1124 return this; 1125 } 1126 /** 1127 * <pre> 1128 * SortBy is the sort field that the ListReleases server should sort data before returning. 1129 * </pre> 1130 * 1131 * <code>.hapi.services.tiller.ListSort.SortBy sort_by = 3;</code> 1132 */ 1133 public hapi.services.tiller.Tiller.ListSort.SortBy getSortBy() { 1134 hapi.services.tiller.Tiller.ListSort.SortBy result = hapi.services.tiller.Tiller.ListSort.SortBy.valueOf(sortBy_); 1135 return result == null ? hapi.services.tiller.Tiller.ListSort.SortBy.UNRECOGNIZED : result; 1136 } 1137 /** 1138 * <pre> 1139 * SortBy is the sort field that the ListReleases server should sort data before returning. 1140 * </pre> 1141 * 1142 * <code>.hapi.services.tiller.ListSort.SortBy sort_by = 3;</code> 1143 */ 1144 public Builder setSortBy(hapi.services.tiller.Tiller.ListSort.SortBy value) { 1145 if (value == null) { 1146 throw new NullPointerException(); 1147 } 1148 1149 sortBy_ = value.getNumber(); 1150 onChanged(); 1151 return this; 1152 } 1153 /** 1154 * <pre> 1155 * SortBy is the sort field that the ListReleases server should sort data before returning. 1156 * </pre> 1157 * 1158 * <code>.hapi.services.tiller.ListSort.SortBy sort_by = 3;</code> 1159 */ 1160 public Builder clearSortBy() { 1161 1162 sortBy_ = 0; 1163 onChanged(); 1164 return this; 1165 } 1166 1167 private java.lang.Object filter_ = ""; 1168 /** 1169 * <pre> 1170 * Filter is a regular expression used to filter which releases should be listed. 1171 * Anything that matches the regexp will be included in the results. 1172 * </pre> 1173 * 1174 * <code>string filter = 4;</code> 1175 */ 1176 public java.lang.String getFilter() { 1177 java.lang.Object ref = filter_; 1178 if (!(ref instanceof java.lang.String)) { 1179 com.google.protobuf.ByteString bs = 1180 (com.google.protobuf.ByteString) ref; 1181 java.lang.String s = bs.toStringUtf8(); 1182 filter_ = s; 1183 return s; 1184 } else { 1185 return (java.lang.String) ref; 1186 } 1187 } 1188 /** 1189 * <pre> 1190 * Filter is a regular expression used to filter which releases should be listed. 1191 * Anything that matches the regexp will be included in the results. 1192 * </pre> 1193 * 1194 * <code>string filter = 4;</code> 1195 */ 1196 public com.google.protobuf.ByteString 1197 getFilterBytes() { 1198 java.lang.Object ref = filter_; 1199 if (ref instanceof String) { 1200 com.google.protobuf.ByteString b = 1201 com.google.protobuf.ByteString.copyFromUtf8( 1202 (java.lang.String) ref); 1203 filter_ = b; 1204 return b; 1205 } else { 1206 return (com.google.protobuf.ByteString) ref; 1207 } 1208 } 1209 /** 1210 * <pre> 1211 * Filter is a regular expression used to filter which releases should be listed. 1212 * Anything that matches the regexp will be included in the results. 1213 * </pre> 1214 * 1215 * <code>string filter = 4;</code> 1216 */ 1217 public Builder setFilter( 1218 java.lang.String value) { 1219 if (value == null) { 1220 throw new NullPointerException(); 1221 } 1222 1223 filter_ = value; 1224 onChanged(); 1225 return this; 1226 } 1227 /** 1228 * <pre> 1229 * Filter is a regular expression used to filter which releases should be listed. 1230 * Anything that matches the regexp will be included in the results. 1231 * </pre> 1232 * 1233 * <code>string filter = 4;</code> 1234 */ 1235 public Builder clearFilter() { 1236 1237 filter_ = getDefaultInstance().getFilter(); 1238 onChanged(); 1239 return this; 1240 } 1241 /** 1242 * <pre> 1243 * Filter is a regular expression used to filter which releases should be listed. 1244 * Anything that matches the regexp will be included in the results. 1245 * </pre> 1246 * 1247 * <code>string filter = 4;</code> 1248 */ 1249 public Builder setFilterBytes( 1250 com.google.protobuf.ByteString value) { 1251 if (value == null) { 1252 throw new NullPointerException(); 1253 } 1254 checkByteStringIsUtf8(value); 1255 1256 filter_ = value; 1257 onChanged(); 1258 return this; 1259 } 1260 1261 private int sortOrder_ = 0; 1262 /** 1263 * <pre> 1264 * SortOrder is the ordering directive used for sorting. 1265 * </pre> 1266 * 1267 * <code>.hapi.services.tiller.ListSort.SortOrder sort_order = 5;</code> 1268 */ 1269 public int getSortOrderValue() { 1270 return sortOrder_; 1271 } 1272 /** 1273 * <pre> 1274 * SortOrder is the ordering directive used for sorting. 1275 * </pre> 1276 * 1277 * <code>.hapi.services.tiller.ListSort.SortOrder sort_order = 5;</code> 1278 */ 1279 public Builder setSortOrderValue(int value) { 1280 sortOrder_ = value; 1281 onChanged(); 1282 return this; 1283 } 1284 /** 1285 * <pre> 1286 * SortOrder is the ordering directive used for sorting. 1287 * </pre> 1288 * 1289 * <code>.hapi.services.tiller.ListSort.SortOrder sort_order = 5;</code> 1290 */ 1291 public hapi.services.tiller.Tiller.ListSort.SortOrder getSortOrder() { 1292 hapi.services.tiller.Tiller.ListSort.SortOrder result = hapi.services.tiller.Tiller.ListSort.SortOrder.valueOf(sortOrder_); 1293 return result == null ? hapi.services.tiller.Tiller.ListSort.SortOrder.UNRECOGNIZED : result; 1294 } 1295 /** 1296 * <pre> 1297 * SortOrder is the ordering directive used for sorting. 1298 * </pre> 1299 * 1300 * <code>.hapi.services.tiller.ListSort.SortOrder sort_order = 5;</code> 1301 */ 1302 public Builder setSortOrder(hapi.services.tiller.Tiller.ListSort.SortOrder value) { 1303 if (value == null) { 1304 throw new NullPointerException(); 1305 } 1306 1307 sortOrder_ = value.getNumber(); 1308 onChanged(); 1309 return this; 1310 } 1311 /** 1312 * <pre> 1313 * SortOrder is the ordering directive used for sorting. 1314 * </pre> 1315 * 1316 * <code>.hapi.services.tiller.ListSort.SortOrder sort_order = 5;</code> 1317 */ 1318 public Builder clearSortOrder() { 1319 1320 sortOrder_ = 0; 1321 onChanged(); 1322 return this; 1323 } 1324 1325 private java.util.List<java.lang.Integer> statusCodes_ = 1326 java.util.Collections.emptyList(); 1327 private void ensureStatusCodesIsMutable() { 1328 if (!((bitField0_ & 0x00000020) == 0x00000020)) { 1329 statusCodes_ = new java.util.ArrayList<java.lang.Integer>(statusCodes_); 1330 bitField0_ |= 0x00000020; 1331 } 1332 } 1333 /** 1334 * <code>repeated .hapi.release.Status.Code status_codes = 6;</code> 1335 */ 1336 public java.util.List<hapi.release.StatusOuterClass.Status.Code> getStatusCodesList() { 1337 return new com.google.protobuf.Internal.ListAdapter< 1338 java.lang.Integer, hapi.release.StatusOuterClass.Status.Code>(statusCodes_, statusCodes_converter_); 1339 } 1340 /** 1341 * <code>repeated .hapi.release.Status.Code status_codes = 6;</code> 1342 */ 1343 public int getStatusCodesCount() { 1344 return statusCodes_.size(); 1345 } 1346 /** 1347 * <code>repeated .hapi.release.Status.Code status_codes = 6;</code> 1348 */ 1349 public hapi.release.StatusOuterClass.Status.Code getStatusCodes(int index) { 1350 return statusCodes_converter_.convert(statusCodes_.get(index)); 1351 } 1352 /** 1353 * <code>repeated .hapi.release.Status.Code status_codes = 6;</code> 1354 */ 1355 public Builder setStatusCodes( 1356 int index, hapi.release.StatusOuterClass.Status.Code value) { 1357 if (value == null) { 1358 throw new NullPointerException(); 1359 } 1360 ensureStatusCodesIsMutable(); 1361 statusCodes_.set(index, value.getNumber()); 1362 onChanged(); 1363 return this; 1364 } 1365 /** 1366 * <code>repeated .hapi.release.Status.Code status_codes = 6;</code> 1367 */ 1368 public Builder addStatusCodes(hapi.release.StatusOuterClass.Status.Code value) { 1369 if (value == null) { 1370 throw new NullPointerException(); 1371 } 1372 ensureStatusCodesIsMutable(); 1373 statusCodes_.add(value.getNumber()); 1374 onChanged(); 1375 return this; 1376 } 1377 /** 1378 * <code>repeated .hapi.release.Status.Code status_codes = 6;</code> 1379 */ 1380 public Builder addAllStatusCodes( 1381 java.lang.Iterable<? extends hapi.release.StatusOuterClass.Status.Code> values) { 1382 ensureStatusCodesIsMutable(); 1383 for (hapi.release.StatusOuterClass.Status.Code value : values) { 1384 statusCodes_.add(value.getNumber()); 1385 } 1386 onChanged(); 1387 return this; 1388 } 1389 /** 1390 * <code>repeated .hapi.release.Status.Code status_codes = 6;</code> 1391 */ 1392 public Builder clearStatusCodes() { 1393 statusCodes_ = java.util.Collections.emptyList(); 1394 bitField0_ = (bitField0_ & ~0x00000020); 1395 onChanged(); 1396 return this; 1397 } 1398 /** 1399 * <code>repeated .hapi.release.Status.Code status_codes = 6;</code> 1400 */ 1401 public java.util.List<java.lang.Integer> 1402 getStatusCodesValueList() { 1403 return java.util.Collections.unmodifiableList(statusCodes_); 1404 } 1405 /** 1406 * <code>repeated .hapi.release.Status.Code status_codes = 6;</code> 1407 */ 1408 public int getStatusCodesValue(int index) { 1409 return statusCodes_.get(index); 1410 } 1411 /** 1412 * <code>repeated .hapi.release.Status.Code status_codes = 6;</code> 1413 */ 1414 public Builder setStatusCodesValue( 1415 int index, int value) { 1416 ensureStatusCodesIsMutable(); 1417 statusCodes_.set(index, value); 1418 onChanged(); 1419 return this; 1420 } 1421 /** 1422 * <code>repeated .hapi.release.Status.Code status_codes = 6;</code> 1423 */ 1424 public Builder addStatusCodesValue(int value) { 1425 ensureStatusCodesIsMutable(); 1426 statusCodes_.add(value); 1427 onChanged(); 1428 return this; 1429 } 1430 /** 1431 * <code>repeated .hapi.release.Status.Code status_codes = 6;</code> 1432 */ 1433 public Builder addAllStatusCodesValue( 1434 java.lang.Iterable<java.lang.Integer> values) { 1435 ensureStatusCodesIsMutable(); 1436 for (int value : values) { 1437 statusCodes_.add(value); 1438 } 1439 onChanged(); 1440 return this; 1441 } 1442 1443 private java.lang.Object namespace_ = ""; 1444 /** 1445 * <pre> 1446 * Namespace is the filter to select releases only from a specific namespace. 1447 * </pre> 1448 * 1449 * <code>string namespace = 7;</code> 1450 */ 1451 public java.lang.String getNamespace() { 1452 java.lang.Object ref = namespace_; 1453 if (!(ref instanceof java.lang.String)) { 1454 com.google.protobuf.ByteString bs = 1455 (com.google.protobuf.ByteString) ref; 1456 java.lang.String s = bs.toStringUtf8(); 1457 namespace_ = s; 1458 return s; 1459 } else { 1460 return (java.lang.String) ref; 1461 } 1462 } 1463 /** 1464 * <pre> 1465 * Namespace is the filter to select releases only from a specific namespace. 1466 * </pre> 1467 * 1468 * <code>string namespace = 7;</code> 1469 */ 1470 public com.google.protobuf.ByteString 1471 getNamespaceBytes() { 1472 java.lang.Object ref = namespace_; 1473 if (ref instanceof String) { 1474 com.google.protobuf.ByteString b = 1475 com.google.protobuf.ByteString.copyFromUtf8( 1476 (java.lang.String) ref); 1477 namespace_ = b; 1478 return b; 1479 } else { 1480 return (com.google.protobuf.ByteString) ref; 1481 } 1482 } 1483 /** 1484 * <pre> 1485 * Namespace is the filter to select releases only from a specific namespace. 1486 * </pre> 1487 * 1488 * <code>string namespace = 7;</code> 1489 */ 1490 public Builder setNamespace( 1491 java.lang.String value) { 1492 if (value == null) { 1493 throw new NullPointerException(); 1494 } 1495 1496 namespace_ = value; 1497 onChanged(); 1498 return this; 1499 } 1500 /** 1501 * <pre> 1502 * Namespace is the filter to select releases only from a specific namespace. 1503 * </pre> 1504 * 1505 * <code>string namespace = 7;</code> 1506 */ 1507 public Builder clearNamespace() { 1508 1509 namespace_ = getDefaultInstance().getNamespace(); 1510 onChanged(); 1511 return this; 1512 } 1513 /** 1514 * <pre> 1515 * Namespace is the filter to select releases only from a specific namespace. 1516 * </pre> 1517 * 1518 * <code>string namespace = 7;</code> 1519 */ 1520 public Builder setNamespaceBytes( 1521 com.google.protobuf.ByteString value) { 1522 if (value == null) { 1523 throw new NullPointerException(); 1524 } 1525 checkByteStringIsUtf8(value); 1526 1527 namespace_ = value; 1528 onChanged(); 1529 return this; 1530 } 1531 public final Builder setUnknownFields( 1532 final com.google.protobuf.UnknownFieldSet unknownFields) { 1533 return super.setUnknownFieldsProto3(unknownFields); 1534 } 1535 1536 public final Builder mergeUnknownFields( 1537 final com.google.protobuf.UnknownFieldSet unknownFields) { 1538 return super.mergeUnknownFields(unknownFields); 1539 } 1540 1541 1542 // @@protoc_insertion_point(builder_scope:hapi.services.tiller.ListReleasesRequest) 1543 } 1544 1545 // @@protoc_insertion_point(class_scope:hapi.services.tiller.ListReleasesRequest) 1546 private static final hapi.services.tiller.Tiller.ListReleasesRequest DEFAULT_INSTANCE; 1547 static { 1548 DEFAULT_INSTANCE = new hapi.services.tiller.Tiller.ListReleasesRequest(); 1549 } 1550 1551 public static hapi.services.tiller.Tiller.ListReleasesRequest getDefaultInstance() { 1552 return DEFAULT_INSTANCE; 1553 } 1554 1555 private static final com.google.protobuf.Parser<ListReleasesRequest> 1556 PARSER = new com.google.protobuf.AbstractParser<ListReleasesRequest>() { 1557 public ListReleasesRequest parsePartialFrom( 1558 com.google.protobuf.CodedInputStream input, 1559 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1560 throws com.google.protobuf.InvalidProtocolBufferException { 1561 return new ListReleasesRequest(input, extensionRegistry); 1562 } 1563 }; 1564 1565 public static com.google.protobuf.Parser<ListReleasesRequest> parser() { 1566 return PARSER; 1567 } 1568 1569 @java.lang.Override 1570 public com.google.protobuf.Parser<ListReleasesRequest> getParserForType() { 1571 return PARSER; 1572 } 1573 1574 public hapi.services.tiller.Tiller.ListReleasesRequest getDefaultInstanceForType() { 1575 return DEFAULT_INSTANCE; 1576 } 1577 1578 } 1579 1580 public interface ListSortOrBuilder extends 1581 // @@protoc_insertion_point(interface_extends:hapi.services.tiller.ListSort) 1582 com.google.protobuf.MessageOrBuilder { 1583 } 1584 /** 1585 * <pre> 1586 * ListSort defines sorting fields on a release list. 1587 * </pre> 1588 * 1589 * Protobuf type {@code hapi.services.tiller.ListSort} 1590 */ 1591 public static final class ListSort extends 1592 com.google.protobuf.GeneratedMessageV3 implements 1593 // @@protoc_insertion_point(message_implements:hapi.services.tiller.ListSort) 1594 ListSortOrBuilder { 1595 private static final long serialVersionUID = 0L; 1596 // Use ListSort.newBuilder() to construct. 1597 private ListSort(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 1598 super(builder); 1599 } 1600 private ListSort() { 1601 } 1602 1603 @java.lang.Override 1604 public final com.google.protobuf.UnknownFieldSet 1605 getUnknownFields() { 1606 return this.unknownFields; 1607 } 1608 private ListSort( 1609 com.google.protobuf.CodedInputStream input, 1610 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1611 throws com.google.protobuf.InvalidProtocolBufferException { 1612 this(); 1613 if (extensionRegistry == null) { 1614 throw new java.lang.NullPointerException(); 1615 } 1616 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 1617 com.google.protobuf.UnknownFieldSet.newBuilder(); 1618 try { 1619 boolean done = false; 1620 while (!done) { 1621 int tag = input.readTag(); 1622 switch (tag) { 1623 case 0: 1624 done = true; 1625 break; 1626 default: { 1627 if (!parseUnknownFieldProto3( 1628 input, unknownFields, extensionRegistry, tag)) { 1629 done = true; 1630 } 1631 break; 1632 } 1633 } 1634 } 1635 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 1636 throw e.setUnfinishedMessage(this); 1637 } catch (java.io.IOException e) { 1638 throw new com.google.protobuf.InvalidProtocolBufferException( 1639 e).setUnfinishedMessage(this); 1640 } finally { 1641 this.unknownFields = unknownFields.build(); 1642 makeExtensionsImmutable(); 1643 } 1644 } 1645 public static final com.google.protobuf.Descriptors.Descriptor 1646 getDescriptor() { 1647 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_ListSort_descriptor; 1648 } 1649 1650 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 1651 internalGetFieldAccessorTable() { 1652 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_ListSort_fieldAccessorTable 1653 .ensureFieldAccessorsInitialized( 1654 hapi.services.tiller.Tiller.ListSort.class, hapi.services.tiller.Tiller.ListSort.Builder.class); 1655 } 1656 1657 /** 1658 * <pre> 1659 * SortBy defines sort operations. 1660 * </pre> 1661 * 1662 * Protobuf enum {@code hapi.services.tiller.ListSort.SortBy} 1663 */ 1664 public enum SortBy 1665 implements com.google.protobuf.ProtocolMessageEnum { 1666 /** 1667 * <code>UNKNOWN = 0;</code> 1668 */ 1669 UNKNOWN(0), 1670 /** 1671 * <code>NAME = 1;</code> 1672 */ 1673 NAME(1), 1674 /** 1675 * <code>LAST_RELEASED = 2;</code> 1676 */ 1677 LAST_RELEASED(2), 1678 UNRECOGNIZED(-1), 1679 ; 1680 1681 /** 1682 * <code>UNKNOWN = 0;</code> 1683 */ 1684 public static final int UNKNOWN_VALUE = 0; 1685 /** 1686 * <code>NAME = 1;</code> 1687 */ 1688 public static final int NAME_VALUE = 1; 1689 /** 1690 * <code>LAST_RELEASED = 2;</code> 1691 */ 1692 public static final int LAST_RELEASED_VALUE = 2; 1693 1694 1695 public final int getNumber() { 1696 if (this == UNRECOGNIZED) { 1697 throw new java.lang.IllegalArgumentException( 1698 "Can't get the number of an unknown enum value."); 1699 } 1700 return value; 1701 } 1702 1703 /** 1704 * @deprecated Use {@link #forNumber(int)} instead. 1705 */ 1706 @java.lang.Deprecated 1707 public static SortBy valueOf(int value) { 1708 return forNumber(value); 1709 } 1710 1711 public static SortBy forNumber(int value) { 1712 switch (value) { 1713 case 0: return UNKNOWN; 1714 case 1: return NAME; 1715 case 2: return LAST_RELEASED; 1716 default: return null; 1717 } 1718 } 1719 1720 public static com.google.protobuf.Internal.EnumLiteMap<SortBy> 1721 internalGetValueMap() { 1722 return internalValueMap; 1723 } 1724 private static final com.google.protobuf.Internal.EnumLiteMap< 1725 SortBy> internalValueMap = 1726 new com.google.protobuf.Internal.EnumLiteMap<SortBy>() { 1727 public SortBy findValueByNumber(int number) { 1728 return SortBy.forNumber(number); 1729 } 1730 }; 1731 1732 public final com.google.protobuf.Descriptors.EnumValueDescriptor 1733 getValueDescriptor() { 1734 return getDescriptor().getValues().get(ordinal()); 1735 } 1736 public final com.google.protobuf.Descriptors.EnumDescriptor 1737 getDescriptorForType() { 1738 return getDescriptor(); 1739 } 1740 public static final com.google.protobuf.Descriptors.EnumDescriptor 1741 getDescriptor() { 1742 return hapi.services.tiller.Tiller.ListSort.getDescriptor().getEnumTypes().get(0); 1743 } 1744 1745 private static final SortBy[] VALUES = values(); 1746 1747 public static SortBy valueOf( 1748 com.google.protobuf.Descriptors.EnumValueDescriptor desc) { 1749 if (desc.getType() != getDescriptor()) { 1750 throw new java.lang.IllegalArgumentException( 1751 "EnumValueDescriptor is not for this type."); 1752 } 1753 if (desc.getIndex() == -1) { 1754 return UNRECOGNIZED; 1755 } 1756 return VALUES[desc.getIndex()]; 1757 } 1758 1759 private final int value; 1760 1761 private SortBy(int value) { 1762 this.value = value; 1763 } 1764 1765 // @@protoc_insertion_point(enum_scope:hapi.services.tiller.ListSort.SortBy) 1766 } 1767 1768 /** 1769 * <pre> 1770 * SortOrder defines sort orders to augment sorting operations. 1771 * </pre> 1772 * 1773 * Protobuf enum {@code hapi.services.tiller.ListSort.SortOrder} 1774 */ 1775 public enum SortOrder 1776 implements com.google.protobuf.ProtocolMessageEnum { 1777 /** 1778 * <code>ASC = 0;</code> 1779 */ 1780 ASC(0), 1781 /** 1782 * <code>DESC = 1;</code> 1783 */ 1784 DESC(1), 1785 UNRECOGNIZED(-1), 1786 ; 1787 1788 /** 1789 * <code>ASC = 0;</code> 1790 */ 1791 public static final int ASC_VALUE = 0; 1792 /** 1793 * <code>DESC = 1;</code> 1794 */ 1795 public static final int DESC_VALUE = 1; 1796 1797 1798 public final int getNumber() { 1799 if (this == UNRECOGNIZED) { 1800 throw new java.lang.IllegalArgumentException( 1801 "Can't get the number of an unknown enum value."); 1802 } 1803 return value; 1804 } 1805 1806 /** 1807 * @deprecated Use {@link #forNumber(int)} instead. 1808 */ 1809 @java.lang.Deprecated 1810 public static SortOrder valueOf(int value) { 1811 return forNumber(value); 1812 } 1813 1814 public static SortOrder forNumber(int value) { 1815 switch (value) { 1816 case 0: return ASC; 1817 case 1: return DESC; 1818 default: return null; 1819 } 1820 } 1821 1822 public static com.google.protobuf.Internal.EnumLiteMap<SortOrder> 1823 internalGetValueMap() { 1824 return internalValueMap; 1825 } 1826 private static final com.google.protobuf.Internal.EnumLiteMap< 1827 SortOrder> internalValueMap = 1828 new com.google.protobuf.Internal.EnumLiteMap<SortOrder>() { 1829 public SortOrder findValueByNumber(int number) { 1830 return SortOrder.forNumber(number); 1831 } 1832 }; 1833 1834 public final com.google.protobuf.Descriptors.EnumValueDescriptor 1835 getValueDescriptor() { 1836 return getDescriptor().getValues().get(ordinal()); 1837 } 1838 public final com.google.protobuf.Descriptors.EnumDescriptor 1839 getDescriptorForType() { 1840 return getDescriptor(); 1841 } 1842 public static final com.google.protobuf.Descriptors.EnumDescriptor 1843 getDescriptor() { 1844 return hapi.services.tiller.Tiller.ListSort.getDescriptor().getEnumTypes().get(1); 1845 } 1846 1847 private static final SortOrder[] VALUES = values(); 1848 1849 public static SortOrder valueOf( 1850 com.google.protobuf.Descriptors.EnumValueDescriptor desc) { 1851 if (desc.getType() != getDescriptor()) { 1852 throw new java.lang.IllegalArgumentException( 1853 "EnumValueDescriptor is not for this type."); 1854 } 1855 if (desc.getIndex() == -1) { 1856 return UNRECOGNIZED; 1857 } 1858 return VALUES[desc.getIndex()]; 1859 } 1860 1861 private final int value; 1862 1863 private SortOrder(int value) { 1864 this.value = value; 1865 } 1866 1867 // @@protoc_insertion_point(enum_scope:hapi.services.tiller.ListSort.SortOrder) 1868 } 1869 1870 private byte memoizedIsInitialized = -1; 1871 public final boolean isInitialized() { 1872 byte isInitialized = memoizedIsInitialized; 1873 if (isInitialized == 1) return true; 1874 if (isInitialized == 0) return false; 1875 1876 memoizedIsInitialized = 1; 1877 return true; 1878 } 1879 1880 public void writeTo(com.google.protobuf.CodedOutputStream output) 1881 throws java.io.IOException { 1882 unknownFields.writeTo(output); 1883 } 1884 1885 public int getSerializedSize() { 1886 int size = memoizedSize; 1887 if (size != -1) return size; 1888 1889 size = 0; 1890 size += unknownFields.getSerializedSize(); 1891 memoizedSize = size; 1892 return size; 1893 } 1894 1895 @java.lang.Override 1896 public boolean equals(final java.lang.Object obj) { 1897 if (obj == this) { 1898 return true; 1899 } 1900 if (!(obj instanceof hapi.services.tiller.Tiller.ListSort)) { 1901 return super.equals(obj); 1902 } 1903 hapi.services.tiller.Tiller.ListSort other = (hapi.services.tiller.Tiller.ListSort) obj; 1904 1905 boolean result = true; 1906 result = result && unknownFields.equals(other.unknownFields); 1907 return result; 1908 } 1909 1910 @java.lang.Override 1911 public int hashCode() { 1912 if (memoizedHashCode != 0) { 1913 return memoizedHashCode; 1914 } 1915 int hash = 41; 1916 hash = (19 * hash) + getDescriptor().hashCode(); 1917 hash = (29 * hash) + unknownFields.hashCode(); 1918 memoizedHashCode = hash; 1919 return hash; 1920 } 1921 1922 public static hapi.services.tiller.Tiller.ListSort parseFrom( 1923 java.nio.ByteBuffer data) 1924 throws com.google.protobuf.InvalidProtocolBufferException { 1925 return PARSER.parseFrom(data); 1926 } 1927 public static hapi.services.tiller.Tiller.ListSort parseFrom( 1928 java.nio.ByteBuffer data, 1929 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1930 throws com.google.protobuf.InvalidProtocolBufferException { 1931 return PARSER.parseFrom(data, extensionRegistry); 1932 } 1933 public static hapi.services.tiller.Tiller.ListSort parseFrom( 1934 com.google.protobuf.ByteString data) 1935 throws com.google.protobuf.InvalidProtocolBufferException { 1936 return PARSER.parseFrom(data); 1937 } 1938 public static hapi.services.tiller.Tiller.ListSort parseFrom( 1939 com.google.protobuf.ByteString data, 1940 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1941 throws com.google.protobuf.InvalidProtocolBufferException { 1942 return PARSER.parseFrom(data, extensionRegistry); 1943 } 1944 public static hapi.services.tiller.Tiller.ListSort parseFrom(byte[] data) 1945 throws com.google.protobuf.InvalidProtocolBufferException { 1946 return PARSER.parseFrom(data); 1947 } 1948 public static hapi.services.tiller.Tiller.ListSort parseFrom( 1949 byte[] data, 1950 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1951 throws com.google.protobuf.InvalidProtocolBufferException { 1952 return PARSER.parseFrom(data, extensionRegistry); 1953 } 1954 public static hapi.services.tiller.Tiller.ListSort parseFrom(java.io.InputStream input) 1955 throws java.io.IOException { 1956 return com.google.protobuf.GeneratedMessageV3 1957 .parseWithIOException(PARSER, input); 1958 } 1959 public static hapi.services.tiller.Tiller.ListSort parseFrom( 1960 java.io.InputStream input, 1961 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1962 throws java.io.IOException { 1963 return com.google.protobuf.GeneratedMessageV3 1964 .parseWithIOException(PARSER, input, extensionRegistry); 1965 } 1966 public static hapi.services.tiller.Tiller.ListSort parseDelimitedFrom(java.io.InputStream input) 1967 throws java.io.IOException { 1968 return com.google.protobuf.GeneratedMessageV3 1969 .parseDelimitedWithIOException(PARSER, input); 1970 } 1971 public static hapi.services.tiller.Tiller.ListSort parseDelimitedFrom( 1972 java.io.InputStream input, 1973 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1974 throws java.io.IOException { 1975 return com.google.protobuf.GeneratedMessageV3 1976 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 1977 } 1978 public static hapi.services.tiller.Tiller.ListSort parseFrom( 1979 com.google.protobuf.CodedInputStream input) 1980 throws java.io.IOException { 1981 return com.google.protobuf.GeneratedMessageV3 1982 .parseWithIOException(PARSER, input); 1983 } 1984 public static hapi.services.tiller.Tiller.ListSort parseFrom( 1985 com.google.protobuf.CodedInputStream input, 1986 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1987 throws java.io.IOException { 1988 return com.google.protobuf.GeneratedMessageV3 1989 .parseWithIOException(PARSER, input, extensionRegistry); 1990 } 1991 1992 public Builder newBuilderForType() { return newBuilder(); } 1993 public static Builder newBuilder() { 1994 return DEFAULT_INSTANCE.toBuilder(); 1995 } 1996 public static Builder newBuilder(hapi.services.tiller.Tiller.ListSort prototype) { 1997 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 1998 } 1999 public Builder toBuilder() { 2000 return this == DEFAULT_INSTANCE 2001 ? new Builder() : new Builder().mergeFrom(this); 2002 } 2003 2004 @java.lang.Override 2005 protected Builder newBuilderForType( 2006 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 2007 Builder builder = new Builder(parent); 2008 return builder; 2009 } 2010 /** 2011 * <pre> 2012 * ListSort defines sorting fields on a release list. 2013 * </pre> 2014 * 2015 * Protobuf type {@code hapi.services.tiller.ListSort} 2016 */ 2017 public static final class Builder extends 2018 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 2019 // @@protoc_insertion_point(builder_implements:hapi.services.tiller.ListSort) 2020 hapi.services.tiller.Tiller.ListSortOrBuilder { 2021 public static final com.google.protobuf.Descriptors.Descriptor 2022 getDescriptor() { 2023 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_ListSort_descriptor; 2024 } 2025 2026 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 2027 internalGetFieldAccessorTable() { 2028 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_ListSort_fieldAccessorTable 2029 .ensureFieldAccessorsInitialized( 2030 hapi.services.tiller.Tiller.ListSort.class, hapi.services.tiller.Tiller.ListSort.Builder.class); 2031 } 2032 2033 // Construct using hapi.services.tiller.Tiller.ListSort.newBuilder() 2034 private Builder() { 2035 maybeForceBuilderInitialization(); 2036 } 2037 2038 private Builder( 2039 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 2040 super(parent); 2041 maybeForceBuilderInitialization(); 2042 } 2043 private void maybeForceBuilderInitialization() { 2044 if (com.google.protobuf.GeneratedMessageV3 2045 .alwaysUseFieldBuilders) { 2046 } 2047 } 2048 public Builder clear() { 2049 super.clear(); 2050 return this; 2051 } 2052 2053 public com.google.protobuf.Descriptors.Descriptor 2054 getDescriptorForType() { 2055 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_ListSort_descriptor; 2056 } 2057 2058 public hapi.services.tiller.Tiller.ListSort getDefaultInstanceForType() { 2059 return hapi.services.tiller.Tiller.ListSort.getDefaultInstance(); 2060 } 2061 2062 public hapi.services.tiller.Tiller.ListSort build() { 2063 hapi.services.tiller.Tiller.ListSort result = buildPartial(); 2064 if (!result.isInitialized()) { 2065 throw newUninitializedMessageException(result); 2066 } 2067 return result; 2068 } 2069 2070 public hapi.services.tiller.Tiller.ListSort buildPartial() { 2071 hapi.services.tiller.Tiller.ListSort result = new hapi.services.tiller.Tiller.ListSort(this); 2072 onBuilt(); 2073 return result; 2074 } 2075 2076 public Builder clone() { 2077 return (Builder) super.clone(); 2078 } 2079 public Builder setField( 2080 com.google.protobuf.Descriptors.FieldDescriptor field, 2081 java.lang.Object value) { 2082 return (Builder) super.setField(field, value); 2083 } 2084 public Builder clearField( 2085 com.google.protobuf.Descriptors.FieldDescriptor field) { 2086 return (Builder) super.clearField(field); 2087 } 2088 public Builder clearOneof( 2089 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 2090 return (Builder) super.clearOneof(oneof); 2091 } 2092 public Builder setRepeatedField( 2093 com.google.protobuf.Descriptors.FieldDescriptor field, 2094 int index, java.lang.Object value) { 2095 return (Builder) super.setRepeatedField(field, index, value); 2096 } 2097 public Builder addRepeatedField( 2098 com.google.protobuf.Descriptors.FieldDescriptor field, 2099 java.lang.Object value) { 2100 return (Builder) super.addRepeatedField(field, value); 2101 } 2102 public Builder mergeFrom(com.google.protobuf.Message other) { 2103 if (other instanceof hapi.services.tiller.Tiller.ListSort) { 2104 return mergeFrom((hapi.services.tiller.Tiller.ListSort)other); 2105 } else { 2106 super.mergeFrom(other); 2107 return this; 2108 } 2109 } 2110 2111 public Builder mergeFrom(hapi.services.tiller.Tiller.ListSort other) { 2112 if (other == hapi.services.tiller.Tiller.ListSort.getDefaultInstance()) return this; 2113 this.mergeUnknownFields(other.unknownFields); 2114 onChanged(); 2115 return this; 2116 } 2117 2118 public final boolean isInitialized() { 2119 return true; 2120 } 2121 2122 public Builder mergeFrom( 2123 com.google.protobuf.CodedInputStream input, 2124 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2125 throws java.io.IOException { 2126 hapi.services.tiller.Tiller.ListSort parsedMessage = null; 2127 try { 2128 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 2129 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 2130 parsedMessage = (hapi.services.tiller.Tiller.ListSort) e.getUnfinishedMessage(); 2131 throw e.unwrapIOException(); 2132 } finally { 2133 if (parsedMessage != null) { 2134 mergeFrom(parsedMessage); 2135 } 2136 } 2137 return this; 2138 } 2139 public final Builder setUnknownFields( 2140 final com.google.protobuf.UnknownFieldSet unknownFields) { 2141 return super.setUnknownFieldsProto3(unknownFields); 2142 } 2143 2144 public final Builder mergeUnknownFields( 2145 final com.google.protobuf.UnknownFieldSet unknownFields) { 2146 return super.mergeUnknownFields(unknownFields); 2147 } 2148 2149 2150 // @@protoc_insertion_point(builder_scope:hapi.services.tiller.ListSort) 2151 } 2152 2153 // @@protoc_insertion_point(class_scope:hapi.services.tiller.ListSort) 2154 private static final hapi.services.tiller.Tiller.ListSort DEFAULT_INSTANCE; 2155 static { 2156 DEFAULT_INSTANCE = new hapi.services.tiller.Tiller.ListSort(); 2157 } 2158 2159 public static hapi.services.tiller.Tiller.ListSort getDefaultInstance() { 2160 return DEFAULT_INSTANCE; 2161 } 2162 2163 private static final com.google.protobuf.Parser<ListSort> 2164 PARSER = new com.google.protobuf.AbstractParser<ListSort>() { 2165 public ListSort parsePartialFrom( 2166 com.google.protobuf.CodedInputStream input, 2167 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2168 throws com.google.protobuf.InvalidProtocolBufferException { 2169 return new ListSort(input, extensionRegistry); 2170 } 2171 }; 2172 2173 public static com.google.protobuf.Parser<ListSort> parser() { 2174 return PARSER; 2175 } 2176 2177 @java.lang.Override 2178 public com.google.protobuf.Parser<ListSort> getParserForType() { 2179 return PARSER; 2180 } 2181 2182 public hapi.services.tiller.Tiller.ListSort getDefaultInstanceForType() { 2183 return DEFAULT_INSTANCE; 2184 } 2185 2186 } 2187 2188 public interface ListReleasesResponseOrBuilder extends 2189 // @@protoc_insertion_point(interface_extends:hapi.services.tiller.ListReleasesResponse) 2190 com.google.protobuf.MessageOrBuilder { 2191 2192 /** 2193 * <pre> 2194 * Count is the expected total number of releases to be returned. 2195 * </pre> 2196 * 2197 * <code>int64 count = 1;</code> 2198 */ 2199 long getCount(); 2200 2201 /** 2202 * <pre> 2203 * Next is the name of the next release. If this is other than an empty 2204 * string, it means there are more results. 2205 * </pre> 2206 * 2207 * <code>string next = 2;</code> 2208 */ 2209 java.lang.String getNext(); 2210 /** 2211 * <pre> 2212 * Next is the name of the next release. If this is other than an empty 2213 * string, it means there are more results. 2214 * </pre> 2215 * 2216 * <code>string next = 2;</code> 2217 */ 2218 com.google.protobuf.ByteString 2219 getNextBytes(); 2220 2221 /** 2222 * <pre> 2223 * Total is the total number of queryable releases. 2224 * </pre> 2225 * 2226 * <code>int64 total = 3;</code> 2227 */ 2228 long getTotal(); 2229 2230 /** 2231 * <pre> 2232 * Releases is the list of found release objects. 2233 * </pre> 2234 * 2235 * <code>repeated .hapi.release.Release releases = 4;</code> 2236 */ 2237 java.util.List<hapi.release.ReleaseOuterClass.Release> 2238 getReleasesList(); 2239 /** 2240 * <pre> 2241 * Releases is the list of found release objects. 2242 * </pre> 2243 * 2244 * <code>repeated .hapi.release.Release releases = 4;</code> 2245 */ 2246 hapi.release.ReleaseOuterClass.Release getReleases(int index); 2247 /** 2248 * <pre> 2249 * Releases is the list of found release objects. 2250 * </pre> 2251 * 2252 * <code>repeated .hapi.release.Release releases = 4;</code> 2253 */ 2254 int getReleasesCount(); 2255 /** 2256 * <pre> 2257 * Releases is the list of found release objects. 2258 * </pre> 2259 * 2260 * <code>repeated .hapi.release.Release releases = 4;</code> 2261 */ 2262 java.util.List<? extends hapi.release.ReleaseOuterClass.ReleaseOrBuilder> 2263 getReleasesOrBuilderList(); 2264 /** 2265 * <pre> 2266 * Releases is the list of found release objects. 2267 * </pre> 2268 * 2269 * <code>repeated .hapi.release.Release releases = 4;</code> 2270 */ 2271 hapi.release.ReleaseOuterClass.ReleaseOrBuilder getReleasesOrBuilder( 2272 int index); 2273 } 2274 /** 2275 * <pre> 2276 * ListReleasesResponse is a list of releases. 2277 * </pre> 2278 * 2279 * Protobuf type {@code hapi.services.tiller.ListReleasesResponse} 2280 */ 2281 public static final class ListReleasesResponse extends 2282 com.google.protobuf.GeneratedMessageV3 implements 2283 // @@protoc_insertion_point(message_implements:hapi.services.tiller.ListReleasesResponse) 2284 ListReleasesResponseOrBuilder { 2285 private static final long serialVersionUID = 0L; 2286 // Use ListReleasesResponse.newBuilder() to construct. 2287 private ListReleasesResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 2288 super(builder); 2289 } 2290 private ListReleasesResponse() { 2291 count_ = 0L; 2292 next_ = ""; 2293 total_ = 0L; 2294 releases_ = java.util.Collections.emptyList(); 2295 } 2296 2297 @java.lang.Override 2298 public final com.google.protobuf.UnknownFieldSet 2299 getUnknownFields() { 2300 return this.unknownFields; 2301 } 2302 private ListReleasesResponse( 2303 com.google.protobuf.CodedInputStream input, 2304 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2305 throws com.google.protobuf.InvalidProtocolBufferException { 2306 this(); 2307 if (extensionRegistry == null) { 2308 throw new java.lang.NullPointerException(); 2309 } 2310 int mutable_bitField0_ = 0; 2311 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 2312 com.google.protobuf.UnknownFieldSet.newBuilder(); 2313 try { 2314 boolean done = false; 2315 while (!done) { 2316 int tag = input.readTag(); 2317 switch (tag) { 2318 case 0: 2319 done = true; 2320 break; 2321 default: { 2322 if (!parseUnknownFieldProto3( 2323 input, unknownFields, extensionRegistry, tag)) { 2324 done = true; 2325 } 2326 break; 2327 } 2328 case 8: { 2329 2330 count_ = input.readInt64(); 2331 break; 2332 } 2333 case 18: { 2334 java.lang.String s = input.readStringRequireUtf8(); 2335 2336 next_ = s; 2337 break; 2338 } 2339 case 24: { 2340 2341 total_ = input.readInt64(); 2342 break; 2343 } 2344 case 34: { 2345 if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { 2346 releases_ = new java.util.ArrayList<hapi.release.ReleaseOuterClass.Release>(); 2347 mutable_bitField0_ |= 0x00000008; 2348 } 2349 releases_.add( 2350 input.readMessage(hapi.release.ReleaseOuterClass.Release.parser(), extensionRegistry)); 2351 break; 2352 } 2353 } 2354 } 2355 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 2356 throw e.setUnfinishedMessage(this); 2357 } catch (java.io.IOException e) { 2358 throw new com.google.protobuf.InvalidProtocolBufferException( 2359 e).setUnfinishedMessage(this); 2360 } finally { 2361 if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { 2362 releases_ = java.util.Collections.unmodifiableList(releases_); 2363 } 2364 this.unknownFields = unknownFields.build(); 2365 makeExtensionsImmutable(); 2366 } 2367 } 2368 public static final com.google.protobuf.Descriptors.Descriptor 2369 getDescriptor() { 2370 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_ListReleasesResponse_descriptor; 2371 } 2372 2373 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 2374 internalGetFieldAccessorTable() { 2375 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_ListReleasesResponse_fieldAccessorTable 2376 .ensureFieldAccessorsInitialized( 2377 hapi.services.tiller.Tiller.ListReleasesResponse.class, hapi.services.tiller.Tiller.ListReleasesResponse.Builder.class); 2378 } 2379 2380 private int bitField0_; 2381 public static final int COUNT_FIELD_NUMBER = 1; 2382 private long count_; 2383 /** 2384 * <pre> 2385 * Count is the expected total number of releases to be returned. 2386 * </pre> 2387 * 2388 * <code>int64 count = 1;</code> 2389 */ 2390 public long getCount() { 2391 return count_; 2392 } 2393 2394 public static final int NEXT_FIELD_NUMBER = 2; 2395 private volatile java.lang.Object next_; 2396 /** 2397 * <pre> 2398 * Next is the name of the next release. If this is other than an empty 2399 * string, it means there are more results. 2400 * </pre> 2401 * 2402 * <code>string next = 2;</code> 2403 */ 2404 public java.lang.String getNext() { 2405 java.lang.Object ref = next_; 2406 if (ref instanceof java.lang.String) { 2407 return (java.lang.String) ref; 2408 } else { 2409 com.google.protobuf.ByteString bs = 2410 (com.google.protobuf.ByteString) ref; 2411 java.lang.String s = bs.toStringUtf8(); 2412 next_ = s; 2413 return s; 2414 } 2415 } 2416 /** 2417 * <pre> 2418 * Next is the name of the next release. If this is other than an empty 2419 * string, it means there are more results. 2420 * </pre> 2421 * 2422 * <code>string next = 2;</code> 2423 */ 2424 public com.google.protobuf.ByteString 2425 getNextBytes() { 2426 java.lang.Object ref = next_; 2427 if (ref instanceof java.lang.String) { 2428 com.google.protobuf.ByteString b = 2429 com.google.protobuf.ByteString.copyFromUtf8( 2430 (java.lang.String) ref); 2431 next_ = b; 2432 return b; 2433 } else { 2434 return (com.google.protobuf.ByteString) ref; 2435 } 2436 } 2437 2438 public static final int TOTAL_FIELD_NUMBER = 3; 2439 private long total_; 2440 /** 2441 * <pre> 2442 * Total is the total number of queryable releases. 2443 * </pre> 2444 * 2445 * <code>int64 total = 3;</code> 2446 */ 2447 public long getTotal() { 2448 return total_; 2449 } 2450 2451 public static final int RELEASES_FIELD_NUMBER = 4; 2452 private java.util.List<hapi.release.ReleaseOuterClass.Release> releases_; 2453 /** 2454 * <pre> 2455 * Releases is the list of found release objects. 2456 * </pre> 2457 * 2458 * <code>repeated .hapi.release.Release releases = 4;</code> 2459 */ 2460 public java.util.List<hapi.release.ReleaseOuterClass.Release> getReleasesList() { 2461 return releases_; 2462 } 2463 /** 2464 * <pre> 2465 * Releases is the list of found release objects. 2466 * </pre> 2467 * 2468 * <code>repeated .hapi.release.Release releases = 4;</code> 2469 */ 2470 public java.util.List<? extends hapi.release.ReleaseOuterClass.ReleaseOrBuilder> 2471 getReleasesOrBuilderList() { 2472 return releases_; 2473 } 2474 /** 2475 * <pre> 2476 * Releases is the list of found release objects. 2477 * </pre> 2478 * 2479 * <code>repeated .hapi.release.Release releases = 4;</code> 2480 */ 2481 public int getReleasesCount() { 2482 return releases_.size(); 2483 } 2484 /** 2485 * <pre> 2486 * Releases is the list of found release objects. 2487 * </pre> 2488 * 2489 * <code>repeated .hapi.release.Release releases = 4;</code> 2490 */ 2491 public hapi.release.ReleaseOuterClass.Release getReleases(int index) { 2492 return releases_.get(index); 2493 } 2494 /** 2495 * <pre> 2496 * Releases is the list of found release objects. 2497 * </pre> 2498 * 2499 * <code>repeated .hapi.release.Release releases = 4;</code> 2500 */ 2501 public hapi.release.ReleaseOuterClass.ReleaseOrBuilder getReleasesOrBuilder( 2502 int index) { 2503 return releases_.get(index); 2504 } 2505 2506 private byte memoizedIsInitialized = -1; 2507 public final boolean isInitialized() { 2508 byte isInitialized = memoizedIsInitialized; 2509 if (isInitialized == 1) return true; 2510 if (isInitialized == 0) return false; 2511 2512 memoizedIsInitialized = 1; 2513 return true; 2514 } 2515 2516 public void writeTo(com.google.protobuf.CodedOutputStream output) 2517 throws java.io.IOException { 2518 if (count_ != 0L) { 2519 output.writeInt64(1, count_); 2520 } 2521 if (!getNextBytes().isEmpty()) { 2522 com.google.protobuf.GeneratedMessageV3.writeString(output, 2, next_); 2523 } 2524 if (total_ != 0L) { 2525 output.writeInt64(3, total_); 2526 } 2527 for (int i = 0; i < releases_.size(); i++) { 2528 output.writeMessage(4, releases_.get(i)); 2529 } 2530 unknownFields.writeTo(output); 2531 } 2532 2533 public int getSerializedSize() { 2534 int size = memoizedSize; 2535 if (size != -1) return size; 2536 2537 size = 0; 2538 if (count_ != 0L) { 2539 size += com.google.protobuf.CodedOutputStream 2540 .computeInt64Size(1, count_); 2541 } 2542 if (!getNextBytes().isEmpty()) { 2543 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, next_); 2544 } 2545 if (total_ != 0L) { 2546 size += com.google.protobuf.CodedOutputStream 2547 .computeInt64Size(3, total_); 2548 } 2549 for (int i = 0; i < releases_.size(); i++) { 2550 size += com.google.protobuf.CodedOutputStream 2551 .computeMessageSize(4, releases_.get(i)); 2552 } 2553 size += unknownFields.getSerializedSize(); 2554 memoizedSize = size; 2555 return size; 2556 } 2557 2558 @java.lang.Override 2559 public boolean equals(final java.lang.Object obj) { 2560 if (obj == this) { 2561 return true; 2562 } 2563 if (!(obj instanceof hapi.services.tiller.Tiller.ListReleasesResponse)) { 2564 return super.equals(obj); 2565 } 2566 hapi.services.tiller.Tiller.ListReleasesResponse other = (hapi.services.tiller.Tiller.ListReleasesResponse) obj; 2567 2568 boolean result = true; 2569 result = result && (getCount() 2570 == other.getCount()); 2571 result = result && getNext() 2572 .equals(other.getNext()); 2573 result = result && (getTotal() 2574 == other.getTotal()); 2575 result = result && getReleasesList() 2576 .equals(other.getReleasesList()); 2577 result = result && unknownFields.equals(other.unknownFields); 2578 return result; 2579 } 2580 2581 @java.lang.Override 2582 public int hashCode() { 2583 if (memoizedHashCode != 0) { 2584 return memoizedHashCode; 2585 } 2586 int hash = 41; 2587 hash = (19 * hash) + getDescriptor().hashCode(); 2588 hash = (37 * hash) + COUNT_FIELD_NUMBER; 2589 hash = (53 * hash) + com.google.protobuf.Internal.hashLong( 2590 getCount()); 2591 hash = (37 * hash) + NEXT_FIELD_NUMBER; 2592 hash = (53 * hash) + getNext().hashCode(); 2593 hash = (37 * hash) + TOTAL_FIELD_NUMBER; 2594 hash = (53 * hash) + com.google.protobuf.Internal.hashLong( 2595 getTotal()); 2596 if (getReleasesCount() > 0) { 2597 hash = (37 * hash) + RELEASES_FIELD_NUMBER; 2598 hash = (53 * hash) + getReleasesList().hashCode(); 2599 } 2600 hash = (29 * hash) + unknownFields.hashCode(); 2601 memoizedHashCode = hash; 2602 return hash; 2603 } 2604 2605 public static hapi.services.tiller.Tiller.ListReleasesResponse parseFrom( 2606 java.nio.ByteBuffer data) 2607 throws com.google.protobuf.InvalidProtocolBufferException { 2608 return PARSER.parseFrom(data); 2609 } 2610 public static hapi.services.tiller.Tiller.ListReleasesResponse parseFrom( 2611 java.nio.ByteBuffer data, 2612 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2613 throws com.google.protobuf.InvalidProtocolBufferException { 2614 return PARSER.parseFrom(data, extensionRegistry); 2615 } 2616 public static hapi.services.tiller.Tiller.ListReleasesResponse parseFrom( 2617 com.google.protobuf.ByteString data) 2618 throws com.google.protobuf.InvalidProtocolBufferException { 2619 return PARSER.parseFrom(data); 2620 } 2621 public static hapi.services.tiller.Tiller.ListReleasesResponse parseFrom( 2622 com.google.protobuf.ByteString data, 2623 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2624 throws com.google.protobuf.InvalidProtocolBufferException { 2625 return PARSER.parseFrom(data, extensionRegistry); 2626 } 2627 public static hapi.services.tiller.Tiller.ListReleasesResponse parseFrom(byte[] data) 2628 throws com.google.protobuf.InvalidProtocolBufferException { 2629 return PARSER.parseFrom(data); 2630 } 2631 public static hapi.services.tiller.Tiller.ListReleasesResponse parseFrom( 2632 byte[] data, 2633 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2634 throws com.google.protobuf.InvalidProtocolBufferException { 2635 return PARSER.parseFrom(data, extensionRegistry); 2636 } 2637 public static hapi.services.tiller.Tiller.ListReleasesResponse parseFrom(java.io.InputStream input) 2638 throws java.io.IOException { 2639 return com.google.protobuf.GeneratedMessageV3 2640 .parseWithIOException(PARSER, input); 2641 } 2642 public static hapi.services.tiller.Tiller.ListReleasesResponse parseFrom( 2643 java.io.InputStream input, 2644 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2645 throws java.io.IOException { 2646 return com.google.protobuf.GeneratedMessageV3 2647 .parseWithIOException(PARSER, input, extensionRegistry); 2648 } 2649 public static hapi.services.tiller.Tiller.ListReleasesResponse parseDelimitedFrom(java.io.InputStream input) 2650 throws java.io.IOException { 2651 return com.google.protobuf.GeneratedMessageV3 2652 .parseDelimitedWithIOException(PARSER, input); 2653 } 2654 public static hapi.services.tiller.Tiller.ListReleasesResponse parseDelimitedFrom( 2655 java.io.InputStream input, 2656 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2657 throws java.io.IOException { 2658 return com.google.protobuf.GeneratedMessageV3 2659 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 2660 } 2661 public static hapi.services.tiller.Tiller.ListReleasesResponse parseFrom( 2662 com.google.protobuf.CodedInputStream input) 2663 throws java.io.IOException { 2664 return com.google.protobuf.GeneratedMessageV3 2665 .parseWithIOException(PARSER, input); 2666 } 2667 public static hapi.services.tiller.Tiller.ListReleasesResponse parseFrom( 2668 com.google.protobuf.CodedInputStream input, 2669 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2670 throws java.io.IOException { 2671 return com.google.protobuf.GeneratedMessageV3 2672 .parseWithIOException(PARSER, input, extensionRegistry); 2673 } 2674 2675 public Builder newBuilderForType() { return newBuilder(); } 2676 public static Builder newBuilder() { 2677 return DEFAULT_INSTANCE.toBuilder(); 2678 } 2679 public static Builder newBuilder(hapi.services.tiller.Tiller.ListReleasesResponse prototype) { 2680 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 2681 } 2682 public Builder toBuilder() { 2683 return this == DEFAULT_INSTANCE 2684 ? new Builder() : new Builder().mergeFrom(this); 2685 } 2686 2687 @java.lang.Override 2688 protected Builder newBuilderForType( 2689 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 2690 Builder builder = new Builder(parent); 2691 return builder; 2692 } 2693 /** 2694 * <pre> 2695 * ListReleasesResponse is a list of releases. 2696 * </pre> 2697 * 2698 * Protobuf type {@code hapi.services.tiller.ListReleasesResponse} 2699 */ 2700 public static final class Builder extends 2701 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 2702 // @@protoc_insertion_point(builder_implements:hapi.services.tiller.ListReleasesResponse) 2703 hapi.services.tiller.Tiller.ListReleasesResponseOrBuilder { 2704 public static final com.google.protobuf.Descriptors.Descriptor 2705 getDescriptor() { 2706 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_ListReleasesResponse_descriptor; 2707 } 2708 2709 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 2710 internalGetFieldAccessorTable() { 2711 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_ListReleasesResponse_fieldAccessorTable 2712 .ensureFieldAccessorsInitialized( 2713 hapi.services.tiller.Tiller.ListReleasesResponse.class, hapi.services.tiller.Tiller.ListReleasesResponse.Builder.class); 2714 } 2715 2716 // Construct using hapi.services.tiller.Tiller.ListReleasesResponse.newBuilder() 2717 private Builder() { 2718 maybeForceBuilderInitialization(); 2719 } 2720 2721 private Builder( 2722 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 2723 super(parent); 2724 maybeForceBuilderInitialization(); 2725 } 2726 private void maybeForceBuilderInitialization() { 2727 if (com.google.protobuf.GeneratedMessageV3 2728 .alwaysUseFieldBuilders) { 2729 getReleasesFieldBuilder(); 2730 } 2731 } 2732 public Builder clear() { 2733 super.clear(); 2734 count_ = 0L; 2735 2736 next_ = ""; 2737 2738 total_ = 0L; 2739 2740 if (releasesBuilder_ == null) { 2741 releases_ = java.util.Collections.emptyList(); 2742 bitField0_ = (bitField0_ & ~0x00000008); 2743 } else { 2744 releasesBuilder_.clear(); 2745 } 2746 return this; 2747 } 2748 2749 public com.google.protobuf.Descriptors.Descriptor 2750 getDescriptorForType() { 2751 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_ListReleasesResponse_descriptor; 2752 } 2753 2754 public hapi.services.tiller.Tiller.ListReleasesResponse getDefaultInstanceForType() { 2755 return hapi.services.tiller.Tiller.ListReleasesResponse.getDefaultInstance(); 2756 } 2757 2758 public hapi.services.tiller.Tiller.ListReleasesResponse build() { 2759 hapi.services.tiller.Tiller.ListReleasesResponse result = buildPartial(); 2760 if (!result.isInitialized()) { 2761 throw newUninitializedMessageException(result); 2762 } 2763 return result; 2764 } 2765 2766 public hapi.services.tiller.Tiller.ListReleasesResponse buildPartial() { 2767 hapi.services.tiller.Tiller.ListReleasesResponse result = new hapi.services.tiller.Tiller.ListReleasesResponse(this); 2768 int from_bitField0_ = bitField0_; 2769 int to_bitField0_ = 0; 2770 result.count_ = count_; 2771 result.next_ = next_; 2772 result.total_ = total_; 2773 if (releasesBuilder_ == null) { 2774 if (((bitField0_ & 0x00000008) == 0x00000008)) { 2775 releases_ = java.util.Collections.unmodifiableList(releases_); 2776 bitField0_ = (bitField0_ & ~0x00000008); 2777 } 2778 result.releases_ = releases_; 2779 } else { 2780 result.releases_ = releasesBuilder_.build(); 2781 } 2782 result.bitField0_ = to_bitField0_; 2783 onBuilt(); 2784 return result; 2785 } 2786 2787 public Builder clone() { 2788 return (Builder) super.clone(); 2789 } 2790 public Builder setField( 2791 com.google.protobuf.Descriptors.FieldDescriptor field, 2792 java.lang.Object value) { 2793 return (Builder) super.setField(field, value); 2794 } 2795 public Builder clearField( 2796 com.google.protobuf.Descriptors.FieldDescriptor field) { 2797 return (Builder) super.clearField(field); 2798 } 2799 public Builder clearOneof( 2800 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 2801 return (Builder) super.clearOneof(oneof); 2802 } 2803 public Builder setRepeatedField( 2804 com.google.protobuf.Descriptors.FieldDescriptor field, 2805 int index, java.lang.Object value) { 2806 return (Builder) super.setRepeatedField(field, index, value); 2807 } 2808 public Builder addRepeatedField( 2809 com.google.protobuf.Descriptors.FieldDescriptor field, 2810 java.lang.Object value) { 2811 return (Builder) super.addRepeatedField(field, value); 2812 } 2813 public Builder mergeFrom(com.google.protobuf.Message other) { 2814 if (other instanceof hapi.services.tiller.Tiller.ListReleasesResponse) { 2815 return mergeFrom((hapi.services.tiller.Tiller.ListReleasesResponse)other); 2816 } else { 2817 super.mergeFrom(other); 2818 return this; 2819 } 2820 } 2821 2822 public Builder mergeFrom(hapi.services.tiller.Tiller.ListReleasesResponse other) { 2823 if (other == hapi.services.tiller.Tiller.ListReleasesResponse.getDefaultInstance()) return this; 2824 if (other.getCount() != 0L) { 2825 setCount(other.getCount()); 2826 } 2827 if (!other.getNext().isEmpty()) { 2828 next_ = other.next_; 2829 onChanged(); 2830 } 2831 if (other.getTotal() != 0L) { 2832 setTotal(other.getTotal()); 2833 } 2834 if (releasesBuilder_ == null) { 2835 if (!other.releases_.isEmpty()) { 2836 if (releases_.isEmpty()) { 2837 releases_ = other.releases_; 2838 bitField0_ = (bitField0_ & ~0x00000008); 2839 } else { 2840 ensureReleasesIsMutable(); 2841 releases_.addAll(other.releases_); 2842 } 2843 onChanged(); 2844 } 2845 } else { 2846 if (!other.releases_.isEmpty()) { 2847 if (releasesBuilder_.isEmpty()) { 2848 releasesBuilder_.dispose(); 2849 releasesBuilder_ = null; 2850 releases_ = other.releases_; 2851 bitField0_ = (bitField0_ & ~0x00000008); 2852 releasesBuilder_ = 2853 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 2854 getReleasesFieldBuilder() : null; 2855 } else { 2856 releasesBuilder_.addAllMessages(other.releases_); 2857 } 2858 } 2859 } 2860 this.mergeUnknownFields(other.unknownFields); 2861 onChanged(); 2862 return this; 2863 } 2864 2865 public final boolean isInitialized() { 2866 return true; 2867 } 2868 2869 public Builder mergeFrom( 2870 com.google.protobuf.CodedInputStream input, 2871 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2872 throws java.io.IOException { 2873 hapi.services.tiller.Tiller.ListReleasesResponse parsedMessage = null; 2874 try { 2875 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 2876 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 2877 parsedMessage = (hapi.services.tiller.Tiller.ListReleasesResponse) e.getUnfinishedMessage(); 2878 throw e.unwrapIOException(); 2879 } finally { 2880 if (parsedMessage != null) { 2881 mergeFrom(parsedMessage); 2882 } 2883 } 2884 return this; 2885 } 2886 private int bitField0_; 2887 2888 private long count_ ; 2889 /** 2890 * <pre> 2891 * Count is the expected total number of releases to be returned. 2892 * </pre> 2893 * 2894 * <code>int64 count = 1;</code> 2895 */ 2896 public long getCount() { 2897 return count_; 2898 } 2899 /** 2900 * <pre> 2901 * Count is the expected total number of releases to be returned. 2902 * </pre> 2903 * 2904 * <code>int64 count = 1;</code> 2905 */ 2906 public Builder setCount(long value) { 2907 2908 count_ = value; 2909 onChanged(); 2910 return this; 2911 } 2912 /** 2913 * <pre> 2914 * Count is the expected total number of releases to be returned. 2915 * </pre> 2916 * 2917 * <code>int64 count = 1;</code> 2918 */ 2919 public Builder clearCount() { 2920 2921 count_ = 0L; 2922 onChanged(); 2923 return this; 2924 } 2925 2926 private java.lang.Object next_ = ""; 2927 /** 2928 * <pre> 2929 * Next is the name of the next release. If this is other than an empty 2930 * string, it means there are more results. 2931 * </pre> 2932 * 2933 * <code>string next = 2;</code> 2934 */ 2935 public java.lang.String getNext() { 2936 java.lang.Object ref = next_; 2937 if (!(ref instanceof java.lang.String)) { 2938 com.google.protobuf.ByteString bs = 2939 (com.google.protobuf.ByteString) ref; 2940 java.lang.String s = bs.toStringUtf8(); 2941 next_ = s; 2942 return s; 2943 } else { 2944 return (java.lang.String) ref; 2945 } 2946 } 2947 /** 2948 * <pre> 2949 * Next is the name of the next release. If this is other than an empty 2950 * string, it means there are more results. 2951 * </pre> 2952 * 2953 * <code>string next = 2;</code> 2954 */ 2955 public com.google.protobuf.ByteString 2956 getNextBytes() { 2957 java.lang.Object ref = next_; 2958 if (ref instanceof String) { 2959 com.google.protobuf.ByteString b = 2960 com.google.protobuf.ByteString.copyFromUtf8( 2961 (java.lang.String) ref); 2962 next_ = b; 2963 return b; 2964 } else { 2965 return (com.google.protobuf.ByteString) ref; 2966 } 2967 } 2968 /** 2969 * <pre> 2970 * Next is the name of the next release. If this is other than an empty 2971 * string, it means there are more results. 2972 * </pre> 2973 * 2974 * <code>string next = 2;</code> 2975 */ 2976 public Builder setNext( 2977 java.lang.String value) { 2978 if (value == null) { 2979 throw new NullPointerException(); 2980 } 2981 2982 next_ = value; 2983 onChanged(); 2984 return this; 2985 } 2986 /** 2987 * <pre> 2988 * Next is the name of the next release. If this is other than an empty 2989 * string, it means there are more results. 2990 * </pre> 2991 * 2992 * <code>string next = 2;</code> 2993 */ 2994 public Builder clearNext() { 2995 2996 next_ = getDefaultInstance().getNext(); 2997 onChanged(); 2998 return this; 2999 } 3000 /** 3001 * <pre> 3002 * Next is the name of the next release. If this is other than an empty 3003 * string, it means there are more results. 3004 * </pre> 3005 * 3006 * <code>string next = 2;</code> 3007 */ 3008 public Builder setNextBytes( 3009 com.google.protobuf.ByteString value) { 3010 if (value == null) { 3011 throw new NullPointerException(); 3012 } 3013 checkByteStringIsUtf8(value); 3014 3015 next_ = value; 3016 onChanged(); 3017 return this; 3018 } 3019 3020 private long total_ ; 3021 /** 3022 * <pre> 3023 * Total is the total number of queryable releases. 3024 * </pre> 3025 * 3026 * <code>int64 total = 3;</code> 3027 */ 3028 public long getTotal() { 3029 return total_; 3030 } 3031 /** 3032 * <pre> 3033 * Total is the total number of queryable releases. 3034 * </pre> 3035 * 3036 * <code>int64 total = 3;</code> 3037 */ 3038 public Builder setTotal(long value) { 3039 3040 total_ = value; 3041 onChanged(); 3042 return this; 3043 } 3044 /** 3045 * <pre> 3046 * Total is the total number of queryable releases. 3047 * </pre> 3048 * 3049 * <code>int64 total = 3;</code> 3050 */ 3051 public Builder clearTotal() { 3052 3053 total_ = 0L; 3054 onChanged(); 3055 return this; 3056 } 3057 3058 private java.util.List<hapi.release.ReleaseOuterClass.Release> releases_ = 3059 java.util.Collections.emptyList(); 3060 private void ensureReleasesIsMutable() { 3061 if (!((bitField0_ & 0x00000008) == 0x00000008)) { 3062 releases_ = new java.util.ArrayList<hapi.release.ReleaseOuterClass.Release>(releases_); 3063 bitField0_ |= 0x00000008; 3064 } 3065 } 3066 3067 private com.google.protobuf.RepeatedFieldBuilderV3< 3068 hapi.release.ReleaseOuterClass.Release, hapi.release.ReleaseOuterClass.Release.Builder, hapi.release.ReleaseOuterClass.ReleaseOrBuilder> releasesBuilder_; 3069 3070 /** 3071 * <pre> 3072 * Releases is the list of found release objects. 3073 * </pre> 3074 * 3075 * <code>repeated .hapi.release.Release releases = 4;</code> 3076 */ 3077 public java.util.List<hapi.release.ReleaseOuterClass.Release> getReleasesList() { 3078 if (releasesBuilder_ == null) { 3079 return java.util.Collections.unmodifiableList(releases_); 3080 } else { 3081 return releasesBuilder_.getMessageList(); 3082 } 3083 } 3084 /** 3085 * <pre> 3086 * Releases is the list of found release objects. 3087 * </pre> 3088 * 3089 * <code>repeated .hapi.release.Release releases = 4;</code> 3090 */ 3091 public int getReleasesCount() { 3092 if (releasesBuilder_ == null) { 3093 return releases_.size(); 3094 } else { 3095 return releasesBuilder_.getCount(); 3096 } 3097 } 3098 /** 3099 * <pre> 3100 * Releases is the list of found release objects. 3101 * </pre> 3102 * 3103 * <code>repeated .hapi.release.Release releases = 4;</code> 3104 */ 3105 public hapi.release.ReleaseOuterClass.Release getReleases(int index) { 3106 if (releasesBuilder_ == null) { 3107 return releases_.get(index); 3108 } else { 3109 return releasesBuilder_.getMessage(index); 3110 } 3111 } 3112 /** 3113 * <pre> 3114 * Releases is the list of found release objects. 3115 * </pre> 3116 * 3117 * <code>repeated .hapi.release.Release releases = 4;</code> 3118 */ 3119 public Builder setReleases( 3120 int index, hapi.release.ReleaseOuterClass.Release value) { 3121 if (releasesBuilder_ == null) { 3122 if (value == null) { 3123 throw new NullPointerException(); 3124 } 3125 ensureReleasesIsMutable(); 3126 releases_.set(index, value); 3127 onChanged(); 3128 } else { 3129 releasesBuilder_.setMessage(index, value); 3130 } 3131 return this; 3132 } 3133 /** 3134 * <pre> 3135 * Releases is the list of found release objects. 3136 * </pre> 3137 * 3138 * <code>repeated .hapi.release.Release releases = 4;</code> 3139 */ 3140 public Builder setReleases( 3141 int index, hapi.release.ReleaseOuterClass.Release.Builder builderForValue) { 3142 if (releasesBuilder_ == null) { 3143 ensureReleasesIsMutable(); 3144 releases_.set(index, builderForValue.build()); 3145 onChanged(); 3146 } else { 3147 releasesBuilder_.setMessage(index, builderForValue.build()); 3148 } 3149 return this; 3150 } 3151 /** 3152 * <pre> 3153 * Releases is the list of found release objects. 3154 * </pre> 3155 * 3156 * <code>repeated .hapi.release.Release releases = 4;</code> 3157 */ 3158 public Builder addReleases(hapi.release.ReleaseOuterClass.Release value) { 3159 if (releasesBuilder_ == null) { 3160 if (value == null) { 3161 throw new NullPointerException(); 3162 } 3163 ensureReleasesIsMutable(); 3164 releases_.add(value); 3165 onChanged(); 3166 } else { 3167 releasesBuilder_.addMessage(value); 3168 } 3169 return this; 3170 } 3171 /** 3172 * <pre> 3173 * Releases is the list of found release objects. 3174 * </pre> 3175 * 3176 * <code>repeated .hapi.release.Release releases = 4;</code> 3177 */ 3178 public Builder addReleases( 3179 int index, hapi.release.ReleaseOuterClass.Release value) { 3180 if (releasesBuilder_ == null) { 3181 if (value == null) { 3182 throw new NullPointerException(); 3183 } 3184 ensureReleasesIsMutable(); 3185 releases_.add(index, value); 3186 onChanged(); 3187 } else { 3188 releasesBuilder_.addMessage(index, value); 3189 } 3190 return this; 3191 } 3192 /** 3193 * <pre> 3194 * Releases is the list of found release objects. 3195 * </pre> 3196 * 3197 * <code>repeated .hapi.release.Release releases = 4;</code> 3198 */ 3199 public Builder addReleases( 3200 hapi.release.ReleaseOuterClass.Release.Builder builderForValue) { 3201 if (releasesBuilder_ == null) { 3202 ensureReleasesIsMutable(); 3203 releases_.add(builderForValue.build()); 3204 onChanged(); 3205 } else { 3206 releasesBuilder_.addMessage(builderForValue.build()); 3207 } 3208 return this; 3209 } 3210 /** 3211 * <pre> 3212 * Releases is the list of found release objects. 3213 * </pre> 3214 * 3215 * <code>repeated .hapi.release.Release releases = 4;</code> 3216 */ 3217 public Builder addReleases( 3218 int index, hapi.release.ReleaseOuterClass.Release.Builder builderForValue) { 3219 if (releasesBuilder_ == null) { 3220 ensureReleasesIsMutable(); 3221 releases_.add(index, builderForValue.build()); 3222 onChanged(); 3223 } else { 3224 releasesBuilder_.addMessage(index, builderForValue.build()); 3225 } 3226 return this; 3227 } 3228 /** 3229 * <pre> 3230 * Releases is the list of found release objects. 3231 * </pre> 3232 * 3233 * <code>repeated .hapi.release.Release releases = 4;</code> 3234 */ 3235 public Builder addAllReleases( 3236 java.lang.Iterable<? extends hapi.release.ReleaseOuterClass.Release> values) { 3237 if (releasesBuilder_ == null) { 3238 ensureReleasesIsMutable(); 3239 com.google.protobuf.AbstractMessageLite.Builder.addAll( 3240 values, releases_); 3241 onChanged(); 3242 } else { 3243 releasesBuilder_.addAllMessages(values); 3244 } 3245 return this; 3246 } 3247 /** 3248 * <pre> 3249 * Releases is the list of found release objects. 3250 * </pre> 3251 * 3252 * <code>repeated .hapi.release.Release releases = 4;</code> 3253 */ 3254 public Builder clearReleases() { 3255 if (releasesBuilder_ == null) { 3256 releases_ = java.util.Collections.emptyList(); 3257 bitField0_ = (bitField0_ & ~0x00000008); 3258 onChanged(); 3259 } else { 3260 releasesBuilder_.clear(); 3261 } 3262 return this; 3263 } 3264 /** 3265 * <pre> 3266 * Releases is the list of found release objects. 3267 * </pre> 3268 * 3269 * <code>repeated .hapi.release.Release releases = 4;</code> 3270 */ 3271 public Builder removeReleases(int index) { 3272 if (releasesBuilder_ == null) { 3273 ensureReleasesIsMutable(); 3274 releases_.remove(index); 3275 onChanged(); 3276 } else { 3277 releasesBuilder_.remove(index); 3278 } 3279 return this; 3280 } 3281 /** 3282 * <pre> 3283 * Releases is the list of found release objects. 3284 * </pre> 3285 * 3286 * <code>repeated .hapi.release.Release releases = 4;</code> 3287 */ 3288 public hapi.release.ReleaseOuterClass.Release.Builder getReleasesBuilder( 3289 int index) { 3290 return getReleasesFieldBuilder().getBuilder(index); 3291 } 3292 /** 3293 * <pre> 3294 * Releases is the list of found release objects. 3295 * </pre> 3296 * 3297 * <code>repeated .hapi.release.Release releases = 4;</code> 3298 */ 3299 public hapi.release.ReleaseOuterClass.ReleaseOrBuilder getReleasesOrBuilder( 3300 int index) { 3301 if (releasesBuilder_ == null) { 3302 return releases_.get(index); } else { 3303 return releasesBuilder_.getMessageOrBuilder(index); 3304 } 3305 } 3306 /** 3307 * <pre> 3308 * Releases is the list of found release objects. 3309 * </pre> 3310 * 3311 * <code>repeated .hapi.release.Release releases = 4;</code> 3312 */ 3313 public java.util.List<? extends hapi.release.ReleaseOuterClass.ReleaseOrBuilder> 3314 getReleasesOrBuilderList() { 3315 if (releasesBuilder_ != null) { 3316 return releasesBuilder_.getMessageOrBuilderList(); 3317 } else { 3318 return java.util.Collections.unmodifiableList(releases_); 3319 } 3320 } 3321 /** 3322 * <pre> 3323 * Releases is the list of found release objects. 3324 * </pre> 3325 * 3326 * <code>repeated .hapi.release.Release releases = 4;</code> 3327 */ 3328 public hapi.release.ReleaseOuterClass.Release.Builder addReleasesBuilder() { 3329 return getReleasesFieldBuilder().addBuilder( 3330 hapi.release.ReleaseOuterClass.Release.getDefaultInstance()); 3331 } 3332 /** 3333 * <pre> 3334 * Releases is the list of found release objects. 3335 * </pre> 3336 * 3337 * <code>repeated .hapi.release.Release releases = 4;</code> 3338 */ 3339 public hapi.release.ReleaseOuterClass.Release.Builder addReleasesBuilder( 3340 int index) { 3341 return getReleasesFieldBuilder().addBuilder( 3342 index, hapi.release.ReleaseOuterClass.Release.getDefaultInstance()); 3343 } 3344 /** 3345 * <pre> 3346 * Releases is the list of found release objects. 3347 * </pre> 3348 * 3349 * <code>repeated .hapi.release.Release releases = 4;</code> 3350 */ 3351 public java.util.List<hapi.release.ReleaseOuterClass.Release.Builder> 3352 getReleasesBuilderList() { 3353 return getReleasesFieldBuilder().getBuilderList(); 3354 } 3355 private com.google.protobuf.RepeatedFieldBuilderV3< 3356 hapi.release.ReleaseOuterClass.Release, hapi.release.ReleaseOuterClass.Release.Builder, hapi.release.ReleaseOuterClass.ReleaseOrBuilder> 3357 getReleasesFieldBuilder() { 3358 if (releasesBuilder_ == null) { 3359 releasesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 3360 hapi.release.ReleaseOuterClass.Release, hapi.release.ReleaseOuterClass.Release.Builder, hapi.release.ReleaseOuterClass.ReleaseOrBuilder>( 3361 releases_, 3362 ((bitField0_ & 0x00000008) == 0x00000008), 3363 getParentForChildren(), 3364 isClean()); 3365 releases_ = null; 3366 } 3367 return releasesBuilder_; 3368 } 3369 public final Builder setUnknownFields( 3370 final com.google.protobuf.UnknownFieldSet unknownFields) { 3371 return super.setUnknownFieldsProto3(unknownFields); 3372 } 3373 3374 public final Builder mergeUnknownFields( 3375 final com.google.protobuf.UnknownFieldSet unknownFields) { 3376 return super.mergeUnknownFields(unknownFields); 3377 } 3378 3379 3380 // @@protoc_insertion_point(builder_scope:hapi.services.tiller.ListReleasesResponse) 3381 } 3382 3383 // @@protoc_insertion_point(class_scope:hapi.services.tiller.ListReleasesResponse) 3384 private static final hapi.services.tiller.Tiller.ListReleasesResponse DEFAULT_INSTANCE; 3385 static { 3386 DEFAULT_INSTANCE = new hapi.services.tiller.Tiller.ListReleasesResponse(); 3387 } 3388 3389 public static hapi.services.tiller.Tiller.ListReleasesResponse getDefaultInstance() { 3390 return DEFAULT_INSTANCE; 3391 } 3392 3393 private static final com.google.protobuf.Parser<ListReleasesResponse> 3394 PARSER = new com.google.protobuf.AbstractParser<ListReleasesResponse>() { 3395 public ListReleasesResponse parsePartialFrom( 3396 com.google.protobuf.CodedInputStream input, 3397 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3398 throws com.google.protobuf.InvalidProtocolBufferException { 3399 return new ListReleasesResponse(input, extensionRegistry); 3400 } 3401 }; 3402 3403 public static com.google.protobuf.Parser<ListReleasesResponse> parser() { 3404 return PARSER; 3405 } 3406 3407 @java.lang.Override 3408 public com.google.protobuf.Parser<ListReleasesResponse> getParserForType() { 3409 return PARSER; 3410 } 3411 3412 public hapi.services.tiller.Tiller.ListReleasesResponse getDefaultInstanceForType() { 3413 return DEFAULT_INSTANCE; 3414 } 3415 3416 } 3417 3418 public interface GetReleaseStatusRequestOrBuilder extends 3419 // @@protoc_insertion_point(interface_extends:hapi.services.tiller.GetReleaseStatusRequest) 3420 com.google.protobuf.MessageOrBuilder { 3421 3422 /** 3423 * <pre> 3424 * Name is the name of the release 3425 * </pre> 3426 * 3427 * <code>string name = 1;</code> 3428 */ 3429 java.lang.String getName(); 3430 /** 3431 * <pre> 3432 * Name is the name of the release 3433 * </pre> 3434 * 3435 * <code>string name = 1;</code> 3436 */ 3437 com.google.protobuf.ByteString 3438 getNameBytes(); 3439 3440 /** 3441 * <pre> 3442 * Version is the version of the release 3443 * </pre> 3444 * 3445 * <code>int32 version = 2;</code> 3446 */ 3447 int getVersion(); 3448 } 3449 /** 3450 * <pre> 3451 * GetReleaseStatusRequest is a request to get the status of a release. 3452 * </pre> 3453 * 3454 * Protobuf type {@code hapi.services.tiller.GetReleaseStatusRequest} 3455 */ 3456 public static final class GetReleaseStatusRequest extends 3457 com.google.protobuf.GeneratedMessageV3 implements 3458 // @@protoc_insertion_point(message_implements:hapi.services.tiller.GetReleaseStatusRequest) 3459 GetReleaseStatusRequestOrBuilder { 3460 private static final long serialVersionUID = 0L; 3461 // Use GetReleaseStatusRequest.newBuilder() to construct. 3462 private GetReleaseStatusRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 3463 super(builder); 3464 } 3465 private GetReleaseStatusRequest() { 3466 name_ = ""; 3467 version_ = 0; 3468 } 3469 3470 @java.lang.Override 3471 public final com.google.protobuf.UnknownFieldSet 3472 getUnknownFields() { 3473 return this.unknownFields; 3474 } 3475 private GetReleaseStatusRequest( 3476 com.google.protobuf.CodedInputStream input, 3477 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3478 throws com.google.protobuf.InvalidProtocolBufferException { 3479 this(); 3480 if (extensionRegistry == null) { 3481 throw new java.lang.NullPointerException(); 3482 } 3483 int mutable_bitField0_ = 0; 3484 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 3485 com.google.protobuf.UnknownFieldSet.newBuilder(); 3486 try { 3487 boolean done = false; 3488 while (!done) { 3489 int tag = input.readTag(); 3490 switch (tag) { 3491 case 0: 3492 done = true; 3493 break; 3494 default: { 3495 if (!parseUnknownFieldProto3( 3496 input, unknownFields, extensionRegistry, tag)) { 3497 done = true; 3498 } 3499 break; 3500 } 3501 case 10: { 3502 java.lang.String s = input.readStringRequireUtf8(); 3503 3504 name_ = s; 3505 break; 3506 } 3507 case 16: { 3508 3509 version_ = input.readInt32(); 3510 break; 3511 } 3512 } 3513 } 3514 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 3515 throw e.setUnfinishedMessage(this); 3516 } catch (java.io.IOException e) { 3517 throw new com.google.protobuf.InvalidProtocolBufferException( 3518 e).setUnfinishedMessage(this); 3519 } finally { 3520 this.unknownFields = unknownFields.build(); 3521 makeExtensionsImmutable(); 3522 } 3523 } 3524 public static final com.google.protobuf.Descriptors.Descriptor 3525 getDescriptor() { 3526 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetReleaseStatusRequest_descriptor; 3527 } 3528 3529 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 3530 internalGetFieldAccessorTable() { 3531 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetReleaseStatusRequest_fieldAccessorTable 3532 .ensureFieldAccessorsInitialized( 3533 hapi.services.tiller.Tiller.GetReleaseStatusRequest.class, hapi.services.tiller.Tiller.GetReleaseStatusRequest.Builder.class); 3534 } 3535 3536 public static final int NAME_FIELD_NUMBER = 1; 3537 private volatile java.lang.Object name_; 3538 /** 3539 * <pre> 3540 * Name is the name of the release 3541 * </pre> 3542 * 3543 * <code>string name = 1;</code> 3544 */ 3545 public java.lang.String getName() { 3546 java.lang.Object ref = name_; 3547 if (ref instanceof java.lang.String) { 3548 return (java.lang.String) ref; 3549 } else { 3550 com.google.protobuf.ByteString bs = 3551 (com.google.protobuf.ByteString) ref; 3552 java.lang.String s = bs.toStringUtf8(); 3553 name_ = s; 3554 return s; 3555 } 3556 } 3557 /** 3558 * <pre> 3559 * Name is the name of the release 3560 * </pre> 3561 * 3562 * <code>string name = 1;</code> 3563 */ 3564 public com.google.protobuf.ByteString 3565 getNameBytes() { 3566 java.lang.Object ref = name_; 3567 if (ref instanceof java.lang.String) { 3568 com.google.protobuf.ByteString b = 3569 com.google.protobuf.ByteString.copyFromUtf8( 3570 (java.lang.String) ref); 3571 name_ = b; 3572 return b; 3573 } else { 3574 return (com.google.protobuf.ByteString) ref; 3575 } 3576 } 3577 3578 public static final int VERSION_FIELD_NUMBER = 2; 3579 private int version_; 3580 /** 3581 * <pre> 3582 * Version is the version of the release 3583 * </pre> 3584 * 3585 * <code>int32 version = 2;</code> 3586 */ 3587 public int getVersion() { 3588 return version_; 3589 } 3590 3591 private byte memoizedIsInitialized = -1; 3592 public final boolean isInitialized() { 3593 byte isInitialized = memoizedIsInitialized; 3594 if (isInitialized == 1) return true; 3595 if (isInitialized == 0) return false; 3596 3597 memoizedIsInitialized = 1; 3598 return true; 3599 } 3600 3601 public void writeTo(com.google.protobuf.CodedOutputStream output) 3602 throws java.io.IOException { 3603 if (!getNameBytes().isEmpty()) { 3604 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); 3605 } 3606 if (version_ != 0) { 3607 output.writeInt32(2, version_); 3608 } 3609 unknownFields.writeTo(output); 3610 } 3611 3612 public int getSerializedSize() { 3613 int size = memoizedSize; 3614 if (size != -1) return size; 3615 3616 size = 0; 3617 if (!getNameBytes().isEmpty()) { 3618 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); 3619 } 3620 if (version_ != 0) { 3621 size += com.google.protobuf.CodedOutputStream 3622 .computeInt32Size(2, version_); 3623 } 3624 size += unknownFields.getSerializedSize(); 3625 memoizedSize = size; 3626 return size; 3627 } 3628 3629 @java.lang.Override 3630 public boolean equals(final java.lang.Object obj) { 3631 if (obj == this) { 3632 return true; 3633 } 3634 if (!(obj instanceof hapi.services.tiller.Tiller.GetReleaseStatusRequest)) { 3635 return super.equals(obj); 3636 } 3637 hapi.services.tiller.Tiller.GetReleaseStatusRequest other = (hapi.services.tiller.Tiller.GetReleaseStatusRequest) obj; 3638 3639 boolean result = true; 3640 result = result && getName() 3641 .equals(other.getName()); 3642 result = result && (getVersion() 3643 == other.getVersion()); 3644 result = result && unknownFields.equals(other.unknownFields); 3645 return result; 3646 } 3647 3648 @java.lang.Override 3649 public int hashCode() { 3650 if (memoizedHashCode != 0) { 3651 return memoizedHashCode; 3652 } 3653 int hash = 41; 3654 hash = (19 * hash) + getDescriptor().hashCode(); 3655 hash = (37 * hash) + NAME_FIELD_NUMBER; 3656 hash = (53 * hash) + getName().hashCode(); 3657 hash = (37 * hash) + VERSION_FIELD_NUMBER; 3658 hash = (53 * hash) + getVersion(); 3659 hash = (29 * hash) + unknownFields.hashCode(); 3660 memoizedHashCode = hash; 3661 return hash; 3662 } 3663 3664 public static hapi.services.tiller.Tiller.GetReleaseStatusRequest parseFrom( 3665 java.nio.ByteBuffer data) 3666 throws com.google.protobuf.InvalidProtocolBufferException { 3667 return PARSER.parseFrom(data); 3668 } 3669 public static hapi.services.tiller.Tiller.GetReleaseStatusRequest parseFrom( 3670 java.nio.ByteBuffer data, 3671 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3672 throws com.google.protobuf.InvalidProtocolBufferException { 3673 return PARSER.parseFrom(data, extensionRegistry); 3674 } 3675 public static hapi.services.tiller.Tiller.GetReleaseStatusRequest parseFrom( 3676 com.google.protobuf.ByteString data) 3677 throws com.google.protobuf.InvalidProtocolBufferException { 3678 return PARSER.parseFrom(data); 3679 } 3680 public static hapi.services.tiller.Tiller.GetReleaseStatusRequest parseFrom( 3681 com.google.protobuf.ByteString data, 3682 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3683 throws com.google.protobuf.InvalidProtocolBufferException { 3684 return PARSER.parseFrom(data, extensionRegistry); 3685 } 3686 public static hapi.services.tiller.Tiller.GetReleaseStatusRequest parseFrom(byte[] data) 3687 throws com.google.protobuf.InvalidProtocolBufferException { 3688 return PARSER.parseFrom(data); 3689 } 3690 public static hapi.services.tiller.Tiller.GetReleaseStatusRequest parseFrom( 3691 byte[] data, 3692 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3693 throws com.google.protobuf.InvalidProtocolBufferException { 3694 return PARSER.parseFrom(data, extensionRegistry); 3695 } 3696 public static hapi.services.tiller.Tiller.GetReleaseStatusRequest parseFrom(java.io.InputStream input) 3697 throws java.io.IOException { 3698 return com.google.protobuf.GeneratedMessageV3 3699 .parseWithIOException(PARSER, input); 3700 } 3701 public static hapi.services.tiller.Tiller.GetReleaseStatusRequest parseFrom( 3702 java.io.InputStream input, 3703 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3704 throws java.io.IOException { 3705 return com.google.protobuf.GeneratedMessageV3 3706 .parseWithIOException(PARSER, input, extensionRegistry); 3707 } 3708 public static hapi.services.tiller.Tiller.GetReleaseStatusRequest parseDelimitedFrom(java.io.InputStream input) 3709 throws java.io.IOException { 3710 return com.google.protobuf.GeneratedMessageV3 3711 .parseDelimitedWithIOException(PARSER, input); 3712 } 3713 public static hapi.services.tiller.Tiller.GetReleaseStatusRequest parseDelimitedFrom( 3714 java.io.InputStream input, 3715 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3716 throws java.io.IOException { 3717 return com.google.protobuf.GeneratedMessageV3 3718 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 3719 } 3720 public static hapi.services.tiller.Tiller.GetReleaseStatusRequest parseFrom( 3721 com.google.protobuf.CodedInputStream input) 3722 throws java.io.IOException { 3723 return com.google.protobuf.GeneratedMessageV3 3724 .parseWithIOException(PARSER, input); 3725 } 3726 public static hapi.services.tiller.Tiller.GetReleaseStatusRequest parseFrom( 3727 com.google.protobuf.CodedInputStream input, 3728 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3729 throws java.io.IOException { 3730 return com.google.protobuf.GeneratedMessageV3 3731 .parseWithIOException(PARSER, input, extensionRegistry); 3732 } 3733 3734 public Builder newBuilderForType() { return newBuilder(); } 3735 public static Builder newBuilder() { 3736 return DEFAULT_INSTANCE.toBuilder(); 3737 } 3738 public static Builder newBuilder(hapi.services.tiller.Tiller.GetReleaseStatusRequest prototype) { 3739 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 3740 } 3741 public Builder toBuilder() { 3742 return this == DEFAULT_INSTANCE 3743 ? new Builder() : new Builder().mergeFrom(this); 3744 } 3745 3746 @java.lang.Override 3747 protected Builder newBuilderForType( 3748 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 3749 Builder builder = new Builder(parent); 3750 return builder; 3751 } 3752 /** 3753 * <pre> 3754 * GetReleaseStatusRequest is a request to get the status of a release. 3755 * </pre> 3756 * 3757 * Protobuf type {@code hapi.services.tiller.GetReleaseStatusRequest} 3758 */ 3759 public static final class Builder extends 3760 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 3761 // @@protoc_insertion_point(builder_implements:hapi.services.tiller.GetReleaseStatusRequest) 3762 hapi.services.tiller.Tiller.GetReleaseStatusRequestOrBuilder { 3763 public static final com.google.protobuf.Descriptors.Descriptor 3764 getDescriptor() { 3765 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetReleaseStatusRequest_descriptor; 3766 } 3767 3768 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 3769 internalGetFieldAccessorTable() { 3770 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetReleaseStatusRequest_fieldAccessorTable 3771 .ensureFieldAccessorsInitialized( 3772 hapi.services.tiller.Tiller.GetReleaseStatusRequest.class, hapi.services.tiller.Tiller.GetReleaseStatusRequest.Builder.class); 3773 } 3774 3775 // Construct using hapi.services.tiller.Tiller.GetReleaseStatusRequest.newBuilder() 3776 private Builder() { 3777 maybeForceBuilderInitialization(); 3778 } 3779 3780 private Builder( 3781 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 3782 super(parent); 3783 maybeForceBuilderInitialization(); 3784 } 3785 private void maybeForceBuilderInitialization() { 3786 if (com.google.protobuf.GeneratedMessageV3 3787 .alwaysUseFieldBuilders) { 3788 } 3789 } 3790 public Builder clear() { 3791 super.clear(); 3792 name_ = ""; 3793 3794 version_ = 0; 3795 3796 return this; 3797 } 3798 3799 public com.google.protobuf.Descriptors.Descriptor 3800 getDescriptorForType() { 3801 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetReleaseStatusRequest_descriptor; 3802 } 3803 3804 public hapi.services.tiller.Tiller.GetReleaseStatusRequest getDefaultInstanceForType() { 3805 return hapi.services.tiller.Tiller.GetReleaseStatusRequest.getDefaultInstance(); 3806 } 3807 3808 public hapi.services.tiller.Tiller.GetReleaseStatusRequest build() { 3809 hapi.services.tiller.Tiller.GetReleaseStatusRequest result = buildPartial(); 3810 if (!result.isInitialized()) { 3811 throw newUninitializedMessageException(result); 3812 } 3813 return result; 3814 } 3815 3816 public hapi.services.tiller.Tiller.GetReleaseStatusRequest buildPartial() { 3817 hapi.services.tiller.Tiller.GetReleaseStatusRequest result = new hapi.services.tiller.Tiller.GetReleaseStatusRequest(this); 3818 result.name_ = name_; 3819 result.version_ = version_; 3820 onBuilt(); 3821 return result; 3822 } 3823 3824 public Builder clone() { 3825 return (Builder) super.clone(); 3826 } 3827 public Builder setField( 3828 com.google.protobuf.Descriptors.FieldDescriptor field, 3829 java.lang.Object value) { 3830 return (Builder) super.setField(field, value); 3831 } 3832 public Builder clearField( 3833 com.google.protobuf.Descriptors.FieldDescriptor field) { 3834 return (Builder) super.clearField(field); 3835 } 3836 public Builder clearOneof( 3837 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 3838 return (Builder) super.clearOneof(oneof); 3839 } 3840 public Builder setRepeatedField( 3841 com.google.protobuf.Descriptors.FieldDescriptor field, 3842 int index, java.lang.Object value) { 3843 return (Builder) super.setRepeatedField(field, index, value); 3844 } 3845 public Builder addRepeatedField( 3846 com.google.protobuf.Descriptors.FieldDescriptor field, 3847 java.lang.Object value) { 3848 return (Builder) super.addRepeatedField(field, value); 3849 } 3850 public Builder mergeFrom(com.google.protobuf.Message other) { 3851 if (other instanceof hapi.services.tiller.Tiller.GetReleaseStatusRequest) { 3852 return mergeFrom((hapi.services.tiller.Tiller.GetReleaseStatusRequest)other); 3853 } else { 3854 super.mergeFrom(other); 3855 return this; 3856 } 3857 } 3858 3859 public Builder mergeFrom(hapi.services.tiller.Tiller.GetReleaseStatusRequest other) { 3860 if (other == hapi.services.tiller.Tiller.GetReleaseStatusRequest.getDefaultInstance()) return this; 3861 if (!other.getName().isEmpty()) { 3862 name_ = other.name_; 3863 onChanged(); 3864 } 3865 if (other.getVersion() != 0) { 3866 setVersion(other.getVersion()); 3867 } 3868 this.mergeUnknownFields(other.unknownFields); 3869 onChanged(); 3870 return this; 3871 } 3872 3873 public final boolean isInitialized() { 3874 return true; 3875 } 3876 3877 public Builder mergeFrom( 3878 com.google.protobuf.CodedInputStream input, 3879 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3880 throws java.io.IOException { 3881 hapi.services.tiller.Tiller.GetReleaseStatusRequest parsedMessage = null; 3882 try { 3883 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 3884 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 3885 parsedMessage = (hapi.services.tiller.Tiller.GetReleaseStatusRequest) e.getUnfinishedMessage(); 3886 throw e.unwrapIOException(); 3887 } finally { 3888 if (parsedMessage != null) { 3889 mergeFrom(parsedMessage); 3890 } 3891 } 3892 return this; 3893 } 3894 3895 private java.lang.Object name_ = ""; 3896 /** 3897 * <pre> 3898 * Name is the name of the release 3899 * </pre> 3900 * 3901 * <code>string name = 1;</code> 3902 */ 3903 public java.lang.String getName() { 3904 java.lang.Object ref = name_; 3905 if (!(ref instanceof java.lang.String)) { 3906 com.google.protobuf.ByteString bs = 3907 (com.google.protobuf.ByteString) ref; 3908 java.lang.String s = bs.toStringUtf8(); 3909 name_ = s; 3910 return s; 3911 } else { 3912 return (java.lang.String) ref; 3913 } 3914 } 3915 /** 3916 * <pre> 3917 * Name is the name of the release 3918 * </pre> 3919 * 3920 * <code>string name = 1;</code> 3921 */ 3922 public com.google.protobuf.ByteString 3923 getNameBytes() { 3924 java.lang.Object ref = name_; 3925 if (ref instanceof String) { 3926 com.google.protobuf.ByteString b = 3927 com.google.protobuf.ByteString.copyFromUtf8( 3928 (java.lang.String) ref); 3929 name_ = b; 3930 return b; 3931 } else { 3932 return (com.google.protobuf.ByteString) ref; 3933 } 3934 } 3935 /** 3936 * <pre> 3937 * Name is the name of the release 3938 * </pre> 3939 * 3940 * <code>string name = 1;</code> 3941 */ 3942 public Builder setName( 3943 java.lang.String value) { 3944 if (value == null) { 3945 throw new NullPointerException(); 3946 } 3947 3948 name_ = value; 3949 onChanged(); 3950 return this; 3951 } 3952 /** 3953 * <pre> 3954 * Name is the name of the release 3955 * </pre> 3956 * 3957 * <code>string name = 1;</code> 3958 */ 3959 public Builder clearName() { 3960 3961 name_ = getDefaultInstance().getName(); 3962 onChanged(); 3963 return this; 3964 } 3965 /** 3966 * <pre> 3967 * Name is the name of the release 3968 * </pre> 3969 * 3970 * <code>string name = 1;</code> 3971 */ 3972 public Builder setNameBytes( 3973 com.google.protobuf.ByteString value) { 3974 if (value == null) { 3975 throw new NullPointerException(); 3976 } 3977 checkByteStringIsUtf8(value); 3978 3979 name_ = value; 3980 onChanged(); 3981 return this; 3982 } 3983 3984 private int version_ ; 3985 /** 3986 * <pre> 3987 * Version is the version of the release 3988 * </pre> 3989 * 3990 * <code>int32 version = 2;</code> 3991 */ 3992 public int getVersion() { 3993 return version_; 3994 } 3995 /** 3996 * <pre> 3997 * Version is the version of the release 3998 * </pre> 3999 * 4000 * <code>int32 version = 2;</code> 4001 */ 4002 public Builder setVersion(int value) { 4003 4004 version_ = value; 4005 onChanged(); 4006 return this; 4007 } 4008 /** 4009 * <pre> 4010 * Version is the version of the release 4011 * </pre> 4012 * 4013 * <code>int32 version = 2;</code> 4014 */ 4015 public Builder clearVersion() { 4016 4017 version_ = 0; 4018 onChanged(); 4019 return this; 4020 } 4021 public final Builder setUnknownFields( 4022 final com.google.protobuf.UnknownFieldSet unknownFields) { 4023 return super.setUnknownFieldsProto3(unknownFields); 4024 } 4025 4026 public final Builder mergeUnknownFields( 4027 final com.google.protobuf.UnknownFieldSet unknownFields) { 4028 return super.mergeUnknownFields(unknownFields); 4029 } 4030 4031 4032 // @@protoc_insertion_point(builder_scope:hapi.services.tiller.GetReleaseStatusRequest) 4033 } 4034 4035 // @@protoc_insertion_point(class_scope:hapi.services.tiller.GetReleaseStatusRequest) 4036 private static final hapi.services.tiller.Tiller.GetReleaseStatusRequest DEFAULT_INSTANCE; 4037 static { 4038 DEFAULT_INSTANCE = new hapi.services.tiller.Tiller.GetReleaseStatusRequest(); 4039 } 4040 4041 public static hapi.services.tiller.Tiller.GetReleaseStatusRequest getDefaultInstance() { 4042 return DEFAULT_INSTANCE; 4043 } 4044 4045 private static final com.google.protobuf.Parser<GetReleaseStatusRequest> 4046 PARSER = new com.google.protobuf.AbstractParser<GetReleaseStatusRequest>() { 4047 public GetReleaseStatusRequest parsePartialFrom( 4048 com.google.protobuf.CodedInputStream input, 4049 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 4050 throws com.google.protobuf.InvalidProtocolBufferException { 4051 return new GetReleaseStatusRequest(input, extensionRegistry); 4052 } 4053 }; 4054 4055 public static com.google.protobuf.Parser<GetReleaseStatusRequest> parser() { 4056 return PARSER; 4057 } 4058 4059 @java.lang.Override 4060 public com.google.protobuf.Parser<GetReleaseStatusRequest> getParserForType() { 4061 return PARSER; 4062 } 4063 4064 public hapi.services.tiller.Tiller.GetReleaseStatusRequest getDefaultInstanceForType() { 4065 return DEFAULT_INSTANCE; 4066 } 4067 4068 } 4069 4070 public interface GetReleaseStatusResponseOrBuilder extends 4071 // @@protoc_insertion_point(interface_extends:hapi.services.tiller.GetReleaseStatusResponse) 4072 com.google.protobuf.MessageOrBuilder { 4073 4074 /** 4075 * <pre> 4076 * Name is the name of the release. 4077 * </pre> 4078 * 4079 * <code>string name = 1;</code> 4080 */ 4081 java.lang.String getName(); 4082 /** 4083 * <pre> 4084 * Name is the name of the release. 4085 * </pre> 4086 * 4087 * <code>string name = 1;</code> 4088 */ 4089 com.google.protobuf.ByteString 4090 getNameBytes(); 4091 4092 /** 4093 * <pre> 4094 * Info contains information about the release. 4095 * </pre> 4096 * 4097 * <code>.hapi.release.Info info = 2;</code> 4098 */ 4099 boolean hasInfo(); 4100 /** 4101 * <pre> 4102 * Info contains information about the release. 4103 * </pre> 4104 * 4105 * <code>.hapi.release.Info info = 2;</code> 4106 */ 4107 hapi.release.InfoOuterClass.Info getInfo(); 4108 /** 4109 * <pre> 4110 * Info contains information about the release. 4111 * </pre> 4112 * 4113 * <code>.hapi.release.Info info = 2;</code> 4114 */ 4115 hapi.release.InfoOuterClass.InfoOrBuilder getInfoOrBuilder(); 4116 4117 /** 4118 * <pre> 4119 * Namesapce the release was released into 4120 * </pre> 4121 * 4122 * <code>string namespace = 3;</code> 4123 */ 4124 java.lang.String getNamespace(); 4125 /** 4126 * <pre> 4127 * Namesapce the release was released into 4128 * </pre> 4129 * 4130 * <code>string namespace = 3;</code> 4131 */ 4132 com.google.protobuf.ByteString 4133 getNamespaceBytes(); 4134 } 4135 /** 4136 * <pre> 4137 * GetReleaseStatusResponse is the response indicating the status of the named release. 4138 * </pre> 4139 * 4140 * Protobuf type {@code hapi.services.tiller.GetReleaseStatusResponse} 4141 */ 4142 public static final class GetReleaseStatusResponse extends 4143 com.google.protobuf.GeneratedMessageV3 implements 4144 // @@protoc_insertion_point(message_implements:hapi.services.tiller.GetReleaseStatusResponse) 4145 GetReleaseStatusResponseOrBuilder { 4146 private static final long serialVersionUID = 0L; 4147 // Use GetReleaseStatusResponse.newBuilder() to construct. 4148 private GetReleaseStatusResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 4149 super(builder); 4150 } 4151 private GetReleaseStatusResponse() { 4152 name_ = ""; 4153 namespace_ = ""; 4154 } 4155 4156 @java.lang.Override 4157 public final com.google.protobuf.UnknownFieldSet 4158 getUnknownFields() { 4159 return this.unknownFields; 4160 } 4161 private GetReleaseStatusResponse( 4162 com.google.protobuf.CodedInputStream input, 4163 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 4164 throws com.google.protobuf.InvalidProtocolBufferException { 4165 this(); 4166 if (extensionRegistry == null) { 4167 throw new java.lang.NullPointerException(); 4168 } 4169 int mutable_bitField0_ = 0; 4170 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 4171 com.google.protobuf.UnknownFieldSet.newBuilder(); 4172 try { 4173 boolean done = false; 4174 while (!done) { 4175 int tag = input.readTag(); 4176 switch (tag) { 4177 case 0: 4178 done = true; 4179 break; 4180 default: { 4181 if (!parseUnknownFieldProto3( 4182 input, unknownFields, extensionRegistry, tag)) { 4183 done = true; 4184 } 4185 break; 4186 } 4187 case 10: { 4188 java.lang.String s = input.readStringRequireUtf8(); 4189 4190 name_ = s; 4191 break; 4192 } 4193 case 18: { 4194 hapi.release.InfoOuterClass.Info.Builder subBuilder = null; 4195 if (info_ != null) { 4196 subBuilder = info_.toBuilder(); 4197 } 4198 info_ = input.readMessage(hapi.release.InfoOuterClass.Info.parser(), extensionRegistry); 4199 if (subBuilder != null) { 4200 subBuilder.mergeFrom(info_); 4201 info_ = subBuilder.buildPartial(); 4202 } 4203 4204 break; 4205 } 4206 case 26: { 4207 java.lang.String s = input.readStringRequireUtf8(); 4208 4209 namespace_ = s; 4210 break; 4211 } 4212 } 4213 } 4214 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 4215 throw e.setUnfinishedMessage(this); 4216 } catch (java.io.IOException e) { 4217 throw new com.google.protobuf.InvalidProtocolBufferException( 4218 e).setUnfinishedMessage(this); 4219 } finally { 4220 this.unknownFields = unknownFields.build(); 4221 makeExtensionsImmutable(); 4222 } 4223 } 4224 public static final com.google.protobuf.Descriptors.Descriptor 4225 getDescriptor() { 4226 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetReleaseStatusResponse_descriptor; 4227 } 4228 4229 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 4230 internalGetFieldAccessorTable() { 4231 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetReleaseStatusResponse_fieldAccessorTable 4232 .ensureFieldAccessorsInitialized( 4233 hapi.services.tiller.Tiller.GetReleaseStatusResponse.class, hapi.services.tiller.Tiller.GetReleaseStatusResponse.Builder.class); 4234 } 4235 4236 public static final int NAME_FIELD_NUMBER = 1; 4237 private volatile java.lang.Object name_; 4238 /** 4239 * <pre> 4240 * Name is the name of the release. 4241 * </pre> 4242 * 4243 * <code>string name = 1;</code> 4244 */ 4245 public java.lang.String getName() { 4246 java.lang.Object ref = name_; 4247 if (ref instanceof java.lang.String) { 4248 return (java.lang.String) ref; 4249 } else { 4250 com.google.protobuf.ByteString bs = 4251 (com.google.protobuf.ByteString) ref; 4252 java.lang.String s = bs.toStringUtf8(); 4253 name_ = s; 4254 return s; 4255 } 4256 } 4257 /** 4258 * <pre> 4259 * Name is the name of the release. 4260 * </pre> 4261 * 4262 * <code>string name = 1;</code> 4263 */ 4264 public com.google.protobuf.ByteString 4265 getNameBytes() { 4266 java.lang.Object ref = name_; 4267 if (ref instanceof java.lang.String) { 4268 com.google.protobuf.ByteString b = 4269 com.google.protobuf.ByteString.copyFromUtf8( 4270 (java.lang.String) ref); 4271 name_ = b; 4272 return b; 4273 } else { 4274 return (com.google.protobuf.ByteString) ref; 4275 } 4276 } 4277 4278 public static final int INFO_FIELD_NUMBER = 2; 4279 private hapi.release.InfoOuterClass.Info info_; 4280 /** 4281 * <pre> 4282 * Info contains information about the release. 4283 * </pre> 4284 * 4285 * <code>.hapi.release.Info info = 2;</code> 4286 */ 4287 public boolean hasInfo() { 4288 return info_ != null; 4289 } 4290 /** 4291 * <pre> 4292 * Info contains information about the release. 4293 * </pre> 4294 * 4295 * <code>.hapi.release.Info info = 2;</code> 4296 */ 4297 public hapi.release.InfoOuterClass.Info getInfo() { 4298 return info_ == null ? hapi.release.InfoOuterClass.Info.getDefaultInstance() : info_; 4299 } 4300 /** 4301 * <pre> 4302 * Info contains information about the release. 4303 * </pre> 4304 * 4305 * <code>.hapi.release.Info info = 2;</code> 4306 */ 4307 public hapi.release.InfoOuterClass.InfoOrBuilder getInfoOrBuilder() { 4308 return getInfo(); 4309 } 4310 4311 public static final int NAMESPACE_FIELD_NUMBER = 3; 4312 private volatile java.lang.Object namespace_; 4313 /** 4314 * <pre> 4315 * Namesapce the release was released into 4316 * </pre> 4317 * 4318 * <code>string namespace = 3;</code> 4319 */ 4320 public java.lang.String getNamespace() { 4321 java.lang.Object ref = namespace_; 4322 if (ref instanceof java.lang.String) { 4323 return (java.lang.String) ref; 4324 } else { 4325 com.google.protobuf.ByteString bs = 4326 (com.google.protobuf.ByteString) ref; 4327 java.lang.String s = bs.toStringUtf8(); 4328 namespace_ = s; 4329 return s; 4330 } 4331 } 4332 /** 4333 * <pre> 4334 * Namesapce the release was released into 4335 * </pre> 4336 * 4337 * <code>string namespace = 3;</code> 4338 */ 4339 public com.google.protobuf.ByteString 4340 getNamespaceBytes() { 4341 java.lang.Object ref = namespace_; 4342 if (ref instanceof java.lang.String) { 4343 com.google.protobuf.ByteString b = 4344 com.google.protobuf.ByteString.copyFromUtf8( 4345 (java.lang.String) ref); 4346 namespace_ = b; 4347 return b; 4348 } else { 4349 return (com.google.protobuf.ByteString) ref; 4350 } 4351 } 4352 4353 private byte memoizedIsInitialized = -1; 4354 public final boolean isInitialized() { 4355 byte isInitialized = memoizedIsInitialized; 4356 if (isInitialized == 1) return true; 4357 if (isInitialized == 0) return false; 4358 4359 memoizedIsInitialized = 1; 4360 return true; 4361 } 4362 4363 public void writeTo(com.google.protobuf.CodedOutputStream output) 4364 throws java.io.IOException { 4365 if (!getNameBytes().isEmpty()) { 4366 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); 4367 } 4368 if (info_ != null) { 4369 output.writeMessage(2, getInfo()); 4370 } 4371 if (!getNamespaceBytes().isEmpty()) { 4372 com.google.protobuf.GeneratedMessageV3.writeString(output, 3, namespace_); 4373 } 4374 unknownFields.writeTo(output); 4375 } 4376 4377 public int getSerializedSize() { 4378 int size = memoizedSize; 4379 if (size != -1) return size; 4380 4381 size = 0; 4382 if (!getNameBytes().isEmpty()) { 4383 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); 4384 } 4385 if (info_ != null) { 4386 size += com.google.protobuf.CodedOutputStream 4387 .computeMessageSize(2, getInfo()); 4388 } 4389 if (!getNamespaceBytes().isEmpty()) { 4390 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, namespace_); 4391 } 4392 size += unknownFields.getSerializedSize(); 4393 memoizedSize = size; 4394 return size; 4395 } 4396 4397 @java.lang.Override 4398 public boolean equals(final java.lang.Object obj) { 4399 if (obj == this) { 4400 return true; 4401 } 4402 if (!(obj instanceof hapi.services.tiller.Tiller.GetReleaseStatusResponse)) { 4403 return super.equals(obj); 4404 } 4405 hapi.services.tiller.Tiller.GetReleaseStatusResponse other = (hapi.services.tiller.Tiller.GetReleaseStatusResponse) obj; 4406 4407 boolean result = true; 4408 result = result && getName() 4409 .equals(other.getName()); 4410 result = result && (hasInfo() == other.hasInfo()); 4411 if (hasInfo()) { 4412 result = result && getInfo() 4413 .equals(other.getInfo()); 4414 } 4415 result = result && getNamespace() 4416 .equals(other.getNamespace()); 4417 result = result && unknownFields.equals(other.unknownFields); 4418 return result; 4419 } 4420 4421 @java.lang.Override 4422 public int hashCode() { 4423 if (memoizedHashCode != 0) { 4424 return memoizedHashCode; 4425 } 4426 int hash = 41; 4427 hash = (19 * hash) + getDescriptor().hashCode(); 4428 hash = (37 * hash) + NAME_FIELD_NUMBER; 4429 hash = (53 * hash) + getName().hashCode(); 4430 if (hasInfo()) { 4431 hash = (37 * hash) + INFO_FIELD_NUMBER; 4432 hash = (53 * hash) + getInfo().hashCode(); 4433 } 4434 hash = (37 * hash) + NAMESPACE_FIELD_NUMBER; 4435 hash = (53 * hash) + getNamespace().hashCode(); 4436 hash = (29 * hash) + unknownFields.hashCode(); 4437 memoizedHashCode = hash; 4438 return hash; 4439 } 4440 4441 public static hapi.services.tiller.Tiller.GetReleaseStatusResponse parseFrom( 4442 java.nio.ByteBuffer data) 4443 throws com.google.protobuf.InvalidProtocolBufferException { 4444 return PARSER.parseFrom(data); 4445 } 4446 public static hapi.services.tiller.Tiller.GetReleaseStatusResponse parseFrom( 4447 java.nio.ByteBuffer data, 4448 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 4449 throws com.google.protobuf.InvalidProtocolBufferException { 4450 return PARSER.parseFrom(data, extensionRegistry); 4451 } 4452 public static hapi.services.tiller.Tiller.GetReleaseStatusResponse parseFrom( 4453 com.google.protobuf.ByteString data) 4454 throws com.google.protobuf.InvalidProtocolBufferException { 4455 return PARSER.parseFrom(data); 4456 } 4457 public static hapi.services.tiller.Tiller.GetReleaseStatusResponse parseFrom( 4458 com.google.protobuf.ByteString data, 4459 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 4460 throws com.google.protobuf.InvalidProtocolBufferException { 4461 return PARSER.parseFrom(data, extensionRegistry); 4462 } 4463 public static hapi.services.tiller.Tiller.GetReleaseStatusResponse parseFrom(byte[] data) 4464 throws com.google.protobuf.InvalidProtocolBufferException { 4465 return PARSER.parseFrom(data); 4466 } 4467 public static hapi.services.tiller.Tiller.GetReleaseStatusResponse parseFrom( 4468 byte[] data, 4469 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 4470 throws com.google.protobuf.InvalidProtocolBufferException { 4471 return PARSER.parseFrom(data, extensionRegistry); 4472 } 4473 public static hapi.services.tiller.Tiller.GetReleaseStatusResponse parseFrom(java.io.InputStream input) 4474 throws java.io.IOException { 4475 return com.google.protobuf.GeneratedMessageV3 4476 .parseWithIOException(PARSER, input); 4477 } 4478 public static hapi.services.tiller.Tiller.GetReleaseStatusResponse parseFrom( 4479 java.io.InputStream input, 4480 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 4481 throws java.io.IOException { 4482 return com.google.protobuf.GeneratedMessageV3 4483 .parseWithIOException(PARSER, input, extensionRegistry); 4484 } 4485 public static hapi.services.tiller.Tiller.GetReleaseStatusResponse parseDelimitedFrom(java.io.InputStream input) 4486 throws java.io.IOException { 4487 return com.google.protobuf.GeneratedMessageV3 4488 .parseDelimitedWithIOException(PARSER, input); 4489 } 4490 public static hapi.services.tiller.Tiller.GetReleaseStatusResponse parseDelimitedFrom( 4491 java.io.InputStream input, 4492 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 4493 throws java.io.IOException { 4494 return com.google.protobuf.GeneratedMessageV3 4495 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 4496 } 4497 public static hapi.services.tiller.Tiller.GetReleaseStatusResponse parseFrom( 4498 com.google.protobuf.CodedInputStream input) 4499 throws java.io.IOException { 4500 return com.google.protobuf.GeneratedMessageV3 4501 .parseWithIOException(PARSER, input); 4502 } 4503 public static hapi.services.tiller.Tiller.GetReleaseStatusResponse parseFrom( 4504 com.google.protobuf.CodedInputStream input, 4505 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 4506 throws java.io.IOException { 4507 return com.google.protobuf.GeneratedMessageV3 4508 .parseWithIOException(PARSER, input, extensionRegistry); 4509 } 4510 4511 public Builder newBuilderForType() { return newBuilder(); } 4512 public static Builder newBuilder() { 4513 return DEFAULT_INSTANCE.toBuilder(); 4514 } 4515 public static Builder newBuilder(hapi.services.tiller.Tiller.GetReleaseStatusResponse prototype) { 4516 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 4517 } 4518 public Builder toBuilder() { 4519 return this == DEFAULT_INSTANCE 4520 ? new Builder() : new Builder().mergeFrom(this); 4521 } 4522 4523 @java.lang.Override 4524 protected Builder newBuilderForType( 4525 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 4526 Builder builder = new Builder(parent); 4527 return builder; 4528 } 4529 /** 4530 * <pre> 4531 * GetReleaseStatusResponse is the response indicating the status of the named release. 4532 * </pre> 4533 * 4534 * Protobuf type {@code hapi.services.tiller.GetReleaseStatusResponse} 4535 */ 4536 public static final class Builder extends 4537 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 4538 // @@protoc_insertion_point(builder_implements:hapi.services.tiller.GetReleaseStatusResponse) 4539 hapi.services.tiller.Tiller.GetReleaseStatusResponseOrBuilder { 4540 public static final com.google.protobuf.Descriptors.Descriptor 4541 getDescriptor() { 4542 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetReleaseStatusResponse_descriptor; 4543 } 4544 4545 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 4546 internalGetFieldAccessorTable() { 4547 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetReleaseStatusResponse_fieldAccessorTable 4548 .ensureFieldAccessorsInitialized( 4549 hapi.services.tiller.Tiller.GetReleaseStatusResponse.class, hapi.services.tiller.Tiller.GetReleaseStatusResponse.Builder.class); 4550 } 4551 4552 // Construct using hapi.services.tiller.Tiller.GetReleaseStatusResponse.newBuilder() 4553 private Builder() { 4554 maybeForceBuilderInitialization(); 4555 } 4556 4557 private Builder( 4558 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 4559 super(parent); 4560 maybeForceBuilderInitialization(); 4561 } 4562 private void maybeForceBuilderInitialization() { 4563 if (com.google.protobuf.GeneratedMessageV3 4564 .alwaysUseFieldBuilders) { 4565 } 4566 } 4567 public Builder clear() { 4568 super.clear(); 4569 name_ = ""; 4570 4571 if (infoBuilder_ == null) { 4572 info_ = null; 4573 } else { 4574 info_ = null; 4575 infoBuilder_ = null; 4576 } 4577 namespace_ = ""; 4578 4579 return this; 4580 } 4581 4582 public com.google.protobuf.Descriptors.Descriptor 4583 getDescriptorForType() { 4584 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetReleaseStatusResponse_descriptor; 4585 } 4586 4587 public hapi.services.tiller.Tiller.GetReleaseStatusResponse getDefaultInstanceForType() { 4588 return hapi.services.tiller.Tiller.GetReleaseStatusResponse.getDefaultInstance(); 4589 } 4590 4591 public hapi.services.tiller.Tiller.GetReleaseStatusResponse build() { 4592 hapi.services.tiller.Tiller.GetReleaseStatusResponse result = buildPartial(); 4593 if (!result.isInitialized()) { 4594 throw newUninitializedMessageException(result); 4595 } 4596 return result; 4597 } 4598 4599 public hapi.services.tiller.Tiller.GetReleaseStatusResponse buildPartial() { 4600 hapi.services.tiller.Tiller.GetReleaseStatusResponse result = new hapi.services.tiller.Tiller.GetReleaseStatusResponse(this); 4601 result.name_ = name_; 4602 if (infoBuilder_ == null) { 4603 result.info_ = info_; 4604 } else { 4605 result.info_ = infoBuilder_.build(); 4606 } 4607 result.namespace_ = namespace_; 4608 onBuilt(); 4609 return result; 4610 } 4611 4612 public Builder clone() { 4613 return (Builder) super.clone(); 4614 } 4615 public Builder setField( 4616 com.google.protobuf.Descriptors.FieldDescriptor field, 4617 java.lang.Object value) { 4618 return (Builder) super.setField(field, value); 4619 } 4620 public Builder clearField( 4621 com.google.protobuf.Descriptors.FieldDescriptor field) { 4622 return (Builder) super.clearField(field); 4623 } 4624 public Builder clearOneof( 4625 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 4626 return (Builder) super.clearOneof(oneof); 4627 } 4628 public Builder setRepeatedField( 4629 com.google.protobuf.Descriptors.FieldDescriptor field, 4630 int index, java.lang.Object value) { 4631 return (Builder) super.setRepeatedField(field, index, value); 4632 } 4633 public Builder addRepeatedField( 4634 com.google.protobuf.Descriptors.FieldDescriptor field, 4635 java.lang.Object value) { 4636 return (Builder) super.addRepeatedField(field, value); 4637 } 4638 public Builder mergeFrom(com.google.protobuf.Message other) { 4639 if (other instanceof hapi.services.tiller.Tiller.GetReleaseStatusResponse) { 4640 return mergeFrom((hapi.services.tiller.Tiller.GetReleaseStatusResponse)other); 4641 } else { 4642 super.mergeFrom(other); 4643 return this; 4644 } 4645 } 4646 4647 public Builder mergeFrom(hapi.services.tiller.Tiller.GetReleaseStatusResponse other) { 4648 if (other == hapi.services.tiller.Tiller.GetReleaseStatusResponse.getDefaultInstance()) return this; 4649 if (!other.getName().isEmpty()) { 4650 name_ = other.name_; 4651 onChanged(); 4652 } 4653 if (other.hasInfo()) { 4654 mergeInfo(other.getInfo()); 4655 } 4656 if (!other.getNamespace().isEmpty()) { 4657 namespace_ = other.namespace_; 4658 onChanged(); 4659 } 4660 this.mergeUnknownFields(other.unknownFields); 4661 onChanged(); 4662 return this; 4663 } 4664 4665 public final boolean isInitialized() { 4666 return true; 4667 } 4668 4669 public Builder mergeFrom( 4670 com.google.protobuf.CodedInputStream input, 4671 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 4672 throws java.io.IOException { 4673 hapi.services.tiller.Tiller.GetReleaseStatusResponse parsedMessage = null; 4674 try { 4675 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 4676 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 4677 parsedMessage = (hapi.services.tiller.Tiller.GetReleaseStatusResponse) e.getUnfinishedMessage(); 4678 throw e.unwrapIOException(); 4679 } finally { 4680 if (parsedMessage != null) { 4681 mergeFrom(parsedMessage); 4682 } 4683 } 4684 return this; 4685 } 4686 4687 private java.lang.Object name_ = ""; 4688 /** 4689 * <pre> 4690 * Name is the name of the release. 4691 * </pre> 4692 * 4693 * <code>string name = 1;</code> 4694 */ 4695 public java.lang.String getName() { 4696 java.lang.Object ref = name_; 4697 if (!(ref instanceof java.lang.String)) { 4698 com.google.protobuf.ByteString bs = 4699 (com.google.protobuf.ByteString) ref; 4700 java.lang.String s = bs.toStringUtf8(); 4701 name_ = s; 4702 return s; 4703 } else { 4704 return (java.lang.String) ref; 4705 } 4706 } 4707 /** 4708 * <pre> 4709 * Name is the name of the release. 4710 * </pre> 4711 * 4712 * <code>string name = 1;</code> 4713 */ 4714 public com.google.protobuf.ByteString 4715 getNameBytes() { 4716 java.lang.Object ref = name_; 4717 if (ref instanceof String) { 4718 com.google.protobuf.ByteString b = 4719 com.google.protobuf.ByteString.copyFromUtf8( 4720 (java.lang.String) ref); 4721 name_ = b; 4722 return b; 4723 } else { 4724 return (com.google.protobuf.ByteString) ref; 4725 } 4726 } 4727 /** 4728 * <pre> 4729 * Name is the name of the release. 4730 * </pre> 4731 * 4732 * <code>string name = 1;</code> 4733 */ 4734 public Builder setName( 4735 java.lang.String value) { 4736 if (value == null) { 4737 throw new NullPointerException(); 4738 } 4739 4740 name_ = value; 4741 onChanged(); 4742 return this; 4743 } 4744 /** 4745 * <pre> 4746 * Name is the name of the release. 4747 * </pre> 4748 * 4749 * <code>string name = 1;</code> 4750 */ 4751 public Builder clearName() { 4752 4753 name_ = getDefaultInstance().getName(); 4754 onChanged(); 4755 return this; 4756 } 4757 /** 4758 * <pre> 4759 * Name is the name of the release. 4760 * </pre> 4761 * 4762 * <code>string name = 1;</code> 4763 */ 4764 public Builder setNameBytes( 4765 com.google.protobuf.ByteString value) { 4766 if (value == null) { 4767 throw new NullPointerException(); 4768 } 4769 checkByteStringIsUtf8(value); 4770 4771 name_ = value; 4772 onChanged(); 4773 return this; 4774 } 4775 4776 private hapi.release.InfoOuterClass.Info info_ = null; 4777 private com.google.protobuf.SingleFieldBuilderV3< 4778 hapi.release.InfoOuterClass.Info, hapi.release.InfoOuterClass.Info.Builder, hapi.release.InfoOuterClass.InfoOrBuilder> infoBuilder_; 4779 /** 4780 * <pre> 4781 * Info contains information about the release. 4782 * </pre> 4783 * 4784 * <code>.hapi.release.Info info = 2;</code> 4785 */ 4786 public boolean hasInfo() { 4787 return infoBuilder_ != null || info_ != null; 4788 } 4789 /** 4790 * <pre> 4791 * Info contains information about the release. 4792 * </pre> 4793 * 4794 * <code>.hapi.release.Info info = 2;</code> 4795 */ 4796 public hapi.release.InfoOuterClass.Info getInfo() { 4797 if (infoBuilder_ == null) { 4798 return info_ == null ? hapi.release.InfoOuterClass.Info.getDefaultInstance() : info_; 4799 } else { 4800 return infoBuilder_.getMessage(); 4801 } 4802 } 4803 /** 4804 * <pre> 4805 * Info contains information about the release. 4806 * </pre> 4807 * 4808 * <code>.hapi.release.Info info = 2;</code> 4809 */ 4810 public Builder setInfo(hapi.release.InfoOuterClass.Info value) { 4811 if (infoBuilder_ == null) { 4812 if (value == null) { 4813 throw new NullPointerException(); 4814 } 4815 info_ = value; 4816 onChanged(); 4817 } else { 4818 infoBuilder_.setMessage(value); 4819 } 4820 4821 return this; 4822 } 4823 /** 4824 * <pre> 4825 * Info contains information about the release. 4826 * </pre> 4827 * 4828 * <code>.hapi.release.Info info = 2;</code> 4829 */ 4830 public Builder setInfo( 4831 hapi.release.InfoOuterClass.Info.Builder builderForValue) { 4832 if (infoBuilder_ == null) { 4833 info_ = builderForValue.build(); 4834 onChanged(); 4835 } else { 4836 infoBuilder_.setMessage(builderForValue.build()); 4837 } 4838 4839 return this; 4840 } 4841 /** 4842 * <pre> 4843 * Info contains information about the release. 4844 * </pre> 4845 * 4846 * <code>.hapi.release.Info info = 2;</code> 4847 */ 4848 public Builder mergeInfo(hapi.release.InfoOuterClass.Info value) { 4849 if (infoBuilder_ == null) { 4850 if (info_ != null) { 4851 info_ = 4852 hapi.release.InfoOuterClass.Info.newBuilder(info_).mergeFrom(value).buildPartial(); 4853 } else { 4854 info_ = value; 4855 } 4856 onChanged(); 4857 } else { 4858 infoBuilder_.mergeFrom(value); 4859 } 4860 4861 return this; 4862 } 4863 /** 4864 * <pre> 4865 * Info contains information about the release. 4866 * </pre> 4867 * 4868 * <code>.hapi.release.Info info = 2;</code> 4869 */ 4870 public Builder clearInfo() { 4871 if (infoBuilder_ == null) { 4872 info_ = null; 4873 onChanged(); 4874 } else { 4875 info_ = null; 4876 infoBuilder_ = null; 4877 } 4878 4879 return this; 4880 } 4881 /** 4882 * <pre> 4883 * Info contains information about the release. 4884 * </pre> 4885 * 4886 * <code>.hapi.release.Info info = 2;</code> 4887 */ 4888 public hapi.release.InfoOuterClass.Info.Builder getInfoBuilder() { 4889 4890 onChanged(); 4891 return getInfoFieldBuilder().getBuilder(); 4892 } 4893 /** 4894 * <pre> 4895 * Info contains information about the release. 4896 * </pre> 4897 * 4898 * <code>.hapi.release.Info info = 2;</code> 4899 */ 4900 public hapi.release.InfoOuterClass.InfoOrBuilder getInfoOrBuilder() { 4901 if (infoBuilder_ != null) { 4902 return infoBuilder_.getMessageOrBuilder(); 4903 } else { 4904 return info_ == null ? 4905 hapi.release.InfoOuterClass.Info.getDefaultInstance() : info_; 4906 } 4907 } 4908 /** 4909 * <pre> 4910 * Info contains information about the release. 4911 * </pre> 4912 * 4913 * <code>.hapi.release.Info info = 2;</code> 4914 */ 4915 private com.google.protobuf.SingleFieldBuilderV3< 4916 hapi.release.InfoOuterClass.Info, hapi.release.InfoOuterClass.Info.Builder, hapi.release.InfoOuterClass.InfoOrBuilder> 4917 getInfoFieldBuilder() { 4918 if (infoBuilder_ == null) { 4919 infoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< 4920 hapi.release.InfoOuterClass.Info, hapi.release.InfoOuterClass.Info.Builder, hapi.release.InfoOuterClass.InfoOrBuilder>( 4921 getInfo(), 4922 getParentForChildren(), 4923 isClean()); 4924 info_ = null; 4925 } 4926 return infoBuilder_; 4927 } 4928 4929 private java.lang.Object namespace_ = ""; 4930 /** 4931 * <pre> 4932 * Namesapce the release was released into 4933 * </pre> 4934 * 4935 * <code>string namespace = 3;</code> 4936 */ 4937 public java.lang.String getNamespace() { 4938 java.lang.Object ref = namespace_; 4939 if (!(ref instanceof java.lang.String)) { 4940 com.google.protobuf.ByteString bs = 4941 (com.google.protobuf.ByteString) ref; 4942 java.lang.String s = bs.toStringUtf8(); 4943 namespace_ = s; 4944 return s; 4945 } else { 4946 return (java.lang.String) ref; 4947 } 4948 } 4949 /** 4950 * <pre> 4951 * Namesapce the release was released into 4952 * </pre> 4953 * 4954 * <code>string namespace = 3;</code> 4955 */ 4956 public com.google.protobuf.ByteString 4957 getNamespaceBytes() { 4958 java.lang.Object ref = namespace_; 4959 if (ref instanceof String) { 4960 com.google.protobuf.ByteString b = 4961 com.google.protobuf.ByteString.copyFromUtf8( 4962 (java.lang.String) ref); 4963 namespace_ = b; 4964 return b; 4965 } else { 4966 return (com.google.protobuf.ByteString) ref; 4967 } 4968 } 4969 /** 4970 * <pre> 4971 * Namesapce the release was released into 4972 * </pre> 4973 * 4974 * <code>string namespace = 3;</code> 4975 */ 4976 public Builder setNamespace( 4977 java.lang.String value) { 4978 if (value == null) { 4979 throw new NullPointerException(); 4980 } 4981 4982 namespace_ = value; 4983 onChanged(); 4984 return this; 4985 } 4986 /** 4987 * <pre> 4988 * Namesapce the release was released into 4989 * </pre> 4990 * 4991 * <code>string namespace = 3;</code> 4992 */ 4993 public Builder clearNamespace() { 4994 4995 namespace_ = getDefaultInstance().getNamespace(); 4996 onChanged(); 4997 return this; 4998 } 4999 /** 5000 * <pre> 5001 * Namesapce the release was released into 5002 * </pre> 5003 * 5004 * <code>string namespace = 3;</code> 5005 */ 5006 public Builder setNamespaceBytes( 5007 com.google.protobuf.ByteString value) { 5008 if (value == null) { 5009 throw new NullPointerException(); 5010 } 5011 checkByteStringIsUtf8(value); 5012 5013 namespace_ = value; 5014 onChanged(); 5015 return this; 5016 } 5017 public final Builder setUnknownFields( 5018 final com.google.protobuf.UnknownFieldSet unknownFields) { 5019 return super.setUnknownFieldsProto3(unknownFields); 5020 } 5021 5022 public final Builder mergeUnknownFields( 5023 final com.google.protobuf.UnknownFieldSet unknownFields) { 5024 return super.mergeUnknownFields(unknownFields); 5025 } 5026 5027 5028 // @@protoc_insertion_point(builder_scope:hapi.services.tiller.GetReleaseStatusResponse) 5029 } 5030 5031 // @@protoc_insertion_point(class_scope:hapi.services.tiller.GetReleaseStatusResponse) 5032 private static final hapi.services.tiller.Tiller.GetReleaseStatusResponse DEFAULT_INSTANCE; 5033 static { 5034 DEFAULT_INSTANCE = new hapi.services.tiller.Tiller.GetReleaseStatusResponse(); 5035 } 5036 5037 public static hapi.services.tiller.Tiller.GetReleaseStatusResponse getDefaultInstance() { 5038 return DEFAULT_INSTANCE; 5039 } 5040 5041 private static final com.google.protobuf.Parser<GetReleaseStatusResponse> 5042 PARSER = new com.google.protobuf.AbstractParser<GetReleaseStatusResponse>() { 5043 public GetReleaseStatusResponse parsePartialFrom( 5044 com.google.protobuf.CodedInputStream input, 5045 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5046 throws com.google.protobuf.InvalidProtocolBufferException { 5047 return new GetReleaseStatusResponse(input, extensionRegistry); 5048 } 5049 }; 5050 5051 public static com.google.protobuf.Parser<GetReleaseStatusResponse> parser() { 5052 return PARSER; 5053 } 5054 5055 @java.lang.Override 5056 public com.google.protobuf.Parser<GetReleaseStatusResponse> getParserForType() { 5057 return PARSER; 5058 } 5059 5060 public hapi.services.tiller.Tiller.GetReleaseStatusResponse getDefaultInstanceForType() { 5061 return DEFAULT_INSTANCE; 5062 } 5063 5064 } 5065 5066 public interface GetReleaseContentRequestOrBuilder extends 5067 // @@protoc_insertion_point(interface_extends:hapi.services.tiller.GetReleaseContentRequest) 5068 com.google.protobuf.MessageOrBuilder { 5069 5070 /** 5071 * <pre> 5072 * The name of the release 5073 * </pre> 5074 * 5075 * <code>string name = 1;</code> 5076 */ 5077 java.lang.String getName(); 5078 /** 5079 * <pre> 5080 * The name of the release 5081 * </pre> 5082 * 5083 * <code>string name = 1;</code> 5084 */ 5085 com.google.protobuf.ByteString 5086 getNameBytes(); 5087 5088 /** 5089 * <pre> 5090 * Version is the version of the release 5091 * </pre> 5092 * 5093 * <code>int32 version = 2;</code> 5094 */ 5095 int getVersion(); 5096 } 5097 /** 5098 * <pre> 5099 * GetReleaseContentRequest is a request to get the contents of a release. 5100 * </pre> 5101 * 5102 * Protobuf type {@code hapi.services.tiller.GetReleaseContentRequest} 5103 */ 5104 public static final class GetReleaseContentRequest extends 5105 com.google.protobuf.GeneratedMessageV3 implements 5106 // @@protoc_insertion_point(message_implements:hapi.services.tiller.GetReleaseContentRequest) 5107 GetReleaseContentRequestOrBuilder { 5108 private static final long serialVersionUID = 0L; 5109 // Use GetReleaseContentRequest.newBuilder() to construct. 5110 private GetReleaseContentRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 5111 super(builder); 5112 } 5113 private GetReleaseContentRequest() { 5114 name_ = ""; 5115 version_ = 0; 5116 } 5117 5118 @java.lang.Override 5119 public final com.google.protobuf.UnknownFieldSet 5120 getUnknownFields() { 5121 return this.unknownFields; 5122 } 5123 private GetReleaseContentRequest( 5124 com.google.protobuf.CodedInputStream input, 5125 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5126 throws com.google.protobuf.InvalidProtocolBufferException { 5127 this(); 5128 if (extensionRegistry == null) { 5129 throw new java.lang.NullPointerException(); 5130 } 5131 int mutable_bitField0_ = 0; 5132 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 5133 com.google.protobuf.UnknownFieldSet.newBuilder(); 5134 try { 5135 boolean done = false; 5136 while (!done) { 5137 int tag = input.readTag(); 5138 switch (tag) { 5139 case 0: 5140 done = true; 5141 break; 5142 default: { 5143 if (!parseUnknownFieldProto3( 5144 input, unknownFields, extensionRegistry, tag)) { 5145 done = true; 5146 } 5147 break; 5148 } 5149 case 10: { 5150 java.lang.String s = input.readStringRequireUtf8(); 5151 5152 name_ = s; 5153 break; 5154 } 5155 case 16: { 5156 5157 version_ = input.readInt32(); 5158 break; 5159 } 5160 } 5161 } 5162 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 5163 throw e.setUnfinishedMessage(this); 5164 } catch (java.io.IOException e) { 5165 throw new com.google.protobuf.InvalidProtocolBufferException( 5166 e).setUnfinishedMessage(this); 5167 } finally { 5168 this.unknownFields = unknownFields.build(); 5169 makeExtensionsImmutable(); 5170 } 5171 } 5172 public static final com.google.protobuf.Descriptors.Descriptor 5173 getDescriptor() { 5174 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetReleaseContentRequest_descriptor; 5175 } 5176 5177 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 5178 internalGetFieldAccessorTable() { 5179 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetReleaseContentRequest_fieldAccessorTable 5180 .ensureFieldAccessorsInitialized( 5181 hapi.services.tiller.Tiller.GetReleaseContentRequest.class, hapi.services.tiller.Tiller.GetReleaseContentRequest.Builder.class); 5182 } 5183 5184 public static final int NAME_FIELD_NUMBER = 1; 5185 private volatile java.lang.Object name_; 5186 /** 5187 * <pre> 5188 * The name of the release 5189 * </pre> 5190 * 5191 * <code>string name = 1;</code> 5192 */ 5193 public java.lang.String getName() { 5194 java.lang.Object ref = name_; 5195 if (ref instanceof java.lang.String) { 5196 return (java.lang.String) ref; 5197 } else { 5198 com.google.protobuf.ByteString bs = 5199 (com.google.protobuf.ByteString) ref; 5200 java.lang.String s = bs.toStringUtf8(); 5201 name_ = s; 5202 return s; 5203 } 5204 } 5205 /** 5206 * <pre> 5207 * The name of the release 5208 * </pre> 5209 * 5210 * <code>string name = 1;</code> 5211 */ 5212 public com.google.protobuf.ByteString 5213 getNameBytes() { 5214 java.lang.Object ref = name_; 5215 if (ref instanceof java.lang.String) { 5216 com.google.protobuf.ByteString b = 5217 com.google.protobuf.ByteString.copyFromUtf8( 5218 (java.lang.String) ref); 5219 name_ = b; 5220 return b; 5221 } else { 5222 return (com.google.protobuf.ByteString) ref; 5223 } 5224 } 5225 5226 public static final int VERSION_FIELD_NUMBER = 2; 5227 private int version_; 5228 /** 5229 * <pre> 5230 * Version is the version of the release 5231 * </pre> 5232 * 5233 * <code>int32 version = 2;</code> 5234 */ 5235 public int getVersion() { 5236 return version_; 5237 } 5238 5239 private byte memoizedIsInitialized = -1; 5240 public final boolean isInitialized() { 5241 byte isInitialized = memoizedIsInitialized; 5242 if (isInitialized == 1) return true; 5243 if (isInitialized == 0) return false; 5244 5245 memoizedIsInitialized = 1; 5246 return true; 5247 } 5248 5249 public void writeTo(com.google.protobuf.CodedOutputStream output) 5250 throws java.io.IOException { 5251 if (!getNameBytes().isEmpty()) { 5252 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); 5253 } 5254 if (version_ != 0) { 5255 output.writeInt32(2, version_); 5256 } 5257 unknownFields.writeTo(output); 5258 } 5259 5260 public int getSerializedSize() { 5261 int size = memoizedSize; 5262 if (size != -1) return size; 5263 5264 size = 0; 5265 if (!getNameBytes().isEmpty()) { 5266 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); 5267 } 5268 if (version_ != 0) { 5269 size += com.google.protobuf.CodedOutputStream 5270 .computeInt32Size(2, version_); 5271 } 5272 size += unknownFields.getSerializedSize(); 5273 memoizedSize = size; 5274 return size; 5275 } 5276 5277 @java.lang.Override 5278 public boolean equals(final java.lang.Object obj) { 5279 if (obj == this) { 5280 return true; 5281 } 5282 if (!(obj instanceof hapi.services.tiller.Tiller.GetReleaseContentRequest)) { 5283 return super.equals(obj); 5284 } 5285 hapi.services.tiller.Tiller.GetReleaseContentRequest other = (hapi.services.tiller.Tiller.GetReleaseContentRequest) obj; 5286 5287 boolean result = true; 5288 result = result && getName() 5289 .equals(other.getName()); 5290 result = result && (getVersion() 5291 == other.getVersion()); 5292 result = result && unknownFields.equals(other.unknownFields); 5293 return result; 5294 } 5295 5296 @java.lang.Override 5297 public int hashCode() { 5298 if (memoizedHashCode != 0) { 5299 return memoizedHashCode; 5300 } 5301 int hash = 41; 5302 hash = (19 * hash) + getDescriptor().hashCode(); 5303 hash = (37 * hash) + NAME_FIELD_NUMBER; 5304 hash = (53 * hash) + getName().hashCode(); 5305 hash = (37 * hash) + VERSION_FIELD_NUMBER; 5306 hash = (53 * hash) + getVersion(); 5307 hash = (29 * hash) + unknownFields.hashCode(); 5308 memoizedHashCode = hash; 5309 return hash; 5310 } 5311 5312 public static hapi.services.tiller.Tiller.GetReleaseContentRequest parseFrom( 5313 java.nio.ByteBuffer data) 5314 throws com.google.protobuf.InvalidProtocolBufferException { 5315 return PARSER.parseFrom(data); 5316 } 5317 public static hapi.services.tiller.Tiller.GetReleaseContentRequest parseFrom( 5318 java.nio.ByteBuffer data, 5319 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5320 throws com.google.protobuf.InvalidProtocolBufferException { 5321 return PARSER.parseFrom(data, extensionRegistry); 5322 } 5323 public static hapi.services.tiller.Tiller.GetReleaseContentRequest parseFrom( 5324 com.google.protobuf.ByteString data) 5325 throws com.google.protobuf.InvalidProtocolBufferException { 5326 return PARSER.parseFrom(data); 5327 } 5328 public static hapi.services.tiller.Tiller.GetReleaseContentRequest parseFrom( 5329 com.google.protobuf.ByteString data, 5330 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5331 throws com.google.protobuf.InvalidProtocolBufferException { 5332 return PARSER.parseFrom(data, extensionRegistry); 5333 } 5334 public static hapi.services.tiller.Tiller.GetReleaseContentRequest parseFrom(byte[] data) 5335 throws com.google.protobuf.InvalidProtocolBufferException { 5336 return PARSER.parseFrom(data); 5337 } 5338 public static hapi.services.tiller.Tiller.GetReleaseContentRequest parseFrom( 5339 byte[] data, 5340 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5341 throws com.google.protobuf.InvalidProtocolBufferException { 5342 return PARSER.parseFrom(data, extensionRegistry); 5343 } 5344 public static hapi.services.tiller.Tiller.GetReleaseContentRequest parseFrom(java.io.InputStream input) 5345 throws java.io.IOException { 5346 return com.google.protobuf.GeneratedMessageV3 5347 .parseWithIOException(PARSER, input); 5348 } 5349 public static hapi.services.tiller.Tiller.GetReleaseContentRequest parseFrom( 5350 java.io.InputStream input, 5351 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5352 throws java.io.IOException { 5353 return com.google.protobuf.GeneratedMessageV3 5354 .parseWithIOException(PARSER, input, extensionRegistry); 5355 } 5356 public static hapi.services.tiller.Tiller.GetReleaseContentRequest parseDelimitedFrom(java.io.InputStream input) 5357 throws java.io.IOException { 5358 return com.google.protobuf.GeneratedMessageV3 5359 .parseDelimitedWithIOException(PARSER, input); 5360 } 5361 public static hapi.services.tiller.Tiller.GetReleaseContentRequest parseDelimitedFrom( 5362 java.io.InputStream input, 5363 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5364 throws java.io.IOException { 5365 return com.google.protobuf.GeneratedMessageV3 5366 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 5367 } 5368 public static hapi.services.tiller.Tiller.GetReleaseContentRequest parseFrom( 5369 com.google.protobuf.CodedInputStream input) 5370 throws java.io.IOException { 5371 return com.google.protobuf.GeneratedMessageV3 5372 .parseWithIOException(PARSER, input); 5373 } 5374 public static hapi.services.tiller.Tiller.GetReleaseContentRequest parseFrom( 5375 com.google.protobuf.CodedInputStream input, 5376 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5377 throws java.io.IOException { 5378 return com.google.protobuf.GeneratedMessageV3 5379 .parseWithIOException(PARSER, input, extensionRegistry); 5380 } 5381 5382 public Builder newBuilderForType() { return newBuilder(); } 5383 public static Builder newBuilder() { 5384 return DEFAULT_INSTANCE.toBuilder(); 5385 } 5386 public static Builder newBuilder(hapi.services.tiller.Tiller.GetReleaseContentRequest prototype) { 5387 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 5388 } 5389 public Builder toBuilder() { 5390 return this == DEFAULT_INSTANCE 5391 ? new Builder() : new Builder().mergeFrom(this); 5392 } 5393 5394 @java.lang.Override 5395 protected Builder newBuilderForType( 5396 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 5397 Builder builder = new Builder(parent); 5398 return builder; 5399 } 5400 /** 5401 * <pre> 5402 * GetReleaseContentRequest is a request to get the contents of a release. 5403 * </pre> 5404 * 5405 * Protobuf type {@code hapi.services.tiller.GetReleaseContentRequest} 5406 */ 5407 public static final class Builder extends 5408 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 5409 // @@protoc_insertion_point(builder_implements:hapi.services.tiller.GetReleaseContentRequest) 5410 hapi.services.tiller.Tiller.GetReleaseContentRequestOrBuilder { 5411 public static final com.google.protobuf.Descriptors.Descriptor 5412 getDescriptor() { 5413 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetReleaseContentRequest_descriptor; 5414 } 5415 5416 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 5417 internalGetFieldAccessorTable() { 5418 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetReleaseContentRequest_fieldAccessorTable 5419 .ensureFieldAccessorsInitialized( 5420 hapi.services.tiller.Tiller.GetReleaseContentRequest.class, hapi.services.tiller.Tiller.GetReleaseContentRequest.Builder.class); 5421 } 5422 5423 // Construct using hapi.services.tiller.Tiller.GetReleaseContentRequest.newBuilder() 5424 private Builder() { 5425 maybeForceBuilderInitialization(); 5426 } 5427 5428 private Builder( 5429 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 5430 super(parent); 5431 maybeForceBuilderInitialization(); 5432 } 5433 private void maybeForceBuilderInitialization() { 5434 if (com.google.protobuf.GeneratedMessageV3 5435 .alwaysUseFieldBuilders) { 5436 } 5437 } 5438 public Builder clear() { 5439 super.clear(); 5440 name_ = ""; 5441 5442 version_ = 0; 5443 5444 return this; 5445 } 5446 5447 public com.google.protobuf.Descriptors.Descriptor 5448 getDescriptorForType() { 5449 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetReleaseContentRequest_descriptor; 5450 } 5451 5452 public hapi.services.tiller.Tiller.GetReleaseContentRequest getDefaultInstanceForType() { 5453 return hapi.services.tiller.Tiller.GetReleaseContentRequest.getDefaultInstance(); 5454 } 5455 5456 public hapi.services.tiller.Tiller.GetReleaseContentRequest build() { 5457 hapi.services.tiller.Tiller.GetReleaseContentRequest result = buildPartial(); 5458 if (!result.isInitialized()) { 5459 throw newUninitializedMessageException(result); 5460 } 5461 return result; 5462 } 5463 5464 public hapi.services.tiller.Tiller.GetReleaseContentRequest buildPartial() { 5465 hapi.services.tiller.Tiller.GetReleaseContentRequest result = new hapi.services.tiller.Tiller.GetReleaseContentRequest(this); 5466 result.name_ = name_; 5467 result.version_ = version_; 5468 onBuilt(); 5469 return result; 5470 } 5471 5472 public Builder clone() { 5473 return (Builder) super.clone(); 5474 } 5475 public Builder setField( 5476 com.google.protobuf.Descriptors.FieldDescriptor field, 5477 java.lang.Object value) { 5478 return (Builder) super.setField(field, value); 5479 } 5480 public Builder clearField( 5481 com.google.protobuf.Descriptors.FieldDescriptor field) { 5482 return (Builder) super.clearField(field); 5483 } 5484 public Builder clearOneof( 5485 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 5486 return (Builder) super.clearOneof(oneof); 5487 } 5488 public Builder setRepeatedField( 5489 com.google.protobuf.Descriptors.FieldDescriptor field, 5490 int index, java.lang.Object value) { 5491 return (Builder) super.setRepeatedField(field, index, value); 5492 } 5493 public Builder addRepeatedField( 5494 com.google.protobuf.Descriptors.FieldDescriptor field, 5495 java.lang.Object value) { 5496 return (Builder) super.addRepeatedField(field, value); 5497 } 5498 public Builder mergeFrom(com.google.protobuf.Message other) { 5499 if (other instanceof hapi.services.tiller.Tiller.GetReleaseContentRequest) { 5500 return mergeFrom((hapi.services.tiller.Tiller.GetReleaseContentRequest)other); 5501 } else { 5502 super.mergeFrom(other); 5503 return this; 5504 } 5505 } 5506 5507 public Builder mergeFrom(hapi.services.tiller.Tiller.GetReleaseContentRequest other) { 5508 if (other == hapi.services.tiller.Tiller.GetReleaseContentRequest.getDefaultInstance()) return this; 5509 if (!other.getName().isEmpty()) { 5510 name_ = other.name_; 5511 onChanged(); 5512 } 5513 if (other.getVersion() != 0) { 5514 setVersion(other.getVersion()); 5515 } 5516 this.mergeUnknownFields(other.unknownFields); 5517 onChanged(); 5518 return this; 5519 } 5520 5521 public final boolean isInitialized() { 5522 return true; 5523 } 5524 5525 public Builder mergeFrom( 5526 com.google.protobuf.CodedInputStream input, 5527 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5528 throws java.io.IOException { 5529 hapi.services.tiller.Tiller.GetReleaseContentRequest parsedMessage = null; 5530 try { 5531 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 5532 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 5533 parsedMessage = (hapi.services.tiller.Tiller.GetReleaseContentRequest) e.getUnfinishedMessage(); 5534 throw e.unwrapIOException(); 5535 } finally { 5536 if (parsedMessage != null) { 5537 mergeFrom(parsedMessage); 5538 } 5539 } 5540 return this; 5541 } 5542 5543 private java.lang.Object name_ = ""; 5544 /** 5545 * <pre> 5546 * The name of the release 5547 * </pre> 5548 * 5549 * <code>string name = 1;</code> 5550 */ 5551 public java.lang.String getName() { 5552 java.lang.Object ref = name_; 5553 if (!(ref instanceof java.lang.String)) { 5554 com.google.protobuf.ByteString bs = 5555 (com.google.protobuf.ByteString) ref; 5556 java.lang.String s = bs.toStringUtf8(); 5557 name_ = s; 5558 return s; 5559 } else { 5560 return (java.lang.String) ref; 5561 } 5562 } 5563 /** 5564 * <pre> 5565 * The name of the release 5566 * </pre> 5567 * 5568 * <code>string name = 1;</code> 5569 */ 5570 public com.google.protobuf.ByteString 5571 getNameBytes() { 5572 java.lang.Object ref = name_; 5573 if (ref instanceof String) { 5574 com.google.protobuf.ByteString b = 5575 com.google.protobuf.ByteString.copyFromUtf8( 5576 (java.lang.String) ref); 5577 name_ = b; 5578 return b; 5579 } else { 5580 return (com.google.protobuf.ByteString) ref; 5581 } 5582 } 5583 /** 5584 * <pre> 5585 * The name of the release 5586 * </pre> 5587 * 5588 * <code>string name = 1;</code> 5589 */ 5590 public Builder setName( 5591 java.lang.String value) { 5592 if (value == null) { 5593 throw new NullPointerException(); 5594 } 5595 5596 name_ = value; 5597 onChanged(); 5598 return this; 5599 } 5600 /** 5601 * <pre> 5602 * The name of the release 5603 * </pre> 5604 * 5605 * <code>string name = 1;</code> 5606 */ 5607 public Builder clearName() { 5608 5609 name_ = getDefaultInstance().getName(); 5610 onChanged(); 5611 return this; 5612 } 5613 /** 5614 * <pre> 5615 * The name of the release 5616 * </pre> 5617 * 5618 * <code>string name = 1;</code> 5619 */ 5620 public Builder setNameBytes( 5621 com.google.protobuf.ByteString value) { 5622 if (value == null) { 5623 throw new NullPointerException(); 5624 } 5625 checkByteStringIsUtf8(value); 5626 5627 name_ = value; 5628 onChanged(); 5629 return this; 5630 } 5631 5632 private int version_ ; 5633 /** 5634 * <pre> 5635 * Version is the version of the release 5636 * </pre> 5637 * 5638 * <code>int32 version = 2;</code> 5639 */ 5640 public int getVersion() { 5641 return version_; 5642 } 5643 /** 5644 * <pre> 5645 * Version is the version of the release 5646 * </pre> 5647 * 5648 * <code>int32 version = 2;</code> 5649 */ 5650 public Builder setVersion(int value) { 5651 5652 version_ = value; 5653 onChanged(); 5654 return this; 5655 } 5656 /** 5657 * <pre> 5658 * Version is the version of the release 5659 * </pre> 5660 * 5661 * <code>int32 version = 2;</code> 5662 */ 5663 public Builder clearVersion() { 5664 5665 version_ = 0; 5666 onChanged(); 5667 return this; 5668 } 5669 public final Builder setUnknownFields( 5670 final com.google.protobuf.UnknownFieldSet unknownFields) { 5671 return super.setUnknownFieldsProto3(unknownFields); 5672 } 5673 5674 public final Builder mergeUnknownFields( 5675 final com.google.protobuf.UnknownFieldSet unknownFields) { 5676 return super.mergeUnknownFields(unknownFields); 5677 } 5678 5679 5680 // @@protoc_insertion_point(builder_scope:hapi.services.tiller.GetReleaseContentRequest) 5681 } 5682 5683 // @@protoc_insertion_point(class_scope:hapi.services.tiller.GetReleaseContentRequest) 5684 private static final hapi.services.tiller.Tiller.GetReleaseContentRequest DEFAULT_INSTANCE; 5685 static { 5686 DEFAULT_INSTANCE = new hapi.services.tiller.Tiller.GetReleaseContentRequest(); 5687 } 5688 5689 public static hapi.services.tiller.Tiller.GetReleaseContentRequest getDefaultInstance() { 5690 return DEFAULT_INSTANCE; 5691 } 5692 5693 private static final com.google.protobuf.Parser<GetReleaseContentRequest> 5694 PARSER = new com.google.protobuf.AbstractParser<GetReleaseContentRequest>() { 5695 public GetReleaseContentRequest parsePartialFrom( 5696 com.google.protobuf.CodedInputStream input, 5697 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5698 throws com.google.protobuf.InvalidProtocolBufferException { 5699 return new GetReleaseContentRequest(input, extensionRegistry); 5700 } 5701 }; 5702 5703 public static com.google.protobuf.Parser<GetReleaseContentRequest> parser() { 5704 return PARSER; 5705 } 5706 5707 @java.lang.Override 5708 public com.google.protobuf.Parser<GetReleaseContentRequest> getParserForType() { 5709 return PARSER; 5710 } 5711 5712 public hapi.services.tiller.Tiller.GetReleaseContentRequest getDefaultInstanceForType() { 5713 return DEFAULT_INSTANCE; 5714 } 5715 5716 } 5717 5718 public interface GetReleaseContentResponseOrBuilder extends 5719 // @@protoc_insertion_point(interface_extends:hapi.services.tiller.GetReleaseContentResponse) 5720 com.google.protobuf.MessageOrBuilder { 5721 5722 /** 5723 * <pre> 5724 * The release content 5725 * </pre> 5726 * 5727 * <code>.hapi.release.Release release = 1;</code> 5728 */ 5729 boolean hasRelease(); 5730 /** 5731 * <pre> 5732 * The release content 5733 * </pre> 5734 * 5735 * <code>.hapi.release.Release release = 1;</code> 5736 */ 5737 hapi.release.ReleaseOuterClass.Release getRelease(); 5738 /** 5739 * <pre> 5740 * The release content 5741 * </pre> 5742 * 5743 * <code>.hapi.release.Release release = 1;</code> 5744 */ 5745 hapi.release.ReleaseOuterClass.ReleaseOrBuilder getReleaseOrBuilder(); 5746 } 5747 /** 5748 * <pre> 5749 * GetReleaseContentResponse is a response containing the contents of a release. 5750 * </pre> 5751 * 5752 * Protobuf type {@code hapi.services.tiller.GetReleaseContentResponse} 5753 */ 5754 public static final class GetReleaseContentResponse extends 5755 com.google.protobuf.GeneratedMessageV3 implements 5756 // @@protoc_insertion_point(message_implements:hapi.services.tiller.GetReleaseContentResponse) 5757 GetReleaseContentResponseOrBuilder { 5758 private static final long serialVersionUID = 0L; 5759 // Use GetReleaseContentResponse.newBuilder() to construct. 5760 private GetReleaseContentResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 5761 super(builder); 5762 } 5763 private GetReleaseContentResponse() { 5764 } 5765 5766 @java.lang.Override 5767 public final com.google.protobuf.UnknownFieldSet 5768 getUnknownFields() { 5769 return this.unknownFields; 5770 } 5771 private GetReleaseContentResponse( 5772 com.google.protobuf.CodedInputStream input, 5773 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5774 throws com.google.protobuf.InvalidProtocolBufferException { 5775 this(); 5776 if (extensionRegistry == null) { 5777 throw new java.lang.NullPointerException(); 5778 } 5779 int mutable_bitField0_ = 0; 5780 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 5781 com.google.protobuf.UnknownFieldSet.newBuilder(); 5782 try { 5783 boolean done = false; 5784 while (!done) { 5785 int tag = input.readTag(); 5786 switch (tag) { 5787 case 0: 5788 done = true; 5789 break; 5790 default: { 5791 if (!parseUnknownFieldProto3( 5792 input, unknownFields, extensionRegistry, tag)) { 5793 done = true; 5794 } 5795 break; 5796 } 5797 case 10: { 5798 hapi.release.ReleaseOuterClass.Release.Builder subBuilder = null; 5799 if (release_ != null) { 5800 subBuilder = release_.toBuilder(); 5801 } 5802 release_ = input.readMessage(hapi.release.ReleaseOuterClass.Release.parser(), extensionRegistry); 5803 if (subBuilder != null) { 5804 subBuilder.mergeFrom(release_); 5805 release_ = subBuilder.buildPartial(); 5806 } 5807 5808 break; 5809 } 5810 } 5811 } 5812 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 5813 throw e.setUnfinishedMessage(this); 5814 } catch (java.io.IOException e) { 5815 throw new com.google.protobuf.InvalidProtocolBufferException( 5816 e).setUnfinishedMessage(this); 5817 } finally { 5818 this.unknownFields = unknownFields.build(); 5819 makeExtensionsImmutable(); 5820 } 5821 } 5822 public static final com.google.protobuf.Descriptors.Descriptor 5823 getDescriptor() { 5824 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetReleaseContentResponse_descriptor; 5825 } 5826 5827 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 5828 internalGetFieldAccessorTable() { 5829 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetReleaseContentResponse_fieldAccessorTable 5830 .ensureFieldAccessorsInitialized( 5831 hapi.services.tiller.Tiller.GetReleaseContentResponse.class, hapi.services.tiller.Tiller.GetReleaseContentResponse.Builder.class); 5832 } 5833 5834 public static final int RELEASE_FIELD_NUMBER = 1; 5835 private hapi.release.ReleaseOuterClass.Release release_; 5836 /** 5837 * <pre> 5838 * The release content 5839 * </pre> 5840 * 5841 * <code>.hapi.release.Release release = 1;</code> 5842 */ 5843 public boolean hasRelease() { 5844 return release_ != null; 5845 } 5846 /** 5847 * <pre> 5848 * The release content 5849 * </pre> 5850 * 5851 * <code>.hapi.release.Release release = 1;</code> 5852 */ 5853 public hapi.release.ReleaseOuterClass.Release getRelease() { 5854 return release_ == null ? hapi.release.ReleaseOuterClass.Release.getDefaultInstance() : release_; 5855 } 5856 /** 5857 * <pre> 5858 * The release content 5859 * </pre> 5860 * 5861 * <code>.hapi.release.Release release = 1;</code> 5862 */ 5863 public hapi.release.ReleaseOuterClass.ReleaseOrBuilder getReleaseOrBuilder() { 5864 return getRelease(); 5865 } 5866 5867 private byte memoizedIsInitialized = -1; 5868 public final boolean isInitialized() { 5869 byte isInitialized = memoizedIsInitialized; 5870 if (isInitialized == 1) return true; 5871 if (isInitialized == 0) return false; 5872 5873 memoizedIsInitialized = 1; 5874 return true; 5875 } 5876 5877 public void writeTo(com.google.protobuf.CodedOutputStream output) 5878 throws java.io.IOException { 5879 if (release_ != null) { 5880 output.writeMessage(1, getRelease()); 5881 } 5882 unknownFields.writeTo(output); 5883 } 5884 5885 public int getSerializedSize() { 5886 int size = memoizedSize; 5887 if (size != -1) return size; 5888 5889 size = 0; 5890 if (release_ != null) { 5891 size += com.google.protobuf.CodedOutputStream 5892 .computeMessageSize(1, getRelease()); 5893 } 5894 size += unknownFields.getSerializedSize(); 5895 memoizedSize = size; 5896 return size; 5897 } 5898 5899 @java.lang.Override 5900 public boolean equals(final java.lang.Object obj) { 5901 if (obj == this) { 5902 return true; 5903 } 5904 if (!(obj instanceof hapi.services.tiller.Tiller.GetReleaseContentResponse)) { 5905 return super.equals(obj); 5906 } 5907 hapi.services.tiller.Tiller.GetReleaseContentResponse other = (hapi.services.tiller.Tiller.GetReleaseContentResponse) obj; 5908 5909 boolean result = true; 5910 result = result && (hasRelease() == other.hasRelease()); 5911 if (hasRelease()) { 5912 result = result && getRelease() 5913 .equals(other.getRelease()); 5914 } 5915 result = result && unknownFields.equals(other.unknownFields); 5916 return result; 5917 } 5918 5919 @java.lang.Override 5920 public int hashCode() { 5921 if (memoizedHashCode != 0) { 5922 return memoizedHashCode; 5923 } 5924 int hash = 41; 5925 hash = (19 * hash) + getDescriptor().hashCode(); 5926 if (hasRelease()) { 5927 hash = (37 * hash) + RELEASE_FIELD_NUMBER; 5928 hash = (53 * hash) + getRelease().hashCode(); 5929 } 5930 hash = (29 * hash) + unknownFields.hashCode(); 5931 memoizedHashCode = hash; 5932 return hash; 5933 } 5934 5935 public static hapi.services.tiller.Tiller.GetReleaseContentResponse parseFrom( 5936 java.nio.ByteBuffer data) 5937 throws com.google.protobuf.InvalidProtocolBufferException { 5938 return PARSER.parseFrom(data); 5939 } 5940 public static hapi.services.tiller.Tiller.GetReleaseContentResponse parseFrom( 5941 java.nio.ByteBuffer data, 5942 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5943 throws com.google.protobuf.InvalidProtocolBufferException { 5944 return PARSER.parseFrom(data, extensionRegistry); 5945 } 5946 public static hapi.services.tiller.Tiller.GetReleaseContentResponse parseFrom( 5947 com.google.protobuf.ByteString data) 5948 throws com.google.protobuf.InvalidProtocolBufferException { 5949 return PARSER.parseFrom(data); 5950 } 5951 public static hapi.services.tiller.Tiller.GetReleaseContentResponse parseFrom( 5952 com.google.protobuf.ByteString data, 5953 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5954 throws com.google.protobuf.InvalidProtocolBufferException { 5955 return PARSER.parseFrom(data, extensionRegistry); 5956 } 5957 public static hapi.services.tiller.Tiller.GetReleaseContentResponse parseFrom(byte[] data) 5958 throws com.google.protobuf.InvalidProtocolBufferException { 5959 return PARSER.parseFrom(data); 5960 } 5961 public static hapi.services.tiller.Tiller.GetReleaseContentResponse parseFrom( 5962 byte[] data, 5963 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5964 throws com.google.protobuf.InvalidProtocolBufferException { 5965 return PARSER.parseFrom(data, extensionRegistry); 5966 } 5967 public static hapi.services.tiller.Tiller.GetReleaseContentResponse parseFrom(java.io.InputStream input) 5968 throws java.io.IOException { 5969 return com.google.protobuf.GeneratedMessageV3 5970 .parseWithIOException(PARSER, input); 5971 } 5972 public static hapi.services.tiller.Tiller.GetReleaseContentResponse parseFrom( 5973 java.io.InputStream input, 5974 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5975 throws java.io.IOException { 5976 return com.google.protobuf.GeneratedMessageV3 5977 .parseWithIOException(PARSER, input, extensionRegistry); 5978 } 5979 public static hapi.services.tiller.Tiller.GetReleaseContentResponse parseDelimitedFrom(java.io.InputStream input) 5980 throws java.io.IOException { 5981 return com.google.protobuf.GeneratedMessageV3 5982 .parseDelimitedWithIOException(PARSER, input); 5983 } 5984 public static hapi.services.tiller.Tiller.GetReleaseContentResponse parseDelimitedFrom( 5985 java.io.InputStream input, 5986 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 5987 throws java.io.IOException { 5988 return com.google.protobuf.GeneratedMessageV3 5989 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 5990 } 5991 public static hapi.services.tiller.Tiller.GetReleaseContentResponse parseFrom( 5992 com.google.protobuf.CodedInputStream input) 5993 throws java.io.IOException { 5994 return com.google.protobuf.GeneratedMessageV3 5995 .parseWithIOException(PARSER, input); 5996 } 5997 public static hapi.services.tiller.Tiller.GetReleaseContentResponse parseFrom( 5998 com.google.protobuf.CodedInputStream input, 5999 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 6000 throws java.io.IOException { 6001 return com.google.protobuf.GeneratedMessageV3 6002 .parseWithIOException(PARSER, input, extensionRegistry); 6003 } 6004 6005 public Builder newBuilderForType() { return newBuilder(); } 6006 public static Builder newBuilder() { 6007 return DEFAULT_INSTANCE.toBuilder(); 6008 } 6009 public static Builder newBuilder(hapi.services.tiller.Tiller.GetReleaseContentResponse prototype) { 6010 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 6011 } 6012 public Builder toBuilder() { 6013 return this == DEFAULT_INSTANCE 6014 ? new Builder() : new Builder().mergeFrom(this); 6015 } 6016 6017 @java.lang.Override 6018 protected Builder newBuilderForType( 6019 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 6020 Builder builder = new Builder(parent); 6021 return builder; 6022 } 6023 /** 6024 * <pre> 6025 * GetReleaseContentResponse is a response containing the contents of a release. 6026 * </pre> 6027 * 6028 * Protobuf type {@code hapi.services.tiller.GetReleaseContentResponse} 6029 */ 6030 public static final class Builder extends 6031 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 6032 // @@protoc_insertion_point(builder_implements:hapi.services.tiller.GetReleaseContentResponse) 6033 hapi.services.tiller.Tiller.GetReleaseContentResponseOrBuilder { 6034 public static final com.google.protobuf.Descriptors.Descriptor 6035 getDescriptor() { 6036 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetReleaseContentResponse_descriptor; 6037 } 6038 6039 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 6040 internalGetFieldAccessorTable() { 6041 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetReleaseContentResponse_fieldAccessorTable 6042 .ensureFieldAccessorsInitialized( 6043 hapi.services.tiller.Tiller.GetReleaseContentResponse.class, hapi.services.tiller.Tiller.GetReleaseContentResponse.Builder.class); 6044 } 6045 6046 // Construct using hapi.services.tiller.Tiller.GetReleaseContentResponse.newBuilder() 6047 private Builder() { 6048 maybeForceBuilderInitialization(); 6049 } 6050 6051 private Builder( 6052 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 6053 super(parent); 6054 maybeForceBuilderInitialization(); 6055 } 6056 private void maybeForceBuilderInitialization() { 6057 if (com.google.protobuf.GeneratedMessageV3 6058 .alwaysUseFieldBuilders) { 6059 } 6060 } 6061 public Builder clear() { 6062 super.clear(); 6063 if (releaseBuilder_ == null) { 6064 release_ = null; 6065 } else { 6066 release_ = null; 6067 releaseBuilder_ = null; 6068 } 6069 return this; 6070 } 6071 6072 public com.google.protobuf.Descriptors.Descriptor 6073 getDescriptorForType() { 6074 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetReleaseContentResponse_descriptor; 6075 } 6076 6077 public hapi.services.tiller.Tiller.GetReleaseContentResponse getDefaultInstanceForType() { 6078 return hapi.services.tiller.Tiller.GetReleaseContentResponse.getDefaultInstance(); 6079 } 6080 6081 public hapi.services.tiller.Tiller.GetReleaseContentResponse build() { 6082 hapi.services.tiller.Tiller.GetReleaseContentResponse result = buildPartial(); 6083 if (!result.isInitialized()) { 6084 throw newUninitializedMessageException(result); 6085 } 6086 return result; 6087 } 6088 6089 public hapi.services.tiller.Tiller.GetReleaseContentResponse buildPartial() { 6090 hapi.services.tiller.Tiller.GetReleaseContentResponse result = new hapi.services.tiller.Tiller.GetReleaseContentResponse(this); 6091 if (releaseBuilder_ == null) { 6092 result.release_ = release_; 6093 } else { 6094 result.release_ = releaseBuilder_.build(); 6095 } 6096 onBuilt(); 6097 return result; 6098 } 6099 6100 public Builder clone() { 6101 return (Builder) super.clone(); 6102 } 6103 public Builder setField( 6104 com.google.protobuf.Descriptors.FieldDescriptor field, 6105 java.lang.Object value) { 6106 return (Builder) super.setField(field, value); 6107 } 6108 public Builder clearField( 6109 com.google.protobuf.Descriptors.FieldDescriptor field) { 6110 return (Builder) super.clearField(field); 6111 } 6112 public Builder clearOneof( 6113 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 6114 return (Builder) super.clearOneof(oneof); 6115 } 6116 public Builder setRepeatedField( 6117 com.google.protobuf.Descriptors.FieldDescriptor field, 6118 int index, java.lang.Object value) { 6119 return (Builder) super.setRepeatedField(field, index, value); 6120 } 6121 public Builder addRepeatedField( 6122 com.google.protobuf.Descriptors.FieldDescriptor field, 6123 java.lang.Object value) { 6124 return (Builder) super.addRepeatedField(field, value); 6125 } 6126 public Builder mergeFrom(com.google.protobuf.Message other) { 6127 if (other instanceof hapi.services.tiller.Tiller.GetReleaseContentResponse) { 6128 return mergeFrom((hapi.services.tiller.Tiller.GetReleaseContentResponse)other); 6129 } else { 6130 super.mergeFrom(other); 6131 return this; 6132 } 6133 } 6134 6135 public Builder mergeFrom(hapi.services.tiller.Tiller.GetReleaseContentResponse other) { 6136 if (other == hapi.services.tiller.Tiller.GetReleaseContentResponse.getDefaultInstance()) return this; 6137 if (other.hasRelease()) { 6138 mergeRelease(other.getRelease()); 6139 } 6140 this.mergeUnknownFields(other.unknownFields); 6141 onChanged(); 6142 return this; 6143 } 6144 6145 public final boolean isInitialized() { 6146 return true; 6147 } 6148 6149 public Builder mergeFrom( 6150 com.google.protobuf.CodedInputStream input, 6151 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 6152 throws java.io.IOException { 6153 hapi.services.tiller.Tiller.GetReleaseContentResponse parsedMessage = null; 6154 try { 6155 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 6156 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 6157 parsedMessage = (hapi.services.tiller.Tiller.GetReleaseContentResponse) e.getUnfinishedMessage(); 6158 throw e.unwrapIOException(); 6159 } finally { 6160 if (parsedMessage != null) { 6161 mergeFrom(parsedMessage); 6162 } 6163 } 6164 return this; 6165 } 6166 6167 private hapi.release.ReleaseOuterClass.Release release_ = null; 6168 private com.google.protobuf.SingleFieldBuilderV3< 6169 hapi.release.ReleaseOuterClass.Release, hapi.release.ReleaseOuterClass.Release.Builder, hapi.release.ReleaseOuterClass.ReleaseOrBuilder> releaseBuilder_; 6170 /** 6171 * <pre> 6172 * The release content 6173 * </pre> 6174 * 6175 * <code>.hapi.release.Release release = 1;</code> 6176 */ 6177 public boolean hasRelease() { 6178 return releaseBuilder_ != null || release_ != null; 6179 } 6180 /** 6181 * <pre> 6182 * The release content 6183 * </pre> 6184 * 6185 * <code>.hapi.release.Release release = 1;</code> 6186 */ 6187 public hapi.release.ReleaseOuterClass.Release getRelease() { 6188 if (releaseBuilder_ == null) { 6189 return release_ == null ? hapi.release.ReleaseOuterClass.Release.getDefaultInstance() : release_; 6190 } else { 6191 return releaseBuilder_.getMessage(); 6192 } 6193 } 6194 /** 6195 * <pre> 6196 * The release content 6197 * </pre> 6198 * 6199 * <code>.hapi.release.Release release = 1;</code> 6200 */ 6201 public Builder setRelease(hapi.release.ReleaseOuterClass.Release value) { 6202 if (releaseBuilder_ == null) { 6203 if (value == null) { 6204 throw new NullPointerException(); 6205 } 6206 release_ = value; 6207 onChanged(); 6208 } else { 6209 releaseBuilder_.setMessage(value); 6210 } 6211 6212 return this; 6213 } 6214 /** 6215 * <pre> 6216 * The release content 6217 * </pre> 6218 * 6219 * <code>.hapi.release.Release release = 1;</code> 6220 */ 6221 public Builder setRelease( 6222 hapi.release.ReleaseOuterClass.Release.Builder builderForValue) { 6223 if (releaseBuilder_ == null) { 6224 release_ = builderForValue.build(); 6225 onChanged(); 6226 } else { 6227 releaseBuilder_.setMessage(builderForValue.build()); 6228 } 6229 6230 return this; 6231 } 6232 /** 6233 * <pre> 6234 * The release content 6235 * </pre> 6236 * 6237 * <code>.hapi.release.Release release = 1;</code> 6238 */ 6239 public Builder mergeRelease(hapi.release.ReleaseOuterClass.Release value) { 6240 if (releaseBuilder_ == null) { 6241 if (release_ != null) { 6242 release_ = 6243 hapi.release.ReleaseOuterClass.Release.newBuilder(release_).mergeFrom(value).buildPartial(); 6244 } else { 6245 release_ = value; 6246 } 6247 onChanged(); 6248 } else { 6249 releaseBuilder_.mergeFrom(value); 6250 } 6251 6252 return this; 6253 } 6254 /** 6255 * <pre> 6256 * The release content 6257 * </pre> 6258 * 6259 * <code>.hapi.release.Release release = 1;</code> 6260 */ 6261 public Builder clearRelease() { 6262 if (releaseBuilder_ == null) { 6263 release_ = null; 6264 onChanged(); 6265 } else { 6266 release_ = null; 6267 releaseBuilder_ = null; 6268 } 6269 6270 return this; 6271 } 6272 /** 6273 * <pre> 6274 * The release content 6275 * </pre> 6276 * 6277 * <code>.hapi.release.Release release = 1;</code> 6278 */ 6279 public hapi.release.ReleaseOuterClass.Release.Builder getReleaseBuilder() { 6280 6281 onChanged(); 6282 return getReleaseFieldBuilder().getBuilder(); 6283 } 6284 /** 6285 * <pre> 6286 * The release content 6287 * </pre> 6288 * 6289 * <code>.hapi.release.Release release = 1;</code> 6290 */ 6291 public hapi.release.ReleaseOuterClass.ReleaseOrBuilder getReleaseOrBuilder() { 6292 if (releaseBuilder_ != null) { 6293 return releaseBuilder_.getMessageOrBuilder(); 6294 } else { 6295 return release_ == null ? 6296 hapi.release.ReleaseOuterClass.Release.getDefaultInstance() : release_; 6297 } 6298 } 6299 /** 6300 * <pre> 6301 * The release content 6302 * </pre> 6303 * 6304 * <code>.hapi.release.Release release = 1;</code> 6305 */ 6306 private com.google.protobuf.SingleFieldBuilderV3< 6307 hapi.release.ReleaseOuterClass.Release, hapi.release.ReleaseOuterClass.Release.Builder, hapi.release.ReleaseOuterClass.ReleaseOrBuilder> 6308 getReleaseFieldBuilder() { 6309 if (releaseBuilder_ == null) { 6310 releaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< 6311 hapi.release.ReleaseOuterClass.Release, hapi.release.ReleaseOuterClass.Release.Builder, hapi.release.ReleaseOuterClass.ReleaseOrBuilder>( 6312 getRelease(), 6313 getParentForChildren(), 6314 isClean()); 6315 release_ = null; 6316 } 6317 return releaseBuilder_; 6318 } 6319 public final Builder setUnknownFields( 6320 final com.google.protobuf.UnknownFieldSet unknownFields) { 6321 return super.setUnknownFieldsProto3(unknownFields); 6322 } 6323 6324 public final Builder mergeUnknownFields( 6325 final com.google.protobuf.UnknownFieldSet unknownFields) { 6326 return super.mergeUnknownFields(unknownFields); 6327 } 6328 6329 6330 // @@protoc_insertion_point(builder_scope:hapi.services.tiller.GetReleaseContentResponse) 6331 } 6332 6333 // @@protoc_insertion_point(class_scope:hapi.services.tiller.GetReleaseContentResponse) 6334 private static final hapi.services.tiller.Tiller.GetReleaseContentResponse DEFAULT_INSTANCE; 6335 static { 6336 DEFAULT_INSTANCE = new hapi.services.tiller.Tiller.GetReleaseContentResponse(); 6337 } 6338 6339 public static hapi.services.tiller.Tiller.GetReleaseContentResponse getDefaultInstance() { 6340 return DEFAULT_INSTANCE; 6341 } 6342 6343 private static final com.google.protobuf.Parser<GetReleaseContentResponse> 6344 PARSER = new com.google.protobuf.AbstractParser<GetReleaseContentResponse>() { 6345 public GetReleaseContentResponse parsePartialFrom( 6346 com.google.protobuf.CodedInputStream input, 6347 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 6348 throws com.google.protobuf.InvalidProtocolBufferException { 6349 return new GetReleaseContentResponse(input, extensionRegistry); 6350 } 6351 }; 6352 6353 public static com.google.protobuf.Parser<GetReleaseContentResponse> parser() { 6354 return PARSER; 6355 } 6356 6357 @java.lang.Override 6358 public com.google.protobuf.Parser<GetReleaseContentResponse> getParserForType() { 6359 return PARSER; 6360 } 6361 6362 public hapi.services.tiller.Tiller.GetReleaseContentResponse getDefaultInstanceForType() { 6363 return DEFAULT_INSTANCE; 6364 } 6365 6366 } 6367 6368 public interface UpdateReleaseRequestOrBuilder extends 6369 // @@protoc_insertion_point(interface_extends:hapi.services.tiller.UpdateReleaseRequest) 6370 com.google.protobuf.MessageOrBuilder { 6371 6372 /** 6373 * <pre> 6374 * The name of the release 6375 * </pre> 6376 * 6377 * <code>string name = 1;</code> 6378 */ 6379 java.lang.String getName(); 6380 /** 6381 * <pre> 6382 * The name of the release 6383 * </pre> 6384 * 6385 * <code>string name = 1;</code> 6386 */ 6387 com.google.protobuf.ByteString 6388 getNameBytes(); 6389 6390 /** 6391 * <pre> 6392 * Chart is the protobuf representation of a chart. 6393 * </pre> 6394 * 6395 * <code>.hapi.chart.Chart chart = 2;</code> 6396 */ 6397 boolean hasChart(); 6398 /** 6399 * <pre> 6400 * Chart is the protobuf representation of a chart. 6401 * </pre> 6402 * 6403 * <code>.hapi.chart.Chart chart = 2;</code> 6404 */ 6405 hapi.chart.ChartOuterClass.Chart getChart(); 6406 /** 6407 * <pre> 6408 * Chart is the protobuf representation of a chart. 6409 * </pre> 6410 * 6411 * <code>.hapi.chart.Chart chart = 2;</code> 6412 */ 6413 hapi.chart.ChartOuterClass.ChartOrBuilder getChartOrBuilder(); 6414 6415 /** 6416 * <pre> 6417 * Values is a string containing (unparsed) YAML values. 6418 * </pre> 6419 * 6420 * <code>.hapi.chart.Config values = 3;</code> 6421 */ 6422 boolean hasValues(); 6423 /** 6424 * <pre> 6425 * Values is a string containing (unparsed) YAML values. 6426 * </pre> 6427 * 6428 * <code>.hapi.chart.Config values = 3;</code> 6429 */ 6430 hapi.chart.ConfigOuterClass.Config getValues(); 6431 /** 6432 * <pre> 6433 * Values is a string containing (unparsed) YAML values. 6434 * </pre> 6435 * 6436 * <code>.hapi.chart.Config values = 3;</code> 6437 */ 6438 hapi.chart.ConfigOuterClass.ConfigOrBuilder getValuesOrBuilder(); 6439 6440 /** 6441 * <pre> 6442 * dry_run, if true, will run through the release logic, but neither create 6443 * </pre> 6444 * 6445 * <code>bool dry_run = 4;</code> 6446 */ 6447 boolean getDryRun(); 6448 6449 /** 6450 * <pre> 6451 * DisableHooks causes the server to skip running any hooks for the upgrade. 6452 * </pre> 6453 * 6454 * <code>bool disable_hooks = 5;</code> 6455 */ 6456 boolean getDisableHooks(); 6457 6458 /** 6459 * <pre> 6460 * Performs pods restart for resources if applicable 6461 * </pre> 6462 * 6463 * <code>bool recreate = 6;</code> 6464 */ 6465 boolean getRecreate(); 6466 6467 /** 6468 * <pre> 6469 * timeout specifies the max amount of time any kubernetes client command can run. 6470 * </pre> 6471 * 6472 * <code>int64 timeout = 7;</code> 6473 */ 6474 long getTimeout(); 6475 6476 /** 6477 * <pre> 6478 * ResetValues will cause Tiller to ignore stored values, resetting to default values. 6479 * </pre> 6480 * 6481 * <code>bool reset_values = 8;</code> 6482 */ 6483 boolean getResetValues(); 6484 6485 /** 6486 * <pre> 6487 * wait, if true, will wait until all Pods, PVCs, and Services are in a ready state 6488 * before marking the release as successful. It will wait for as long as timeout 6489 * </pre> 6490 * 6491 * <code>bool wait = 9;</code> 6492 */ 6493 boolean getWait(); 6494 6495 /** 6496 * <pre> 6497 * ReuseValues will cause Tiller to reuse the values from the last release. 6498 * This is ignored if reset_values is set. 6499 * </pre> 6500 * 6501 * <code>bool reuse_values = 10;</code> 6502 */ 6503 boolean getReuseValues(); 6504 6505 /** 6506 * <pre> 6507 * Force resource update through delete/recreate if needed. 6508 * </pre> 6509 * 6510 * <code>bool force = 11;</code> 6511 */ 6512 boolean getForce(); 6513 } 6514 /** 6515 * <pre> 6516 * UpdateReleaseRequest updates a release. 6517 * </pre> 6518 * 6519 * Protobuf type {@code hapi.services.tiller.UpdateReleaseRequest} 6520 */ 6521 public static final class UpdateReleaseRequest extends 6522 com.google.protobuf.GeneratedMessageV3 implements 6523 // @@protoc_insertion_point(message_implements:hapi.services.tiller.UpdateReleaseRequest) 6524 UpdateReleaseRequestOrBuilder { 6525 private static final long serialVersionUID = 0L; 6526 // Use UpdateReleaseRequest.newBuilder() to construct. 6527 private UpdateReleaseRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 6528 super(builder); 6529 } 6530 private UpdateReleaseRequest() { 6531 name_ = ""; 6532 dryRun_ = false; 6533 disableHooks_ = false; 6534 recreate_ = false; 6535 timeout_ = 0L; 6536 resetValues_ = false; 6537 wait_ = false; 6538 reuseValues_ = false; 6539 force_ = false; 6540 } 6541 6542 @java.lang.Override 6543 public final com.google.protobuf.UnknownFieldSet 6544 getUnknownFields() { 6545 return this.unknownFields; 6546 } 6547 private UpdateReleaseRequest( 6548 com.google.protobuf.CodedInputStream input, 6549 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 6550 throws com.google.protobuf.InvalidProtocolBufferException { 6551 this(); 6552 if (extensionRegistry == null) { 6553 throw new java.lang.NullPointerException(); 6554 } 6555 int mutable_bitField0_ = 0; 6556 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 6557 com.google.protobuf.UnknownFieldSet.newBuilder(); 6558 try { 6559 boolean done = false; 6560 while (!done) { 6561 int tag = input.readTag(); 6562 switch (tag) { 6563 case 0: 6564 done = true; 6565 break; 6566 default: { 6567 if (!parseUnknownFieldProto3( 6568 input, unknownFields, extensionRegistry, tag)) { 6569 done = true; 6570 } 6571 break; 6572 } 6573 case 10: { 6574 java.lang.String s = input.readStringRequireUtf8(); 6575 6576 name_ = s; 6577 break; 6578 } 6579 case 18: { 6580 hapi.chart.ChartOuterClass.Chart.Builder subBuilder = null; 6581 if (chart_ != null) { 6582 subBuilder = chart_.toBuilder(); 6583 } 6584 chart_ = input.readMessage(hapi.chart.ChartOuterClass.Chart.parser(), extensionRegistry); 6585 if (subBuilder != null) { 6586 subBuilder.mergeFrom(chart_); 6587 chart_ = subBuilder.buildPartial(); 6588 } 6589 6590 break; 6591 } 6592 case 26: { 6593 hapi.chart.ConfigOuterClass.Config.Builder subBuilder = null; 6594 if (values_ != null) { 6595 subBuilder = values_.toBuilder(); 6596 } 6597 values_ = input.readMessage(hapi.chart.ConfigOuterClass.Config.parser(), extensionRegistry); 6598 if (subBuilder != null) { 6599 subBuilder.mergeFrom(values_); 6600 values_ = subBuilder.buildPartial(); 6601 } 6602 6603 break; 6604 } 6605 case 32: { 6606 6607 dryRun_ = input.readBool(); 6608 break; 6609 } 6610 case 40: { 6611 6612 disableHooks_ = input.readBool(); 6613 break; 6614 } 6615 case 48: { 6616 6617 recreate_ = input.readBool(); 6618 break; 6619 } 6620 case 56: { 6621 6622 timeout_ = input.readInt64(); 6623 break; 6624 } 6625 case 64: { 6626 6627 resetValues_ = input.readBool(); 6628 break; 6629 } 6630 case 72: { 6631 6632 wait_ = input.readBool(); 6633 break; 6634 } 6635 case 80: { 6636 6637 reuseValues_ = input.readBool(); 6638 break; 6639 } 6640 case 88: { 6641 6642 force_ = input.readBool(); 6643 break; 6644 } 6645 } 6646 } 6647 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 6648 throw e.setUnfinishedMessage(this); 6649 } catch (java.io.IOException e) { 6650 throw new com.google.protobuf.InvalidProtocolBufferException( 6651 e).setUnfinishedMessage(this); 6652 } finally { 6653 this.unknownFields = unknownFields.build(); 6654 makeExtensionsImmutable(); 6655 } 6656 } 6657 public static final com.google.protobuf.Descriptors.Descriptor 6658 getDescriptor() { 6659 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_UpdateReleaseRequest_descriptor; 6660 } 6661 6662 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 6663 internalGetFieldAccessorTable() { 6664 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_UpdateReleaseRequest_fieldAccessorTable 6665 .ensureFieldAccessorsInitialized( 6666 hapi.services.tiller.Tiller.UpdateReleaseRequest.class, hapi.services.tiller.Tiller.UpdateReleaseRequest.Builder.class); 6667 } 6668 6669 public static final int NAME_FIELD_NUMBER = 1; 6670 private volatile java.lang.Object name_; 6671 /** 6672 * <pre> 6673 * The name of the release 6674 * </pre> 6675 * 6676 * <code>string name = 1;</code> 6677 */ 6678 public java.lang.String getName() { 6679 java.lang.Object ref = name_; 6680 if (ref instanceof java.lang.String) { 6681 return (java.lang.String) ref; 6682 } else { 6683 com.google.protobuf.ByteString bs = 6684 (com.google.protobuf.ByteString) ref; 6685 java.lang.String s = bs.toStringUtf8(); 6686 name_ = s; 6687 return s; 6688 } 6689 } 6690 /** 6691 * <pre> 6692 * The name of the release 6693 * </pre> 6694 * 6695 * <code>string name = 1;</code> 6696 */ 6697 public com.google.protobuf.ByteString 6698 getNameBytes() { 6699 java.lang.Object ref = name_; 6700 if (ref instanceof java.lang.String) { 6701 com.google.protobuf.ByteString b = 6702 com.google.protobuf.ByteString.copyFromUtf8( 6703 (java.lang.String) ref); 6704 name_ = b; 6705 return b; 6706 } else { 6707 return (com.google.protobuf.ByteString) ref; 6708 } 6709 } 6710 6711 public static final int CHART_FIELD_NUMBER = 2; 6712 private hapi.chart.ChartOuterClass.Chart chart_; 6713 /** 6714 * <pre> 6715 * Chart is the protobuf representation of a chart. 6716 * </pre> 6717 * 6718 * <code>.hapi.chart.Chart chart = 2;</code> 6719 */ 6720 public boolean hasChart() { 6721 return chart_ != null; 6722 } 6723 /** 6724 * <pre> 6725 * Chart is the protobuf representation of a chart. 6726 * </pre> 6727 * 6728 * <code>.hapi.chart.Chart chart = 2;</code> 6729 */ 6730 public hapi.chart.ChartOuterClass.Chart getChart() { 6731 return chart_ == null ? hapi.chart.ChartOuterClass.Chart.getDefaultInstance() : chart_; 6732 } 6733 /** 6734 * <pre> 6735 * Chart is the protobuf representation of a chart. 6736 * </pre> 6737 * 6738 * <code>.hapi.chart.Chart chart = 2;</code> 6739 */ 6740 public hapi.chart.ChartOuterClass.ChartOrBuilder getChartOrBuilder() { 6741 return getChart(); 6742 } 6743 6744 public static final int VALUES_FIELD_NUMBER = 3; 6745 private hapi.chart.ConfigOuterClass.Config values_; 6746 /** 6747 * <pre> 6748 * Values is a string containing (unparsed) YAML values. 6749 * </pre> 6750 * 6751 * <code>.hapi.chart.Config values = 3;</code> 6752 */ 6753 public boolean hasValues() { 6754 return values_ != null; 6755 } 6756 /** 6757 * <pre> 6758 * Values is a string containing (unparsed) YAML values. 6759 * </pre> 6760 * 6761 * <code>.hapi.chart.Config values = 3;</code> 6762 */ 6763 public hapi.chart.ConfigOuterClass.Config getValues() { 6764 return values_ == null ? hapi.chart.ConfigOuterClass.Config.getDefaultInstance() : values_; 6765 } 6766 /** 6767 * <pre> 6768 * Values is a string containing (unparsed) YAML values. 6769 * </pre> 6770 * 6771 * <code>.hapi.chart.Config values = 3;</code> 6772 */ 6773 public hapi.chart.ConfigOuterClass.ConfigOrBuilder getValuesOrBuilder() { 6774 return getValues(); 6775 } 6776 6777 public static final int DRY_RUN_FIELD_NUMBER = 4; 6778 private boolean dryRun_; 6779 /** 6780 * <pre> 6781 * dry_run, if true, will run through the release logic, but neither create 6782 * </pre> 6783 * 6784 * <code>bool dry_run = 4;</code> 6785 */ 6786 public boolean getDryRun() { 6787 return dryRun_; 6788 } 6789 6790 public static final int DISABLE_HOOKS_FIELD_NUMBER = 5; 6791 private boolean disableHooks_; 6792 /** 6793 * <pre> 6794 * DisableHooks causes the server to skip running any hooks for the upgrade. 6795 * </pre> 6796 * 6797 * <code>bool disable_hooks = 5;</code> 6798 */ 6799 public boolean getDisableHooks() { 6800 return disableHooks_; 6801 } 6802 6803 public static final int RECREATE_FIELD_NUMBER = 6; 6804 private boolean recreate_; 6805 /** 6806 * <pre> 6807 * Performs pods restart for resources if applicable 6808 * </pre> 6809 * 6810 * <code>bool recreate = 6;</code> 6811 */ 6812 public boolean getRecreate() { 6813 return recreate_; 6814 } 6815 6816 public static final int TIMEOUT_FIELD_NUMBER = 7; 6817 private long timeout_; 6818 /** 6819 * <pre> 6820 * timeout specifies the max amount of time any kubernetes client command can run. 6821 * </pre> 6822 * 6823 * <code>int64 timeout = 7;</code> 6824 */ 6825 public long getTimeout() { 6826 return timeout_; 6827 } 6828 6829 public static final int RESET_VALUES_FIELD_NUMBER = 8; 6830 private boolean resetValues_; 6831 /** 6832 * <pre> 6833 * ResetValues will cause Tiller to ignore stored values, resetting to default values. 6834 * </pre> 6835 * 6836 * <code>bool reset_values = 8;</code> 6837 */ 6838 public boolean getResetValues() { 6839 return resetValues_; 6840 } 6841 6842 public static final int WAIT_FIELD_NUMBER = 9; 6843 private boolean wait_; 6844 /** 6845 * <pre> 6846 * wait, if true, will wait until all Pods, PVCs, and Services are in a ready state 6847 * before marking the release as successful. It will wait for as long as timeout 6848 * </pre> 6849 * 6850 * <code>bool wait = 9;</code> 6851 */ 6852 public boolean getWait() { 6853 return wait_; 6854 } 6855 6856 public static final int REUSE_VALUES_FIELD_NUMBER = 10; 6857 private boolean reuseValues_; 6858 /** 6859 * <pre> 6860 * ReuseValues will cause Tiller to reuse the values from the last release. 6861 * This is ignored if reset_values is set. 6862 * </pre> 6863 * 6864 * <code>bool reuse_values = 10;</code> 6865 */ 6866 public boolean getReuseValues() { 6867 return reuseValues_; 6868 } 6869 6870 public static final int FORCE_FIELD_NUMBER = 11; 6871 private boolean force_; 6872 /** 6873 * <pre> 6874 * Force resource update through delete/recreate if needed. 6875 * </pre> 6876 * 6877 * <code>bool force = 11;</code> 6878 */ 6879 public boolean getForce() { 6880 return force_; 6881 } 6882 6883 private byte memoizedIsInitialized = -1; 6884 public final boolean isInitialized() { 6885 byte isInitialized = memoizedIsInitialized; 6886 if (isInitialized == 1) return true; 6887 if (isInitialized == 0) return false; 6888 6889 memoizedIsInitialized = 1; 6890 return true; 6891 } 6892 6893 public void writeTo(com.google.protobuf.CodedOutputStream output) 6894 throws java.io.IOException { 6895 if (!getNameBytes().isEmpty()) { 6896 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); 6897 } 6898 if (chart_ != null) { 6899 output.writeMessage(2, getChart()); 6900 } 6901 if (values_ != null) { 6902 output.writeMessage(3, getValues()); 6903 } 6904 if (dryRun_ != false) { 6905 output.writeBool(4, dryRun_); 6906 } 6907 if (disableHooks_ != false) { 6908 output.writeBool(5, disableHooks_); 6909 } 6910 if (recreate_ != false) { 6911 output.writeBool(6, recreate_); 6912 } 6913 if (timeout_ != 0L) { 6914 output.writeInt64(7, timeout_); 6915 } 6916 if (resetValues_ != false) { 6917 output.writeBool(8, resetValues_); 6918 } 6919 if (wait_ != false) { 6920 output.writeBool(9, wait_); 6921 } 6922 if (reuseValues_ != false) { 6923 output.writeBool(10, reuseValues_); 6924 } 6925 if (force_ != false) { 6926 output.writeBool(11, force_); 6927 } 6928 unknownFields.writeTo(output); 6929 } 6930 6931 public int getSerializedSize() { 6932 int size = memoizedSize; 6933 if (size != -1) return size; 6934 6935 size = 0; 6936 if (!getNameBytes().isEmpty()) { 6937 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); 6938 } 6939 if (chart_ != null) { 6940 size += com.google.protobuf.CodedOutputStream 6941 .computeMessageSize(2, getChart()); 6942 } 6943 if (values_ != null) { 6944 size += com.google.protobuf.CodedOutputStream 6945 .computeMessageSize(3, getValues()); 6946 } 6947 if (dryRun_ != false) { 6948 size += com.google.protobuf.CodedOutputStream 6949 .computeBoolSize(4, dryRun_); 6950 } 6951 if (disableHooks_ != false) { 6952 size += com.google.protobuf.CodedOutputStream 6953 .computeBoolSize(5, disableHooks_); 6954 } 6955 if (recreate_ != false) { 6956 size += com.google.protobuf.CodedOutputStream 6957 .computeBoolSize(6, recreate_); 6958 } 6959 if (timeout_ != 0L) { 6960 size += com.google.protobuf.CodedOutputStream 6961 .computeInt64Size(7, timeout_); 6962 } 6963 if (resetValues_ != false) { 6964 size += com.google.protobuf.CodedOutputStream 6965 .computeBoolSize(8, resetValues_); 6966 } 6967 if (wait_ != false) { 6968 size += com.google.protobuf.CodedOutputStream 6969 .computeBoolSize(9, wait_); 6970 } 6971 if (reuseValues_ != false) { 6972 size += com.google.protobuf.CodedOutputStream 6973 .computeBoolSize(10, reuseValues_); 6974 } 6975 if (force_ != false) { 6976 size += com.google.protobuf.CodedOutputStream 6977 .computeBoolSize(11, force_); 6978 } 6979 size += unknownFields.getSerializedSize(); 6980 memoizedSize = size; 6981 return size; 6982 } 6983 6984 @java.lang.Override 6985 public boolean equals(final java.lang.Object obj) { 6986 if (obj == this) { 6987 return true; 6988 } 6989 if (!(obj instanceof hapi.services.tiller.Tiller.UpdateReleaseRequest)) { 6990 return super.equals(obj); 6991 } 6992 hapi.services.tiller.Tiller.UpdateReleaseRequest other = (hapi.services.tiller.Tiller.UpdateReleaseRequest) obj; 6993 6994 boolean result = true; 6995 result = result && getName() 6996 .equals(other.getName()); 6997 result = result && (hasChart() == other.hasChart()); 6998 if (hasChart()) { 6999 result = result && getChart() 7000 .equals(other.getChart()); 7001 } 7002 result = result && (hasValues() == other.hasValues()); 7003 if (hasValues()) { 7004 result = result && getValues() 7005 .equals(other.getValues()); 7006 } 7007 result = result && (getDryRun() 7008 == other.getDryRun()); 7009 result = result && (getDisableHooks() 7010 == other.getDisableHooks()); 7011 result = result && (getRecreate() 7012 == other.getRecreate()); 7013 result = result && (getTimeout() 7014 == other.getTimeout()); 7015 result = result && (getResetValues() 7016 == other.getResetValues()); 7017 result = result && (getWait() 7018 == other.getWait()); 7019 result = result && (getReuseValues() 7020 == other.getReuseValues()); 7021 result = result && (getForce() 7022 == other.getForce()); 7023 result = result && unknownFields.equals(other.unknownFields); 7024 return result; 7025 } 7026 7027 @java.lang.Override 7028 public int hashCode() { 7029 if (memoizedHashCode != 0) { 7030 return memoizedHashCode; 7031 } 7032 int hash = 41; 7033 hash = (19 * hash) + getDescriptor().hashCode(); 7034 hash = (37 * hash) + NAME_FIELD_NUMBER; 7035 hash = (53 * hash) + getName().hashCode(); 7036 if (hasChart()) { 7037 hash = (37 * hash) + CHART_FIELD_NUMBER; 7038 hash = (53 * hash) + getChart().hashCode(); 7039 } 7040 if (hasValues()) { 7041 hash = (37 * hash) + VALUES_FIELD_NUMBER; 7042 hash = (53 * hash) + getValues().hashCode(); 7043 } 7044 hash = (37 * hash) + DRY_RUN_FIELD_NUMBER; 7045 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 7046 getDryRun()); 7047 hash = (37 * hash) + DISABLE_HOOKS_FIELD_NUMBER; 7048 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 7049 getDisableHooks()); 7050 hash = (37 * hash) + RECREATE_FIELD_NUMBER; 7051 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 7052 getRecreate()); 7053 hash = (37 * hash) + TIMEOUT_FIELD_NUMBER; 7054 hash = (53 * hash) + com.google.protobuf.Internal.hashLong( 7055 getTimeout()); 7056 hash = (37 * hash) + RESET_VALUES_FIELD_NUMBER; 7057 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 7058 getResetValues()); 7059 hash = (37 * hash) + WAIT_FIELD_NUMBER; 7060 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 7061 getWait()); 7062 hash = (37 * hash) + REUSE_VALUES_FIELD_NUMBER; 7063 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 7064 getReuseValues()); 7065 hash = (37 * hash) + FORCE_FIELD_NUMBER; 7066 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 7067 getForce()); 7068 hash = (29 * hash) + unknownFields.hashCode(); 7069 memoizedHashCode = hash; 7070 return hash; 7071 } 7072 7073 public static hapi.services.tiller.Tiller.UpdateReleaseRequest parseFrom( 7074 java.nio.ByteBuffer data) 7075 throws com.google.protobuf.InvalidProtocolBufferException { 7076 return PARSER.parseFrom(data); 7077 } 7078 public static hapi.services.tiller.Tiller.UpdateReleaseRequest parseFrom( 7079 java.nio.ByteBuffer data, 7080 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 7081 throws com.google.protobuf.InvalidProtocolBufferException { 7082 return PARSER.parseFrom(data, extensionRegistry); 7083 } 7084 public static hapi.services.tiller.Tiller.UpdateReleaseRequest parseFrom( 7085 com.google.protobuf.ByteString data) 7086 throws com.google.protobuf.InvalidProtocolBufferException { 7087 return PARSER.parseFrom(data); 7088 } 7089 public static hapi.services.tiller.Tiller.UpdateReleaseRequest parseFrom( 7090 com.google.protobuf.ByteString data, 7091 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 7092 throws com.google.protobuf.InvalidProtocolBufferException { 7093 return PARSER.parseFrom(data, extensionRegistry); 7094 } 7095 public static hapi.services.tiller.Tiller.UpdateReleaseRequest parseFrom(byte[] data) 7096 throws com.google.protobuf.InvalidProtocolBufferException { 7097 return PARSER.parseFrom(data); 7098 } 7099 public static hapi.services.tiller.Tiller.UpdateReleaseRequest parseFrom( 7100 byte[] data, 7101 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 7102 throws com.google.protobuf.InvalidProtocolBufferException { 7103 return PARSER.parseFrom(data, extensionRegistry); 7104 } 7105 public static hapi.services.tiller.Tiller.UpdateReleaseRequest parseFrom(java.io.InputStream input) 7106 throws java.io.IOException { 7107 return com.google.protobuf.GeneratedMessageV3 7108 .parseWithIOException(PARSER, input); 7109 } 7110 public static hapi.services.tiller.Tiller.UpdateReleaseRequest parseFrom( 7111 java.io.InputStream input, 7112 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 7113 throws java.io.IOException { 7114 return com.google.protobuf.GeneratedMessageV3 7115 .parseWithIOException(PARSER, input, extensionRegistry); 7116 } 7117 public static hapi.services.tiller.Tiller.UpdateReleaseRequest parseDelimitedFrom(java.io.InputStream input) 7118 throws java.io.IOException { 7119 return com.google.protobuf.GeneratedMessageV3 7120 .parseDelimitedWithIOException(PARSER, input); 7121 } 7122 public static hapi.services.tiller.Tiller.UpdateReleaseRequest parseDelimitedFrom( 7123 java.io.InputStream input, 7124 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 7125 throws java.io.IOException { 7126 return com.google.protobuf.GeneratedMessageV3 7127 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 7128 } 7129 public static hapi.services.tiller.Tiller.UpdateReleaseRequest parseFrom( 7130 com.google.protobuf.CodedInputStream input) 7131 throws java.io.IOException { 7132 return com.google.protobuf.GeneratedMessageV3 7133 .parseWithIOException(PARSER, input); 7134 } 7135 public static hapi.services.tiller.Tiller.UpdateReleaseRequest parseFrom( 7136 com.google.protobuf.CodedInputStream input, 7137 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 7138 throws java.io.IOException { 7139 return com.google.protobuf.GeneratedMessageV3 7140 .parseWithIOException(PARSER, input, extensionRegistry); 7141 } 7142 7143 public Builder newBuilderForType() { return newBuilder(); } 7144 public static Builder newBuilder() { 7145 return DEFAULT_INSTANCE.toBuilder(); 7146 } 7147 public static Builder newBuilder(hapi.services.tiller.Tiller.UpdateReleaseRequest prototype) { 7148 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 7149 } 7150 public Builder toBuilder() { 7151 return this == DEFAULT_INSTANCE 7152 ? new Builder() : new Builder().mergeFrom(this); 7153 } 7154 7155 @java.lang.Override 7156 protected Builder newBuilderForType( 7157 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 7158 Builder builder = new Builder(parent); 7159 return builder; 7160 } 7161 /** 7162 * <pre> 7163 * UpdateReleaseRequest updates a release. 7164 * </pre> 7165 * 7166 * Protobuf type {@code hapi.services.tiller.UpdateReleaseRequest} 7167 */ 7168 public static final class Builder extends 7169 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 7170 // @@protoc_insertion_point(builder_implements:hapi.services.tiller.UpdateReleaseRequest) 7171 hapi.services.tiller.Tiller.UpdateReleaseRequestOrBuilder { 7172 public static final com.google.protobuf.Descriptors.Descriptor 7173 getDescriptor() { 7174 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_UpdateReleaseRequest_descriptor; 7175 } 7176 7177 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 7178 internalGetFieldAccessorTable() { 7179 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_UpdateReleaseRequest_fieldAccessorTable 7180 .ensureFieldAccessorsInitialized( 7181 hapi.services.tiller.Tiller.UpdateReleaseRequest.class, hapi.services.tiller.Tiller.UpdateReleaseRequest.Builder.class); 7182 } 7183 7184 // Construct using hapi.services.tiller.Tiller.UpdateReleaseRequest.newBuilder() 7185 private Builder() { 7186 maybeForceBuilderInitialization(); 7187 } 7188 7189 private Builder( 7190 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 7191 super(parent); 7192 maybeForceBuilderInitialization(); 7193 } 7194 private void maybeForceBuilderInitialization() { 7195 if (com.google.protobuf.GeneratedMessageV3 7196 .alwaysUseFieldBuilders) { 7197 } 7198 } 7199 public Builder clear() { 7200 super.clear(); 7201 name_ = ""; 7202 7203 if (chartBuilder_ == null) { 7204 chart_ = null; 7205 } else { 7206 chart_ = null; 7207 chartBuilder_ = null; 7208 } 7209 if (valuesBuilder_ == null) { 7210 values_ = null; 7211 } else { 7212 values_ = null; 7213 valuesBuilder_ = null; 7214 } 7215 dryRun_ = false; 7216 7217 disableHooks_ = false; 7218 7219 recreate_ = false; 7220 7221 timeout_ = 0L; 7222 7223 resetValues_ = false; 7224 7225 wait_ = false; 7226 7227 reuseValues_ = false; 7228 7229 force_ = false; 7230 7231 return this; 7232 } 7233 7234 public com.google.protobuf.Descriptors.Descriptor 7235 getDescriptorForType() { 7236 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_UpdateReleaseRequest_descriptor; 7237 } 7238 7239 public hapi.services.tiller.Tiller.UpdateReleaseRequest getDefaultInstanceForType() { 7240 return hapi.services.tiller.Tiller.UpdateReleaseRequest.getDefaultInstance(); 7241 } 7242 7243 public hapi.services.tiller.Tiller.UpdateReleaseRequest build() { 7244 hapi.services.tiller.Tiller.UpdateReleaseRequest result = buildPartial(); 7245 if (!result.isInitialized()) { 7246 throw newUninitializedMessageException(result); 7247 } 7248 return result; 7249 } 7250 7251 public hapi.services.tiller.Tiller.UpdateReleaseRequest buildPartial() { 7252 hapi.services.tiller.Tiller.UpdateReleaseRequest result = new hapi.services.tiller.Tiller.UpdateReleaseRequest(this); 7253 result.name_ = name_; 7254 if (chartBuilder_ == null) { 7255 result.chart_ = chart_; 7256 } else { 7257 result.chart_ = chartBuilder_.build(); 7258 } 7259 if (valuesBuilder_ == null) { 7260 result.values_ = values_; 7261 } else { 7262 result.values_ = valuesBuilder_.build(); 7263 } 7264 result.dryRun_ = dryRun_; 7265 result.disableHooks_ = disableHooks_; 7266 result.recreate_ = recreate_; 7267 result.timeout_ = timeout_; 7268 result.resetValues_ = resetValues_; 7269 result.wait_ = wait_; 7270 result.reuseValues_ = reuseValues_; 7271 result.force_ = force_; 7272 onBuilt(); 7273 return result; 7274 } 7275 7276 public Builder clone() { 7277 return (Builder) super.clone(); 7278 } 7279 public Builder setField( 7280 com.google.protobuf.Descriptors.FieldDescriptor field, 7281 java.lang.Object value) { 7282 return (Builder) super.setField(field, value); 7283 } 7284 public Builder clearField( 7285 com.google.protobuf.Descriptors.FieldDescriptor field) { 7286 return (Builder) super.clearField(field); 7287 } 7288 public Builder clearOneof( 7289 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 7290 return (Builder) super.clearOneof(oneof); 7291 } 7292 public Builder setRepeatedField( 7293 com.google.protobuf.Descriptors.FieldDescriptor field, 7294 int index, java.lang.Object value) { 7295 return (Builder) super.setRepeatedField(field, index, value); 7296 } 7297 public Builder addRepeatedField( 7298 com.google.protobuf.Descriptors.FieldDescriptor field, 7299 java.lang.Object value) { 7300 return (Builder) super.addRepeatedField(field, value); 7301 } 7302 public Builder mergeFrom(com.google.protobuf.Message other) { 7303 if (other instanceof hapi.services.tiller.Tiller.UpdateReleaseRequest) { 7304 return mergeFrom((hapi.services.tiller.Tiller.UpdateReleaseRequest)other); 7305 } else { 7306 super.mergeFrom(other); 7307 return this; 7308 } 7309 } 7310 7311 public Builder mergeFrom(hapi.services.tiller.Tiller.UpdateReleaseRequest other) { 7312 if (other == hapi.services.tiller.Tiller.UpdateReleaseRequest.getDefaultInstance()) return this; 7313 if (!other.getName().isEmpty()) { 7314 name_ = other.name_; 7315 onChanged(); 7316 } 7317 if (other.hasChart()) { 7318 mergeChart(other.getChart()); 7319 } 7320 if (other.hasValues()) { 7321 mergeValues(other.getValues()); 7322 } 7323 if (other.getDryRun() != false) { 7324 setDryRun(other.getDryRun()); 7325 } 7326 if (other.getDisableHooks() != false) { 7327 setDisableHooks(other.getDisableHooks()); 7328 } 7329 if (other.getRecreate() != false) { 7330 setRecreate(other.getRecreate()); 7331 } 7332 if (other.getTimeout() != 0L) { 7333 setTimeout(other.getTimeout()); 7334 } 7335 if (other.getResetValues() != false) { 7336 setResetValues(other.getResetValues()); 7337 } 7338 if (other.getWait() != false) { 7339 setWait(other.getWait()); 7340 } 7341 if (other.getReuseValues() != false) { 7342 setReuseValues(other.getReuseValues()); 7343 } 7344 if (other.getForce() != false) { 7345 setForce(other.getForce()); 7346 } 7347 this.mergeUnknownFields(other.unknownFields); 7348 onChanged(); 7349 return this; 7350 } 7351 7352 public final boolean isInitialized() { 7353 return true; 7354 } 7355 7356 public Builder mergeFrom( 7357 com.google.protobuf.CodedInputStream input, 7358 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 7359 throws java.io.IOException { 7360 hapi.services.tiller.Tiller.UpdateReleaseRequest parsedMessage = null; 7361 try { 7362 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 7363 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 7364 parsedMessage = (hapi.services.tiller.Tiller.UpdateReleaseRequest) e.getUnfinishedMessage(); 7365 throw e.unwrapIOException(); 7366 } finally { 7367 if (parsedMessage != null) { 7368 mergeFrom(parsedMessage); 7369 } 7370 } 7371 return this; 7372 } 7373 7374 private java.lang.Object name_ = ""; 7375 /** 7376 * <pre> 7377 * The name of the release 7378 * </pre> 7379 * 7380 * <code>string name = 1;</code> 7381 */ 7382 public java.lang.String getName() { 7383 java.lang.Object ref = name_; 7384 if (!(ref instanceof java.lang.String)) { 7385 com.google.protobuf.ByteString bs = 7386 (com.google.protobuf.ByteString) ref; 7387 java.lang.String s = bs.toStringUtf8(); 7388 name_ = s; 7389 return s; 7390 } else { 7391 return (java.lang.String) ref; 7392 } 7393 } 7394 /** 7395 * <pre> 7396 * The name of the release 7397 * </pre> 7398 * 7399 * <code>string name = 1;</code> 7400 */ 7401 public com.google.protobuf.ByteString 7402 getNameBytes() { 7403 java.lang.Object ref = name_; 7404 if (ref instanceof String) { 7405 com.google.protobuf.ByteString b = 7406 com.google.protobuf.ByteString.copyFromUtf8( 7407 (java.lang.String) ref); 7408 name_ = b; 7409 return b; 7410 } else { 7411 return (com.google.protobuf.ByteString) ref; 7412 } 7413 } 7414 /** 7415 * <pre> 7416 * The name of the release 7417 * </pre> 7418 * 7419 * <code>string name = 1;</code> 7420 */ 7421 public Builder setName( 7422 java.lang.String value) { 7423 if (value == null) { 7424 throw new NullPointerException(); 7425 } 7426 7427 name_ = value; 7428 onChanged(); 7429 return this; 7430 } 7431 /** 7432 * <pre> 7433 * The name of the release 7434 * </pre> 7435 * 7436 * <code>string name = 1;</code> 7437 */ 7438 public Builder clearName() { 7439 7440 name_ = getDefaultInstance().getName(); 7441 onChanged(); 7442 return this; 7443 } 7444 /** 7445 * <pre> 7446 * The name of the release 7447 * </pre> 7448 * 7449 * <code>string name = 1;</code> 7450 */ 7451 public Builder setNameBytes( 7452 com.google.protobuf.ByteString value) { 7453 if (value == null) { 7454 throw new NullPointerException(); 7455 } 7456 checkByteStringIsUtf8(value); 7457 7458 name_ = value; 7459 onChanged(); 7460 return this; 7461 } 7462 7463 private hapi.chart.ChartOuterClass.Chart chart_ = null; 7464 private com.google.protobuf.SingleFieldBuilderV3< 7465 hapi.chart.ChartOuterClass.Chart, hapi.chart.ChartOuterClass.Chart.Builder, hapi.chart.ChartOuterClass.ChartOrBuilder> chartBuilder_; 7466 /** 7467 * <pre> 7468 * Chart is the protobuf representation of a chart. 7469 * </pre> 7470 * 7471 * <code>.hapi.chart.Chart chart = 2;</code> 7472 */ 7473 public boolean hasChart() { 7474 return chartBuilder_ != null || chart_ != null; 7475 } 7476 /** 7477 * <pre> 7478 * Chart is the protobuf representation of a chart. 7479 * </pre> 7480 * 7481 * <code>.hapi.chart.Chart chart = 2;</code> 7482 */ 7483 public hapi.chart.ChartOuterClass.Chart getChart() { 7484 if (chartBuilder_ == null) { 7485 return chart_ == null ? hapi.chart.ChartOuterClass.Chart.getDefaultInstance() : chart_; 7486 } else { 7487 return chartBuilder_.getMessage(); 7488 } 7489 } 7490 /** 7491 * <pre> 7492 * Chart is the protobuf representation of a chart. 7493 * </pre> 7494 * 7495 * <code>.hapi.chart.Chart chart = 2;</code> 7496 */ 7497 public Builder setChart(hapi.chart.ChartOuterClass.Chart value) { 7498 if (chartBuilder_ == null) { 7499 if (value == null) { 7500 throw new NullPointerException(); 7501 } 7502 chart_ = value; 7503 onChanged(); 7504 } else { 7505 chartBuilder_.setMessage(value); 7506 } 7507 7508 return this; 7509 } 7510 /** 7511 * <pre> 7512 * Chart is the protobuf representation of a chart. 7513 * </pre> 7514 * 7515 * <code>.hapi.chart.Chart chart = 2;</code> 7516 */ 7517 public Builder setChart( 7518 hapi.chart.ChartOuterClass.Chart.Builder builderForValue) { 7519 if (chartBuilder_ == null) { 7520 chart_ = builderForValue.build(); 7521 onChanged(); 7522 } else { 7523 chartBuilder_.setMessage(builderForValue.build()); 7524 } 7525 7526 return this; 7527 } 7528 /** 7529 * <pre> 7530 * Chart is the protobuf representation of a chart. 7531 * </pre> 7532 * 7533 * <code>.hapi.chart.Chart chart = 2;</code> 7534 */ 7535 public Builder mergeChart(hapi.chart.ChartOuterClass.Chart value) { 7536 if (chartBuilder_ == null) { 7537 if (chart_ != null) { 7538 chart_ = 7539 hapi.chart.ChartOuterClass.Chart.newBuilder(chart_).mergeFrom(value).buildPartial(); 7540 } else { 7541 chart_ = value; 7542 } 7543 onChanged(); 7544 } else { 7545 chartBuilder_.mergeFrom(value); 7546 } 7547 7548 return this; 7549 } 7550 /** 7551 * <pre> 7552 * Chart is the protobuf representation of a chart. 7553 * </pre> 7554 * 7555 * <code>.hapi.chart.Chart chart = 2;</code> 7556 */ 7557 public Builder clearChart() { 7558 if (chartBuilder_ == null) { 7559 chart_ = null; 7560 onChanged(); 7561 } else { 7562 chart_ = null; 7563 chartBuilder_ = null; 7564 } 7565 7566 return this; 7567 } 7568 /** 7569 * <pre> 7570 * Chart is the protobuf representation of a chart. 7571 * </pre> 7572 * 7573 * <code>.hapi.chart.Chart chart = 2;</code> 7574 */ 7575 public hapi.chart.ChartOuterClass.Chart.Builder getChartBuilder() { 7576 7577 onChanged(); 7578 return getChartFieldBuilder().getBuilder(); 7579 } 7580 /** 7581 * <pre> 7582 * Chart is the protobuf representation of a chart. 7583 * </pre> 7584 * 7585 * <code>.hapi.chart.Chart chart = 2;</code> 7586 */ 7587 public hapi.chart.ChartOuterClass.ChartOrBuilder getChartOrBuilder() { 7588 if (chartBuilder_ != null) { 7589 return chartBuilder_.getMessageOrBuilder(); 7590 } else { 7591 return chart_ == null ? 7592 hapi.chart.ChartOuterClass.Chart.getDefaultInstance() : chart_; 7593 } 7594 } 7595 /** 7596 * <pre> 7597 * Chart is the protobuf representation of a chart. 7598 * </pre> 7599 * 7600 * <code>.hapi.chart.Chart chart = 2;</code> 7601 */ 7602 private com.google.protobuf.SingleFieldBuilderV3< 7603 hapi.chart.ChartOuterClass.Chart, hapi.chart.ChartOuterClass.Chart.Builder, hapi.chart.ChartOuterClass.ChartOrBuilder> 7604 getChartFieldBuilder() { 7605 if (chartBuilder_ == null) { 7606 chartBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< 7607 hapi.chart.ChartOuterClass.Chart, hapi.chart.ChartOuterClass.Chart.Builder, hapi.chart.ChartOuterClass.ChartOrBuilder>( 7608 getChart(), 7609 getParentForChildren(), 7610 isClean()); 7611 chart_ = null; 7612 } 7613 return chartBuilder_; 7614 } 7615 7616 private hapi.chart.ConfigOuterClass.Config values_ = null; 7617 private com.google.protobuf.SingleFieldBuilderV3< 7618 hapi.chart.ConfigOuterClass.Config, hapi.chart.ConfigOuterClass.Config.Builder, hapi.chart.ConfigOuterClass.ConfigOrBuilder> valuesBuilder_; 7619 /** 7620 * <pre> 7621 * Values is a string containing (unparsed) YAML values. 7622 * </pre> 7623 * 7624 * <code>.hapi.chart.Config values = 3;</code> 7625 */ 7626 public boolean hasValues() { 7627 return valuesBuilder_ != null || values_ != null; 7628 } 7629 /** 7630 * <pre> 7631 * Values is a string containing (unparsed) YAML values. 7632 * </pre> 7633 * 7634 * <code>.hapi.chart.Config values = 3;</code> 7635 */ 7636 public hapi.chart.ConfigOuterClass.Config getValues() { 7637 if (valuesBuilder_ == null) { 7638 return values_ == null ? hapi.chart.ConfigOuterClass.Config.getDefaultInstance() : values_; 7639 } else { 7640 return valuesBuilder_.getMessage(); 7641 } 7642 } 7643 /** 7644 * <pre> 7645 * Values is a string containing (unparsed) YAML values. 7646 * </pre> 7647 * 7648 * <code>.hapi.chart.Config values = 3;</code> 7649 */ 7650 public Builder setValues(hapi.chart.ConfigOuterClass.Config value) { 7651 if (valuesBuilder_ == null) { 7652 if (value == null) { 7653 throw new NullPointerException(); 7654 } 7655 values_ = value; 7656 onChanged(); 7657 } else { 7658 valuesBuilder_.setMessage(value); 7659 } 7660 7661 return this; 7662 } 7663 /** 7664 * <pre> 7665 * Values is a string containing (unparsed) YAML values. 7666 * </pre> 7667 * 7668 * <code>.hapi.chart.Config values = 3;</code> 7669 */ 7670 public Builder setValues( 7671 hapi.chart.ConfigOuterClass.Config.Builder builderForValue) { 7672 if (valuesBuilder_ == null) { 7673 values_ = builderForValue.build(); 7674 onChanged(); 7675 } else { 7676 valuesBuilder_.setMessage(builderForValue.build()); 7677 } 7678 7679 return this; 7680 } 7681 /** 7682 * <pre> 7683 * Values is a string containing (unparsed) YAML values. 7684 * </pre> 7685 * 7686 * <code>.hapi.chart.Config values = 3;</code> 7687 */ 7688 public Builder mergeValues(hapi.chart.ConfigOuterClass.Config value) { 7689 if (valuesBuilder_ == null) { 7690 if (values_ != null) { 7691 values_ = 7692 hapi.chart.ConfigOuterClass.Config.newBuilder(values_).mergeFrom(value).buildPartial(); 7693 } else { 7694 values_ = value; 7695 } 7696 onChanged(); 7697 } else { 7698 valuesBuilder_.mergeFrom(value); 7699 } 7700 7701 return this; 7702 } 7703 /** 7704 * <pre> 7705 * Values is a string containing (unparsed) YAML values. 7706 * </pre> 7707 * 7708 * <code>.hapi.chart.Config values = 3;</code> 7709 */ 7710 public Builder clearValues() { 7711 if (valuesBuilder_ == null) { 7712 values_ = null; 7713 onChanged(); 7714 } else { 7715 values_ = null; 7716 valuesBuilder_ = null; 7717 } 7718 7719 return this; 7720 } 7721 /** 7722 * <pre> 7723 * Values is a string containing (unparsed) YAML values. 7724 * </pre> 7725 * 7726 * <code>.hapi.chart.Config values = 3;</code> 7727 */ 7728 public hapi.chart.ConfigOuterClass.Config.Builder getValuesBuilder() { 7729 7730 onChanged(); 7731 return getValuesFieldBuilder().getBuilder(); 7732 } 7733 /** 7734 * <pre> 7735 * Values is a string containing (unparsed) YAML values. 7736 * </pre> 7737 * 7738 * <code>.hapi.chart.Config values = 3;</code> 7739 */ 7740 public hapi.chart.ConfigOuterClass.ConfigOrBuilder getValuesOrBuilder() { 7741 if (valuesBuilder_ != null) { 7742 return valuesBuilder_.getMessageOrBuilder(); 7743 } else { 7744 return values_ == null ? 7745 hapi.chart.ConfigOuterClass.Config.getDefaultInstance() : values_; 7746 } 7747 } 7748 /** 7749 * <pre> 7750 * Values is a string containing (unparsed) YAML values. 7751 * </pre> 7752 * 7753 * <code>.hapi.chart.Config values = 3;</code> 7754 */ 7755 private com.google.protobuf.SingleFieldBuilderV3< 7756 hapi.chart.ConfigOuterClass.Config, hapi.chart.ConfigOuterClass.Config.Builder, hapi.chart.ConfigOuterClass.ConfigOrBuilder> 7757 getValuesFieldBuilder() { 7758 if (valuesBuilder_ == null) { 7759 valuesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< 7760 hapi.chart.ConfigOuterClass.Config, hapi.chart.ConfigOuterClass.Config.Builder, hapi.chart.ConfigOuterClass.ConfigOrBuilder>( 7761 getValues(), 7762 getParentForChildren(), 7763 isClean()); 7764 values_ = null; 7765 } 7766 return valuesBuilder_; 7767 } 7768 7769 private boolean dryRun_ ; 7770 /** 7771 * <pre> 7772 * dry_run, if true, will run through the release logic, but neither create 7773 * </pre> 7774 * 7775 * <code>bool dry_run = 4;</code> 7776 */ 7777 public boolean getDryRun() { 7778 return dryRun_; 7779 } 7780 /** 7781 * <pre> 7782 * dry_run, if true, will run through the release logic, but neither create 7783 * </pre> 7784 * 7785 * <code>bool dry_run = 4;</code> 7786 */ 7787 public Builder setDryRun(boolean value) { 7788 7789 dryRun_ = value; 7790 onChanged(); 7791 return this; 7792 } 7793 /** 7794 * <pre> 7795 * dry_run, if true, will run through the release logic, but neither create 7796 * </pre> 7797 * 7798 * <code>bool dry_run = 4;</code> 7799 */ 7800 public Builder clearDryRun() { 7801 7802 dryRun_ = false; 7803 onChanged(); 7804 return this; 7805 } 7806 7807 private boolean disableHooks_ ; 7808 /** 7809 * <pre> 7810 * DisableHooks causes the server to skip running any hooks for the upgrade. 7811 * </pre> 7812 * 7813 * <code>bool disable_hooks = 5;</code> 7814 */ 7815 public boolean getDisableHooks() { 7816 return disableHooks_; 7817 } 7818 /** 7819 * <pre> 7820 * DisableHooks causes the server to skip running any hooks for the upgrade. 7821 * </pre> 7822 * 7823 * <code>bool disable_hooks = 5;</code> 7824 */ 7825 public Builder setDisableHooks(boolean value) { 7826 7827 disableHooks_ = value; 7828 onChanged(); 7829 return this; 7830 } 7831 /** 7832 * <pre> 7833 * DisableHooks causes the server to skip running any hooks for the upgrade. 7834 * </pre> 7835 * 7836 * <code>bool disable_hooks = 5;</code> 7837 */ 7838 public Builder clearDisableHooks() { 7839 7840 disableHooks_ = false; 7841 onChanged(); 7842 return this; 7843 } 7844 7845 private boolean recreate_ ; 7846 /** 7847 * <pre> 7848 * Performs pods restart for resources if applicable 7849 * </pre> 7850 * 7851 * <code>bool recreate = 6;</code> 7852 */ 7853 public boolean getRecreate() { 7854 return recreate_; 7855 } 7856 /** 7857 * <pre> 7858 * Performs pods restart for resources if applicable 7859 * </pre> 7860 * 7861 * <code>bool recreate = 6;</code> 7862 */ 7863 public Builder setRecreate(boolean value) { 7864 7865 recreate_ = value; 7866 onChanged(); 7867 return this; 7868 } 7869 /** 7870 * <pre> 7871 * Performs pods restart for resources if applicable 7872 * </pre> 7873 * 7874 * <code>bool recreate = 6;</code> 7875 */ 7876 public Builder clearRecreate() { 7877 7878 recreate_ = false; 7879 onChanged(); 7880 return this; 7881 } 7882 7883 private long timeout_ ; 7884 /** 7885 * <pre> 7886 * timeout specifies the max amount of time any kubernetes client command can run. 7887 * </pre> 7888 * 7889 * <code>int64 timeout = 7;</code> 7890 */ 7891 public long getTimeout() { 7892 return timeout_; 7893 } 7894 /** 7895 * <pre> 7896 * timeout specifies the max amount of time any kubernetes client command can run. 7897 * </pre> 7898 * 7899 * <code>int64 timeout = 7;</code> 7900 */ 7901 public Builder setTimeout(long value) { 7902 7903 timeout_ = value; 7904 onChanged(); 7905 return this; 7906 } 7907 /** 7908 * <pre> 7909 * timeout specifies the max amount of time any kubernetes client command can run. 7910 * </pre> 7911 * 7912 * <code>int64 timeout = 7;</code> 7913 */ 7914 public Builder clearTimeout() { 7915 7916 timeout_ = 0L; 7917 onChanged(); 7918 return this; 7919 } 7920 7921 private boolean resetValues_ ; 7922 /** 7923 * <pre> 7924 * ResetValues will cause Tiller to ignore stored values, resetting to default values. 7925 * </pre> 7926 * 7927 * <code>bool reset_values = 8;</code> 7928 */ 7929 public boolean getResetValues() { 7930 return resetValues_; 7931 } 7932 /** 7933 * <pre> 7934 * ResetValues will cause Tiller to ignore stored values, resetting to default values. 7935 * </pre> 7936 * 7937 * <code>bool reset_values = 8;</code> 7938 */ 7939 public Builder setResetValues(boolean value) { 7940 7941 resetValues_ = value; 7942 onChanged(); 7943 return this; 7944 } 7945 /** 7946 * <pre> 7947 * ResetValues will cause Tiller to ignore stored values, resetting to default values. 7948 * </pre> 7949 * 7950 * <code>bool reset_values = 8;</code> 7951 */ 7952 public Builder clearResetValues() { 7953 7954 resetValues_ = false; 7955 onChanged(); 7956 return this; 7957 } 7958 7959 private boolean wait_ ; 7960 /** 7961 * <pre> 7962 * wait, if true, will wait until all Pods, PVCs, and Services are in a ready state 7963 * before marking the release as successful. It will wait for as long as timeout 7964 * </pre> 7965 * 7966 * <code>bool wait = 9;</code> 7967 */ 7968 public boolean getWait() { 7969 return wait_; 7970 } 7971 /** 7972 * <pre> 7973 * wait, if true, will wait until all Pods, PVCs, and Services are in a ready state 7974 * before marking the release as successful. It will wait for as long as timeout 7975 * </pre> 7976 * 7977 * <code>bool wait = 9;</code> 7978 */ 7979 public Builder setWait(boolean value) { 7980 7981 wait_ = value; 7982 onChanged(); 7983 return this; 7984 } 7985 /** 7986 * <pre> 7987 * wait, if true, will wait until all Pods, PVCs, and Services are in a ready state 7988 * before marking the release as successful. It will wait for as long as timeout 7989 * </pre> 7990 * 7991 * <code>bool wait = 9;</code> 7992 */ 7993 public Builder clearWait() { 7994 7995 wait_ = false; 7996 onChanged(); 7997 return this; 7998 } 7999 8000 private boolean reuseValues_ ; 8001 /** 8002 * <pre> 8003 * ReuseValues will cause Tiller to reuse the values from the last release. 8004 * This is ignored if reset_values is set. 8005 * </pre> 8006 * 8007 * <code>bool reuse_values = 10;</code> 8008 */ 8009 public boolean getReuseValues() { 8010 return reuseValues_; 8011 } 8012 /** 8013 * <pre> 8014 * ReuseValues will cause Tiller to reuse the values from the last release. 8015 * This is ignored if reset_values is set. 8016 * </pre> 8017 * 8018 * <code>bool reuse_values = 10;</code> 8019 */ 8020 public Builder setReuseValues(boolean value) { 8021 8022 reuseValues_ = value; 8023 onChanged(); 8024 return this; 8025 } 8026 /** 8027 * <pre> 8028 * ReuseValues will cause Tiller to reuse the values from the last release. 8029 * This is ignored if reset_values is set. 8030 * </pre> 8031 * 8032 * <code>bool reuse_values = 10;</code> 8033 */ 8034 public Builder clearReuseValues() { 8035 8036 reuseValues_ = false; 8037 onChanged(); 8038 return this; 8039 } 8040 8041 private boolean force_ ; 8042 /** 8043 * <pre> 8044 * Force resource update through delete/recreate if needed. 8045 * </pre> 8046 * 8047 * <code>bool force = 11;</code> 8048 */ 8049 public boolean getForce() { 8050 return force_; 8051 } 8052 /** 8053 * <pre> 8054 * Force resource update through delete/recreate if needed. 8055 * </pre> 8056 * 8057 * <code>bool force = 11;</code> 8058 */ 8059 public Builder setForce(boolean value) { 8060 8061 force_ = value; 8062 onChanged(); 8063 return this; 8064 } 8065 /** 8066 * <pre> 8067 * Force resource update through delete/recreate if needed. 8068 * </pre> 8069 * 8070 * <code>bool force = 11;</code> 8071 */ 8072 public Builder clearForce() { 8073 8074 force_ = false; 8075 onChanged(); 8076 return this; 8077 } 8078 public final Builder setUnknownFields( 8079 final com.google.protobuf.UnknownFieldSet unknownFields) { 8080 return super.setUnknownFieldsProto3(unknownFields); 8081 } 8082 8083 public final Builder mergeUnknownFields( 8084 final com.google.protobuf.UnknownFieldSet unknownFields) { 8085 return super.mergeUnknownFields(unknownFields); 8086 } 8087 8088 8089 // @@protoc_insertion_point(builder_scope:hapi.services.tiller.UpdateReleaseRequest) 8090 } 8091 8092 // @@protoc_insertion_point(class_scope:hapi.services.tiller.UpdateReleaseRequest) 8093 private static final hapi.services.tiller.Tiller.UpdateReleaseRequest DEFAULT_INSTANCE; 8094 static { 8095 DEFAULT_INSTANCE = new hapi.services.tiller.Tiller.UpdateReleaseRequest(); 8096 } 8097 8098 public static hapi.services.tiller.Tiller.UpdateReleaseRequest getDefaultInstance() { 8099 return DEFAULT_INSTANCE; 8100 } 8101 8102 private static final com.google.protobuf.Parser<UpdateReleaseRequest> 8103 PARSER = new com.google.protobuf.AbstractParser<UpdateReleaseRequest>() { 8104 public UpdateReleaseRequest parsePartialFrom( 8105 com.google.protobuf.CodedInputStream input, 8106 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 8107 throws com.google.protobuf.InvalidProtocolBufferException { 8108 return new UpdateReleaseRequest(input, extensionRegistry); 8109 } 8110 }; 8111 8112 public static com.google.protobuf.Parser<UpdateReleaseRequest> parser() { 8113 return PARSER; 8114 } 8115 8116 @java.lang.Override 8117 public com.google.protobuf.Parser<UpdateReleaseRequest> getParserForType() { 8118 return PARSER; 8119 } 8120 8121 public hapi.services.tiller.Tiller.UpdateReleaseRequest getDefaultInstanceForType() { 8122 return DEFAULT_INSTANCE; 8123 } 8124 8125 } 8126 8127 public interface UpdateReleaseResponseOrBuilder extends 8128 // @@protoc_insertion_point(interface_extends:hapi.services.tiller.UpdateReleaseResponse) 8129 com.google.protobuf.MessageOrBuilder { 8130 8131 /** 8132 * <code>.hapi.release.Release release = 1;</code> 8133 */ 8134 boolean hasRelease(); 8135 /** 8136 * <code>.hapi.release.Release release = 1;</code> 8137 */ 8138 hapi.release.ReleaseOuterClass.Release getRelease(); 8139 /** 8140 * <code>.hapi.release.Release release = 1;</code> 8141 */ 8142 hapi.release.ReleaseOuterClass.ReleaseOrBuilder getReleaseOrBuilder(); 8143 } 8144 /** 8145 * <pre> 8146 * UpdateReleaseResponse is the response to an update request. 8147 * </pre> 8148 * 8149 * Protobuf type {@code hapi.services.tiller.UpdateReleaseResponse} 8150 */ 8151 public static final class UpdateReleaseResponse extends 8152 com.google.protobuf.GeneratedMessageV3 implements 8153 // @@protoc_insertion_point(message_implements:hapi.services.tiller.UpdateReleaseResponse) 8154 UpdateReleaseResponseOrBuilder { 8155 private static final long serialVersionUID = 0L; 8156 // Use UpdateReleaseResponse.newBuilder() to construct. 8157 private UpdateReleaseResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 8158 super(builder); 8159 } 8160 private UpdateReleaseResponse() { 8161 } 8162 8163 @java.lang.Override 8164 public final com.google.protobuf.UnknownFieldSet 8165 getUnknownFields() { 8166 return this.unknownFields; 8167 } 8168 private UpdateReleaseResponse( 8169 com.google.protobuf.CodedInputStream input, 8170 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 8171 throws com.google.protobuf.InvalidProtocolBufferException { 8172 this(); 8173 if (extensionRegistry == null) { 8174 throw new java.lang.NullPointerException(); 8175 } 8176 int mutable_bitField0_ = 0; 8177 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 8178 com.google.protobuf.UnknownFieldSet.newBuilder(); 8179 try { 8180 boolean done = false; 8181 while (!done) { 8182 int tag = input.readTag(); 8183 switch (tag) { 8184 case 0: 8185 done = true; 8186 break; 8187 default: { 8188 if (!parseUnknownFieldProto3( 8189 input, unknownFields, extensionRegistry, tag)) { 8190 done = true; 8191 } 8192 break; 8193 } 8194 case 10: { 8195 hapi.release.ReleaseOuterClass.Release.Builder subBuilder = null; 8196 if (release_ != null) { 8197 subBuilder = release_.toBuilder(); 8198 } 8199 release_ = input.readMessage(hapi.release.ReleaseOuterClass.Release.parser(), extensionRegistry); 8200 if (subBuilder != null) { 8201 subBuilder.mergeFrom(release_); 8202 release_ = subBuilder.buildPartial(); 8203 } 8204 8205 break; 8206 } 8207 } 8208 } 8209 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 8210 throw e.setUnfinishedMessage(this); 8211 } catch (java.io.IOException e) { 8212 throw new com.google.protobuf.InvalidProtocolBufferException( 8213 e).setUnfinishedMessage(this); 8214 } finally { 8215 this.unknownFields = unknownFields.build(); 8216 makeExtensionsImmutable(); 8217 } 8218 } 8219 public static final com.google.protobuf.Descriptors.Descriptor 8220 getDescriptor() { 8221 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_UpdateReleaseResponse_descriptor; 8222 } 8223 8224 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 8225 internalGetFieldAccessorTable() { 8226 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_UpdateReleaseResponse_fieldAccessorTable 8227 .ensureFieldAccessorsInitialized( 8228 hapi.services.tiller.Tiller.UpdateReleaseResponse.class, hapi.services.tiller.Tiller.UpdateReleaseResponse.Builder.class); 8229 } 8230 8231 public static final int RELEASE_FIELD_NUMBER = 1; 8232 private hapi.release.ReleaseOuterClass.Release release_; 8233 /** 8234 * <code>.hapi.release.Release release = 1;</code> 8235 */ 8236 public boolean hasRelease() { 8237 return release_ != null; 8238 } 8239 /** 8240 * <code>.hapi.release.Release release = 1;</code> 8241 */ 8242 public hapi.release.ReleaseOuterClass.Release getRelease() { 8243 return release_ == null ? hapi.release.ReleaseOuterClass.Release.getDefaultInstance() : release_; 8244 } 8245 /** 8246 * <code>.hapi.release.Release release = 1;</code> 8247 */ 8248 public hapi.release.ReleaseOuterClass.ReleaseOrBuilder getReleaseOrBuilder() { 8249 return getRelease(); 8250 } 8251 8252 private byte memoizedIsInitialized = -1; 8253 public final boolean isInitialized() { 8254 byte isInitialized = memoizedIsInitialized; 8255 if (isInitialized == 1) return true; 8256 if (isInitialized == 0) return false; 8257 8258 memoizedIsInitialized = 1; 8259 return true; 8260 } 8261 8262 public void writeTo(com.google.protobuf.CodedOutputStream output) 8263 throws java.io.IOException { 8264 if (release_ != null) { 8265 output.writeMessage(1, getRelease()); 8266 } 8267 unknownFields.writeTo(output); 8268 } 8269 8270 public int getSerializedSize() { 8271 int size = memoizedSize; 8272 if (size != -1) return size; 8273 8274 size = 0; 8275 if (release_ != null) { 8276 size += com.google.protobuf.CodedOutputStream 8277 .computeMessageSize(1, getRelease()); 8278 } 8279 size += unknownFields.getSerializedSize(); 8280 memoizedSize = size; 8281 return size; 8282 } 8283 8284 @java.lang.Override 8285 public boolean equals(final java.lang.Object obj) { 8286 if (obj == this) { 8287 return true; 8288 } 8289 if (!(obj instanceof hapi.services.tiller.Tiller.UpdateReleaseResponse)) { 8290 return super.equals(obj); 8291 } 8292 hapi.services.tiller.Tiller.UpdateReleaseResponse other = (hapi.services.tiller.Tiller.UpdateReleaseResponse) obj; 8293 8294 boolean result = true; 8295 result = result && (hasRelease() == other.hasRelease()); 8296 if (hasRelease()) { 8297 result = result && getRelease() 8298 .equals(other.getRelease()); 8299 } 8300 result = result && unknownFields.equals(other.unknownFields); 8301 return result; 8302 } 8303 8304 @java.lang.Override 8305 public int hashCode() { 8306 if (memoizedHashCode != 0) { 8307 return memoizedHashCode; 8308 } 8309 int hash = 41; 8310 hash = (19 * hash) + getDescriptor().hashCode(); 8311 if (hasRelease()) { 8312 hash = (37 * hash) + RELEASE_FIELD_NUMBER; 8313 hash = (53 * hash) + getRelease().hashCode(); 8314 } 8315 hash = (29 * hash) + unknownFields.hashCode(); 8316 memoizedHashCode = hash; 8317 return hash; 8318 } 8319 8320 public static hapi.services.tiller.Tiller.UpdateReleaseResponse parseFrom( 8321 java.nio.ByteBuffer data) 8322 throws com.google.protobuf.InvalidProtocolBufferException { 8323 return PARSER.parseFrom(data); 8324 } 8325 public static hapi.services.tiller.Tiller.UpdateReleaseResponse parseFrom( 8326 java.nio.ByteBuffer data, 8327 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 8328 throws com.google.protobuf.InvalidProtocolBufferException { 8329 return PARSER.parseFrom(data, extensionRegistry); 8330 } 8331 public static hapi.services.tiller.Tiller.UpdateReleaseResponse parseFrom( 8332 com.google.protobuf.ByteString data) 8333 throws com.google.protobuf.InvalidProtocolBufferException { 8334 return PARSER.parseFrom(data); 8335 } 8336 public static hapi.services.tiller.Tiller.UpdateReleaseResponse parseFrom( 8337 com.google.protobuf.ByteString data, 8338 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 8339 throws com.google.protobuf.InvalidProtocolBufferException { 8340 return PARSER.parseFrom(data, extensionRegistry); 8341 } 8342 public static hapi.services.tiller.Tiller.UpdateReleaseResponse parseFrom(byte[] data) 8343 throws com.google.protobuf.InvalidProtocolBufferException { 8344 return PARSER.parseFrom(data); 8345 } 8346 public static hapi.services.tiller.Tiller.UpdateReleaseResponse parseFrom( 8347 byte[] data, 8348 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 8349 throws com.google.protobuf.InvalidProtocolBufferException { 8350 return PARSER.parseFrom(data, extensionRegistry); 8351 } 8352 public static hapi.services.tiller.Tiller.UpdateReleaseResponse parseFrom(java.io.InputStream input) 8353 throws java.io.IOException { 8354 return com.google.protobuf.GeneratedMessageV3 8355 .parseWithIOException(PARSER, input); 8356 } 8357 public static hapi.services.tiller.Tiller.UpdateReleaseResponse parseFrom( 8358 java.io.InputStream input, 8359 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 8360 throws java.io.IOException { 8361 return com.google.protobuf.GeneratedMessageV3 8362 .parseWithIOException(PARSER, input, extensionRegistry); 8363 } 8364 public static hapi.services.tiller.Tiller.UpdateReleaseResponse parseDelimitedFrom(java.io.InputStream input) 8365 throws java.io.IOException { 8366 return com.google.protobuf.GeneratedMessageV3 8367 .parseDelimitedWithIOException(PARSER, input); 8368 } 8369 public static hapi.services.tiller.Tiller.UpdateReleaseResponse parseDelimitedFrom( 8370 java.io.InputStream input, 8371 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 8372 throws java.io.IOException { 8373 return com.google.protobuf.GeneratedMessageV3 8374 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 8375 } 8376 public static hapi.services.tiller.Tiller.UpdateReleaseResponse parseFrom( 8377 com.google.protobuf.CodedInputStream input) 8378 throws java.io.IOException { 8379 return com.google.protobuf.GeneratedMessageV3 8380 .parseWithIOException(PARSER, input); 8381 } 8382 public static hapi.services.tiller.Tiller.UpdateReleaseResponse parseFrom( 8383 com.google.protobuf.CodedInputStream input, 8384 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 8385 throws java.io.IOException { 8386 return com.google.protobuf.GeneratedMessageV3 8387 .parseWithIOException(PARSER, input, extensionRegistry); 8388 } 8389 8390 public Builder newBuilderForType() { return newBuilder(); } 8391 public static Builder newBuilder() { 8392 return DEFAULT_INSTANCE.toBuilder(); 8393 } 8394 public static Builder newBuilder(hapi.services.tiller.Tiller.UpdateReleaseResponse prototype) { 8395 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 8396 } 8397 public Builder toBuilder() { 8398 return this == DEFAULT_INSTANCE 8399 ? new Builder() : new Builder().mergeFrom(this); 8400 } 8401 8402 @java.lang.Override 8403 protected Builder newBuilderForType( 8404 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 8405 Builder builder = new Builder(parent); 8406 return builder; 8407 } 8408 /** 8409 * <pre> 8410 * UpdateReleaseResponse is the response to an update request. 8411 * </pre> 8412 * 8413 * Protobuf type {@code hapi.services.tiller.UpdateReleaseResponse} 8414 */ 8415 public static final class Builder extends 8416 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 8417 // @@protoc_insertion_point(builder_implements:hapi.services.tiller.UpdateReleaseResponse) 8418 hapi.services.tiller.Tiller.UpdateReleaseResponseOrBuilder { 8419 public static final com.google.protobuf.Descriptors.Descriptor 8420 getDescriptor() { 8421 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_UpdateReleaseResponse_descriptor; 8422 } 8423 8424 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 8425 internalGetFieldAccessorTable() { 8426 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_UpdateReleaseResponse_fieldAccessorTable 8427 .ensureFieldAccessorsInitialized( 8428 hapi.services.tiller.Tiller.UpdateReleaseResponse.class, hapi.services.tiller.Tiller.UpdateReleaseResponse.Builder.class); 8429 } 8430 8431 // Construct using hapi.services.tiller.Tiller.UpdateReleaseResponse.newBuilder() 8432 private Builder() { 8433 maybeForceBuilderInitialization(); 8434 } 8435 8436 private Builder( 8437 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 8438 super(parent); 8439 maybeForceBuilderInitialization(); 8440 } 8441 private void maybeForceBuilderInitialization() { 8442 if (com.google.protobuf.GeneratedMessageV3 8443 .alwaysUseFieldBuilders) { 8444 } 8445 } 8446 public Builder clear() { 8447 super.clear(); 8448 if (releaseBuilder_ == null) { 8449 release_ = null; 8450 } else { 8451 release_ = null; 8452 releaseBuilder_ = null; 8453 } 8454 return this; 8455 } 8456 8457 public com.google.protobuf.Descriptors.Descriptor 8458 getDescriptorForType() { 8459 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_UpdateReleaseResponse_descriptor; 8460 } 8461 8462 public hapi.services.tiller.Tiller.UpdateReleaseResponse getDefaultInstanceForType() { 8463 return hapi.services.tiller.Tiller.UpdateReleaseResponse.getDefaultInstance(); 8464 } 8465 8466 public hapi.services.tiller.Tiller.UpdateReleaseResponse build() { 8467 hapi.services.tiller.Tiller.UpdateReleaseResponse result = buildPartial(); 8468 if (!result.isInitialized()) { 8469 throw newUninitializedMessageException(result); 8470 } 8471 return result; 8472 } 8473 8474 public hapi.services.tiller.Tiller.UpdateReleaseResponse buildPartial() { 8475 hapi.services.tiller.Tiller.UpdateReleaseResponse result = new hapi.services.tiller.Tiller.UpdateReleaseResponse(this); 8476 if (releaseBuilder_ == null) { 8477 result.release_ = release_; 8478 } else { 8479 result.release_ = releaseBuilder_.build(); 8480 } 8481 onBuilt(); 8482 return result; 8483 } 8484 8485 public Builder clone() { 8486 return (Builder) super.clone(); 8487 } 8488 public Builder setField( 8489 com.google.protobuf.Descriptors.FieldDescriptor field, 8490 java.lang.Object value) { 8491 return (Builder) super.setField(field, value); 8492 } 8493 public Builder clearField( 8494 com.google.protobuf.Descriptors.FieldDescriptor field) { 8495 return (Builder) super.clearField(field); 8496 } 8497 public Builder clearOneof( 8498 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 8499 return (Builder) super.clearOneof(oneof); 8500 } 8501 public Builder setRepeatedField( 8502 com.google.protobuf.Descriptors.FieldDescriptor field, 8503 int index, java.lang.Object value) { 8504 return (Builder) super.setRepeatedField(field, index, value); 8505 } 8506 public Builder addRepeatedField( 8507 com.google.protobuf.Descriptors.FieldDescriptor field, 8508 java.lang.Object value) { 8509 return (Builder) super.addRepeatedField(field, value); 8510 } 8511 public Builder mergeFrom(com.google.protobuf.Message other) { 8512 if (other instanceof hapi.services.tiller.Tiller.UpdateReleaseResponse) { 8513 return mergeFrom((hapi.services.tiller.Tiller.UpdateReleaseResponse)other); 8514 } else { 8515 super.mergeFrom(other); 8516 return this; 8517 } 8518 } 8519 8520 public Builder mergeFrom(hapi.services.tiller.Tiller.UpdateReleaseResponse other) { 8521 if (other == hapi.services.tiller.Tiller.UpdateReleaseResponse.getDefaultInstance()) return this; 8522 if (other.hasRelease()) { 8523 mergeRelease(other.getRelease()); 8524 } 8525 this.mergeUnknownFields(other.unknownFields); 8526 onChanged(); 8527 return this; 8528 } 8529 8530 public final boolean isInitialized() { 8531 return true; 8532 } 8533 8534 public Builder mergeFrom( 8535 com.google.protobuf.CodedInputStream input, 8536 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 8537 throws java.io.IOException { 8538 hapi.services.tiller.Tiller.UpdateReleaseResponse parsedMessage = null; 8539 try { 8540 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 8541 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 8542 parsedMessage = (hapi.services.tiller.Tiller.UpdateReleaseResponse) e.getUnfinishedMessage(); 8543 throw e.unwrapIOException(); 8544 } finally { 8545 if (parsedMessage != null) { 8546 mergeFrom(parsedMessage); 8547 } 8548 } 8549 return this; 8550 } 8551 8552 private hapi.release.ReleaseOuterClass.Release release_ = null; 8553 private com.google.protobuf.SingleFieldBuilderV3< 8554 hapi.release.ReleaseOuterClass.Release, hapi.release.ReleaseOuterClass.Release.Builder, hapi.release.ReleaseOuterClass.ReleaseOrBuilder> releaseBuilder_; 8555 /** 8556 * <code>.hapi.release.Release release = 1;</code> 8557 */ 8558 public boolean hasRelease() { 8559 return releaseBuilder_ != null || release_ != null; 8560 } 8561 /** 8562 * <code>.hapi.release.Release release = 1;</code> 8563 */ 8564 public hapi.release.ReleaseOuterClass.Release getRelease() { 8565 if (releaseBuilder_ == null) { 8566 return release_ == null ? hapi.release.ReleaseOuterClass.Release.getDefaultInstance() : release_; 8567 } else { 8568 return releaseBuilder_.getMessage(); 8569 } 8570 } 8571 /** 8572 * <code>.hapi.release.Release release = 1;</code> 8573 */ 8574 public Builder setRelease(hapi.release.ReleaseOuterClass.Release value) { 8575 if (releaseBuilder_ == null) { 8576 if (value == null) { 8577 throw new NullPointerException(); 8578 } 8579 release_ = value; 8580 onChanged(); 8581 } else { 8582 releaseBuilder_.setMessage(value); 8583 } 8584 8585 return this; 8586 } 8587 /** 8588 * <code>.hapi.release.Release release = 1;</code> 8589 */ 8590 public Builder setRelease( 8591 hapi.release.ReleaseOuterClass.Release.Builder builderForValue) { 8592 if (releaseBuilder_ == null) { 8593 release_ = builderForValue.build(); 8594 onChanged(); 8595 } else { 8596 releaseBuilder_.setMessage(builderForValue.build()); 8597 } 8598 8599 return this; 8600 } 8601 /** 8602 * <code>.hapi.release.Release release = 1;</code> 8603 */ 8604 public Builder mergeRelease(hapi.release.ReleaseOuterClass.Release value) { 8605 if (releaseBuilder_ == null) { 8606 if (release_ != null) { 8607 release_ = 8608 hapi.release.ReleaseOuterClass.Release.newBuilder(release_).mergeFrom(value).buildPartial(); 8609 } else { 8610 release_ = value; 8611 } 8612 onChanged(); 8613 } else { 8614 releaseBuilder_.mergeFrom(value); 8615 } 8616 8617 return this; 8618 } 8619 /** 8620 * <code>.hapi.release.Release release = 1;</code> 8621 */ 8622 public Builder clearRelease() { 8623 if (releaseBuilder_ == null) { 8624 release_ = null; 8625 onChanged(); 8626 } else { 8627 release_ = null; 8628 releaseBuilder_ = null; 8629 } 8630 8631 return this; 8632 } 8633 /** 8634 * <code>.hapi.release.Release release = 1;</code> 8635 */ 8636 public hapi.release.ReleaseOuterClass.Release.Builder getReleaseBuilder() { 8637 8638 onChanged(); 8639 return getReleaseFieldBuilder().getBuilder(); 8640 } 8641 /** 8642 * <code>.hapi.release.Release release = 1;</code> 8643 */ 8644 public hapi.release.ReleaseOuterClass.ReleaseOrBuilder getReleaseOrBuilder() { 8645 if (releaseBuilder_ != null) { 8646 return releaseBuilder_.getMessageOrBuilder(); 8647 } else { 8648 return release_ == null ? 8649 hapi.release.ReleaseOuterClass.Release.getDefaultInstance() : release_; 8650 } 8651 } 8652 /** 8653 * <code>.hapi.release.Release release = 1;</code> 8654 */ 8655 private com.google.protobuf.SingleFieldBuilderV3< 8656 hapi.release.ReleaseOuterClass.Release, hapi.release.ReleaseOuterClass.Release.Builder, hapi.release.ReleaseOuterClass.ReleaseOrBuilder> 8657 getReleaseFieldBuilder() { 8658 if (releaseBuilder_ == null) { 8659 releaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< 8660 hapi.release.ReleaseOuterClass.Release, hapi.release.ReleaseOuterClass.Release.Builder, hapi.release.ReleaseOuterClass.ReleaseOrBuilder>( 8661 getRelease(), 8662 getParentForChildren(), 8663 isClean()); 8664 release_ = null; 8665 } 8666 return releaseBuilder_; 8667 } 8668 public final Builder setUnknownFields( 8669 final com.google.protobuf.UnknownFieldSet unknownFields) { 8670 return super.setUnknownFieldsProto3(unknownFields); 8671 } 8672 8673 public final Builder mergeUnknownFields( 8674 final com.google.protobuf.UnknownFieldSet unknownFields) { 8675 return super.mergeUnknownFields(unknownFields); 8676 } 8677 8678 8679 // @@protoc_insertion_point(builder_scope:hapi.services.tiller.UpdateReleaseResponse) 8680 } 8681 8682 // @@protoc_insertion_point(class_scope:hapi.services.tiller.UpdateReleaseResponse) 8683 private static final hapi.services.tiller.Tiller.UpdateReleaseResponse DEFAULT_INSTANCE; 8684 static { 8685 DEFAULT_INSTANCE = new hapi.services.tiller.Tiller.UpdateReleaseResponse(); 8686 } 8687 8688 public static hapi.services.tiller.Tiller.UpdateReleaseResponse getDefaultInstance() { 8689 return DEFAULT_INSTANCE; 8690 } 8691 8692 private static final com.google.protobuf.Parser<UpdateReleaseResponse> 8693 PARSER = new com.google.protobuf.AbstractParser<UpdateReleaseResponse>() { 8694 public UpdateReleaseResponse parsePartialFrom( 8695 com.google.protobuf.CodedInputStream input, 8696 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 8697 throws com.google.protobuf.InvalidProtocolBufferException { 8698 return new UpdateReleaseResponse(input, extensionRegistry); 8699 } 8700 }; 8701 8702 public static com.google.protobuf.Parser<UpdateReleaseResponse> parser() { 8703 return PARSER; 8704 } 8705 8706 @java.lang.Override 8707 public com.google.protobuf.Parser<UpdateReleaseResponse> getParserForType() { 8708 return PARSER; 8709 } 8710 8711 public hapi.services.tiller.Tiller.UpdateReleaseResponse getDefaultInstanceForType() { 8712 return DEFAULT_INSTANCE; 8713 } 8714 8715 } 8716 8717 public interface RollbackReleaseRequestOrBuilder extends 8718 // @@protoc_insertion_point(interface_extends:hapi.services.tiller.RollbackReleaseRequest) 8719 com.google.protobuf.MessageOrBuilder { 8720 8721 /** 8722 * <pre> 8723 * The name of the release 8724 * </pre> 8725 * 8726 * <code>string name = 1;</code> 8727 */ 8728 java.lang.String getName(); 8729 /** 8730 * <pre> 8731 * The name of the release 8732 * </pre> 8733 * 8734 * <code>string name = 1;</code> 8735 */ 8736 com.google.protobuf.ByteString 8737 getNameBytes(); 8738 8739 /** 8740 * <pre> 8741 * dry_run, if true, will run through the release logic but no create 8742 * </pre> 8743 * 8744 * <code>bool dry_run = 2;</code> 8745 */ 8746 boolean getDryRun(); 8747 8748 /** 8749 * <pre> 8750 * DisableHooks causes the server to skip running any hooks for the rollback 8751 * </pre> 8752 * 8753 * <code>bool disable_hooks = 3;</code> 8754 */ 8755 boolean getDisableHooks(); 8756 8757 /** 8758 * <pre> 8759 * Version is the version of the release to deploy. 8760 * </pre> 8761 * 8762 * <code>int32 version = 4;</code> 8763 */ 8764 int getVersion(); 8765 8766 /** 8767 * <pre> 8768 * Performs pods restart for resources if applicable 8769 * </pre> 8770 * 8771 * <code>bool recreate = 5;</code> 8772 */ 8773 boolean getRecreate(); 8774 8775 /** 8776 * <pre> 8777 * timeout specifies the max amount of time any kubernetes client command can run. 8778 * </pre> 8779 * 8780 * <code>int64 timeout = 6;</code> 8781 */ 8782 long getTimeout(); 8783 8784 /** 8785 * <pre> 8786 * wait, if true, will wait until all Pods, PVCs, and Services are in a ready state 8787 * before marking the release as successful. It will wait for as long as timeout 8788 * </pre> 8789 * 8790 * <code>bool wait = 7;</code> 8791 */ 8792 boolean getWait(); 8793 8794 /** 8795 * <pre> 8796 * Force resource update through delete/recreate if needed. 8797 * </pre> 8798 * 8799 * <code>bool force = 8;</code> 8800 */ 8801 boolean getForce(); 8802 } 8803 /** 8804 * Protobuf type {@code hapi.services.tiller.RollbackReleaseRequest} 8805 */ 8806 public static final class RollbackReleaseRequest extends 8807 com.google.protobuf.GeneratedMessageV3 implements 8808 // @@protoc_insertion_point(message_implements:hapi.services.tiller.RollbackReleaseRequest) 8809 RollbackReleaseRequestOrBuilder { 8810 private static final long serialVersionUID = 0L; 8811 // Use RollbackReleaseRequest.newBuilder() to construct. 8812 private RollbackReleaseRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 8813 super(builder); 8814 } 8815 private RollbackReleaseRequest() { 8816 name_ = ""; 8817 dryRun_ = false; 8818 disableHooks_ = false; 8819 version_ = 0; 8820 recreate_ = false; 8821 timeout_ = 0L; 8822 wait_ = false; 8823 force_ = false; 8824 } 8825 8826 @java.lang.Override 8827 public final com.google.protobuf.UnknownFieldSet 8828 getUnknownFields() { 8829 return this.unknownFields; 8830 } 8831 private RollbackReleaseRequest( 8832 com.google.protobuf.CodedInputStream input, 8833 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 8834 throws com.google.protobuf.InvalidProtocolBufferException { 8835 this(); 8836 if (extensionRegistry == null) { 8837 throw new java.lang.NullPointerException(); 8838 } 8839 int mutable_bitField0_ = 0; 8840 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 8841 com.google.protobuf.UnknownFieldSet.newBuilder(); 8842 try { 8843 boolean done = false; 8844 while (!done) { 8845 int tag = input.readTag(); 8846 switch (tag) { 8847 case 0: 8848 done = true; 8849 break; 8850 default: { 8851 if (!parseUnknownFieldProto3( 8852 input, unknownFields, extensionRegistry, tag)) { 8853 done = true; 8854 } 8855 break; 8856 } 8857 case 10: { 8858 java.lang.String s = input.readStringRequireUtf8(); 8859 8860 name_ = s; 8861 break; 8862 } 8863 case 16: { 8864 8865 dryRun_ = input.readBool(); 8866 break; 8867 } 8868 case 24: { 8869 8870 disableHooks_ = input.readBool(); 8871 break; 8872 } 8873 case 32: { 8874 8875 version_ = input.readInt32(); 8876 break; 8877 } 8878 case 40: { 8879 8880 recreate_ = input.readBool(); 8881 break; 8882 } 8883 case 48: { 8884 8885 timeout_ = input.readInt64(); 8886 break; 8887 } 8888 case 56: { 8889 8890 wait_ = input.readBool(); 8891 break; 8892 } 8893 case 64: { 8894 8895 force_ = input.readBool(); 8896 break; 8897 } 8898 } 8899 } 8900 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 8901 throw e.setUnfinishedMessage(this); 8902 } catch (java.io.IOException e) { 8903 throw new com.google.protobuf.InvalidProtocolBufferException( 8904 e).setUnfinishedMessage(this); 8905 } finally { 8906 this.unknownFields = unknownFields.build(); 8907 makeExtensionsImmutable(); 8908 } 8909 } 8910 public static final com.google.protobuf.Descriptors.Descriptor 8911 getDescriptor() { 8912 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_RollbackReleaseRequest_descriptor; 8913 } 8914 8915 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 8916 internalGetFieldAccessorTable() { 8917 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_RollbackReleaseRequest_fieldAccessorTable 8918 .ensureFieldAccessorsInitialized( 8919 hapi.services.tiller.Tiller.RollbackReleaseRequest.class, hapi.services.tiller.Tiller.RollbackReleaseRequest.Builder.class); 8920 } 8921 8922 public static final int NAME_FIELD_NUMBER = 1; 8923 private volatile java.lang.Object name_; 8924 /** 8925 * <pre> 8926 * The name of the release 8927 * </pre> 8928 * 8929 * <code>string name = 1;</code> 8930 */ 8931 public java.lang.String getName() { 8932 java.lang.Object ref = name_; 8933 if (ref instanceof java.lang.String) { 8934 return (java.lang.String) ref; 8935 } else { 8936 com.google.protobuf.ByteString bs = 8937 (com.google.protobuf.ByteString) ref; 8938 java.lang.String s = bs.toStringUtf8(); 8939 name_ = s; 8940 return s; 8941 } 8942 } 8943 /** 8944 * <pre> 8945 * The name of the release 8946 * </pre> 8947 * 8948 * <code>string name = 1;</code> 8949 */ 8950 public com.google.protobuf.ByteString 8951 getNameBytes() { 8952 java.lang.Object ref = name_; 8953 if (ref instanceof java.lang.String) { 8954 com.google.protobuf.ByteString b = 8955 com.google.protobuf.ByteString.copyFromUtf8( 8956 (java.lang.String) ref); 8957 name_ = b; 8958 return b; 8959 } else { 8960 return (com.google.protobuf.ByteString) ref; 8961 } 8962 } 8963 8964 public static final int DRY_RUN_FIELD_NUMBER = 2; 8965 private boolean dryRun_; 8966 /** 8967 * <pre> 8968 * dry_run, if true, will run through the release logic but no create 8969 * </pre> 8970 * 8971 * <code>bool dry_run = 2;</code> 8972 */ 8973 public boolean getDryRun() { 8974 return dryRun_; 8975 } 8976 8977 public static final int DISABLE_HOOKS_FIELD_NUMBER = 3; 8978 private boolean disableHooks_; 8979 /** 8980 * <pre> 8981 * DisableHooks causes the server to skip running any hooks for the rollback 8982 * </pre> 8983 * 8984 * <code>bool disable_hooks = 3;</code> 8985 */ 8986 public boolean getDisableHooks() { 8987 return disableHooks_; 8988 } 8989 8990 public static final int VERSION_FIELD_NUMBER = 4; 8991 private int version_; 8992 /** 8993 * <pre> 8994 * Version is the version of the release to deploy. 8995 * </pre> 8996 * 8997 * <code>int32 version = 4;</code> 8998 */ 8999 public int getVersion() { 9000 return version_; 9001 } 9002 9003 public static final int RECREATE_FIELD_NUMBER = 5; 9004 private boolean recreate_; 9005 /** 9006 * <pre> 9007 * Performs pods restart for resources if applicable 9008 * </pre> 9009 * 9010 * <code>bool recreate = 5;</code> 9011 */ 9012 public boolean getRecreate() { 9013 return recreate_; 9014 } 9015 9016 public static final int TIMEOUT_FIELD_NUMBER = 6; 9017 private long timeout_; 9018 /** 9019 * <pre> 9020 * timeout specifies the max amount of time any kubernetes client command can run. 9021 * </pre> 9022 * 9023 * <code>int64 timeout = 6;</code> 9024 */ 9025 public long getTimeout() { 9026 return timeout_; 9027 } 9028 9029 public static final int WAIT_FIELD_NUMBER = 7; 9030 private boolean wait_; 9031 /** 9032 * <pre> 9033 * wait, if true, will wait until all Pods, PVCs, and Services are in a ready state 9034 * before marking the release as successful. It will wait for as long as timeout 9035 * </pre> 9036 * 9037 * <code>bool wait = 7;</code> 9038 */ 9039 public boolean getWait() { 9040 return wait_; 9041 } 9042 9043 public static final int FORCE_FIELD_NUMBER = 8; 9044 private boolean force_; 9045 /** 9046 * <pre> 9047 * Force resource update through delete/recreate if needed. 9048 * </pre> 9049 * 9050 * <code>bool force = 8;</code> 9051 */ 9052 public boolean getForce() { 9053 return force_; 9054 } 9055 9056 private byte memoizedIsInitialized = -1; 9057 public final boolean isInitialized() { 9058 byte isInitialized = memoizedIsInitialized; 9059 if (isInitialized == 1) return true; 9060 if (isInitialized == 0) return false; 9061 9062 memoizedIsInitialized = 1; 9063 return true; 9064 } 9065 9066 public void writeTo(com.google.protobuf.CodedOutputStream output) 9067 throws java.io.IOException { 9068 if (!getNameBytes().isEmpty()) { 9069 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); 9070 } 9071 if (dryRun_ != false) { 9072 output.writeBool(2, dryRun_); 9073 } 9074 if (disableHooks_ != false) { 9075 output.writeBool(3, disableHooks_); 9076 } 9077 if (version_ != 0) { 9078 output.writeInt32(4, version_); 9079 } 9080 if (recreate_ != false) { 9081 output.writeBool(5, recreate_); 9082 } 9083 if (timeout_ != 0L) { 9084 output.writeInt64(6, timeout_); 9085 } 9086 if (wait_ != false) { 9087 output.writeBool(7, wait_); 9088 } 9089 if (force_ != false) { 9090 output.writeBool(8, force_); 9091 } 9092 unknownFields.writeTo(output); 9093 } 9094 9095 public int getSerializedSize() { 9096 int size = memoizedSize; 9097 if (size != -1) return size; 9098 9099 size = 0; 9100 if (!getNameBytes().isEmpty()) { 9101 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); 9102 } 9103 if (dryRun_ != false) { 9104 size += com.google.protobuf.CodedOutputStream 9105 .computeBoolSize(2, dryRun_); 9106 } 9107 if (disableHooks_ != false) { 9108 size += com.google.protobuf.CodedOutputStream 9109 .computeBoolSize(3, disableHooks_); 9110 } 9111 if (version_ != 0) { 9112 size += com.google.protobuf.CodedOutputStream 9113 .computeInt32Size(4, version_); 9114 } 9115 if (recreate_ != false) { 9116 size += com.google.protobuf.CodedOutputStream 9117 .computeBoolSize(5, recreate_); 9118 } 9119 if (timeout_ != 0L) { 9120 size += com.google.protobuf.CodedOutputStream 9121 .computeInt64Size(6, timeout_); 9122 } 9123 if (wait_ != false) { 9124 size += com.google.protobuf.CodedOutputStream 9125 .computeBoolSize(7, wait_); 9126 } 9127 if (force_ != false) { 9128 size += com.google.protobuf.CodedOutputStream 9129 .computeBoolSize(8, force_); 9130 } 9131 size += unknownFields.getSerializedSize(); 9132 memoizedSize = size; 9133 return size; 9134 } 9135 9136 @java.lang.Override 9137 public boolean equals(final java.lang.Object obj) { 9138 if (obj == this) { 9139 return true; 9140 } 9141 if (!(obj instanceof hapi.services.tiller.Tiller.RollbackReleaseRequest)) { 9142 return super.equals(obj); 9143 } 9144 hapi.services.tiller.Tiller.RollbackReleaseRequest other = (hapi.services.tiller.Tiller.RollbackReleaseRequest) obj; 9145 9146 boolean result = true; 9147 result = result && getName() 9148 .equals(other.getName()); 9149 result = result && (getDryRun() 9150 == other.getDryRun()); 9151 result = result && (getDisableHooks() 9152 == other.getDisableHooks()); 9153 result = result && (getVersion() 9154 == other.getVersion()); 9155 result = result && (getRecreate() 9156 == other.getRecreate()); 9157 result = result && (getTimeout() 9158 == other.getTimeout()); 9159 result = result && (getWait() 9160 == other.getWait()); 9161 result = result && (getForce() 9162 == other.getForce()); 9163 result = result && unknownFields.equals(other.unknownFields); 9164 return result; 9165 } 9166 9167 @java.lang.Override 9168 public int hashCode() { 9169 if (memoizedHashCode != 0) { 9170 return memoizedHashCode; 9171 } 9172 int hash = 41; 9173 hash = (19 * hash) + getDescriptor().hashCode(); 9174 hash = (37 * hash) + NAME_FIELD_NUMBER; 9175 hash = (53 * hash) + getName().hashCode(); 9176 hash = (37 * hash) + DRY_RUN_FIELD_NUMBER; 9177 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 9178 getDryRun()); 9179 hash = (37 * hash) + DISABLE_HOOKS_FIELD_NUMBER; 9180 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 9181 getDisableHooks()); 9182 hash = (37 * hash) + VERSION_FIELD_NUMBER; 9183 hash = (53 * hash) + getVersion(); 9184 hash = (37 * hash) + RECREATE_FIELD_NUMBER; 9185 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 9186 getRecreate()); 9187 hash = (37 * hash) + TIMEOUT_FIELD_NUMBER; 9188 hash = (53 * hash) + com.google.protobuf.Internal.hashLong( 9189 getTimeout()); 9190 hash = (37 * hash) + WAIT_FIELD_NUMBER; 9191 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 9192 getWait()); 9193 hash = (37 * hash) + FORCE_FIELD_NUMBER; 9194 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 9195 getForce()); 9196 hash = (29 * hash) + unknownFields.hashCode(); 9197 memoizedHashCode = hash; 9198 return hash; 9199 } 9200 9201 public static hapi.services.tiller.Tiller.RollbackReleaseRequest parseFrom( 9202 java.nio.ByteBuffer data) 9203 throws com.google.protobuf.InvalidProtocolBufferException { 9204 return PARSER.parseFrom(data); 9205 } 9206 public static hapi.services.tiller.Tiller.RollbackReleaseRequest parseFrom( 9207 java.nio.ByteBuffer data, 9208 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 9209 throws com.google.protobuf.InvalidProtocolBufferException { 9210 return PARSER.parseFrom(data, extensionRegistry); 9211 } 9212 public static hapi.services.tiller.Tiller.RollbackReleaseRequest parseFrom( 9213 com.google.protobuf.ByteString data) 9214 throws com.google.protobuf.InvalidProtocolBufferException { 9215 return PARSER.parseFrom(data); 9216 } 9217 public static hapi.services.tiller.Tiller.RollbackReleaseRequest parseFrom( 9218 com.google.protobuf.ByteString data, 9219 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 9220 throws com.google.protobuf.InvalidProtocolBufferException { 9221 return PARSER.parseFrom(data, extensionRegistry); 9222 } 9223 public static hapi.services.tiller.Tiller.RollbackReleaseRequest parseFrom(byte[] data) 9224 throws com.google.protobuf.InvalidProtocolBufferException { 9225 return PARSER.parseFrom(data); 9226 } 9227 public static hapi.services.tiller.Tiller.RollbackReleaseRequest parseFrom( 9228 byte[] data, 9229 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 9230 throws com.google.protobuf.InvalidProtocolBufferException { 9231 return PARSER.parseFrom(data, extensionRegistry); 9232 } 9233 public static hapi.services.tiller.Tiller.RollbackReleaseRequest parseFrom(java.io.InputStream input) 9234 throws java.io.IOException { 9235 return com.google.protobuf.GeneratedMessageV3 9236 .parseWithIOException(PARSER, input); 9237 } 9238 public static hapi.services.tiller.Tiller.RollbackReleaseRequest parseFrom( 9239 java.io.InputStream input, 9240 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 9241 throws java.io.IOException { 9242 return com.google.protobuf.GeneratedMessageV3 9243 .parseWithIOException(PARSER, input, extensionRegistry); 9244 } 9245 public static hapi.services.tiller.Tiller.RollbackReleaseRequest parseDelimitedFrom(java.io.InputStream input) 9246 throws java.io.IOException { 9247 return com.google.protobuf.GeneratedMessageV3 9248 .parseDelimitedWithIOException(PARSER, input); 9249 } 9250 public static hapi.services.tiller.Tiller.RollbackReleaseRequest parseDelimitedFrom( 9251 java.io.InputStream input, 9252 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 9253 throws java.io.IOException { 9254 return com.google.protobuf.GeneratedMessageV3 9255 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 9256 } 9257 public static hapi.services.tiller.Tiller.RollbackReleaseRequest parseFrom( 9258 com.google.protobuf.CodedInputStream input) 9259 throws java.io.IOException { 9260 return com.google.protobuf.GeneratedMessageV3 9261 .parseWithIOException(PARSER, input); 9262 } 9263 public static hapi.services.tiller.Tiller.RollbackReleaseRequest parseFrom( 9264 com.google.protobuf.CodedInputStream input, 9265 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 9266 throws java.io.IOException { 9267 return com.google.protobuf.GeneratedMessageV3 9268 .parseWithIOException(PARSER, input, extensionRegistry); 9269 } 9270 9271 public Builder newBuilderForType() { return newBuilder(); } 9272 public static Builder newBuilder() { 9273 return DEFAULT_INSTANCE.toBuilder(); 9274 } 9275 public static Builder newBuilder(hapi.services.tiller.Tiller.RollbackReleaseRequest prototype) { 9276 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 9277 } 9278 public Builder toBuilder() { 9279 return this == DEFAULT_INSTANCE 9280 ? new Builder() : new Builder().mergeFrom(this); 9281 } 9282 9283 @java.lang.Override 9284 protected Builder newBuilderForType( 9285 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 9286 Builder builder = new Builder(parent); 9287 return builder; 9288 } 9289 /** 9290 * Protobuf type {@code hapi.services.tiller.RollbackReleaseRequest} 9291 */ 9292 public static final class Builder extends 9293 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 9294 // @@protoc_insertion_point(builder_implements:hapi.services.tiller.RollbackReleaseRequest) 9295 hapi.services.tiller.Tiller.RollbackReleaseRequestOrBuilder { 9296 public static final com.google.protobuf.Descriptors.Descriptor 9297 getDescriptor() { 9298 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_RollbackReleaseRequest_descriptor; 9299 } 9300 9301 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 9302 internalGetFieldAccessorTable() { 9303 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_RollbackReleaseRequest_fieldAccessorTable 9304 .ensureFieldAccessorsInitialized( 9305 hapi.services.tiller.Tiller.RollbackReleaseRequest.class, hapi.services.tiller.Tiller.RollbackReleaseRequest.Builder.class); 9306 } 9307 9308 // Construct using hapi.services.tiller.Tiller.RollbackReleaseRequest.newBuilder() 9309 private Builder() { 9310 maybeForceBuilderInitialization(); 9311 } 9312 9313 private Builder( 9314 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 9315 super(parent); 9316 maybeForceBuilderInitialization(); 9317 } 9318 private void maybeForceBuilderInitialization() { 9319 if (com.google.protobuf.GeneratedMessageV3 9320 .alwaysUseFieldBuilders) { 9321 } 9322 } 9323 public Builder clear() { 9324 super.clear(); 9325 name_ = ""; 9326 9327 dryRun_ = false; 9328 9329 disableHooks_ = false; 9330 9331 version_ = 0; 9332 9333 recreate_ = false; 9334 9335 timeout_ = 0L; 9336 9337 wait_ = false; 9338 9339 force_ = false; 9340 9341 return this; 9342 } 9343 9344 public com.google.protobuf.Descriptors.Descriptor 9345 getDescriptorForType() { 9346 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_RollbackReleaseRequest_descriptor; 9347 } 9348 9349 public hapi.services.tiller.Tiller.RollbackReleaseRequest getDefaultInstanceForType() { 9350 return hapi.services.tiller.Tiller.RollbackReleaseRequest.getDefaultInstance(); 9351 } 9352 9353 public hapi.services.tiller.Tiller.RollbackReleaseRequest build() { 9354 hapi.services.tiller.Tiller.RollbackReleaseRequest result = buildPartial(); 9355 if (!result.isInitialized()) { 9356 throw newUninitializedMessageException(result); 9357 } 9358 return result; 9359 } 9360 9361 public hapi.services.tiller.Tiller.RollbackReleaseRequest buildPartial() { 9362 hapi.services.tiller.Tiller.RollbackReleaseRequest result = new hapi.services.tiller.Tiller.RollbackReleaseRequest(this); 9363 result.name_ = name_; 9364 result.dryRun_ = dryRun_; 9365 result.disableHooks_ = disableHooks_; 9366 result.version_ = version_; 9367 result.recreate_ = recreate_; 9368 result.timeout_ = timeout_; 9369 result.wait_ = wait_; 9370 result.force_ = force_; 9371 onBuilt(); 9372 return result; 9373 } 9374 9375 public Builder clone() { 9376 return (Builder) super.clone(); 9377 } 9378 public Builder setField( 9379 com.google.protobuf.Descriptors.FieldDescriptor field, 9380 java.lang.Object value) { 9381 return (Builder) super.setField(field, value); 9382 } 9383 public Builder clearField( 9384 com.google.protobuf.Descriptors.FieldDescriptor field) { 9385 return (Builder) super.clearField(field); 9386 } 9387 public Builder clearOneof( 9388 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 9389 return (Builder) super.clearOneof(oneof); 9390 } 9391 public Builder setRepeatedField( 9392 com.google.protobuf.Descriptors.FieldDescriptor field, 9393 int index, java.lang.Object value) { 9394 return (Builder) super.setRepeatedField(field, index, value); 9395 } 9396 public Builder addRepeatedField( 9397 com.google.protobuf.Descriptors.FieldDescriptor field, 9398 java.lang.Object value) { 9399 return (Builder) super.addRepeatedField(field, value); 9400 } 9401 public Builder mergeFrom(com.google.protobuf.Message other) { 9402 if (other instanceof hapi.services.tiller.Tiller.RollbackReleaseRequest) { 9403 return mergeFrom((hapi.services.tiller.Tiller.RollbackReleaseRequest)other); 9404 } else { 9405 super.mergeFrom(other); 9406 return this; 9407 } 9408 } 9409 9410 public Builder mergeFrom(hapi.services.tiller.Tiller.RollbackReleaseRequest other) { 9411 if (other == hapi.services.tiller.Tiller.RollbackReleaseRequest.getDefaultInstance()) return this; 9412 if (!other.getName().isEmpty()) { 9413 name_ = other.name_; 9414 onChanged(); 9415 } 9416 if (other.getDryRun() != false) { 9417 setDryRun(other.getDryRun()); 9418 } 9419 if (other.getDisableHooks() != false) { 9420 setDisableHooks(other.getDisableHooks()); 9421 } 9422 if (other.getVersion() != 0) { 9423 setVersion(other.getVersion()); 9424 } 9425 if (other.getRecreate() != false) { 9426 setRecreate(other.getRecreate()); 9427 } 9428 if (other.getTimeout() != 0L) { 9429 setTimeout(other.getTimeout()); 9430 } 9431 if (other.getWait() != false) { 9432 setWait(other.getWait()); 9433 } 9434 if (other.getForce() != false) { 9435 setForce(other.getForce()); 9436 } 9437 this.mergeUnknownFields(other.unknownFields); 9438 onChanged(); 9439 return this; 9440 } 9441 9442 public final boolean isInitialized() { 9443 return true; 9444 } 9445 9446 public Builder mergeFrom( 9447 com.google.protobuf.CodedInputStream input, 9448 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 9449 throws java.io.IOException { 9450 hapi.services.tiller.Tiller.RollbackReleaseRequest parsedMessage = null; 9451 try { 9452 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 9453 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 9454 parsedMessage = (hapi.services.tiller.Tiller.RollbackReleaseRequest) e.getUnfinishedMessage(); 9455 throw e.unwrapIOException(); 9456 } finally { 9457 if (parsedMessage != null) { 9458 mergeFrom(parsedMessage); 9459 } 9460 } 9461 return this; 9462 } 9463 9464 private java.lang.Object name_ = ""; 9465 /** 9466 * <pre> 9467 * The name of the release 9468 * </pre> 9469 * 9470 * <code>string name = 1;</code> 9471 */ 9472 public java.lang.String getName() { 9473 java.lang.Object ref = name_; 9474 if (!(ref instanceof java.lang.String)) { 9475 com.google.protobuf.ByteString bs = 9476 (com.google.protobuf.ByteString) ref; 9477 java.lang.String s = bs.toStringUtf8(); 9478 name_ = s; 9479 return s; 9480 } else { 9481 return (java.lang.String) ref; 9482 } 9483 } 9484 /** 9485 * <pre> 9486 * The name of the release 9487 * </pre> 9488 * 9489 * <code>string name = 1;</code> 9490 */ 9491 public com.google.protobuf.ByteString 9492 getNameBytes() { 9493 java.lang.Object ref = name_; 9494 if (ref instanceof String) { 9495 com.google.protobuf.ByteString b = 9496 com.google.protobuf.ByteString.copyFromUtf8( 9497 (java.lang.String) ref); 9498 name_ = b; 9499 return b; 9500 } else { 9501 return (com.google.protobuf.ByteString) ref; 9502 } 9503 } 9504 /** 9505 * <pre> 9506 * The name of the release 9507 * </pre> 9508 * 9509 * <code>string name = 1;</code> 9510 */ 9511 public Builder setName( 9512 java.lang.String value) { 9513 if (value == null) { 9514 throw new NullPointerException(); 9515 } 9516 9517 name_ = value; 9518 onChanged(); 9519 return this; 9520 } 9521 /** 9522 * <pre> 9523 * The name of the release 9524 * </pre> 9525 * 9526 * <code>string name = 1;</code> 9527 */ 9528 public Builder clearName() { 9529 9530 name_ = getDefaultInstance().getName(); 9531 onChanged(); 9532 return this; 9533 } 9534 /** 9535 * <pre> 9536 * The name of the release 9537 * </pre> 9538 * 9539 * <code>string name = 1;</code> 9540 */ 9541 public Builder setNameBytes( 9542 com.google.protobuf.ByteString value) { 9543 if (value == null) { 9544 throw new NullPointerException(); 9545 } 9546 checkByteStringIsUtf8(value); 9547 9548 name_ = value; 9549 onChanged(); 9550 return this; 9551 } 9552 9553 private boolean dryRun_ ; 9554 /** 9555 * <pre> 9556 * dry_run, if true, will run through the release logic but no create 9557 * </pre> 9558 * 9559 * <code>bool dry_run = 2;</code> 9560 */ 9561 public boolean getDryRun() { 9562 return dryRun_; 9563 } 9564 /** 9565 * <pre> 9566 * dry_run, if true, will run through the release logic but no create 9567 * </pre> 9568 * 9569 * <code>bool dry_run = 2;</code> 9570 */ 9571 public Builder setDryRun(boolean value) { 9572 9573 dryRun_ = value; 9574 onChanged(); 9575 return this; 9576 } 9577 /** 9578 * <pre> 9579 * dry_run, if true, will run through the release logic but no create 9580 * </pre> 9581 * 9582 * <code>bool dry_run = 2;</code> 9583 */ 9584 public Builder clearDryRun() { 9585 9586 dryRun_ = false; 9587 onChanged(); 9588 return this; 9589 } 9590 9591 private boolean disableHooks_ ; 9592 /** 9593 * <pre> 9594 * DisableHooks causes the server to skip running any hooks for the rollback 9595 * </pre> 9596 * 9597 * <code>bool disable_hooks = 3;</code> 9598 */ 9599 public boolean getDisableHooks() { 9600 return disableHooks_; 9601 } 9602 /** 9603 * <pre> 9604 * DisableHooks causes the server to skip running any hooks for the rollback 9605 * </pre> 9606 * 9607 * <code>bool disable_hooks = 3;</code> 9608 */ 9609 public Builder setDisableHooks(boolean value) { 9610 9611 disableHooks_ = value; 9612 onChanged(); 9613 return this; 9614 } 9615 /** 9616 * <pre> 9617 * DisableHooks causes the server to skip running any hooks for the rollback 9618 * </pre> 9619 * 9620 * <code>bool disable_hooks = 3;</code> 9621 */ 9622 public Builder clearDisableHooks() { 9623 9624 disableHooks_ = false; 9625 onChanged(); 9626 return this; 9627 } 9628 9629 private int version_ ; 9630 /** 9631 * <pre> 9632 * Version is the version of the release to deploy. 9633 * </pre> 9634 * 9635 * <code>int32 version = 4;</code> 9636 */ 9637 public int getVersion() { 9638 return version_; 9639 } 9640 /** 9641 * <pre> 9642 * Version is the version of the release to deploy. 9643 * </pre> 9644 * 9645 * <code>int32 version = 4;</code> 9646 */ 9647 public Builder setVersion(int value) { 9648 9649 version_ = value; 9650 onChanged(); 9651 return this; 9652 } 9653 /** 9654 * <pre> 9655 * Version is the version of the release to deploy. 9656 * </pre> 9657 * 9658 * <code>int32 version = 4;</code> 9659 */ 9660 public Builder clearVersion() { 9661 9662 version_ = 0; 9663 onChanged(); 9664 return this; 9665 } 9666 9667 private boolean recreate_ ; 9668 /** 9669 * <pre> 9670 * Performs pods restart for resources if applicable 9671 * </pre> 9672 * 9673 * <code>bool recreate = 5;</code> 9674 */ 9675 public boolean getRecreate() { 9676 return recreate_; 9677 } 9678 /** 9679 * <pre> 9680 * Performs pods restart for resources if applicable 9681 * </pre> 9682 * 9683 * <code>bool recreate = 5;</code> 9684 */ 9685 public Builder setRecreate(boolean value) { 9686 9687 recreate_ = value; 9688 onChanged(); 9689 return this; 9690 } 9691 /** 9692 * <pre> 9693 * Performs pods restart for resources if applicable 9694 * </pre> 9695 * 9696 * <code>bool recreate = 5;</code> 9697 */ 9698 public Builder clearRecreate() { 9699 9700 recreate_ = false; 9701 onChanged(); 9702 return this; 9703 } 9704 9705 private long timeout_ ; 9706 /** 9707 * <pre> 9708 * timeout specifies the max amount of time any kubernetes client command can run. 9709 * </pre> 9710 * 9711 * <code>int64 timeout = 6;</code> 9712 */ 9713 public long getTimeout() { 9714 return timeout_; 9715 } 9716 /** 9717 * <pre> 9718 * timeout specifies the max amount of time any kubernetes client command can run. 9719 * </pre> 9720 * 9721 * <code>int64 timeout = 6;</code> 9722 */ 9723 public Builder setTimeout(long value) { 9724 9725 timeout_ = value; 9726 onChanged(); 9727 return this; 9728 } 9729 /** 9730 * <pre> 9731 * timeout specifies the max amount of time any kubernetes client command can run. 9732 * </pre> 9733 * 9734 * <code>int64 timeout = 6;</code> 9735 */ 9736 public Builder clearTimeout() { 9737 9738 timeout_ = 0L; 9739 onChanged(); 9740 return this; 9741 } 9742 9743 private boolean wait_ ; 9744 /** 9745 * <pre> 9746 * wait, if true, will wait until all Pods, PVCs, and Services are in a ready state 9747 * before marking the release as successful. It will wait for as long as timeout 9748 * </pre> 9749 * 9750 * <code>bool wait = 7;</code> 9751 */ 9752 public boolean getWait() { 9753 return wait_; 9754 } 9755 /** 9756 * <pre> 9757 * wait, if true, will wait until all Pods, PVCs, and Services are in a ready state 9758 * before marking the release as successful. It will wait for as long as timeout 9759 * </pre> 9760 * 9761 * <code>bool wait = 7;</code> 9762 */ 9763 public Builder setWait(boolean value) { 9764 9765 wait_ = value; 9766 onChanged(); 9767 return this; 9768 } 9769 /** 9770 * <pre> 9771 * wait, if true, will wait until all Pods, PVCs, and Services are in a ready state 9772 * before marking the release as successful. It will wait for as long as timeout 9773 * </pre> 9774 * 9775 * <code>bool wait = 7;</code> 9776 */ 9777 public Builder clearWait() { 9778 9779 wait_ = false; 9780 onChanged(); 9781 return this; 9782 } 9783 9784 private boolean force_ ; 9785 /** 9786 * <pre> 9787 * Force resource update through delete/recreate if needed. 9788 * </pre> 9789 * 9790 * <code>bool force = 8;</code> 9791 */ 9792 public boolean getForce() { 9793 return force_; 9794 } 9795 /** 9796 * <pre> 9797 * Force resource update through delete/recreate if needed. 9798 * </pre> 9799 * 9800 * <code>bool force = 8;</code> 9801 */ 9802 public Builder setForce(boolean value) { 9803 9804 force_ = value; 9805 onChanged(); 9806 return this; 9807 } 9808 /** 9809 * <pre> 9810 * Force resource update through delete/recreate if needed. 9811 * </pre> 9812 * 9813 * <code>bool force = 8;</code> 9814 */ 9815 public Builder clearForce() { 9816 9817 force_ = false; 9818 onChanged(); 9819 return this; 9820 } 9821 public final Builder setUnknownFields( 9822 final com.google.protobuf.UnknownFieldSet unknownFields) { 9823 return super.setUnknownFieldsProto3(unknownFields); 9824 } 9825 9826 public final Builder mergeUnknownFields( 9827 final com.google.protobuf.UnknownFieldSet unknownFields) { 9828 return super.mergeUnknownFields(unknownFields); 9829 } 9830 9831 9832 // @@protoc_insertion_point(builder_scope:hapi.services.tiller.RollbackReleaseRequest) 9833 } 9834 9835 // @@protoc_insertion_point(class_scope:hapi.services.tiller.RollbackReleaseRequest) 9836 private static final hapi.services.tiller.Tiller.RollbackReleaseRequest DEFAULT_INSTANCE; 9837 static { 9838 DEFAULT_INSTANCE = new hapi.services.tiller.Tiller.RollbackReleaseRequest(); 9839 } 9840 9841 public static hapi.services.tiller.Tiller.RollbackReleaseRequest getDefaultInstance() { 9842 return DEFAULT_INSTANCE; 9843 } 9844 9845 private static final com.google.protobuf.Parser<RollbackReleaseRequest> 9846 PARSER = new com.google.protobuf.AbstractParser<RollbackReleaseRequest>() { 9847 public RollbackReleaseRequest parsePartialFrom( 9848 com.google.protobuf.CodedInputStream input, 9849 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 9850 throws com.google.protobuf.InvalidProtocolBufferException { 9851 return new RollbackReleaseRequest(input, extensionRegistry); 9852 } 9853 }; 9854 9855 public static com.google.protobuf.Parser<RollbackReleaseRequest> parser() { 9856 return PARSER; 9857 } 9858 9859 @java.lang.Override 9860 public com.google.protobuf.Parser<RollbackReleaseRequest> getParserForType() { 9861 return PARSER; 9862 } 9863 9864 public hapi.services.tiller.Tiller.RollbackReleaseRequest getDefaultInstanceForType() { 9865 return DEFAULT_INSTANCE; 9866 } 9867 9868 } 9869 9870 public interface RollbackReleaseResponseOrBuilder extends 9871 // @@protoc_insertion_point(interface_extends:hapi.services.tiller.RollbackReleaseResponse) 9872 com.google.protobuf.MessageOrBuilder { 9873 9874 /** 9875 * <code>.hapi.release.Release release = 1;</code> 9876 */ 9877 boolean hasRelease(); 9878 /** 9879 * <code>.hapi.release.Release release = 1;</code> 9880 */ 9881 hapi.release.ReleaseOuterClass.Release getRelease(); 9882 /** 9883 * <code>.hapi.release.Release release = 1;</code> 9884 */ 9885 hapi.release.ReleaseOuterClass.ReleaseOrBuilder getReleaseOrBuilder(); 9886 } 9887 /** 9888 * <pre> 9889 * RollbackReleaseResponse is the response to an update request. 9890 * </pre> 9891 * 9892 * Protobuf type {@code hapi.services.tiller.RollbackReleaseResponse} 9893 */ 9894 public static final class RollbackReleaseResponse extends 9895 com.google.protobuf.GeneratedMessageV3 implements 9896 // @@protoc_insertion_point(message_implements:hapi.services.tiller.RollbackReleaseResponse) 9897 RollbackReleaseResponseOrBuilder { 9898 private static final long serialVersionUID = 0L; 9899 // Use RollbackReleaseResponse.newBuilder() to construct. 9900 private RollbackReleaseResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 9901 super(builder); 9902 } 9903 private RollbackReleaseResponse() { 9904 } 9905 9906 @java.lang.Override 9907 public final com.google.protobuf.UnknownFieldSet 9908 getUnknownFields() { 9909 return this.unknownFields; 9910 } 9911 private RollbackReleaseResponse( 9912 com.google.protobuf.CodedInputStream input, 9913 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 9914 throws com.google.protobuf.InvalidProtocolBufferException { 9915 this(); 9916 if (extensionRegistry == null) { 9917 throw new java.lang.NullPointerException(); 9918 } 9919 int mutable_bitField0_ = 0; 9920 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 9921 com.google.protobuf.UnknownFieldSet.newBuilder(); 9922 try { 9923 boolean done = false; 9924 while (!done) { 9925 int tag = input.readTag(); 9926 switch (tag) { 9927 case 0: 9928 done = true; 9929 break; 9930 default: { 9931 if (!parseUnknownFieldProto3( 9932 input, unknownFields, extensionRegistry, tag)) { 9933 done = true; 9934 } 9935 break; 9936 } 9937 case 10: { 9938 hapi.release.ReleaseOuterClass.Release.Builder subBuilder = null; 9939 if (release_ != null) { 9940 subBuilder = release_.toBuilder(); 9941 } 9942 release_ = input.readMessage(hapi.release.ReleaseOuterClass.Release.parser(), extensionRegistry); 9943 if (subBuilder != null) { 9944 subBuilder.mergeFrom(release_); 9945 release_ = subBuilder.buildPartial(); 9946 } 9947 9948 break; 9949 } 9950 } 9951 } 9952 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 9953 throw e.setUnfinishedMessage(this); 9954 } catch (java.io.IOException e) { 9955 throw new com.google.protobuf.InvalidProtocolBufferException( 9956 e).setUnfinishedMessage(this); 9957 } finally { 9958 this.unknownFields = unknownFields.build(); 9959 makeExtensionsImmutable(); 9960 } 9961 } 9962 public static final com.google.protobuf.Descriptors.Descriptor 9963 getDescriptor() { 9964 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_RollbackReleaseResponse_descriptor; 9965 } 9966 9967 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 9968 internalGetFieldAccessorTable() { 9969 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_RollbackReleaseResponse_fieldAccessorTable 9970 .ensureFieldAccessorsInitialized( 9971 hapi.services.tiller.Tiller.RollbackReleaseResponse.class, hapi.services.tiller.Tiller.RollbackReleaseResponse.Builder.class); 9972 } 9973 9974 public static final int RELEASE_FIELD_NUMBER = 1; 9975 private hapi.release.ReleaseOuterClass.Release release_; 9976 /** 9977 * <code>.hapi.release.Release release = 1;</code> 9978 */ 9979 public boolean hasRelease() { 9980 return release_ != null; 9981 } 9982 /** 9983 * <code>.hapi.release.Release release = 1;</code> 9984 */ 9985 public hapi.release.ReleaseOuterClass.Release getRelease() { 9986 return release_ == null ? hapi.release.ReleaseOuterClass.Release.getDefaultInstance() : release_; 9987 } 9988 /** 9989 * <code>.hapi.release.Release release = 1;</code> 9990 */ 9991 public hapi.release.ReleaseOuterClass.ReleaseOrBuilder getReleaseOrBuilder() { 9992 return getRelease(); 9993 } 9994 9995 private byte memoizedIsInitialized = -1; 9996 public final boolean isInitialized() { 9997 byte isInitialized = memoizedIsInitialized; 9998 if (isInitialized == 1) return true; 9999 if (isInitialized == 0) return false; 10000 10001 memoizedIsInitialized = 1; 10002 return true; 10003 } 10004 10005 public void writeTo(com.google.protobuf.CodedOutputStream output) 10006 throws java.io.IOException { 10007 if (release_ != null) { 10008 output.writeMessage(1, getRelease()); 10009 } 10010 unknownFields.writeTo(output); 10011 } 10012 10013 public int getSerializedSize() { 10014 int size = memoizedSize; 10015 if (size != -1) return size; 10016 10017 size = 0; 10018 if (release_ != null) { 10019 size += com.google.protobuf.CodedOutputStream 10020 .computeMessageSize(1, getRelease()); 10021 } 10022 size += unknownFields.getSerializedSize(); 10023 memoizedSize = size; 10024 return size; 10025 } 10026 10027 @java.lang.Override 10028 public boolean equals(final java.lang.Object obj) { 10029 if (obj == this) { 10030 return true; 10031 } 10032 if (!(obj instanceof hapi.services.tiller.Tiller.RollbackReleaseResponse)) { 10033 return super.equals(obj); 10034 } 10035 hapi.services.tiller.Tiller.RollbackReleaseResponse other = (hapi.services.tiller.Tiller.RollbackReleaseResponse) obj; 10036 10037 boolean result = true; 10038 result = result && (hasRelease() == other.hasRelease()); 10039 if (hasRelease()) { 10040 result = result && getRelease() 10041 .equals(other.getRelease()); 10042 } 10043 result = result && unknownFields.equals(other.unknownFields); 10044 return result; 10045 } 10046 10047 @java.lang.Override 10048 public int hashCode() { 10049 if (memoizedHashCode != 0) { 10050 return memoizedHashCode; 10051 } 10052 int hash = 41; 10053 hash = (19 * hash) + getDescriptor().hashCode(); 10054 if (hasRelease()) { 10055 hash = (37 * hash) + RELEASE_FIELD_NUMBER; 10056 hash = (53 * hash) + getRelease().hashCode(); 10057 } 10058 hash = (29 * hash) + unknownFields.hashCode(); 10059 memoizedHashCode = hash; 10060 return hash; 10061 } 10062 10063 public static hapi.services.tiller.Tiller.RollbackReleaseResponse parseFrom( 10064 java.nio.ByteBuffer data) 10065 throws com.google.protobuf.InvalidProtocolBufferException { 10066 return PARSER.parseFrom(data); 10067 } 10068 public static hapi.services.tiller.Tiller.RollbackReleaseResponse parseFrom( 10069 java.nio.ByteBuffer data, 10070 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10071 throws com.google.protobuf.InvalidProtocolBufferException { 10072 return PARSER.parseFrom(data, extensionRegistry); 10073 } 10074 public static hapi.services.tiller.Tiller.RollbackReleaseResponse parseFrom( 10075 com.google.protobuf.ByteString data) 10076 throws com.google.protobuf.InvalidProtocolBufferException { 10077 return PARSER.parseFrom(data); 10078 } 10079 public static hapi.services.tiller.Tiller.RollbackReleaseResponse parseFrom( 10080 com.google.protobuf.ByteString data, 10081 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10082 throws com.google.protobuf.InvalidProtocolBufferException { 10083 return PARSER.parseFrom(data, extensionRegistry); 10084 } 10085 public static hapi.services.tiller.Tiller.RollbackReleaseResponse parseFrom(byte[] data) 10086 throws com.google.protobuf.InvalidProtocolBufferException { 10087 return PARSER.parseFrom(data); 10088 } 10089 public static hapi.services.tiller.Tiller.RollbackReleaseResponse parseFrom( 10090 byte[] data, 10091 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10092 throws com.google.protobuf.InvalidProtocolBufferException { 10093 return PARSER.parseFrom(data, extensionRegistry); 10094 } 10095 public static hapi.services.tiller.Tiller.RollbackReleaseResponse parseFrom(java.io.InputStream input) 10096 throws java.io.IOException { 10097 return com.google.protobuf.GeneratedMessageV3 10098 .parseWithIOException(PARSER, input); 10099 } 10100 public static hapi.services.tiller.Tiller.RollbackReleaseResponse parseFrom( 10101 java.io.InputStream input, 10102 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10103 throws java.io.IOException { 10104 return com.google.protobuf.GeneratedMessageV3 10105 .parseWithIOException(PARSER, input, extensionRegistry); 10106 } 10107 public static hapi.services.tiller.Tiller.RollbackReleaseResponse parseDelimitedFrom(java.io.InputStream input) 10108 throws java.io.IOException { 10109 return com.google.protobuf.GeneratedMessageV3 10110 .parseDelimitedWithIOException(PARSER, input); 10111 } 10112 public static hapi.services.tiller.Tiller.RollbackReleaseResponse parseDelimitedFrom( 10113 java.io.InputStream input, 10114 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10115 throws java.io.IOException { 10116 return com.google.protobuf.GeneratedMessageV3 10117 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 10118 } 10119 public static hapi.services.tiller.Tiller.RollbackReleaseResponse parseFrom( 10120 com.google.protobuf.CodedInputStream input) 10121 throws java.io.IOException { 10122 return com.google.protobuf.GeneratedMessageV3 10123 .parseWithIOException(PARSER, input); 10124 } 10125 public static hapi.services.tiller.Tiller.RollbackReleaseResponse parseFrom( 10126 com.google.protobuf.CodedInputStream input, 10127 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10128 throws java.io.IOException { 10129 return com.google.protobuf.GeneratedMessageV3 10130 .parseWithIOException(PARSER, input, extensionRegistry); 10131 } 10132 10133 public Builder newBuilderForType() { return newBuilder(); } 10134 public static Builder newBuilder() { 10135 return DEFAULT_INSTANCE.toBuilder(); 10136 } 10137 public static Builder newBuilder(hapi.services.tiller.Tiller.RollbackReleaseResponse prototype) { 10138 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 10139 } 10140 public Builder toBuilder() { 10141 return this == DEFAULT_INSTANCE 10142 ? new Builder() : new Builder().mergeFrom(this); 10143 } 10144 10145 @java.lang.Override 10146 protected Builder newBuilderForType( 10147 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 10148 Builder builder = new Builder(parent); 10149 return builder; 10150 } 10151 /** 10152 * <pre> 10153 * RollbackReleaseResponse is the response to an update request. 10154 * </pre> 10155 * 10156 * Protobuf type {@code hapi.services.tiller.RollbackReleaseResponse} 10157 */ 10158 public static final class Builder extends 10159 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 10160 // @@protoc_insertion_point(builder_implements:hapi.services.tiller.RollbackReleaseResponse) 10161 hapi.services.tiller.Tiller.RollbackReleaseResponseOrBuilder { 10162 public static final com.google.protobuf.Descriptors.Descriptor 10163 getDescriptor() { 10164 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_RollbackReleaseResponse_descriptor; 10165 } 10166 10167 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 10168 internalGetFieldAccessorTable() { 10169 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_RollbackReleaseResponse_fieldAccessorTable 10170 .ensureFieldAccessorsInitialized( 10171 hapi.services.tiller.Tiller.RollbackReleaseResponse.class, hapi.services.tiller.Tiller.RollbackReleaseResponse.Builder.class); 10172 } 10173 10174 // Construct using hapi.services.tiller.Tiller.RollbackReleaseResponse.newBuilder() 10175 private Builder() { 10176 maybeForceBuilderInitialization(); 10177 } 10178 10179 private Builder( 10180 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 10181 super(parent); 10182 maybeForceBuilderInitialization(); 10183 } 10184 private void maybeForceBuilderInitialization() { 10185 if (com.google.protobuf.GeneratedMessageV3 10186 .alwaysUseFieldBuilders) { 10187 } 10188 } 10189 public Builder clear() { 10190 super.clear(); 10191 if (releaseBuilder_ == null) { 10192 release_ = null; 10193 } else { 10194 release_ = null; 10195 releaseBuilder_ = null; 10196 } 10197 return this; 10198 } 10199 10200 public com.google.protobuf.Descriptors.Descriptor 10201 getDescriptorForType() { 10202 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_RollbackReleaseResponse_descriptor; 10203 } 10204 10205 public hapi.services.tiller.Tiller.RollbackReleaseResponse getDefaultInstanceForType() { 10206 return hapi.services.tiller.Tiller.RollbackReleaseResponse.getDefaultInstance(); 10207 } 10208 10209 public hapi.services.tiller.Tiller.RollbackReleaseResponse build() { 10210 hapi.services.tiller.Tiller.RollbackReleaseResponse result = buildPartial(); 10211 if (!result.isInitialized()) { 10212 throw newUninitializedMessageException(result); 10213 } 10214 return result; 10215 } 10216 10217 public hapi.services.tiller.Tiller.RollbackReleaseResponse buildPartial() { 10218 hapi.services.tiller.Tiller.RollbackReleaseResponse result = new hapi.services.tiller.Tiller.RollbackReleaseResponse(this); 10219 if (releaseBuilder_ == null) { 10220 result.release_ = release_; 10221 } else { 10222 result.release_ = releaseBuilder_.build(); 10223 } 10224 onBuilt(); 10225 return result; 10226 } 10227 10228 public Builder clone() { 10229 return (Builder) super.clone(); 10230 } 10231 public Builder setField( 10232 com.google.protobuf.Descriptors.FieldDescriptor field, 10233 java.lang.Object value) { 10234 return (Builder) super.setField(field, value); 10235 } 10236 public Builder clearField( 10237 com.google.protobuf.Descriptors.FieldDescriptor field) { 10238 return (Builder) super.clearField(field); 10239 } 10240 public Builder clearOneof( 10241 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 10242 return (Builder) super.clearOneof(oneof); 10243 } 10244 public Builder setRepeatedField( 10245 com.google.protobuf.Descriptors.FieldDescriptor field, 10246 int index, java.lang.Object value) { 10247 return (Builder) super.setRepeatedField(field, index, value); 10248 } 10249 public Builder addRepeatedField( 10250 com.google.protobuf.Descriptors.FieldDescriptor field, 10251 java.lang.Object value) { 10252 return (Builder) super.addRepeatedField(field, value); 10253 } 10254 public Builder mergeFrom(com.google.protobuf.Message other) { 10255 if (other instanceof hapi.services.tiller.Tiller.RollbackReleaseResponse) { 10256 return mergeFrom((hapi.services.tiller.Tiller.RollbackReleaseResponse)other); 10257 } else { 10258 super.mergeFrom(other); 10259 return this; 10260 } 10261 } 10262 10263 public Builder mergeFrom(hapi.services.tiller.Tiller.RollbackReleaseResponse other) { 10264 if (other == hapi.services.tiller.Tiller.RollbackReleaseResponse.getDefaultInstance()) return this; 10265 if (other.hasRelease()) { 10266 mergeRelease(other.getRelease()); 10267 } 10268 this.mergeUnknownFields(other.unknownFields); 10269 onChanged(); 10270 return this; 10271 } 10272 10273 public final boolean isInitialized() { 10274 return true; 10275 } 10276 10277 public Builder mergeFrom( 10278 com.google.protobuf.CodedInputStream input, 10279 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10280 throws java.io.IOException { 10281 hapi.services.tiller.Tiller.RollbackReleaseResponse parsedMessage = null; 10282 try { 10283 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 10284 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 10285 parsedMessage = (hapi.services.tiller.Tiller.RollbackReleaseResponse) e.getUnfinishedMessage(); 10286 throw e.unwrapIOException(); 10287 } finally { 10288 if (parsedMessage != null) { 10289 mergeFrom(parsedMessage); 10290 } 10291 } 10292 return this; 10293 } 10294 10295 private hapi.release.ReleaseOuterClass.Release release_ = null; 10296 private com.google.protobuf.SingleFieldBuilderV3< 10297 hapi.release.ReleaseOuterClass.Release, hapi.release.ReleaseOuterClass.Release.Builder, hapi.release.ReleaseOuterClass.ReleaseOrBuilder> releaseBuilder_; 10298 /** 10299 * <code>.hapi.release.Release release = 1;</code> 10300 */ 10301 public boolean hasRelease() { 10302 return releaseBuilder_ != null || release_ != null; 10303 } 10304 /** 10305 * <code>.hapi.release.Release release = 1;</code> 10306 */ 10307 public hapi.release.ReleaseOuterClass.Release getRelease() { 10308 if (releaseBuilder_ == null) { 10309 return release_ == null ? hapi.release.ReleaseOuterClass.Release.getDefaultInstance() : release_; 10310 } else { 10311 return releaseBuilder_.getMessage(); 10312 } 10313 } 10314 /** 10315 * <code>.hapi.release.Release release = 1;</code> 10316 */ 10317 public Builder setRelease(hapi.release.ReleaseOuterClass.Release value) { 10318 if (releaseBuilder_ == null) { 10319 if (value == null) { 10320 throw new NullPointerException(); 10321 } 10322 release_ = value; 10323 onChanged(); 10324 } else { 10325 releaseBuilder_.setMessage(value); 10326 } 10327 10328 return this; 10329 } 10330 /** 10331 * <code>.hapi.release.Release release = 1;</code> 10332 */ 10333 public Builder setRelease( 10334 hapi.release.ReleaseOuterClass.Release.Builder builderForValue) { 10335 if (releaseBuilder_ == null) { 10336 release_ = builderForValue.build(); 10337 onChanged(); 10338 } else { 10339 releaseBuilder_.setMessage(builderForValue.build()); 10340 } 10341 10342 return this; 10343 } 10344 /** 10345 * <code>.hapi.release.Release release = 1;</code> 10346 */ 10347 public Builder mergeRelease(hapi.release.ReleaseOuterClass.Release value) { 10348 if (releaseBuilder_ == null) { 10349 if (release_ != null) { 10350 release_ = 10351 hapi.release.ReleaseOuterClass.Release.newBuilder(release_).mergeFrom(value).buildPartial(); 10352 } else { 10353 release_ = value; 10354 } 10355 onChanged(); 10356 } else { 10357 releaseBuilder_.mergeFrom(value); 10358 } 10359 10360 return this; 10361 } 10362 /** 10363 * <code>.hapi.release.Release release = 1;</code> 10364 */ 10365 public Builder clearRelease() { 10366 if (releaseBuilder_ == null) { 10367 release_ = null; 10368 onChanged(); 10369 } else { 10370 release_ = null; 10371 releaseBuilder_ = null; 10372 } 10373 10374 return this; 10375 } 10376 /** 10377 * <code>.hapi.release.Release release = 1;</code> 10378 */ 10379 public hapi.release.ReleaseOuterClass.Release.Builder getReleaseBuilder() { 10380 10381 onChanged(); 10382 return getReleaseFieldBuilder().getBuilder(); 10383 } 10384 /** 10385 * <code>.hapi.release.Release release = 1;</code> 10386 */ 10387 public hapi.release.ReleaseOuterClass.ReleaseOrBuilder getReleaseOrBuilder() { 10388 if (releaseBuilder_ != null) { 10389 return releaseBuilder_.getMessageOrBuilder(); 10390 } else { 10391 return release_ == null ? 10392 hapi.release.ReleaseOuterClass.Release.getDefaultInstance() : release_; 10393 } 10394 } 10395 /** 10396 * <code>.hapi.release.Release release = 1;</code> 10397 */ 10398 private com.google.protobuf.SingleFieldBuilderV3< 10399 hapi.release.ReleaseOuterClass.Release, hapi.release.ReleaseOuterClass.Release.Builder, hapi.release.ReleaseOuterClass.ReleaseOrBuilder> 10400 getReleaseFieldBuilder() { 10401 if (releaseBuilder_ == null) { 10402 releaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< 10403 hapi.release.ReleaseOuterClass.Release, hapi.release.ReleaseOuterClass.Release.Builder, hapi.release.ReleaseOuterClass.ReleaseOrBuilder>( 10404 getRelease(), 10405 getParentForChildren(), 10406 isClean()); 10407 release_ = null; 10408 } 10409 return releaseBuilder_; 10410 } 10411 public final Builder setUnknownFields( 10412 final com.google.protobuf.UnknownFieldSet unknownFields) { 10413 return super.setUnknownFieldsProto3(unknownFields); 10414 } 10415 10416 public final Builder mergeUnknownFields( 10417 final com.google.protobuf.UnknownFieldSet unknownFields) { 10418 return super.mergeUnknownFields(unknownFields); 10419 } 10420 10421 10422 // @@protoc_insertion_point(builder_scope:hapi.services.tiller.RollbackReleaseResponse) 10423 } 10424 10425 // @@protoc_insertion_point(class_scope:hapi.services.tiller.RollbackReleaseResponse) 10426 private static final hapi.services.tiller.Tiller.RollbackReleaseResponse DEFAULT_INSTANCE; 10427 static { 10428 DEFAULT_INSTANCE = new hapi.services.tiller.Tiller.RollbackReleaseResponse(); 10429 } 10430 10431 public static hapi.services.tiller.Tiller.RollbackReleaseResponse getDefaultInstance() { 10432 return DEFAULT_INSTANCE; 10433 } 10434 10435 private static final com.google.protobuf.Parser<RollbackReleaseResponse> 10436 PARSER = new com.google.protobuf.AbstractParser<RollbackReleaseResponse>() { 10437 public RollbackReleaseResponse parsePartialFrom( 10438 com.google.protobuf.CodedInputStream input, 10439 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10440 throws com.google.protobuf.InvalidProtocolBufferException { 10441 return new RollbackReleaseResponse(input, extensionRegistry); 10442 } 10443 }; 10444 10445 public static com.google.protobuf.Parser<RollbackReleaseResponse> parser() { 10446 return PARSER; 10447 } 10448 10449 @java.lang.Override 10450 public com.google.protobuf.Parser<RollbackReleaseResponse> getParserForType() { 10451 return PARSER; 10452 } 10453 10454 public hapi.services.tiller.Tiller.RollbackReleaseResponse getDefaultInstanceForType() { 10455 return DEFAULT_INSTANCE; 10456 } 10457 10458 } 10459 10460 public interface InstallReleaseRequestOrBuilder extends 10461 // @@protoc_insertion_point(interface_extends:hapi.services.tiller.InstallReleaseRequest) 10462 com.google.protobuf.MessageOrBuilder { 10463 10464 /** 10465 * <pre> 10466 * Chart is the protobuf representation of a chart. 10467 * </pre> 10468 * 10469 * <code>.hapi.chart.Chart chart = 1;</code> 10470 */ 10471 boolean hasChart(); 10472 /** 10473 * <pre> 10474 * Chart is the protobuf representation of a chart. 10475 * </pre> 10476 * 10477 * <code>.hapi.chart.Chart chart = 1;</code> 10478 */ 10479 hapi.chart.ChartOuterClass.Chart getChart(); 10480 /** 10481 * <pre> 10482 * Chart is the protobuf representation of a chart. 10483 * </pre> 10484 * 10485 * <code>.hapi.chart.Chart chart = 1;</code> 10486 */ 10487 hapi.chart.ChartOuterClass.ChartOrBuilder getChartOrBuilder(); 10488 10489 /** 10490 * <pre> 10491 * Values is a string containing (unparsed) YAML values. 10492 * </pre> 10493 * 10494 * <code>.hapi.chart.Config values = 2;</code> 10495 */ 10496 boolean hasValues(); 10497 /** 10498 * <pre> 10499 * Values is a string containing (unparsed) YAML values. 10500 * </pre> 10501 * 10502 * <code>.hapi.chart.Config values = 2;</code> 10503 */ 10504 hapi.chart.ConfigOuterClass.Config getValues(); 10505 /** 10506 * <pre> 10507 * Values is a string containing (unparsed) YAML values. 10508 * </pre> 10509 * 10510 * <code>.hapi.chart.Config values = 2;</code> 10511 */ 10512 hapi.chart.ConfigOuterClass.ConfigOrBuilder getValuesOrBuilder(); 10513 10514 /** 10515 * <pre> 10516 * DryRun, if true, will run through the release logic, but neither create 10517 * a release object nor deploy to Kubernetes. The release object returned 10518 * in the response will be fake. 10519 * </pre> 10520 * 10521 * <code>bool dry_run = 3;</code> 10522 */ 10523 boolean getDryRun(); 10524 10525 /** 10526 * <pre> 10527 * Name is the candidate release name. This must be unique to the 10528 * namespace, otherwise the server will return an error. If it is not 10529 * supplied, the server will autogenerate one. 10530 * </pre> 10531 * 10532 * <code>string name = 4;</code> 10533 */ 10534 java.lang.String getName(); 10535 /** 10536 * <pre> 10537 * Name is the candidate release name. This must be unique to the 10538 * namespace, otherwise the server will return an error. If it is not 10539 * supplied, the server will autogenerate one. 10540 * </pre> 10541 * 10542 * <code>string name = 4;</code> 10543 */ 10544 com.google.protobuf.ByteString 10545 getNameBytes(); 10546 10547 /** 10548 * <pre> 10549 * DisableHooks causes the server to skip running any hooks for the install. 10550 * </pre> 10551 * 10552 * <code>bool disable_hooks = 5;</code> 10553 */ 10554 boolean getDisableHooks(); 10555 10556 /** 10557 * <pre> 10558 * Namepace is the kubernetes namespace of the release. 10559 * </pre> 10560 * 10561 * <code>string namespace = 6;</code> 10562 */ 10563 java.lang.String getNamespace(); 10564 /** 10565 * <pre> 10566 * Namepace is the kubernetes namespace of the release. 10567 * </pre> 10568 * 10569 * <code>string namespace = 6;</code> 10570 */ 10571 com.google.protobuf.ByteString 10572 getNamespaceBytes(); 10573 10574 /** 10575 * <pre> 10576 * ReuseName requests that Tiller re-uses a name, instead of erroring out. 10577 * </pre> 10578 * 10579 * <code>bool reuse_name = 7;</code> 10580 */ 10581 boolean getReuseName(); 10582 10583 /** 10584 * <pre> 10585 * timeout specifies the max amount of time any kubernetes client command can run. 10586 * </pre> 10587 * 10588 * <code>int64 timeout = 8;</code> 10589 */ 10590 long getTimeout(); 10591 10592 /** 10593 * <pre> 10594 * wait, if true, will wait until all Pods, PVCs, and Services are in a ready state 10595 * before marking the release as successful. It will wait for as long as timeout 10596 * </pre> 10597 * 10598 * <code>bool wait = 9;</code> 10599 */ 10600 boolean getWait(); 10601 } 10602 /** 10603 * <pre> 10604 * InstallReleaseRequest is the request for an installation of a chart. 10605 * </pre> 10606 * 10607 * Protobuf type {@code hapi.services.tiller.InstallReleaseRequest} 10608 */ 10609 public static final class InstallReleaseRequest extends 10610 com.google.protobuf.GeneratedMessageV3 implements 10611 // @@protoc_insertion_point(message_implements:hapi.services.tiller.InstallReleaseRequest) 10612 InstallReleaseRequestOrBuilder { 10613 private static final long serialVersionUID = 0L; 10614 // Use InstallReleaseRequest.newBuilder() to construct. 10615 private InstallReleaseRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 10616 super(builder); 10617 } 10618 private InstallReleaseRequest() { 10619 dryRun_ = false; 10620 name_ = ""; 10621 disableHooks_ = false; 10622 namespace_ = ""; 10623 reuseName_ = false; 10624 timeout_ = 0L; 10625 wait_ = false; 10626 } 10627 10628 @java.lang.Override 10629 public final com.google.protobuf.UnknownFieldSet 10630 getUnknownFields() { 10631 return this.unknownFields; 10632 } 10633 private InstallReleaseRequest( 10634 com.google.protobuf.CodedInputStream input, 10635 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10636 throws com.google.protobuf.InvalidProtocolBufferException { 10637 this(); 10638 if (extensionRegistry == null) { 10639 throw new java.lang.NullPointerException(); 10640 } 10641 int mutable_bitField0_ = 0; 10642 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 10643 com.google.protobuf.UnknownFieldSet.newBuilder(); 10644 try { 10645 boolean done = false; 10646 while (!done) { 10647 int tag = input.readTag(); 10648 switch (tag) { 10649 case 0: 10650 done = true; 10651 break; 10652 default: { 10653 if (!parseUnknownFieldProto3( 10654 input, unknownFields, extensionRegistry, tag)) { 10655 done = true; 10656 } 10657 break; 10658 } 10659 case 10: { 10660 hapi.chart.ChartOuterClass.Chart.Builder subBuilder = null; 10661 if (chart_ != null) { 10662 subBuilder = chart_.toBuilder(); 10663 } 10664 chart_ = input.readMessage(hapi.chart.ChartOuterClass.Chart.parser(), extensionRegistry); 10665 if (subBuilder != null) { 10666 subBuilder.mergeFrom(chart_); 10667 chart_ = subBuilder.buildPartial(); 10668 } 10669 10670 break; 10671 } 10672 case 18: { 10673 hapi.chart.ConfigOuterClass.Config.Builder subBuilder = null; 10674 if (values_ != null) { 10675 subBuilder = values_.toBuilder(); 10676 } 10677 values_ = input.readMessage(hapi.chart.ConfigOuterClass.Config.parser(), extensionRegistry); 10678 if (subBuilder != null) { 10679 subBuilder.mergeFrom(values_); 10680 values_ = subBuilder.buildPartial(); 10681 } 10682 10683 break; 10684 } 10685 case 24: { 10686 10687 dryRun_ = input.readBool(); 10688 break; 10689 } 10690 case 34: { 10691 java.lang.String s = input.readStringRequireUtf8(); 10692 10693 name_ = s; 10694 break; 10695 } 10696 case 40: { 10697 10698 disableHooks_ = input.readBool(); 10699 break; 10700 } 10701 case 50: { 10702 java.lang.String s = input.readStringRequireUtf8(); 10703 10704 namespace_ = s; 10705 break; 10706 } 10707 case 56: { 10708 10709 reuseName_ = input.readBool(); 10710 break; 10711 } 10712 case 64: { 10713 10714 timeout_ = input.readInt64(); 10715 break; 10716 } 10717 case 72: { 10718 10719 wait_ = input.readBool(); 10720 break; 10721 } 10722 } 10723 } 10724 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 10725 throw e.setUnfinishedMessage(this); 10726 } catch (java.io.IOException e) { 10727 throw new com.google.protobuf.InvalidProtocolBufferException( 10728 e).setUnfinishedMessage(this); 10729 } finally { 10730 this.unknownFields = unknownFields.build(); 10731 makeExtensionsImmutable(); 10732 } 10733 } 10734 public static final com.google.protobuf.Descriptors.Descriptor 10735 getDescriptor() { 10736 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_InstallReleaseRequest_descriptor; 10737 } 10738 10739 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 10740 internalGetFieldAccessorTable() { 10741 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_InstallReleaseRequest_fieldAccessorTable 10742 .ensureFieldAccessorsInitialized( 10743 hapi.services.tiller.Tiller.InstallReleaseRequest.class, hapi.services.tiller.Tiller.InstallReleaseRequest.Builder.class); 10744 } 10745 10746 public static final int CHART_FIELD_NUMBER = 1; 10747 private hapi.chart.ChartOuterClass.Chart chart_; 10748 /** 10749 * <pre> 10750 * Chart is the protobuf representation of a chart. 10751 * </pre> 10752 * 10753 * <code>.hapi.chart.Chart chart = 1;</code> 10754 */ 10755 public boolean hasChart() { 10756 return chart_ != null; 10757 } 10758 /** 10759 * <pre> 10760 * Chart is the protobuf representation of a chart. 10761 * </pre> 10762 * 10763 * <code>.hapi.chart.Chart chart = 1;</code> 10764 */ 10765 public hapi.chart.ChartOuterClass.Chart getChart() { 10766 return chart_ == null ? hapi.chart.ChartOuterClass.Chart.getDefaultInstance() : chart_; 10767 } 10768 /** 10769 * <pre> 10770 * Chart is the protobuf representation of a chart. 10771 * </pre> 10772 * 10773 * <code>.hapi.chart.Chart chart = 1;</code> 10774 */ 10775 public hapi.chart.ChartOuterClass.ChartOrBuilder getChartOrBuilder() { 10776 return getChart(); 10777 } 10778 10779 public static final int VALUES_FIELD_NUMBER = 2; 10780 private hapi.chart.ConfigOuterClass.Config values_; 10781 /** 10782 * <pre> 10783 * Values is a string containing (unparsed) YAML values. 10784 * </pre> 10785 * 10786 * <code>.hapi.chart.Config values = 2;</code> 10787 */ 10788 public boolean hasValues() { 10789 return values_ != null; 10790 } 10791 /** 10792 * <pre> 10793 * Values is a string containing (unparsed) YAML values. 10794 * </pre> 10795 * 10796 * <code>.hapi.chart.Config values = 2;</code> 10797 */ 10798 public hapi.chart.ConfigOuterClass.Config getValues() { 10799 return values_ == null ? hapi.chart.ConfigOuterClass.Config.getDefaultInstance() : values_; 10800 } 10801 /** 10802 * <pre> 10803 * Values is a string containing (unparsed) YAML values. 10804 * </pre> 10805 * 10806 * <code>.hapi.chart.Config values = 2;</code> 10807 */ 10808 public hapi.chart.ConfigOuterClass.ConfigOrBuilder getValuesOrBuilder() { 10809 return getValues(); 10810 } 10811 10812 public static final int DRY_RUN_FIELD_NUMBER = 3; 10813 private boolean dryRun_; 10814 /** 10815 * <pre> 10816 * DryRun, if true, will run through the release logic, but neither create 10817 * a release object nor deploy to Kubernetes. The release object returned 10818 * in the response will be fake. 10819 * </pre> 10820 * 10821 * <code>bool dry_run = 3;</code> 10822 */ 10823 public boolean getDryRun() { 10824 return dryRun_; 10825 } 10826 10827 public static final int NAME_FIELD_NUMBER = 4; 10828 private volatile java.lang.Object name_; 10829 /** 10830 * <pre> 10831 * Name is the candidate release name. This must be unique to the 10832 * namespace, otherwise the server will return an error. If it is not 10833 * supplied, the server will autogenerate one. 10834 * </pre> 10835 * 10836 * <code>string name = 4;</code> 10837 */ 10838 public java.lang.String getName() { 10839 java.lang.Object ref = name_; 10840 if (ref instanceof java.lang.String) { 10841 return (java.lang.String) ref; 10842 } else { 10843 com.google.protobuf.ByteString bs = 10844 (com.google.protobuf.ByteString) ref; 10845 java.lang.String s = bs.toStringUtf8(); 10846 name_ = s; 10847 return s; 10848 } 10849 } 10850 /** 10851 * <pre> 10852 * Name is the candidate release name. This must be unique to the 10853 * namespace, otherwise the server will return an error. If it is not 10854 * supplied, the server will autogenerate one. 10855 * </pre> 10856 * 10857 * <code>string name = 4;</code> 10858 */ 10859 public com.google.protobuf.ByteString 10860 getNameBytes() { 10861 java.lang.Object ref = name_; 10862 if (ref instanceof java.lang.String) { 10863 com.google.protobuf.ByteString b = 10864 com.google.protobuf.ByteString.copyFromUtf8( 10865 (java.lang.String) ref); 10866 name_ = b; 10867 return b; 10868 } else { 10869 return (com.google.protobuf.ByteString) ref; 10870 } 10871 } 10872 10873 public static final int DISABLE_HOOKS_FIELD_NUMBER = 5; 10874 private boolean disableHooks_; 10875 /** 10876 * <pre> 10877 * DisableHooks causes the server to skip running any hooks for the install. 10878 * </pre> 10879 * 10880 * <code>bool disable_hooks = 5;</code> 10881 */ 10882 public boolean getDisableHooks() { 10883 return disableHooks_; 10884 } 10885 10886 public static final int NAMESPACE_FIELD_NUMBER = 6; 10887 private volatile java.lang.Object namespace_; 10888 /** 10889 * <pre> 10890 * Namepace is the kubernetes namespace of the release. 10891 * </pre> 10892 * 10893 * <code>string namespace = 6;</code> 10894 */ 10895 public java.lang.String getNamespace() { 10896 java.lang.Object ref = namespace_; 10897 if (ref instanceof java.lang.String) { 10898 return (java.lang.String) ref; 10899 } else { 10900 com.google.protobuf.ByteString bs = 10901 (com.google.protobuf.ByteString) ref; 10902 java.lang.String s = bs.toStringUtf8(); 10903 namespace_ = s; 10904 return s; 10905 } 10906 } 10907 /** 10908 * <pre> 10909 * Namepace is the kubernetes namespace of the release. 10910 * </pre> 10911 * 10912 * <code>string namespace = 6;</code> 10913 */ 10914 public com.google.protobuf.ByteString 10915 getNamespaceBytes() { 10916 java.lang.Object ref = namespace_; 10917 if (ref instanceof java.lang.String) { 10918 com.google.protobuf.ByteString b = 10919 com.google.protobuf.ByteString.copyFromUtf8( 10920 (java.lang.String) ref); 10921 namespace_ = b; 10922 return b; 10923 } else { 10924 return (com.google.protobuf.ByteString) ref; 10925 } 10926 } 10927 10928 public static final int REUSE_NAME_FIELD_NUMBER = 7; 10929 private boolean reuseName_; 10930 /** 10931 * <pre> 10932 * ReuseName requests that Tiller re-uses a name, instead of erroring out. 10933 * </pre> 10934 * 10935 * <code>bool reuse_name = 7;</code> 10936 */ 10937 public boolean getReuseName() { 10938 return reuseName_; 10939 } 10940 10941 public static final int TIMEOUT_FIELD_NUMBER = 8; 10942 private long timeout_; 10943 /** 10944 * <pre> 10945 * timeout specifies the max amount of time any kubernetes client command can run. 10946 * </pre> 10947 * 10948 * <code>int64 timeout = 8;</code> 10949 */ 10950 public long getTimeout() { 10951 return timeout_; 10952 } 10953 10954 public static final int WAIT_FIELD_NUMBER = 9; 10955 private boolean wait_; 10956 /** 10957 * <pre> 10958 * wait, if true, will wait until all Pods, PVCs, and Services are in a ready state 10959 * before marking the release as successful. It will wait for as long as timeout 10960 * </pre> 10961 * 10962 * <code>bool wait = 9;</code> 10963 */ 10964 public boolean getWait() { 10965 return wait_; 10966 } 10967 10968 private byte memoizedIsInitialized = -1; 10969 public final boolean isInitialized() { 10970 byte isInitialized = memoizedIsInitialized; 10971 if (isInitialized == 1) return true; 10972 if (isInitialized == 0) return false; 10973 10974 memoizedIsInitialized = 1; 10975 return true; 10976 } 10977 10978 public void writeTo(com.google.protobuf.CodedOutputStream output) 10979 throws java.io.IOException { 10980 if (chart_ != null) { 10981 output.writeMessage(1, getChart()); 10982 } 10983 if (values_ != null) { 10984 output.writeMessage(2, getValues()); 10985 } 10986 if (dryRun_ != false) { 10987 output.writeBool(3, dryRun_); 10988 } 10989 if (!getNameBytes().isEmpty()) { 10990 com.google.protobuf.GeneratedMessageV3.writeString(output, 4, name_); 10991 } 10992 if (disableHooks_ != false) { 10993 output.writeBool(5, disableHooks_); 10994 } 10995 if (!getNamespaceBytes().isEmpty()) { 10996 com.google.protobuf.GeneratedMessageV3.writeString(output, 6, namespace_); 10997 } 10998 if (reuseName_ != false) { 10999 output.writeBool(7, reuseName_); 11000 } 11001 if (timeout_ != 0L) { 11002 output.writeInt64(8, timeout_); 11003 } 11004 if (wait_ != false) { 11005 output.writeBool(9, wait_); 11006 } 11007 unknownFields.writeTo(output); 11008 } 11009 11010 public int getSerializedSize() { 11011 int size = memoizedSize; 11012 if (size != -1) return size; 11013 11014 size = 0; 11015 if (chart_ != null) { 11016 size += com.google.protobuf.CodedOutputStream 11017 .computeMessageSize(1, getChart()); 11018 } 11019 if (values_ != null) { 11020 size += com.google.protobuf.CodedOutputStream 11021 .computeMessageSize(2, getValues()); 11022 } 11023 if (dryRun_ != false) { 11024 size += com.google.protobuf.CodedOutputStream 11025 .computeBoolSize(3, dryRun_); 11026 } 11027 if (!getNameBytes().isEmpty()) { 11028 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, name_); 11029 } 11030 if (disableHooks_ != false) { 11031 size += com.google.protobuf.CodedOutputStream 11032 .computeBoolSize(5, disableHooks_); 11033 } 11034 if (!getNamespaceBytes().isEmpty()) { 11035 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, namespace_); 11036 } 11037 if (reuseName_ != false) { 11038 size += com.google.protobuf.CodedOutputStream 11039 .computeBoolSize(7, reuseName_); 11040 } 11041 if (timeout_ != 0L) { 11042 size += com.google.protobuf.CodedOutputStream 11043 .computeInt64Size(8, timeout_); 11044 } 11045 if (wait_ != false) { 11046 size += com.google.protobuf.CodedOutputStream 11047 .computeBoolSize(9, wait_); 11048 } 11049 size += unknownFields.getSerializedSize(); 11050 memoizedSize = size; 11051 return size; 11052 } 11053 11054 @java.lang.Override 11055 public boolean equals(final java.lang.Object obj) { 11056 if (obj == this) { 11057 return true; 11058 } 11059 if (!(obj instanceof hapi.services.tiller.Tiller.InstallReleaseRequest)) { 11060 return super.equals(obj); 11061 } 11062 hapi.services.tiller.Tiller.InstallReleaseRequest other = (hapi.services.tiller.Tiller.InstallReleaseRequest) obj; 11063 11064 boolean result = true; 11065 result = result && (hasChart() == other.hasChart()); 11066 if (hasChart()) { 11067 result = result && getChart() 11068 .equals(other.getChart()); 11069 } 11070 result = result && (hasValues() == other.hasValues()); 11071 if (hasValues()) { 11072 result = result && getValues() 11073 .equals(other.getValues()); 11074 } 11075 result = result && (getDryRun() 11076 == other.getDryRun()); 11077 result = result && getName() 11078 .equals(other.getName()); 11079 result = result && (getDisableHooks() 11080 == other.getDisableHooks()); 11081 result = result && getNamespace() 11082 .equals(other.getNamespace()); 11083 result = result && (getReuseName() 11084 == other.getReuseName()); 11085 result = result && (getTimeout() 11086 == other.getTimeout()); 11087 result = result && (getWait() 11088 == other.getWait()); 11089 result = result && unknownFields.equals(other.unknownFields); 11090 return result; 11091 } 11092 11093 @java.lang.Override 11094 public int hashCode() { 11095 if (memoizedHashCode != 0) { 11096 return memoizedHashCode; 11097 } 11098 int hash = 41; 11099 hash = (19 * hash) + getDescriptor().hashCode(); 11100 if (hasChart()) { 11101 hash = (37 * hash) + CHART_FIELD_NUMBER; 11102 hash = (53 * hash) + getChart().hashCode(); 11103 } 11104 if (hasValues()) { 11105 hash = (37 * hash) + VALUES_FIELD_NUMBER; 11106 hash = (53 * hash) + getValues().hashCode(); 11107 } 11108 hash = (37 * hash) + DRY_RUN_FIELD_NUMBER; 11109 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 11110 getDryRun()); 11111 hash = (37 * hash) + NAME_FIELD_NUMBER; 11112 hash = (53 * hash) + getName().hashCode(); 11113 hash = (37 * hash) + DISABLE_HOOKS_FIELD_NUMBER; 11114 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 11115 getDisableHooks()); 11116 hash = (37 * hash) + NAMESPACE_FIELD_NUMBER; 11117 hash = (53 * hash) + getNamespace().hashCode(); 11118 hash = (37 * hash) + REUSE_NAME_FIELD_NUMBER; 11119 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 11120 getReuseName()); 11121 hash = (37 * hash) + TIMEOUT_FIELD_NUMBER; 11122 hash = (53 * hash) + com.google.protobuf.Internal.hashLong( 11123 getTimeout()); 11124 hash = (37 * hash) + WAIT_FIELD_NUMBER; 11125 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 11126 getWait()); 11127 hash = (29 * hash) + unknownFields.hashCode(); 11128 memoizedHashCode = hash; 11129 return hash; 11130 } 11131 11132 public static hapi.services.tiller.Tiller.InstallReleaseRequest parseFrom( 11133 java.nio.ByteBuffer data) 11134 throws com.google.protobuf.InvalidProtocolBufferException { 11135 return PARSER.parseFrom(data); 11136 } 11137 public static hapi.services.tiller.Tiller.InstallReleaseRequest parseFrom( 11138 java.nio.ByteBuffer data, 11139 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 11140 throws com.google.protobuf.InvalidProtocolBufferException { 11141 return PARSER.parseFrom(data, extensionRegistry); 11142 } 11143 public static hapi.services.tiller.Tiller.InstallReleaseRequest parseFrom( 11144 com.google.protobuf.ByteString data) 11145 throws com.google.protobuf.InvalidProtocolBufferException { 11146 return PARSER.parseFrom(data); 11147 } 11148 public static hapi.services.tiller.Tiller.InstallReleaseRequest parseFrom( 11149 com.google.protobuf.ByteString data, 11150 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 11151 throws com.google.protobuf.InvalidProtocolBufferException { 11152 return PARSER.parseFrom(data, extensionRegistry); 11153 } 11154 public static hapi.services.tiller.Tiller.InstallReleaseRequest parseFrom(byte[] data) 11155 throws com.google.protobuf.InvalidProtocolBufferException { 11156 return PARSER.parseFrom(data); 11157 } 11158 public static hapi.services.tiller.Tiller.InstallReleaseRequest parseFrom( 11159 byte[] data, 11160 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 11161 throws com.google.protobuf.InvalidProtocolBufferException { 11162 return PARSER.parseFrom(data, extensionRegistry); 11163 } 11164 public static hapi.services.tiller.Tiller.InstallReleaseRequest parseFrom(java.io.InputStream input) 11165 throws java.io.IOException { 11166 return com.google.protobuf.GeneratedMessageV3 11167 .parseWithIOException(PARSER, input); 11168 } 11169 public static hapi.services.tiller.Tiller.InstallReleaseRequest parseFrom( 11170 java.io.InputStream input, 11171 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 11172 throws java.io.IOException { 11173 return com.google.protobuf.GeneratedMessageV3 11174 .parseWithIOException(PARSER, input, extensionRegistry); 11175 } 11176 public static hapi.services.tiller.Tiller.InstallReleaseRequest parseDelimitedFrom(java.io.InputStream input) 11177 throws java.io.IOException { 11178 return com.google.protobuf.GeneratedMessageV3 11179 .parseDelimitedWithIOException(PARSER, input); 11180 } 11181 public static hapi.services.tiller.Tiller.InstallReleaseRequest parseDelimitedFrom( 11182 java.io.InputStream input, 11183 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 11184 throws java.io.IOException { 11185 return com.google.protobuf.GeneratedMessageV3 11186 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 11187 } 11188 public static hapi.services.tiller.Tiller.InstallReleaseRequest parseFrom( 11189 com.google.protobuf.CodedInputStream input) 11190 throws java.io.IOException { 11191 return com.google.protobuf.GeneratedMessageV3 11192 .parseWithIOException(PARSER, input); 11193 } 11194 public static hapi.services.tiller.Tiller.InstallReleaseRequest parseFrom( 11195 com.google.protobuf.CodedInputStream input, 11196 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 11197 throws java.io.IOException { 11198 return com.google.protobuf.GeneratedMessageV3 11199 .parseWithIOException(PARSER, input, extensionRegistry); 11200 } 11201 11202 public Builder newBuilderForType() { return newBuilder(); } 11203 public static Builder newBuilder() { 11204 return DEFAULT_INSTANCE.toBuilder(); 11205 } 11206 public static Builder newBuilder(hapi.services.tiller.Tiller.InstallReleaseRequest prototype) { 11207 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 11208 } 11209 public Builder toBuilder() { 11210 return this == DEFAULT_INSTANCE 11211 ? new Builder() : new Builder().mergeFrom(this); 11212 } 11213 11214 @java.lang.Override 11215 protected Builder newBuilderForType( 11216 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 11217 Builder builder = new Builder(parent); 11218 return builder; 11219 } 11220 /** 11221 * <pre> 11222 * InstallReleaseRequest is the request for an installation of a chart. 11223 * </pre> 11224 * 11225 * Protobuf type {@code hapi.services.tiller.InstallReleaseRequest} 11226 */ 11227 public static final class Builder extends 11228 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 11229 // @@protoc_insertion_point(builder_implements:hapi.services.tiller.InstallReleaseRequest) 11230 hapi.services.tiller.Tiller.InstallReleaseRequestOrBuilder { 11231 public static final com.google.protobuf.Descriptors.Descriptor 11232 getDescriptor() { 11233 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_InstallReleaseRequest_descriptor; 11234 } 11235 11236 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 11237 internalGetFieldAccessorTable() { 11238 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_InstallReleaseRequest_fieldAccessorTable 11239 .ensureFieldAccessorsInitialized( 11240 hapi.services.tiller.Tiller.InstallReleaseRequest.class, hapi.services.tiller.Tiller.InstallReleaseRequest.Builder.class); 11241 } 11242 11243 // Construct using hapi.services.tiller.Tiller.InstallReleaseRequest.newBuilder() 11244 private Builder() { 11245 maybeForceBuilderInitialization(); 11246 } 11247 11248 private Builder( 11249 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 11250 super(parent); 11251 maybeForceBuilderInitialization(); 11252 } 11253 private void maybeForceBuilderInitialization() { 11254 if (com.google.protobuf.GeneratedMessageV3 11255 .alwaysUseFieldBuilders) { 11256 } 11257 } 11258 public Builder clear() { 11259 super.clear(); 11260 if (chartBuilder_ == null) { 11261 chart_ = null; 11262 } else { 11263 chart_ = null; 11264 chartBuilder_ = null; 11265 } 11266 if (valuesBuilder_ == null) { 11267 values_ = null; 11268 } else { 11269 values_ = null; 11270 valuesBuilder_ = null; 11271 } 11272 dryRun_ = false; 11273 11274 name_ = ""; 11275 11276 disableHooks_ = false; 11277 11278 namespace_ = ""; 11279 11280 reuseName_ = false; 11281 11282 timeout_ = 0L; 11283 11284 wait_ = false; 11285 11286 return this; 11287 } 11288 11289 public com.google.protobuf.Descriptors.Descriptor 11290 getDescriptorForType() { 11291 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_InstallReleaseRequest_descriptor; 11292 } 11293 11294 public hapi.services.tiller.Tiller.InstallReleaseRequest getDefaultInstanceForType() { 11295 return hapi.services.tiller.Tiller.InstallReleaseRequest.getDefaultInstance(); 11296 } 11297 11298 public hapi.services.tiller.Tiller.InstallReleaseRequest build() { 11299 hapi.services.tiller.Tiller.InstallReleaseRequest result = buildPartial(); 11300 if (!result.isInitialized()) { 11301 throw newUninitializedMessageException(result); 11302 } 11303 return result; 11304 } 11305 11306 public hapi.services.tiller.Tiller.InstallReleaseRequest buildPartial() { 11307 hapi.services.tiller.Tiller.InstallReleaseRequest result = new hapi.services.tiller.Tiller.InstallReleaseRequest(this); 11308 if (chartBuilder_ == null) { 11309 result.chart_ = chart_; 11310 } else { 11311 result.chart_ = chartBuilder_.build(); 11312 } 11313 if (valuesBuilder_ == null) { 11314 result.values_ = values_; 11315 } else { 11316 result.values_ = valuesBuilder_.build(); 11317 } 11318 result.dryRun_ = dryRun_; 11319 result.name_ = name_; 11320 result.disableHooks_ = disableHooks_; 11321 result.namespace_ = namespace_; 11322 result.reuseName_ = reuseName_; 11323 result.timeout_ = timeout_; 11324 result.wait_ = wait_; 11325 onBuilt(); 11326 return result; 11327 } 11328 11329 public Builder clone() { 11330 return (Builder) super.clone(); 11331 } 11332 public Builder setField( 11333 com.google.protobuf.Descriptors.FieldDescriptor field, 11334 java.lang.Object value) { 11335 return (Builder) super.setField(field, value); 11336 } 11337 public Builder clearField( 11338 com.google.protobuf.Descriptors.FieldDescriptor field) { 11339 return (Builder) super.clearField(field); 11340 } 11341 public Builder clearOneof( 11342 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 11343 return (Builder) super.clearOneof(oneof); 11344 } 11345 public Builder setRepeatedField( 11346 com.google.protobuf.Descriptors.FieldDescriptor field, 11347 int index, java.lang.Object value) { 11348 return (Builder) super.setRepeatedField(field, index, value); 11349 } 11350 public Builder addRepeatedField( 11351 com.google.protobuf.Descriptors.FieldDescriptor field, 11352 java.lang.Object value) { 11353 return (Builder) super.addRepeatedField(field, value); 11354 } 11355 public Builder mergeFrom(com.google.protobuf.Message other) { 11356 if (other instanceof hapi.services.tiller.Tiller.InstallReleaseRequest) { 11357 return mergeFrom((hapi.services.tiller.Tiller.InstallReleaseRequest)other); 11358 } else { 11359 super.mergeFrom(other); 11360 return this; 11361 } 11362 } 11363 11364 public Builder mergeFrom(hapi.services.tiller.Tiller.InstallReleaseRequest other) { 11365 if (other == hapi.services.tiller.Tiller.InstallReleaseRequest.getDefaultInstance()) return this; 11366 if (other.hasChart()) { 11367 mergeChart(other.getChart()); 11368 } 11369 if (other.hasValues()) { 11370 mergeValues(other.getValues()); 11371 } 11372 if (other.getDryRun() != false) { 11373 setDryRun(other.getDryRun()); 11374 } 11375 if (!other.getName().isEmpty()) { 11376 name_ = other.name_; 11377 onChanged(); 11378 } 11379 if (other.getDisableHooks() != false) { 11380 setDisableHooks(other.getDisableHooks()); 11381 } 11382 if (!other.getNamespace().isEmpty()) { 11383 namespace_ = other.namespace_; 11384 onChanged(); 11385 } 11386 if (other.getReuseName() != false) { 11387 setReuseName(other.getReuseName()); 11388 } 11389 if (other.getTimeout() != 0L) { 11390 setTimeout(other.getTimeout()); 11391 } 11392 if (other.getWait() != false) { 11393 setWait(other.getWait()); 11394 } 11395 this.mergeUnknownFields(other.unknownFields); 11396 onChanged(); 11397 return this; 11398 } 11399 11400 public final boolean isInitialized() { 11401 return true; 11402 } 11403 11404 public Builder mergeFrom( 11405 com.google.protobuf.CodedInputStream input, 11406 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 11407 throws java.io.IOException { 11408 hapi.services.tiller.Tiller.InstallReleaseRequest parsedMessage = null; 11409 try { 11410 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 11411 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 11412 parsedMessage = (hapi.services.tiller.Tiller.InstallReleaseRequest) e.getUnfinishedMessage(); 11413 throw e.unwrapIOException(); 11414 } finally { 11415 if (parsedMessage != null) { 11416 mergeFrom(parsedMessage); 11417 } 11418 } 11419 return this; 11420 } 11421 11422 private hapi.chart.ChartOuterClass.Chart chart_ = null; 11423 private com.google.protobuf.SingleFieldBuilderV3< 11424 hapi.chart.ChartOuterClass.Chart, hapi.chart.ChartOuterClass.Chart.Builder, hapi.chart.ChartOuterClass.ChartOrBuilder> chartBuilder_; 11425 /** 11426 * <pre> 11427 * Chart is the protobuf representation of a chart. 11428 * </pre> 11429 * 11430 * <code>.hapi.chart.Chart chart = 1;</code> 11431 */ 11432 public boolean hasChart() { 11433 return chartBuilder_ != null || chart_ != null; 11434 } 11435 /** 11436 * <pre> 11437 * Chart is the protobuf representation of a chart. 11438 * </pre> 11439 * 11440 * <code>.hapi.chart.Chart chart = 1;</code> 11441 */ 11442 public hapi.chart.ChartOuterClass.Chart getChart() { 11443 if (chartBuilder_ == null) { 11444 return chart_ == null ? hapi.chart.ChartOuterClass.Chart.getDefaultInstance() : chart_; 11445 } else { 11446 return chartBuilder_.getMessage(); 11447 } 11448 } 11449 /** 11450 * <pre> 11451 * Chart is the protobuf representation of a chart. 11452 * </pre> 11453 * 11454 * <code>.hapi.chart.Chart chart = 1;</code> 11455 */ 11456 public Builder setChart(hapi.chart.ChartOuterClass.Chart value) { 11457 if (chartBuilder_ == null) { 11458 if (value == null) { 11459 throw new NullPointerException(); 11460 } 11461 chart_ = value; 11462 onChanged(); 11463 } else { 11464 chartBuilder_.setMessage(value); 11465 } 11466 11467 return this; 11468 } 11469 /** 11470 * <pre> 11471 * Chart is the protobuf representation of a chart. 11472 * </pre> 11473 * 11474 * <code>.hapi.chart.Chart chart = 1;</code> 11475 */ 11476 public Builder setChart( 11477 hapi.chart.ChartOuterClass.Chart.Builder builderForValue) { 11478 if (chartBuilder_ == null) { 11479 chart_ = builderForValue.build(); 11480 onChanged(); 11481 } else { 11482 chartBuilder_.setMessage(builderForValue.build()); 11483 } 11484 11485 return this; 11486 } 11487 /** 11488 * <pre> 11489 * Chart is the protobuf representation of a chart. 11490 * </pre> 11491 * 11492 * <code>.hapi.chart.Chart chart = 1;</code> 11493 */ 11494 public Builder mergeChart(hapi.chart.ChartOuterClass.Chart value) { 11495 if (chartBuilder_ == null) { 11496 if (chart_ != null) { 11497 chart_ = 11498 hapi.chart.ChartOuterClass.Chart.newBuilder(chart_).mergeFrom(value).buildPartial(); 11499 } else { 11500 chart_ = value; 11501 } 11502 onChanged(); 11503 } else { 11504 chartBuilder_.mergeFrom(value); 11505 } 11506 11507 return this; 11508 } 11509 /** 11510 * <pre> 11511 * Chart is the protobuf representation of a chart. 11512 * </pre> 11513 * 11514 * <code>.hapi.chart.Chart chart = 1;</code> 11515 */ 11516 public Builder clearChart() { 11517 if (chartBuilder_ == null) { 11518 chart_ = null; 11519 onChanged(); 11520 } else { 11521 chart_ = null; 11522 chartBuilder_ = null; 11523 } 11524 11525 return this; 11526 } 11527 /** 11528 * <pre> 11529 * Chart is the protobuf representation of a chart. 11530 * </pre> 11531 * 11532 * <code>.hapi.chart.Chart chart = 1;</code> 11533 */ 11534 public hapi.chart.ChartOuterClass.Chart.Builder getChartBuilder() { 11535 11536 onChanged(); 11537 return getChartFieldBuilder().getBuilder(); 11538 } 11539 /** 11540 * <pre> 11541 * Chart is the protobuf representation of a chart. 11542 * </pre> 11543 * 11544 * <code>.hapi.chart.Chart chart = 1;</code> 11545 */ 11546 public hapi.chart.ChartOuterClass.ChartOrBuilder getChartOrBuilder() { 11547 if (chartBuilder_ != null) { 11548 return chartBuilder_.getMessageOrBuilder(); 11549 } else { 11550 return chart_ == null ? 11551 hapi.chart.ChartOuterClass.Chart.getDefaultInstance() : chart_; 11552 } 11553 } 11554 /** 11555 * <pre> 11556 * Chart is the protobuf representation of a chart. 11557 * </pre> 11558 * 11559 * <code>.hapi.chart.Chart chart = 1;</code> 11560 */ 11561 private com.google.protobuf.SingleFieldBuilderV3< 11562 hapi.chart.ChartOuterClass.Chart, hapi.chart.ChartOuterClass.Chart.Builder, hapi.chart.ChartOuterClass.ChartOrBuilder> 11563 getChartFieldBuilder() { 11564 if (chartBuilder_ == null) { 11565 chartBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< 11566 hapi.chart.ChartOuterClass.Chart, hapi.chart.ChartOuterClass.Chart.Builder, hapi.chart.ChartOuterClass.ChartOrBuilder>( 11567 getChart(), 11568 getParentForChildren(), 11569 isClean()); 11570 chart_ = null; 11571 } 11572 return chartBuilder_; 11573 } 11574 11575 private hapi.chart.ConfigOuterClass.Config values_ = null; 11576 private com.google.protobuf.SingleFieldBuilderV3< 11577 hapi.chart.ConfigOuterClass.Config, hapi.chart.ConfigOuterClass.Config.Builder, hapi.chart.ConfigOuterClass.ConfigOrBuilder> valuesBuilder_; 11578 /** 11579 * <pre> 11580 * Values is a string containing (unparsed) YAML values. 11581 * </pre> 11582 * 11583 * <code>.hapi.chart.Config values = 2;</code> 11584 */ 11585 public boolean hasValues() { 11586 return valuesBuilder_ != null || values_ != null; 11587 } 11588 /** 11589 * <pre> 11590 * Values is a string containing (unparsed) YAML values. 11591 * </pre> 11592 * 11593 * <code>.hapi.chart.Config values = 2;</code> 11594 */ 11595 public hapi.chart.ConfigOuterClass.Config getValues() { 11596 if (valuesBuilder_ == null) { 11597 return values_ == null ? hapi.chart.ConfigOuterClass.Config.getDefaultInstance() : values_; 11598 } else { 11599 return valuesBuilder_.getMessage(); 11600 } 11601 } 11602 /** 11603 * <pre> 11604 * Values is a string containing (unparsed) YAML values. 11605 * </pre> 11606 * 11607 * <code>.hapi.chart.Config values = 2;</code> 11608 */ 11609 public Builder setValues(hapi.chart.ConfigOuterClass.Config value) { 11610 if (valuesBuilder_ == null) { 11611 if (value == null) { 11612 throw new NullPointerException(); 11613 } 11614 values_ = value; 11615 onChanged(); 11616 } else { 11617 valuesBuilder_.setMessage(value); 11618 } 11619 11620 return this; 11621 } 11622 /** 11623 * <pre> 11624 * Values is a string containing (unparsed) YAML values. 11625 * </pre> 11626 * 11627 * <code>.hapi.chart.Config values = 2;</code> 11628 */ 11629 public Builder setValues( 11630 hapi.chart.ConfigOuterClass.Config.Builder builderForValue) { 11631 if (valuesBuilder_ == null) { 11632 values_ = builderForValue.build(); 11633 onChanged(); 11634 } else { 11635 valuesBuilder_.setMessage(builderForValue.build()); 11636 } 11637 11638 return this; 11639 } 11640 /** 11641 * <pre> 11642 * Values is a string containing (unparsed) YAML values. 11643 * </pre> 11644 * 11645 * <code>.hapi.chart.Config values = 2;</code> 11646 */ 11647 public Builder mergeValues(hapi.chart.ConfigOuterClass.Config value) { 11648 if (valuesBuilder_ == null) { 11649 if (values_ != null) { 11650 values_ = 11651 hapi.chart.ConfigOuterClass.Config.newBuilder(values_).mergeFrom(value).buildPartial(); 11652 } else { 11653 values_ = value; 11654 } 11655 onChanged(); 11656 } else { 11657 valuesBuilder_.mergeFrom(value); 11658 } 11659 11660 return this; 11661 } 11662 /** 11663 * <pre> 11664 * Values is a string containing (unparsed) YAML values. 11665 * </pre> 11666 * 11667 * <code>.hapi.chart.Config values = 2;</code> 11668 */ 11669 public Builder clearValues() { 11670 if (valuesBuilder_ == null) { 11671 values_ = null; 11672 onChanged(); 11673 } else { 11674 values_ = null; 11675 valuesBuilder_ = null; 11676 } 11677 11678 return this; 11679 } 11680 /** 11681 * <pre> 11682 * Values is a string containing (unparsed) YAML values. 11683 * </pre> 11684 * 11685 * <code>.hapi.chart.Config values = 2;</code> 11686 */ 11687 public hapi.chart.ConfigOuterClass.Config.Builder getValuesBuilder() { 11688 11689 onChanged(); 11690 return getValuesFieldBuilder().getBuilder(); 11691 } 11692 /** 11693 * <pre> 11694 * Values is a string containing (unparsed) YAML values. 11695 * </pre> 11696 * 11697 * <code>.hapi.chart.Config values = 2;</code> 11698 */ 11699 public hapi.chart.ConfigOuterClass.ConfigOrBuilder getValuesOrBuilder() { 11700 if (valuesBuilder_ != null) { 11701 return valuesBuilder_.getMessageOrBuilder(); 11702 } else { 11703 return values_ == null ? 11704 hapi.chart.ConfigOuterClass.Config.getDefaultInstance() : values_; 11705 } 11706 } 11707 /** 11708 * <pre> 11709 * Values is a string containing (unparsed) YAML values. 11710 * </pre> 11711 * 11712 * <code>.hapi.chart.Config values = 2;</code> 11713 */ 11714 private com.google.protobuf.SingleFieldBuilderV3< 11715 hapi.chart.ConfigOuterClass.Config, hapi.chart.ConfigOuterClass.Config.Builder, hapi.chart.ConfigOuterClass.ConfigOrBuilder> 11716 getValuesFieldBuilder() { 11717 if (valuesBuilder_ == null) { 11718 valuesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< 11719 hapi.chart.ConfigOuterClass.Config, hapi.chart.ConfigOuterClass.Config.Builder, hapi.chart.ConfigOuterClass.ConfigOrBuilder>( 11720 getValues(), 11721 getParentForChildren(), 11722 isClean()); 11723 values_ = null; 11724 } 11725 return valuesBuilder_; 11726 } 11727 11728 private boolean dryRun_ ; 11729 /** 11730 * <pre> 11731 * DryRun, if true, will run through the release logic, but neither create 11732 * a release object nor deploy to Kubernetes. The release object returned 11733 * in the response will be fake. 11734 * </pre> 11735 * 11736 * <code>bool dry_run = 3;</code> 11737 */ 11738 public boolean getDryRun() { 11739 return dryRun_; 11740 } 11741 /** 11742 * <pre> 11743 * DryRun, if true, will run through the release logic, but neither create 11744 * a release object nor deploy to Kubernetes. The release object returned 11745 * in the response will be fake. 11746 * </pre> 11747 * 11748 * <code>bool dry_run = 3;</code> 11749 */ 11750 public Builder setDryRun(boolean value) { 11751 11752 dryRun_ = value; 11753 onChanged(); 11754 return this; 11755 } 11756 /** 11757 * <pre> 11758 * DryRun, if true, will run through the release logic, but neither create 11759 * a release object nor deploy to Kubernetes. The release object returned 11760 * in the response will be fake. 11761 * </pre> 11762 * 11763 * <code>bool dry_run = 3;</code> 11764 */ 11765 public Builder clearDryRun() { 11766 11767 dryRun_ = false; 11768 onChanged(); 11769 return this; 11770 } 11771 11772 private java.lang.Object name_ = ""; 11773 /** 11774 * <pre> 11775 * Name is the candidate release name. This must be unique to the 11776 * namespace, otherwise the server will return an error. If it is not 11777 * supplied, the server will autogenerate one. 11778 * </pre> 11779 * 11780 * <code>string name = 4;</code> 11781 */ 11782 public java.lang.String getName() { 11783 java.lang.Object ref = name_; 11784 if (!(ref instanceof java.lang.String)) { 11785 com.google.protobuf.ByteString bs = 11786 (com.google.protobuf.ByteString) ref; 11787 java.lang.String s = bs.toStringUtf8(); 11788 name_ = s; 11789 return s; 11790 } else { 11791 return (java.lang.String) ref; 11792 } 11793 } 11794 /** 11795 * <pre> 11796 * Name is the candidate release name. This must be unique to the 11797 * namespace, otherwise the server will return an error. If it is not 11798 * supplied, the server will autogenerate one. 11799 * </pre> 11800 * 11801 * <code>string name = 4;</code> 11802 */ 11803 public com.google.protobuf.ByteString 11804 getNameBytes() { 11805 java.lang.Object ref = name_; 11806 if (ref instanceof String) { 11807 com.google.protobuf.ByteString b = 11808 com.google.protobuf.ByteString.copyFromUtf8( 11809 (java.lang.String) ref); 11810 name_ = b; 11811 return b; 11812 } else { 11813 return (com.google.protobuf.ByteString) ref; 11814 } 11815 } 11816 /** 11817 * <pre> 11818 * Name is the candidate release name. This must be unique to the 11819 * namespace, otherwise the server will return an error. If it is not 11820 * supplied, the server will autogenerate one. 11821 * </pre> 11822 * 11823 * <code>string name = 4;</code> 11824 */ 11825 public Builder setName( 11826 java.lang.String value) { 11827 if (value == null) { 11828 throw new NullPointerException(); 11829 } 11830 11831 name_ = value; 11832 onChanged(); 11833 return this; 11834 } 11835 /** 11836 * <pre> 11837 * Name is the candidate release name. This must be unique to the 11838 * namespace, otherwise the server will return an error. If it is not 11839 * supplied, the server will autogenerate one. 11840 * </pre> 11841 * 11842 * <code>string name = 4;</code> 11843 */ 11844 public Builder clearName() { 11845 11846 name_ = getDefaultInstance().getName(); 11847 onChanged(); 11848 return this; 11849 } 11850 /** 11851 * <pre> 11852 * Name is the candidate release name. This must be unique to the 11853 * namespace, otherwise the server will return an error. If it is not 11854 * supplied, the server will autogenerate one. 11855 * </pre> 11856 * 11857 * <code>string name = 4;</code> 11858 */ 11859 public Builder setNameBytes( 11860 com.google.protobuf.ByteString value) { 11861 if (value == null) { 11862 throw new NullPointerException(); 11863 } 11864 checkByteStringIsUtf8(value); 11865 11866 name_ = value; 11867 onChanged(); 11868 return this; 11869 } 11870 11871 private boolean disableHooks_ ; 11872 /** 11873 * <pre> 11874 * DisableHooks causes the server to skip running any hooks for the install. 11875 * </pre> 11876 * 11877 * <code>bool disable_hooks = 5;</code> 11878 */ 11879 public boolean getDisableHooks() { 11880 return disableHooks_; 11881 } 11882 /** 11883 * <pre> 11884 * DisableHooks causes the server to skip running any hooks for the install. 11885 * </pre> 11886 * 11887 * <code>bool disable_hooks = 5;</code> 11888 */ 11889 public Builder setDisableHooks(boolean value) { 11890 11891 disableHooks_ = value; 11892 onChanged(); 11893 return this; 11894 } 11895 /** 11896 * <pre> 11897 * DisableHooks causes the server to skip running any hooks for the install. 11898 * </pre> 11899 * 11900 * <code>bool disable_hooks = 5;</code> 11901 */ 11902 public Builder clearDisableHooks() { 11903 11904 disableHooks_ = false; 11905 onChanged(); 11906 return this; 11907 } 11908 11909 private java.lang.Object namespace_ = ""; 11910 /** 11911 * <pre> 11912 * Namepace is the kubernetes namespace of the release. 11913 * </pre> 11914 * 11915 * <code>string namespace = 6;</code> 11916 */ 11917 public java.lang.String getNamespace() { 11918 java.lang.Object ref = namespace_; 11919 if (!(ref instanceof java.lang.String)) { 11920 com.google.protobuf.ByteString bs = 11921 (com.google.protobuf.ByteString) ref; 11922 java.lang.String s = bs.toStringUtf8(); 11923 namespace_ = s; 11924 return s; 11925 } else { 11926 return (java.lang.String) ref; 11927 } 11928 } 11929 /** 11930 * <pre> 11931 * Namepace is the kubernetes namespace of the release. 11932 * </pre> 11933 * 11934 * <code>string namespace = 6;</code> 11935 */ 11936 public com.google.protobuf.ByteString 11937 getNamespaceBytes() { 11938 java.lang.Object ref = namespace_; 11939 if (ref instanceof String) { 11940 com.google.protobuf.ByteString b = 11941 com.google.protobuf.ByteString.copyFromUtf8( 11942 (java.lang.String) ref); 11943 namespace_ = b; 11944 return b; 11945 } else { 11946 return (com.google.protobuf.ByteString) ref; 11947 } 11948 } 11949 /** 11950 * <pre> 11951 * Namepace is the kubernetes namespace of the release. 11952 * </pre> 11953 * 11954 * <code>string namespace = 6;</code> 11955 */ 11956 public Builder setNamespace( 11957 java.lang.String value) { 11958 if (value == null) { 11959 throw new NullPointerException(); 11960 } 11961 11962 namespace_ = value; 11963 onChanged(); 11964 return this; 11965 } 11966 /** 11967 * <pre> 11968 * Namepace is the kubernetes namespace of the release. 11969 * </pre> 11970 * 11971 * <code>string namespace = 6;</code> 11972 */ 11973 public Builder clearNamespace() { 11974 11975 namespace_ = getDefaultInstance().getNamespace(); 11976 onChanged(); 11977 return this; 11978 } 11979 /** 11980 * <pre> 11981 * Namepace is the kubernetes namespace of the release. 11982 * </pre> 11983 * 11984 * <code>string namespace = 6;</code> 11985 */ 11986 public Builder setNamespaceBytes( 11987 com.google.protobuf.ByteString value) { 11988 if (value == null) { 11989 throw new NullPointerException(); 11990 } 11991 checkByteStringIsUtf8(value); 11992 11993 namespace_ = value; 11994 onChanged(); 11995 return this; 11996 } 11997 11998 private boolean reuseName_ ; 11999 /** 12000 * <pre> 12001 * ReuseName requests that Tiller re-uses a name, instead of erroring out. 12002 * </pre> 12003 * 12004 * <code>bool reuse_name = 7;</code> 12005 */ 12006 public boolean getReuseName() { 12007 return reuseName_; 12008 } 12009 /** 12010 * <pre> 12011 * ReuseName requests that Tiller re-uses a name, instead of erroring out. 12012 * </pre> 12013 * 12014 * <code>bool reuse_name = 7;</code> 12015 */ 12016 public Builder setReuseName(boolean value) { 12017 12018 reuseName_ = value; 12019 onChanged(); 12020 return this; 12021 } 12022 /** 12023 * <pre> 12024 * ReuseName requests that Tiller re-uses a name, instead of erroring out. 12025 * </pre> 12026 * 12027 * <code>bool reuse_name = 7;</code> 12028 */ 12029 public Builder clearReuseName() { 12030 12031 reuseName_ = false; 12032 onChanged(); 12033 return this; 12034 } 12035 12036 private long timeout_ ; 12037 /** 12038 * <pre> 12039 * timeout specifies the max amount of time any kubernetes client command can run. 12040 * </pre> 12041 * 12042 * <code>int64 timeout = 8;</code> 12043 */ 12044 public long getTimeout() { 12045 return timeout_; 12046 } 12047 /** 12048 * <pre> 12049 * timeout specifies the max amount of time any kubernetes client command can run. 12050 * </pre> 12051 * 12052 * <code>int64 timeout = 8;</code> 12053 */ 12054 public Builder setTimeout(long value) { 12055 12056 timeout_ = value; 12057 onChanged(); 12058 return this; 12059 } 12060 /** 12061 * <pre> 12062 * timeout specifies the max amount of time any kubernetes client command can run. 12063 * </pre> 12064 * 12065 * <code>int64 timeout = 8;</code> 12066 */ 12067 public Builder clearTimeout() { 12068 12069 timeout_ = 0L; 12070 onChanged(); 12071 return this; 12072 } 12073 12074 private boolean wait_ ; 12075 /** 12076 * <pre> 12077 * wait, if true, will wait until all Pods, PVCs, and Services are in a ready state 12078 * before marking the release as successful. It will wait for as long as timeout 12079 * </pre> 12080 * 12081 * <code>bool wait = 9;</code> 12082 */ 12083 public boolean getWait() { 12084 return wait_; 12085 } 12086 /** 12087 * <pre> 12088 * wait, if true, will wait until all Pods, PVCs, and Services are in a ready state 12089 * before marking the release as successful. It will wait for as long as timeout 12090 * </pre> 12091 * 12092 * <code>bool wait = 9;</code> 12093 */ 12094 public Builder setWait(boolean value) { 12095 12096 wait_ = value; 12097 onChanged(); 12098 return this; 12099 } 12100 /** 12101 * <pre> 12102 * wait, if true, will wait until all Pods, PVCs, and Services are in a ready state 12103 * before marking the release as successful. It will wait for as long as timeout 12104 * </pre> 12105 * 12106 * <code>bool wait = 9;</code> 12107 */ 12108 public Builder clearWait() { 12109 12110 wait_ = false; 12111 onChanged(); 12112 return this; 12113 } 12114 public final Builder setUnknownFields( 12115 final com.google.protobuf.UnknownFieldSet unknownFields) { 12116 return super.setUnknownFieldsProto3(unknownFields); 12117 } 12118 12119 public final Builder mergeUnknownFields( 12120 final com.google.protobuf.UnknownFieldSet unknownFields) { 12121 return super.mergeUnknownFields(unknownFields); 12122 } 12123 12124 12125 // @@protoc_insertion_point(builder_scope:hapi.services.tiller.InstallReleaseRequest) 12126 } 12127 12128 // @@protoc_insertion_point(class_scope:hapi.services.tiller.InstallReleaseRequest) 12129 private static final hapi.services.tiller.Tiller.InstallReleaseRequest DEFAULT_INSTANCE; 12130 static { 12131 DEFAULT_INSTANCE = new hapi.services.tiller.Tiller.InstallReleaseRequest(); 12132 } 12133 12134 public static hapi.services.tiller.Tiller.InstallReleaseRequest getDefaultInstance() { 12135 return DEFAULT_INSTANCE; 12136 } 12137 12138 private static final com.google.protobuf.Parser<InstallReleaseRequest> 12139 PARSER = new com.google.protobuf.AbstractParser<InstallReleaseRequest>() { 12140 public InstallReleaseRequest parsePartialFrom( 12141 com.google.protobuf.CodedInputStream input, 12142 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12143 throws com.google.protobuf.InvalidProtocolBufferException { 12144 return new InstallReleaseRequest(input, extensionRegistry); 12145 } 12146 }; 12147 12148 public static com.google.protobuf.Parser<InstallReleaseRequest> parser() { 12149 return PARSER; 12150 } 12151 12152 @java.lang.Override 12153 public com.google.protobuf.Parser<InstallReleaseRequest> getParserForType() { 12154 return PARSER; 12155 } 12156 12157 public hapi.services.tiller.Tiller.InstallReleaseRequest getDefaultInstanceForType() { 12158 return DEFAULT_INSTANCE; 12159 } 12160 12161 } 12162 12163 public interface InstallReleaseResponseOrBuilder extends 12164 // @@protoc_insertion_point(interface_extends:hapi.services.tiller.InstallReleaseResponse) 12165 com.google.protobuf.MessageOrBuilder { 12166 12167 /** 12168 * <code>.hapi.release.Release release = 1;</code> 12169 */ 12170 boolean hasRelease(); 12171 /** 12172 * <code>.hapi.release.Release release = 1;</code> 12173 */ 12174 hapi.release.ReleaseOuterClass.Release getRelease(); 12175 /** 12176 * <code>.hapi.release.Release release = 1;</code> 12177 */ 12178 hapi.release.ReleaseOuterClass.ReleaseOrBuilder getReleaseOrBuilder(); 12179 } 12180 /** 12181 * <pre> 12182 * InstallReleaseResponse is the response from a release installation. 12183 * </pre> 12184 * 12185 * Protobuf type {@code hapi.services.tiller.InstallReleaseResponse} 12186 */ 12187 public static final class InstallReleaseResponse extends 12188 com.google.protobuf.GeneratedMessageV3 implements 12189 // @@protoc_insertion_point(message_implements:hapi.services.tiller.InstallReleaseResponse) 12190 InstallReleaseResponseOrBuilder { 12191 private static final long serialVersionUID = 0L; 12192 // Use InstallReleaseResponse.newBuilder() to construct. 12193 private InstallReleaseResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 12194 super(builder); 12195 } 12196 private InstallReleaseResponse() { 12197 } 12198 12199 @java.lang.Override 12200 public final com.google.protobuf.UnknownFieldSet 12201 getUnknownFields() { 12202 return this.unknownFields; 12203 } 12204 private InstallReleaseResponse( 12205 com.google.protobuf.CodedInputStream input, 12206 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12207 throws com.google.protobuf.InvalidProtocolBufferException { 12208 this(); 12209 if (extensionRegistry == null) { 12210 throw new java.lang.NullPointerException(); 12211 } 12212 int mutable_bitField0_ = 0; 12213 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 12214 com.google.protobuf.UnknownFieldSet.newBuilder(); 12215 try { 12216 boolean done = false; 12217 while (!done) { 12218 int tag = input.readTag(); 12219 switch (tag) { 12220 case 0: 12221 done = true; 12222 break; 12223 default: { 12224 if (!parseUnknownFieldProto3( 12225 input, unknownFields, extensionRegistry, tag)) { 12226 done = true; 12227 } 12228 break; 12229 } 12230 case 10: { 12231 hapi.release.ReleaseOuterClass.Release.Builder subBuilder = null; 12232 if (release_ != null) { 12233 subBuilder = release_.toBuilder(); 12234 } 12235 release_ = input.readMessage(hapi.release.ReleaseOuterClass.Release.parser(), extensionRegistry); 12236 if (subBuilder != null) { 12237 subBuilder.mergeFrom(release_); 12238 release_ = subBuilder.buildPartial(); 12239 } 12240 12241 break; 12242 } 12243 } 12244 } 12245 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 12246 throw e.setUnfinishedMessage(this); 12247 } catch (java.io.IOException e) { 12248 throw new com.google.protobuf.InvalidProtocolBufferException( 12249 e).setUnfinishedMessage(this); 12250 } finally { 12251 this.unknownFields = unknownFields.build(); 12252 makeExtensionsImmutable(); 12253 } 12254 } 12255 public static final com.google.protobuf.Descriptors.Descriptor 12256 getDescriptor() { 12257 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_InstallReleaseResponse_descriptor; 12258 } 12259 12260 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 12261 internalGetFieldAccessorTable() { 12262 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_InstallReleaseResponse_fieldAccessorTable 12263 .ensureFieldAccessorsInitialized( 12264 hapi.services.tiller.Tiller.InstallReleaseResponse.class, hapi.services.tiller.Tiller.InstallReleaseResponse.Builder.class); 12265 } 12266 12267 public static final int RELEASE_FIELD_NUMBER = 1; 12268 private hapi.release.ReleaseOuterClass.Release release_; 12269 /** 12270 * <code>.hapi.release.Release release = 1;</code> 12271 */ 12272 public boolean hasRelease() { 12273 return release_ != null; 12274 } 12275 /** 12276 * <code>.hapi.release.Release release = 1;</code> 12277 */ 12278 public hapi.release.ReleaseOuterClass.Release getRelease() { 12279 return release_ == null ? hapi.release.ReleaseOuterClass.Release.getDefaultInstance() : release_; 12280 } 12281 /** 12282 * <code>.hapi.release.Release release = 1;</code> 12283 */ 12284 public hapi.release.ReleaseOuterClass.ReleaseOrBuilder getReleaseOrBuilder() { 12285 return getRelease(); 12286 } 12287 12288 private byte memoizedIsInitialized = -1; 12289 public final boolean isInitialized() { 12290 byte isInitialized = memoizedIsInitialized; 12291 if (isInitialized == 1) return true; 12292 if (isInitialized == 0) return false; 12293 12294 memoizedIsInitialized = 1; 12295 return true; 12296 } 12297 12298 public void writeTo(com.google.protobuf.CodedOutputStream output) 12299 throws java.io.IOException { 12300 if (release_ != null) { 12301 output.writeMessage(1, getRelease()); 12302 } 12303 unknownFields.writeTo(output); 12304 } 12305 12306 public int getSerializedSize() { 12307 int size = memoizedSize; 12308 if (size != -1) return size; 12309 12310 size = 0; 12311 if (release_ != null) { 12312 size += com.google.protobuf.CodedOutputStream 12313 .computeMessageSize(1, getRelease()); 12314 } 12315 size += unknownFields.getSerializedSize(); 12316 memoizedSize = size; 12317 return size; 12318 } 12319 12320 @java.lang.Override 12321 public boolean equals(final java.lang.Object obj) { 12322 if (obj == this) { 12323 return true; 12324 } 12325 if (!(obj instanceof hapi.services.tiller.Tiller.InstallReleaseResponse)) { 12326 return super.equals(obj); 12327 } 12328 hapi.services.tiller.Tiller.InstallReleaseResponse other = (hapi.services.tiller.Tiller.InstallReleaseResponse) obj; 12329 12330 boolean result = true; 12331 result = result && (hasRelease() == other.hasRelease()); 12332 if (hasRelease()) { 12333 result = result && getRelease() 12334 .equals(other.getRelease()); 12335 } 12336 result = result && unknownFields.equals(other.unknownFields); 12337 return result; 12338 } 12339 12340 @java.lang.Override 12341 public int hashCode() { 12342 if (memoizedHashCode != 0) { 12343 return memoizedHashCode; 12344 } 12345 int hash = 41; 12346 hash = (19 * hash) + getDescriptor().hashCode(); 12347 if (hasRelease()) { 12348 hash = (37 * hash) + RELEASE_FIELD_NUMBER; 12349 hash = (53 * hash) + getRelease().hashCode(); 12350 } 12351 hash = (29 * hash) + unknownFields.hashCode(); 12352 memoizedHashCode = hash; 12353 return hash; 12354 } 12355 12356 public static hapi.services.tiller.Tiller.InstallReleaseResponse parseFrom( 12357 java.nio.ByteBuffer data) 12358 throws com.google.protobuf.InvalidProtocolBufferException { 12359 return PARSER.parseFrom(data); 12360 } 12361 public static hapi.services.tiller.Tiller.InstallReleaseResponse parseFrom( 12362 java.nio.ByteBuffer data, 12363 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12364 throws com.google.protobuf.InvalidProtocolBufferException { 12365 return PARSER.parseFrom(data, extensionRegistry); 12366 } 12367 public static hapi.services.tiller.Tiller.InstallReleaseResponse parseFrom( 12368 com.google.protobuf.ByteString data) 12369 throws com.google.protobuf.InvalidProtocolBufferException { 12370 return PARSER.parseFrom(data); 12371 } 12372 public static hapi.services.tiller.Tiller.InstallReleaseResponse parseFrom( 12373 com.google.protobuf.ByteString data, 12374 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12375 throws com.google.protobuf.InvalidProtocolBufferException { 12376 return PARSER.parseFrom(data, extensionRegistry); 12377 } 12378 public static hapi.services.tiller.Tiller.InstallReleaseResponse parseFrom(byte[] data) 12379 throws com.google.protobuf.InvalidProtocolBufferException { 12380 return PARSER.parseFrom(data); 12381 } 12382 public static hapi.services.tiller.Tiller.InstallReleaseResponse parseFrom( 12383 byte[] data, 12384 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12385 throws com.google.protobuf.InvalidProtocolBufferException { 12386 return PARSER.parseFrom(data, extensionRegistry); 12387 } 12388 public static hapi.services.tiller.Tiller.InstallReleaseResponse parseFrom(java.io.InputStream input) 12389 throws java.io.IOException { 12390 return com.google.protobuf.GeneratedMessageV3 12391 .parseWithIOException(PARSER, input); 12392 } 12393 public static hapi.services.tiller.Tiller.InstallReleaseResponse parseFrom( 12394 java.io.InputStream input, 12395 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12396 throws java.io.IOException { 12397 return com.google.protobuf.GeneratedMessageV3 12398 .parseWithIOException(PARSER, input, extensionRegistry); 12399 } 12400 public static hapi.services.tiller.Tiller.InstallReleaseResponse parseDelimitedFrom(java.io.InputStream input) 12401 throws java.io.IOException { 12402 return com.google.protobuf.GeneratedMessageV3 12403 .parseDelimitedWithIOException(PARSER, input); 12404 } 12405 public static hapi.services.tiller.Tiller.InstallReleaseResponse parseDelimitedFrom( 12406 java.io.InputStream input, 12407 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12408 throws java.io.IOException { 12409 return com.google.protobuf.GeneratedMessageV3 12410 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 12411 } 12412 public static hapi.services.tiller.Tiller.InstallReleaseResponse parseFrom( 12413 com.google.protobuf.CodedInputStream input) 12414 throws java.io.IOException { 12415 return com.google.protobuf.GeneratedMessageV3 12416 .parseWithIOException(PARSER, input); 12417 } 12418 public static hapi.services.tiller.Tiller.InstallReleaseResponse parseFrom( 12419 com.google.protobuf.CodedInputStream input, 12420 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12421 throws java.io.IOException { 12422 return com.google.protobuf.GeneratedMessageV3 12423 .parseWithIOException(PARSER, input, extensionRegistry); 12424 } 12425 12426 public Builder newBuilderForType() { return newBuilder(); } 12427 public static Builder newBuilder() { 12428 return DEFAULT_INSTANCE.toBuilder(); 12429 } 12430 public static Builder newBuilder(hapi.services.tiller.Tiller.InstallReleaseResponse prototype) { 12431 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 12432 } 12433 public Builder toBuilder() { 12434 return this == DEFAULT_INSTANCE 12435 ? new Builder() : new Builder().mergeFrom(this); 12436 } 12437 12438 @java.lang.Override 12439 protected Builder newBuilderForType( 12440 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 12441 Builder builder = new Builder(parent); 12442 return builder; 12443 } 12444 /** 12445 * <pre> 12446 * InstallReleaseResponse is the response from a release installation. 12447 * </pre> 12448 * 12449 * Protobuf type {@code hapi.services.tiller.InstallReleaseResponse} 12450 */ 12451 public static final class Builder extends 12452 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 12453 // @@protoc_insertion_point(builder_implements:hapi.services.tiller.InstallReleaseResponse) 12454 hapi.services.tiller.Tiller.InstallReleaseResponseOrBuilder { 12455 public static final com.google.protobuf.Descriptors.Descriptor 12456 getDescriptor() { 12457 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_InstallReleaseResponse_descriptor; 12458 } 12459 12460 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 12461 internalGetFieldAccessorTable() { 12462 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_InstallReleaseResponse_fieldAccessorTable 12463 .ensureFieldAccessorsInitialized( 12464 hapi.services.tiller.Tiller.InstallReleaseResponse.class, hapi.services.tiller.Tiller.InstallReleaseResponse.Builder.class); 12465 } 12466 12467 // Construct using hapi.services.tiller.Tiller.InstallReleaseResponse.newBuilder() 12468 private Builder() { 12469 maybeForceBuilderInitialization(); 12470 } 12471 12472 private Builder( 12473 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 12474 super(parent); 12475 maybeForceBuilderInitialization(); 12476 } 12477 private void maybeForceBuilderInitialization() { 12478 if (com.google.protobuf.GeneratedMessageV3 12479 .alwaysUseFieldBuilders) { 12480 } 12481 } 12482 public Builder clear() { 12483 super.clear(); 12484 if (releaseBuilder_ == null) { 12485 release_ = null; 12486 } else { 12487 release_ = null; 12488 releaseBuilder_ = null; 12489 } 12490 return this; 12491 } 12492 12493 public com.google.protobuf.Descriptors.Descriptor 12494 getDescriptorForType() { 12495 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_InstallReleaseResponse_descriptor; 12496 } 12497 12498 public hapi.services.tiller.Tiller.InstallReleaseResponse getDefaultInstanceForType() { 12499 return hapi.services.tiller.Tiller.InstallReleaseResponse.getDefaultInstance(); 12500 } 12501 12502 public hapi.services.tiller.Tiller.InstallReleaseResponse build() { 12503 hapi.services.tiller.Tiller.InstallReleaseResponse result = buildPartial(); 12504 if (!result.isInitialized()) { 12505 throw newUninitializedMessageException(result); 12506 } 12507 return result; 12508 } 12509 12510 public hapi.services.tiller.Tiller.InstallReleaseResponse buildPartial() { 12511 hapi.services.tiller.Tiller.InstallReleaseResponse result = new hapi.services.tiller.Tiller.InstallReleaseResponse(this); 12512 if (releaseBuilder_ == null) { 12513 result.release_ = release_; 12514 } else { 12515 result.release_ = releaseBuilder_.build(); 12516 } 12517 onBuilt(); 12518 return result; 12519 } 12520 12521 public Builder clone() { 12522 return (Builder) super.clone(); 12523 } 12524 public Builder setField( 12525 com.google.protobuf.Descriptors.FieldDescriptor field, 12526 java.lang.Object value) { 12527 return (Builder) super.setField(field, value); 12528 } 12529 public Builder clearField( 12530 com.google.protobuf.Descriptors.FieldDescriptor field) { 12531 return (Builder) super.clearField(field); 12532 } 12533 public Builder clearOneof( 12534 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 12535 return (Builder) super.clearOneof(oneof); 12536 } 12537 public Builder setRepeatedField( 12538 com.google.protobuf.Descriptors.FieldDescriptor field, 12539 int index, java.lang.Object value) { 12540 return (Builder) super.setRepeatedField(field, index, value); 12541 } 12542 public Builder addRepeatedField( 12543 com.google.protobuf.Descriptors.FieldDescriptor field, 12544 java.lang.Object value) { 12545 return (Builder) super.addRepeatedField(field, value); 12546 } 12547 public Builder mergeFrom(com.google.protobuf.Message other) { 12548 if (other instanceof hapi.services.tiller.Tiller.InstallReleaseResponse) { 12549 return mergeFrom((hapi.services.tiller.Tiller.InstallReleaseResponse)other); 12550 } else { 12551 super.mergeFrom(other); 12552 return this; 12553 } 12554 } 12555 12556 public Builder mergeFrom(hapi.services.tiller.Tiller.InstallReleaseResponse other) { 12557 if (other == hapi.services.tiller.Tiller.InstallReleaseResponse.getDefaultInstance()) return this; 12558 if (other.hasRelease()) { 12559 mergeRelease(other.getRelease()); 12560 } 12561 this.mergeUnknownFields(other.unknownFields); 12562 onChanged(); 12563 return this; 12564 } 12565 12566 public final boolean isInitialized() { 12567 return true; 12568 } 12569 12570 public Builder mergeFrom( 12571 com.google.protobuf.CodedInputStream input, 12572 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12573 throws java.io.IOException { 12574 hapi.services.tiller.Tiller.InstallReleaseResponse parsedMessage = null; 12575 try { 12576 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 12577 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 12578 parsedMessage = (hapi.services.tiller.Tiller.InstallReleaseResponse) e.getUnfinishedMessage(); 12579 throw e.unwrapIOException(); 12580 } finally { 12581 if (parsedMessage != null) { 12582 mergeFrom(parsedMessage); 12583 } 12584 } 12585 return this; 12586 } 12587 12588 private hapi.release.ReleaseOuterClass.Release release_ = null; 12589 private com.google.protobuf.SingleFieldBuilderV3< 12590 hapi.release.ReleaseOuterClass.Release, hapi.release.ReleaseOuterClass.Release.Builder, hapi.release.ReleaseOuterClass.ReleaseOrBuilder> releaseBuilder_; 12591 /** 12592 * <code>.hapi.release.Release release = 1;</code> 12593 */ 12594 public boolean hasRelease() { 12595 return releaseBuilder_ != null || release_ != null; 12596 } 12597 /** 12598 * <code>.hapi.release.Release release = 1;</code> 12599 */ 12600 public hapi.release.ReleaseOuterClass.Release getRelease() { 12601 if (releaseBuilder_ == null) { 12602 return release_ == null ? hapi.release.ReleaseOuterClass.Release.getDefaultInstance() : release_; 12603 } else { 12604 return releaseBuilder_.getMessage(); 12605 } 12606 } 12607 /** 12608 * <code>.hapi.release.Release release = 1;</code> 12609 */ 12610 public Builder setRelease(hapi.release.ReleaseOuterClass.Release value) { 12611 if (releaseBuilder_ == null) { 12612 if (value == null) { 12613 throw new NullPointerException(); 12614 } 12615 release_ = value; 12616 onChanged(); 12617 } else { 12618 releaseBuilder_.setMessage(value); 12619 } 12620 12621 return this; 12622 } 12623 /** 12624 * <code>.hapi.release.Release release = 1;</code> 12625 */ 12626 public Builder setRelease( 12627 hapi.release.ReleaseOuterClass.Release.Builder builderForValue) { 12628 if (releaseBuilder_ == null) { 12629 release_ = builderForValue.build(); 12630 onChanged(); 12631 } else { 12632 releaseBuilder_.setMessage(builderForValue.build()); 12633 } 12634 12635 return this; 12636 } 12637 /** 12638 * <code>.hapi.release.Release release = 1;</code> 12639 */ 12640 public Builder mergeRelease(hapi.release.ReleaseOuterClass.Release value) { 12641 if (releaseBuilder_ == null) { 12642 if (release_ != null) { 12643 release_ = 12644 hapi.release.ReleaseOuterClass.Release.newBuilder(release_).mergeFrom(value).buildPartial(); 12645 } else { 12646 release_ = value; 12647 } 12648 onChanged(); 12649 } else { 12650 releaseBuilder_.mergeFrom(value); 12651 } 12652 12653 return this; 12654 } 12655 /** 12656 * <code>.hapi.release.Release release = 1;</code> 12657 */ 12658 public Builder clearRelease() { 12659 if (releaseBuilder_ == null) { 12660 release_ = null; 12661 onChanged(); 12662 } else { 12663 release_ = null; 12664 releaseBuilder_ = null; 12665 } 12666 12667 return this; 12668 } 12669 /** 12670 * <code>.hapi.release.Release release = 1;</code> 12671 */ 12672 public hapi.release.ReleaseOuterClass.Release.Builder getReleaseBuilder() { 12673 12674 onChanged(); 12675 return getReleaseFieldBuilder().getBuilder(); 12676 } 12677 /** 12678 * <code>.hapi.release.Release release = 1;</code> 12679 */ 12680 public hapi.release.ReleaseOuterClass.ReleaseOrBuilder getReleaseOrBuilder() { 12681 if (releaseBuilder_ != null) { 12682 return releaseBuilder_.getMessageOrBuilder(); 12683 } else { 12684 return release_ == null ? 12685 hapi.release.ReleaseOuterClass.Release.getDefaultInstance() : release_; 12686 } 12687 } 12688 /** 12689 * <code>.hapi.release.Release release = 1;</code> 12690 */ 12691 private com.google.protobuf.SingleFieldBuilderV3< 12692 hapi.release.ReleaseOuterClass.Release, hapi.release.ReleaseOuterClass.Release.Builder, hapi.release.ReleaseOuterClass.ReleaseOrBuilder> 12693 getReleaseFieldBuilder() { 12694 if (releaseBuilder_ == null) { 12695 releaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< 12696 hapi.release.ReleaseOuterClass.Release, hapi.release.ReleaseOuterClass.Release.Builder, hapi.release.ReleaseOuterClass.ReleaseOrBuilder>( 12697 getRelease(), 12698 getParentForChildren(), 12699 isClean()); 12700 release_ = null; 12701 } 12702 return releaseBuilder_; 12703 } 12704 public final Builder setUnknownFields( 12705 final com.google.protobuf.UnknownFieldSet unknownFields) { 12706 return super.setUnknownFieldsProto3(unknownFields); 12707 } 12708 12709 public final Builder mergeUnknownFields( 12710 final com.google.protobuf.UnknownFieldSet unknownFields) { 12711 return super.mergeUnknownFields(unknownFields); 12712 } 12713 12714 12715 // @@protoc_insertion_point(builder_scope:hapi.services.tiller.InstallReleaseResponse) 12716 } 12717 12718 // @@protoc_insertion_point(class_scope:hapi.services.tiller.InstallReleaseResponse) 12719 private static final hapi.services.tiller.Tiller.InstallReleaseResponse DEFAULT_INSTANCE; 12720 static { 12721 DEFAULT_INSTANCE = new hapi.services.tiller.Tiller.InstallReleaseResponse(); 12722 } 12723 12724 public static hapi.services.tiller.Tiller.InstallReleaseResponse getDefaultInstance() { 12725 return DEFAULT_INSTANCE; 12726 } 12727 12728 private static final com.google.protobuf.Parser<InstallReleaseResponse> 12729 PARSER = new com.google.protobuf.AbstractParser<InstallReleaseResponse>() { 12730 public InstallReleaseResponse parsePartialFrom( 12731 com.google.protobuf.CodedInputStream input, 12732 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12733 throws com.google.protobuf.InvalidProtocolBufferException { 12734 return new InstallReleaseResponse(input, extensionRegistry); 12735 } 12736 }; 12737 12738 public static com.google.protobuf.Parser<InstallReleaseResponse> parser() { 12739 return PARSER; 12740 } 12741 12742 @java.lang.Override 12743 public com.google.protobuf.Parser<InstallReleaseResponse> getParserForType() { 12744 return PARSER; 12745 } 12746 12747 public hapi.services.tiller.Tiller.InstallReleaseResponse getDefaultInstanceForType() { 12748 return DEFAULT_INSTANCE; 12749 } 12750 12751 } 12752 12753 public interface UninstallReleaseRequestOrBuilder extends 12754 // @@protoc_insertion_point(interface_extends:hapi.services.tiller.UninstallReleaseRequest) 12755 com.google.protobuf.MessageOrBuilder { 12756 12757 /** 12758 * <pre> 12759 * Name is the name of the release to delete. 12760 * </pre> 12761 * 12762 * <code>string name = 1;</code> 12763 */ 12764 java.lang.String getName(); 12765 /** 12766 * <pre> 12767 * Name is the name of the release to delete. 12768 * </pre> 12769 * 12770 * <code>string name = 1;</code> 12771 */ 12772 com.google.protobuf.ByteString 12773 getNameBytes(); 12774 12775 /** 12776 * <pre> 12777 * DisableHooks causes the server to skip running any hooks for the uninstall. 12778 * </pre> 12779 * 12780 * <code>bool disable_hooks = 2;</code> 12781 */ 12782 boolean getDisableHooks(); 12783 12784 /** 12785 * <pre> 12786 * Purge removes the release from the store and make its name free for later use. 12787 * </pre> 12788 * 12789 * <code>bool purge = 3;</code> 12790 */ 12791 boolean getPurge(); 12792 12793 /** 12794 * <pre> 12795 * timeout specifies the max amount of time any kubernetes client command can run. 12796 * </pre> 12797 * 12798 * <code>int64 timeout = 4;</code> 12799 */ 12800 long getTimeout(); 12801 } 12802 /** 12803 * <pre> 12804 * UninstallReleaseRequest represents a request to uninstall a named release. 12805 * </pre> 12806 * 12807 * Protobuf type {@code hapi.services.tiller.UninstallReleaseRequest} 12808 */ 12809 public static final class UninstallReleaseRequest extends 12810 com.google.protobuf.GeneratedMessageV3 implements 12811 // @@protoc_insertion_point(message_implements:hapi.services.tiller.UninstallReleaseRequest) 12812 UninstallReleaseRequestOrBuilder { 12813 private static final long serialVersionUID = 0L; 12814 // Use UninstallReleaseRequest.newBuilder() to construct. 12815 private UninstallReleaseRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 12816 super(builder); 12817 } 12818 private UninstallReleaseRequest() { 12819 name_ = ""; 12820 disableHooks_ = false; 12821 purge_ = false; 12822 timeout_ = 0L; 12823 } 12824 12825 @java.lang.Override 12826 public final com.google.protobuf.UnknownFieldSet 12827 getUnknownFields() { 12828 return this.unknownFields; 12829 } 12830 private UninstallReleaseRequest( 12831 com.google.protobuf.CodedInputStream input, 12832 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12833 throws com.google.protobuf.InvalidProtocolBufferException { 12834 this(); 12835 if (extensionRegistry == null) { 12836 throw new java.lang.NullPointerException(); 12837 } 12838 int mutable_bitField0_ = 0; 12839 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 12840 com.google.protobuf.UnknownFieldSet.newBuilder(); 12841 try { 12842 boolean done = false; 12843 while (!done) { 12844 int tag = input.readTag(); 12845 switch (tag) { 12846 case 0: 12847 done = true; 12848 break; 12849 default: { 12850 if (!parseUnknownFieldProto3( 12851 input, unknownFields, extensionRegistry, tag)) { 12852 done = true; 12853 } 12854 break; 12855 } 12856 case 10: { 12857 java.lang.String s = input.readStringRequireUtf8(); 12858 12859 name_ = s; 12860 break; 12861 } 12862 case 16: { 12863 12864 disableHooks_ = input.readBool(); 12865 break; 12866 } 12867 case 24: { 12868 12869 purge_ = input.readBool(); 12870 break; 12871 } 12872 case 32: { 12873 12874 timeout_ = input.readInt64(); 12875 break; 12876 } 12877 } 12878 } 12879 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 12880 throw e.setUnfinishedMessage(this); 12881 } catch (java.io.IOException e) { 12882 throw new com.google.protobuf.InvalidProtocolBufferException( 12883 e).setUnfinishedMessage(this); 12884 } finally { 12885 this.unknownFields = unknownFields.build(); 12886 makeExtensionsImmutable(); 12887 } 12888 } 12889 public static final com.google.protobuf.Descriptors.Descriptor 12890 getDescriptor() { 12891 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_UninstallReleaseRequest_descriptor; 12892 } 12893 12894 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 12895 internalGetFieldAccessorTable() { 12896 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_UninstallReleaseRequest_fieldAccessorTable 12897 .ensureFieldAccessorsInitialized( 12898 hapi.services.tiller.Tiller.UninstallReleaseRequest.class, hapi.services.tiller.Tiller.UninstallReleaseRequest.Builder.class); 12899 } 12900 12901 public static final int NAME_FIELD_NUMBER = 1; 12902 private volatile java.lang.Object name_; 12903 /** 12904 * <pre> 12905 * Name is the name of the release to delete. 12906 * </pre> 12907 * 12908 * <code>string name = 1;</code> 12909 */ 12910 public java.lang.String getName() { 12911 java.lang.Object ref = name_; 12912 if (ref instanceof java.lang.String) { 12913 return (java.lang.String) ref; 12914 } else { 12915 com.google.protobuf.ByteString bs = 12916 (com.google.protobuf.ByteString) ref; 12917 java.lang.String s = bs.toStringUtf8(); 12918 name_ = s; 12919 return s; 12920 } 12921 } 12922 /** 12923 * <pre> 12924 * Name is the name of the release to delete. 12925 * </pre> 12926 * 12927 * <code>string name = 1;</code> 12928 */ 12929 public com.google.protobuf.ByteString 12930 getNameBytes() { 12931 java.lang.Object ref = name_; 12932 if (ref instanceof java.lang.String) { 12933 com.google.protobuf.ByteString b = 12934 com.google.protobuf.ByteString.copyFromUtf8( 12935 (java.lang.String) ref); 12936 name_ = b; 12937 return b; 12938 } else { 12939 return (com.google.protobuf.ByteString) ref; 12940 } 12941 } 12942 12943 public static final int DISABLE_HOOKS_FIELD_NUMBER = 2; 12944 private boolean disableHooks_; 12945 /** 12946 * <pre> 12947 * DisableHooks causes the server to skip running any hooks for the uninstall. 12948 * </pre> 12949 * 12950 * <code>bool disable_hooks = 2;</code> 12951 */ 12952 public boolean getDisableHooks() { 12953 return disableHooks_; 12954 } 12955 12956 public static final int PURGE_FIELD_NUMBER = 3; 12957 private boolean purge_; 12958 /** 12959 * <pre> 12960 * Purge removes the release from the store and make its name free for later use. 12961 * </pre> 12962 * 12963 * <code>bool purge = 3;</code> 12964 */ 12965 public boolean getPurge() { 12966 return purge_; 12967 } 12968 12969 public static final int TIMEOUT_FIELD_NUMBER = 4; 12970 private long timeout_; 12971 /** 12972 * <pre> 12973 * timeout specifies the max amount of time any kubernetes client command can run. 12974 * </pre> 12975 * 12976 * <code>int64 timeout = 4;</code> 12977 */ 12978 public long getTimeout() { 12979 return timeout_; 12980 } 12981 12982 private byte memoizedIsInitialized = -1; 12983 public final boolean isInitialized() { 12984 byte isInitialized = memoizedIsInitialized; 12985 if (isInitialized == 1) return true; 12986 if (isInitialized == 0) return false; 12987 12988 memoizedIsInitialized = 1; 12989 return true; 12990 } 12991 12992 public void writeTo(com.google.protobuf.CodedOutputStream output) 12993 throws java.io.IOException { 12994 if (!getNameBytes().isEmpty()) { 12995 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); 12996 } 12997 if (disableHooks_ != false) { 12998 output.writeBool(2, disableHooks_); 12999 } 13000 if (purge_ != false) { 13001 output.writeBool(3, purge_); 13002 } 13003 if (timeout_ != 0L) { 13004 output.writeInt64(4, timeout_); 13005 } 13006 unknownFields.writeTo(output); 13007 } 13008 13009 public int getSerializedSize() { 13010 int size = memoizedSize; 13011 if (size != -1) return size; 13012 13013 size = 0; 13014 if (!getNameBytes().isEmpty()) { 13015 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); 13016 } 13017 if (disableHooks_ != false) { 13018 size += com.google.protobuf.CodedOutputStream 13019 .computeBoolSize(2, disableHooks_); 13020 } 13021 if (purge_ != false) { 13022 size += com.google.protobuf.CodedOutputStream 13023 .computeBoolSize(3, purge_); 13024 } 13025 if (timeout_ != 0L) { 13026 size += com.google.protobuf.CodedOutputStream 13027 .computeInt64Size(4, timeout_); 13028 } 13029 size += unknownFields.getSerializedSize(); 13030 memoizedSize = size; 13031 return size; 13032 } 13033 13034 @java.lang.Override 13035 public boolean equals(final java.lang.Object obj) { 13036 if (obj == this) { 13037 return true; 13038 } 13039 if (!(obj instanceof hapi.services.tiller.Tiller.UninstallReleaseRequest)) { 13040 return super.equals(obj); 13041 } 13042 hapi.services.tiller.Tiller.UninstallReleaseRequest other = (hapi.services.tiller.Tiller.UninstallReleaseRequest) obj; 13043 13044 boolean result = true; 13045 result = result && getName() 13046 .equals(other.getName()); 13047 result = result && (getDisableHooks() 13048 == other.getDisableHooks()); 13049 result = result && (getPurge() 13050 == other.getPurge()); 13051 result = result && (getTimeout() 13052 == other.getTimeout()); 13053 result = result && unknownFields.equals(other.unknownFields); 13054 return result; 13055 } 13056 13057 @java.lang.Override 13058 public int hashCode() { 13059 if (memoizedHashCode != 0) { 13060 return memoizedHashCode; 13061 } 13062 int hash = 41; 13063 hash = (19 * hash) + getDescriptor().hashCode(); 13064 hash = (37 * hash) + NAME_FIELD_NUMBER; 13065 hash = (53 * hash) + getName().hashCode(); 13066 hash = (37 * hash) + DISABLE_HOOKS_FIELD_NUMBER; 13067 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 13068 getDisableHooks()); 13069 hash = (37 * hash) + PURGE_FIELD_NUMBER; 13070 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 13071 getPurge()); 13072 hash = (37 * hash) + TIMEOUT_FIELD_NUMBER; 13073 hash = (53 * hash) + com.google.protobuf.Internal.hashLong( 13074 getTimeout()); 13075 hash = (29 * hash) + unknownFields.hashCode(); 13076 memoizedHashCode = hash; 13077 return hash; 13078 } 13079 13080 public static hapi.services.tiller.Tiller.UninstallReleaseRequest parseFrom( 13081 java.nio.ByteBuffer data) 13082 throws com.google.protobuf.InvalidProtocolBufferException { 13083 return PARSER.parseFrom(data); 13084 } 13085 public static hapi.services.tiller.Tiller.UninstallReleaseRequest parseFrom( 13086 java.nio.ByteBuffer data, 13087 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13088 throws com.google.protobuf.InvalidProtocolBufferException { 13089 return PARSER.parseFrom(data, extensionRegistry); 13090 } 13091 public static hapi.services.tiller.Tiller.UninstallReleaseRequest parseFrom( 13092 com.google.protobuf.ByteString data) 13093 throws com.google.protobuf.InvalidProtocolBufferException { 13094 return PARSER.parseFrom(data); 13095 } 13096 public static hapi.services.tiller.Tiller.UninstallReleaseRequest parseFrom( 13097 com.google.protobuf.ByteString data, 13098 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13099 throws com.google.protobuf.InvalidProtocolBufferException { 13100 return PARSER.parseFrom(data, extensionRegistry); 13101 } 13102 public static hapi.services.tiller.Tiller.UninstallReleaseRequest parseFrom(byte[] data) 13103 throws com.google.protobuf.InvalidProtocolBufferException { 13104 return PARSER.parseFrom(data); 13105 } 13106 public static hapi.services.tiller.Tiller.UninstallReleaseRequest parseFrom( 13107 byte[] data, 13108 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13109 throws com.google.protobuf.InvalidProtocolBufferException { 13110 return PARSER.parseFrom(data, extensionRegistry); 13111 } 13112 public static hapi.services.tiller.Tiller.UninstallReleaseRequest parseFrom(java.io.InputStream input) 13113 throws java.io.IOException { 13114 return com.google.protobuf.GeneratedMessageV3 13115 .parseWithIOException(PARSER, input); 13116 } 13117 public static hapi.services.tiller.Tiller.UninstallReleaseRequest parseFrom( 13118 java.io.InputStream input, 13119 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13120 throws java.io.IOException { 13121 return com.google.protobuf.GeneratedMessageV3 13122 .parseWithIOException(PARSER, input, extensionRegistry); 13123 } 13124 public static hapi.services.tiller.Tiller.UninstallReleaseRequest parseDelimitedFrom(java.io.InputStream input) 13125 throws java.io.IOException { 13126 return com.google.protobuf.GeneratedMessageV3 13127 .parseDelimitedWithIOException(PARSER, input); 13128 } 13129 public static hapi.services.tiller.Tiller.UninstallReleaseRequest parseDelimitedFrom( 13130 java.io.InputStream input, 13131 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13132 throws java.io.IOException { 13133 return com.google.protobuf.GeneratedMessageV3 13134 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 13135 } 13136 public static hapi.services.tiller.Tiller.UninstallReleaseRequest parseFrom( 13137 com.google.protobuf.CodedInputStream input) 13138 throws java.io.IOException { 13139 return com.google.protobuf.GeneratedMessageV3 13140 .parseWithIOException(PARSER, input); 13141 } 13142 public static hapi.services.tiller.Tiller.UninstallReleaseRequest parseFrom( 13143 com.google.protobuf.CodedInputStream input, 13144 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13145 throws java.io.IOException { 13146 return com.google.protobuf.GeneratedMessageV3 13147 .parseWithIOException(PARSER, input, extensionRegistry); 13148 } 13149 13150 public Builder newBuilderForType() { return newBuilder(); } 13151 public static Builder newBuilder() { 13152 return DEFAULT_INSTANCE.toBuilder(); 13153 } 13154 public static Builder newBuilder(hapi.services.tiller.Tiller.UninstallReleaseRequest prototype) { 13155 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 13156 } 13157 public Builder toBuilder() { 13158 return this == DEFAULT_INSTANCE 13159 ? new Builder() : new Builder().mergeFrom(this); 13160 } 13161 13162 @java.lang.Override 13163 protected Builder newBuilderForType( 13164 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 13165 Builder builder = new Builder(parent); 13166 return builder; 13167 } 13168 /** 13169 * <pre> 13170 * UninstallReleaseRequest represents a request to uninstall a named release. 13171 * </pre> 13172 * 13173 * Protobuf type {@code hapi.services.tiller.UninstallReleaseRequest} 13174 */ 13175 public static final class Builder extends 13176 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 13177 // @@protoc_insertion_point(builder_implements:hapi.services.tiller.UninstallReleaseRequest) 13178 hapi.services.tiller.Tiller.UninstallReleaseRequestOrBuilder { 13179 public static final com.google.protobuf.Descriptors.Descriptor 13180 getDescriptor() { 13181 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_UninstallReleaseRequest_descriptor; 13182 } 13183 13184 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 13185 internalGetFieldAccessorTable() { 13186 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_UninstallReleaseRequest_fieldAccessorTable 13187 .ensureFieldAccessorsInitialized( 13188 hapi.services.tiller.Tiller.UninstallReleaseRequest.class, hapi.services.tiller.Tiller.UninstallReleaseRequest.Builder.class); 13189 } 13190 13191 // Construct using hapi.services.tiller.Tiller.UninstallReleaseRequest.newBuilder() 13192 private Builder() { 13193 maybeForceBuilderInitialization(); 13194 } 13195 13196 private Builder( 13197 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 13198 super(parent); 13199 maybeForceBuilderInitialization(); 13200 } 13201 private void maybeForceBuilderInitialization() { 13202 if (com.google.protobuf.GeneratedMessageV3 13203 .alwaysUseFieldBuilders) { 13204 } 13205 } 13206 public Builder clear() { 13207 super.clear(); 13208 name_ = ""; 13209 13210 disableHooks_ = false; 13211 13212 purge_ = false; 13213 13214 timeout_ = 0L; 13215 13216 return this; 13217 } 13218 13219 public com.google.protobuf.Descriptors.Descriptor 13220 getDescriptorForType() { 13221 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_UninstallReleaseRequest_descriptor; 13222 } 13223 13224 public hapi.services.tiller.Tiller.UninstallReleaseRequest getDefaultInstanceForType() { 13225 return hapi.services.tiller.Tiller.UninstallReleaseRequest.getDefaultInstance(); 13226 } 13227 13228 public hapi.services.tiller.Tiller.UninstallReleaseRequest build() { 13229 hapi.services.tiller.Tiller.UninstallReleaseRequest result = buildPartial(); 13230 if (!result.isInitialized()) { 13231 throw newUninitializedMessageException(result); 13232 } 13233 return result; 13234 } 13235 13236 public hapi.services.tiller.Tiller.UninstallReleaseRequest buildPartial() { 13237 hapi.services.tiller.Tiller.UninstallReleaseRequest result = new hapi.services.tiller.Tiller.UninstallReleaseRequest(this); 13238 result.name_ = name_; 13239 result.disableHooks_ = disableHooks_; 13240 result.purge_ = purge_; 13241 result.timeout_ = timeout_; 13242 onBuilt(); 13243 return result; 13244 } 13245 13246 public Builder clone() { 13247 return (Builder) super.clone(); 13248 } 13249 public Builder setField( 13250 com.google.protobuf.Descriptors.FieldDescriptor field, 13251 java.lang.Object value) { 13252 return (Builder) super.setField(field, value); 13253 } 13254 public Builder clearField( 13255 com.google.protobuf.Descriptors.FieldDescriptor field) { 13256 return (Builder) super.clearField(field); 13257 } 13258 public Builder clearOneof( 13259 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 13260 return (Builder) super.clearOneof(oneof); 13261 } 13262 public Builder setRepeatedField( 13263 com.google.protobuf.Descriptors.FieldDescriptor field, 13264 int index, java.lang.Object value) { 13265 return (Builder) super.setRepeatedField(field, index, value); 13266 } 13267 public Builder addRepeatedField( 13268 com.google.protobuf.Descriptors.FieldDescriptor field, 13269 java.lang.Object value) { 13270 return (Builder) super.addRepeatedField(field, value); 13271 } 13272 public Builder mergeFrom(com.google.protobuf.Message other) { 13273 if (other instanceof hapi.services.tiller.Tiller.UninstallReleaseRequest) { 13274 return mergeFrom((hapi.services.tiller.Tiller.UninstallReleaseRequest)other); 13275 } else { 13276 super.mergeFrom(other); 13277 return this; 13278 } 13279 } 13280 13281 public Builder mergeFrom(hapi.services.tiller.Tiller.UninstallReleaseRequest other) { 13282 if (other == hapi.services.tiller.Tiller.UninstallReleaseRequest.getDefaultInstance()) return this; 13283 if (!other.getName().isEmpty()) { 13284 name_ = other.name_; 13285 onChanged(); 13286 } 13287 if (other.getDisableHooks() != false) { 13288 setDisableHooks(other.getDisableHooks()); 13289 } 13290 if (other.getPurge() != false) { 13291 setPurge(other.getPurge()); 13292 } 13293 if (other.getTimeout() != 0L) { 13294 setTimeout(other.getTimeout()); 13295 } 13296 this.mergeUnknownFields(other.unknownFields); 13297 onChanged(); 13298 return this; 13299 } 13300 13301 public final boolean isInitialized() { 13302 return true; 13303 } 13304 13305 public Builder mergeFrom( 13306 com.google.protobuf.CodedInputStream input, 13307 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13308 throws java.io.IOException { 13309 hapi.services.tiller.Tiller.UninstallReleaseRequest parsedMessage = null; 13310 try { 13311 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 13312 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 13313 parsedMessage = (hapi.services.tiller.Tiller.UninstallReleaseRequest) e.getUnfinishedMessage(); 13314 throw e.unwrapIOException(); 13315 } finally { 13316 if (parsedMessage != null) { 13317 mergeFrom(parsedMessage); 13318 } 13319 } 13320 return this; 13321 } 13322 13323 private java.lang.Object name_ = ""; 13324 /** 13325 * <pre> 13326 * Name is the name of the release to delete. 13327 * </pre> 13328 * 13329 * <code>string name = 1;</code> 13330 */ 13331 public java.lang.String getName() { 13332 java.lang.Object ref = name_; 13333 if (!(ref instanceof java.lang.String)) { 13334 com.google.protobuf.ByteString bs = 13335 (com.google.protobuf.ByteString) ref; 13336 java.lang.String s = bs.toStringUtf8(); 13337 name_ = s; 13338 return s; 13339 } else { 13340 return (java.lang.String) ref; 13341 } 13342 } 13343 /** 13344 * <pre> 13345 * Name is the name of the release to delete. 13346 * </pre> 13347 * 13348 * <code>string name = 1;</code> 13349 */ 13350 public com.google.protobuf.ByteString 13351 getNameBytes() { 13352 java.lang.Object ref = name_; 13353 if (ref instanceof String) { 13354 com.google.protobuf.ByteString b = 13355 com.google.protobuf.ByteString.copyFromUtf8( 13356 (java.lang.String) ref); 13357 name_ = b; 13358 return b; 13359 } else { 13360 return (com.google.protobuf.ByteString) ref; 13361 } 13362 } 13363 /** 13364 * <pre> 13365 * Name is the name of the release to delete. 13366 * </pre> 13367 * 13368 * <code>string name = 1;</code> 13369 */ 13370 public Builder setName( 13371 java.lang.String value) { 13372 if (value == null) { 13373 throw new NullPointerException(); 13374 } 13375 13376 name_ = value; 13377 onChanged(); 13378 return this; 13379 } 13380 /** 13381 * <pre> 13382 * Name is the name of the release to delete. 13383 * </pre> 13384 * 13385 * <code>string name = 1;</code> 13386 */ 13387 public Builder clearName() { 13388 13389 name_ = getDefaultInstance().getName(); 13390 onChanged(); 13391 return this; 13392 } 13393 /** 13394 * <pre> 13395 * Name is the name of the release to delete. 13396 * </pre> 13397 * 13398 * <code>string name = 1;</code> 13399 */ 13400 public Builder setNameBytes( 13401 com.google.protobuf.ByteString value) { 13402 if (value == null) { 13403 throw new NullPointerException(); 13404 } 13405 checkByteStringIsUtf8(value); 13406 13407 name_ = value; 13408 onChanged(); 13409 return this; 13410 } 13411 13412 private boolean disableHooks_ ; 13413 /** 13414 * <pre> 13415 * DisableHooks causes the server to skip running any hooks for the uninstall. 13416 * </pre> 13417 * 13418 * <code>bool disable_hooks = 2;</code> 13419 */ 13420 public boolean getDisableHooks() { 13421 return disableHooks_; 13422 } 13423 /** 13424 * <pre> 13425 * DisableHooks causes the server to skip running any hooks for the uninstall. 13426 * </pre> 13427 * 13428 * <code>bool disable_hooks = 2;</code> 13429 */ 13430 public Builder setDisableHooks(boolean value) { 13431 13432 disableHooks_ = value; 13433 onChanged(); 13434 return this; 13435 } 13436 /** 13437 * <pre> 13438 * DisableHooks causes the server to skip running any hooks for the uninstall. 13439 * </pre> 13440 * 13441 * <code>bool disable_hooks = 2;</code> 13442 */ 13443 public Builder clearDisableHooks() { 13444 13445 disableHooks_ = false; 13446 onChanged(); 13447 return this; 13448 } 13449 13450 private boolean purge_ ; 13451 /** 13452 * <pre> 13453 * Purge removes the release from the store and make its name free for later use. 13454 * </pre> 13455 * 13456 * <code>bool purge = 3;</code> 13457 */ 13458 public boolean getPurge() { 13459 return purge_; 13460 } 13461 /** 13462 * <pre> 13463 * Purge removes the release from the store and make its name free for later use. 13464 * </pre> 13465 * 13466 * <code>bool purge = 3;</code> 13467 */ 13468 public Builder setPurge(boolean value) { 13469 13470 purge_ = value; 13471 onChanged(); 13472 return this; 13473 } 13474 /** 13475 * <pre> 13476 * Purge removes the release from the store and make its name free for later use. 13477 * </pre> 13478 * 13479 * <code>bool purge = 3;</code> 13480 */ 13481 public Builder clearPurge() { 13482 13483 purge_ = false; 13484 onChanged(); 13485 return this; 13486 } 13487 13488 private long timeout_ ; 13489 /** 13490 * <pre> 13491 * timeout specifies the max amount of time any kubernetes client command can run. 13492 * </pre> 13493 * 13494 * <code>int64 timeout = 4;</code> 13495 */ 13496 public long getTimeout() { 13497 return timeout_; 13498 } 13499 /** 13500 * <pre> 13501 * timeout specifies the max amount of time any kubernetes client command can run. 13502 * </pre> 13503 * 13504 * <code>int64 timeout = 4;</code> 13505 */ 13506 public Builder setTimeout(long value) { 13507 13508 timeout_ = value; 13509 onChanged(); 13510 return this; 13511 } 13512 /** 13513 * <pre> 13514 * timeout specifies the max amount of time any kubernetes client command can run. 13515 * </pre> 13516 * 13517 * <code>int64 timeout = 4;</code> 13518 */ 13519 public Builder clearTimeout() { 13520 13521 timeout_ = 0L; 13522 onChanged(); 13523 return this; 13524 } 13525 public final Builder setUnknownFields( 13526 final com.google.protobuf.UnknownFieldSet unknownFields) { 13527 return super.setUnknownFieldsProto3(unknownFields); 13528 } 13529 13530 public final Builder mergeUnknownFields( 13531 final com.google.protobuf.UnknownFieldSet unknownFields) { 13532 return super.mergeUnknownFields(unknownFields); 13533 } 13534 13535 13536 // @@protoc_insertion_point(builder_scope:hapi.services.tiller.UninstallReleaseRequest) 13537 } 13538 13539 // @@protoc_insertion_point(class_scope:hapi.services.tiller.UninstallReleaseRequest) 13540 private static final hapi.services.tiller.Tiller.UninstallReleaseRequest DEFAULT_INSTANCE; 13541 static { 13542 DEFAULT_INSTANCE = new hapi.services.tiller.Tiller.UninstallReleaseRequest(); 13543 } 13544 13545 public static hapi.services.tiller.Tiller.UninstallReleaseRequest getDefaultInstance() { 13546 return DEFAULT_INSTANCE; 13547 } 13548 13549 private static final com.google.protobuf.Parser<UninstallReleaseRequest> 13550 PARSER = new com.google.protobuf.AbstractParser<UninstallReleaseRequest>() { 13551 public UninstallReleaseRequest parsePartialFrom( 13552 com.google.protobuf.CodedInputStream input, 13553 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13554 throws com.google.protobuf.InvalidProtocolBufferException { 13555 return new UninstallReleaseRequest(input, extensionRegistry); 13556 } 13557 }; 13558 13559 public static com.google.protobuf.Parser<UninstallReleaseRequest> parser() { 13560 return PARSER; 13561 } 13562 13563 @java.lang.Override 13564 public com.google.protobuf.Parser<UninstallReleaseRequest> getParserForType() { 13565 return PARSER; 13566 } 13567 13568 public hapi.services.tiller.Tiller.UninstallReleaseRequest getDefaultInstanceForType() { 13569 return DEFAULT_INSTANCE; 13570 } 13571 13572 } 13573 13574 public interface UninstallReleaseResponseOrBuilder extends 13575 // @@protoc_insertion_point(interface_extends:hapi.services.tiller.UninstallReleaseResponse) 13576 com.google.protobuf.MessageOrBuilder { 13577 13578 /** 13579 * <pre> 13580 * Release is the release that was marked deleted. 13581 * </pre> 13582 * 13583 * <code>.hapi.release.Release release = 1;</code> 13584 */ 13585 boolean hasRelease(); 13586 /** 13587 * <pre> 13588 * Release is the release that was marked deleted. 13589 * </pre> 13590 * 13591 * <code>.hapi.release.Release release = 1;</code> 13592 */ 13593 hapi.release.ReleaseOuterClass.Release getRelease(); 13594 /** 13595 * <pre> 13596 * Release is the release that was marked deleted. 13597 * </pre> 13598 * 13599 * <code>.hapi.release.Release release = 1;</code> 13600 */ 13601 hapi.release.ReleaseOuterClass.ReleaseOrBuilder getReleaseOrBuilder(); 13602 13603 /** 13604 * <pre> 13605 * Info is an uninstall message 13606 * </pre> 13607 * 13608 * <code>string info = 2;</code> 13609 */ 13610 java.lang.String getInfo(); 13611 /** 13612 * <pre> 13613 * Info is an uninstall message 13614 * </pre> 13615 * 13616 * <code>string info = 2;</code> 13617 */ 13618 com.google.protobuf.ByteString 13619 getInfoBytes(); 13620 } 13621 /** 13622 * <pre> 13623 * UninstallReleaseResponse represents a successful response to an uninstall request. 13624 * </pre> 13625 * 13626 * Protobuf type {@code hapi.services.tiller.UninstallReleaseResponse} 13627 */ 13628 public static final class UninstallReleaseResponse extends 13629 com.google.protobuf.GeneratedMessageV3 implements 13630 // @@protoc_insertion_point(message_implements:hapi.services.tiller.UninstallReleaseResponse) 13631 UninstallReleaseResponseOrBuilder { 13632 private static final long serialVersionUID = 0L; 13633 // Use UninstallReleaseResponse.newBuilder() to construct. 13634 private UninstallReleaseResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 13635 super(builder); 13636 } 13637 private UninstallReleaseResponse() { 13638 info_ = ""; 13639 } 13640 13641 @java.lang.Override 13642 public final com.google.protobuf.UnknownFieldSet 13643 getUnknownFields() { 13644 return this.unknownFields; 13645 } 13646 private UninstallReleaseResponse( 13647 com.google.protobuf.CodedInputStream input, 13648 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13649 throws com.google.protobuf.InvalidProtocolBufferException { 13650 this(); 13651 if (extensionRegistry == null) { 13652 throw new java.lang.NullPointerException(); 13653 } 13654 int mutable_bitField0_ = 0; 13655 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 13656 com.google.protobuf.UnknownFieldSet.newBuilder(); 13657 try { 13658 boolean done = false; 13659 while (!done) { 13660 int tag = input.readTag(); 13661 switch (tag) { 13662 case 0: 13663 done = true; 13664 break; 13665 default: { 13666 if (!parseUnknownFieldProto3( 13667 input, unknownFields, extensionRegistry, tag)) { 13668 done = true; 13669 } 13670 break; 13671 } 13672 case 10: { 13673 hapi.release.ReleaseOuterClass.Release.Builder subBuilder = null; 13674 if (release_ != null) { 13675 subBuilder = release_.toBuilder(); 13676 } 13677 release_ = input.readMessage(hapi.release.ReleaseOuterClass.Release.parser(), extensionRegistry); 13678 if (subBuilder != null) { 13679 subBuilder.mergeFrom(release_); 13680 release_ = subBuilder.buildPartial(); 13681 } 13682 13683 break; 13684 } 13685 case 18: { 13686 java.lang.String s = input.readStringRequireUtf8(); 13687 13688 info_ = s; 13689 break; 13690 } 13691 } 13692 } 13693 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 13694 throw e.setUnfinishedMessage(this); 13695 } catch (java.io.IOException e) { 13696 throw new com.google.protobuf.InvalidProtocolBufferException( 13697 e).setUnfinishedMessage(this); 13698 } finally { 13699 this.unknownFields = unknownFields.build(); 13700 makeExtensionsImmutable(); 13701 } 13702 } 13703 public static final com.google.protobuf.Descriptors.Descriptor 13704 getDescriptor() { 13705 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_UninstallReleaseResponse_descriptor; 13706 } 13707 13708 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 13709 internalGetFieldAccessorTable() { 13710 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_UninstallReleaseResponse_fieldAccessorTable 13711 .ensureFieldAccessorsInitialized( 13712 hapi.services.tiller.Tiller.UninstallReleaseResponse.class, hapi.services.tiller.Tiller.UninstallReleaseResponse.Builder.class); 13713 } 13714 13715 public static final int RELEASE_FIELD_NUMBER = 1; 13716 private hapi.release.ReleaseOuterClass.Release release_; 13717 /** 13718 * <pre> 13719 * Release is the release that was marked deleted. 13720 * </pre> 13721 * 13722 * <code>.hapi.release.Release release = 1;</code> 13723 */ 13724 public boolean hasRelease() { 13725 return release_ != null; 13726 } 13727 /** 13728 * <pre> 13729 * Release is the release that was marked deleted. 13730 * </pre> 13731 * 13732 * <code>.hapi.release.Release release = 1;</code> 13733 */ 13734 public hapi.release.ReleaseOuterClass.Release getRelease() { 13735 return release_ == null ? hapi.release.ReleaseOuterClass.Release.getDefaultInstance() : release_; 13736 } 13737 /** 13738 * <pre> 13739 * Release is the release that was marked deleted. 13740 * </pre> 13741 * 13742 * <code>.hapi.release.Release release = 1;</code> 13743 */ 13744 public hapi.release.ReleaseOuterClass.ReleaseOrBuilder getReleaseOrBuilder() { 13745 return getRelease(); 13746 } 13747 13748 public static final int INFO_FIELD_NUMBER = 2; 13749 private volatile java.lang.Object info_; 13750 /** 13751 * <pre> 13752 * Info is an uninstall message 13753 * </pre> 13754 * 13755 * <code>string info = 2;</code> 13756 */ 13757 public java.lang.String getInfo() { 13758 java.lang.Object ref = info_; 13759 if (ref instanceof java.lang.String) { 13760 return (java.lang.String) ref; 13761 } else { 13762 com.google.protobuf.ByteString bs = 13763 (com.google.protobuf.ByteString) ref; 13764 java.lang.String s = bs.toStringUtf8(); 13765 info_ = s; 13766 return s; 13767 } 13768 } 13769 /** 13770 * <pre> 13771 * Info is an uninstall message 13772 * </pre> 13773 * 13774 * <code>string info = 2;</code> 13775 */ 13776 public com.google.protobuf.ByteString 13777 getInfoBytes() { 13778 java.lang.Object ref = info_; 13779 if (ref instanceof java.lang.String) { 13780 com.google.protobuf.ByteString b = 13781 com.google.protobuf.ByteString.copyFromUtf8( 13782 (java.lang.String) ref); 13783 info_ = b; 13784 return b; 13785 } else { 13786 return (com.google.protobuf.ByteString) ref; 13787 } 13788 } 13789 13790 private byte memoizedIsInitialized = -1; 13791 public final boolean isInitialized() { 13792 byte isInitialized = memoizedIsInitialized; 13793 if (isInitialized == 1) return true; 13794 if (isInitialized == 0) return false; 13795 13796 memoizedIsInitialized = 1; 13797 return true; 13798 } 13799 13800 public void writeTo(com.google.protobuf.CodedOutputStream output) 13801 throws java.io.IOException { 13802 if (release_ != null) { 13803 output.writeMessage(1, getRelease()); 13804 } 13805 if (!getInfoBytes().isEmpty()) { 13806 com.google.protobuf.GeneratedMessageV3.writeString(output, 2, info_); 13807 } 13808 unknownFields.writeTo(output); 13809 } 13810 13811 public int getSerializedSize() { 13812 int size = memoizedSize; 13813 if (size != -1) return size; 13814 13815 size = 0; 13816 if (release_ != null) { 13817 size += com.google.protobuf.CodedOutputStream 13818 .computeMessageSize(1, getRelease()); 13819 } 13820 if (!getInfoBytes().isEmpty()) { 13821 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, info_); 13822 } 13823 size += unknownFields.getSerializedSize(); 13824 memoizedSize = size; 13825 return size; 13826 } 13827 13828 @java.lang.Override 13829 public boolean equals(final java.lang.Object obj) { 13830 if (obj == this) { 13831 return true; 13832 } 13833 if (!(obj instanceof hapi.services.tiller.Tiller.UninstallReleaseResponse)) { 13834 return super.equals(obj); 13835 } 13836 hapi.services.tiller.Tiller.UninstallReleaseResponse other = (hapi.services.tiller.Tiller.UninstallReleaseResponse) obj; 13837 13838 boolean result = true; 13839 result = result && (hasRelease() == other.hasRelease()); 13840 if (hasRelease()) { 13841 result = result && getRelease() 13842 .equals(other.getRelease()); 13843 } 13844 result = result && getInfo() 13845 .equals(other.getInfo()); 13846 result = result && unknownFields.equals(other.unknownFields); 13847 return result; 13848 } 13849 13850 @java.lang.Override 13851 public int hashCode() { 13852 if (memoizedHashCode != 0) { 13853 return memoizedHashCode; 13854 } 13855 int hash = 41; 13856 hash = (19 * hash) + getDescriptor().hashCode(); 13857 if (hasRelease()) { 13858 hash = (37 * hash) + RELEASE_FIELD_NUMBER; 13859 hash = (53 * hash) + getRelease().hashCode(); 13860 } 13861 hash = (37 * hash) + INFO_FIELD_NUMBER; 13862 hash = (53 * hash) + getInfo().hashCode(); 13863 hash = (29 * hash) + unknownFields.hashCode(); 13864 memoizedHashCode = hash; 13865 return hash; 13866 } 13867 13868 public static hapi.services.tiller.Tiller.UninstallReleaseResponse parseFrom( 13869 java.nio.ByteBuffer data) 13870 throws com.google.protobuf.InvalidProtocolBufferException { 13871 return PARSER.parseFrom(data); 13872 } 13873 public static hapi.services.tiller.Tiller.UninstallReleaseResponse parseFrom( 13874 java.nio.ByteBuffer data, 13875 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13876 throws com.google.protobuf.InvalidProtocolBufferException { 13877 return PARSER.parseFrom(data, extensionRegistry); 13878 } 13879 public static hapi.services.tiller.Tiller.UninstallReleaseResponse parseFrom( 13880 com.google.protobuf.ByteString data) 13881 throws com.google.protobuf.InvalidProtocolBufferException { 13882 return PARSER.parseFrom(data); 13883 } 13884 public static hapi.services.tiller.Tiller.UninstallReleaseResponse parseFrom( 13885 com.google.protobuf.ByteString data, 13886 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13887 throws com.google.protobuf.InvalidProtocolBufferException { 13888 return PARSER.parseFrom(data, extensionRegistry); 13889 } 13890 public static hapi.services.tiller.Tiller.UninstallReleaseResponse parseFrom(byte[] data) 13891 throws com.google.protobuf.InvalidProtocolBufferException { 13892 return PARSER.parseFrom(data); 13893 } 13894 public static hapi.services.tiller.Tiller.UninstallReleaseResponse parseFrom( 13895 byte[] data, 13896 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13897 throws com.google.protobuf.InvalidProtocolBufferException { 13898 return PARSER.parseFrom(data, extensionRegistry); 13899 } 13900 public static hapi.services.tiller.Tiller.UninstallReleaseResponse parseFrom(java.io.InputStream input) 13901 throws java.io.IOException { 13902 return com.google.protobuf.GeneratedMessageV3 13903 .parseWithIOException(PARSER, input); 13904 } 13905 public static hapi.services.tiller.Tiller.UninstallReleaseResponse parseFrom( 13906 java.io.InputStream input, 13907 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13908 throws java.io.IOException { 13909 return com.google.protobuf.GeneratedMessageV3 13910 .parseWithIOException(PARSER, input, extensionRegistry); 13911 } 13912 public static hapi.services.tiller.Tiller.UninstallReleaseResponse parseDelimitedFrom(java.io.InputStream input) 13913 throws java.io.IOException { 13914 return com.google.protobuf.GeneratedMessageV3 13915 .parseDelimitedWithIOException(PARSER, input); 13916 } 13917 public static hapi.services.tiller.Tiller.UninstallReleaseResponse parseDelimitedFrom( 13918 java.io.InputStream input, 13919 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13920 throws java.io.IOException { 13921 return com.google.protobuf.GeneratedMessageV3 13922 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 13923 } 13924 public static hapi.services.tiller.Tiller.UninstallReleaseResponse parseFrom( 13925 com.google.protobuf.CodedInputStream input) 13926 throws java.io.IOException { 13927 return com.google.protobuf.GeneratedMessageV3 13928 .parseWithIOException(PARSER, input); 13929 } 13930 public static hapi.services.tiller.Tiller.UninstallReleaseResponse parseFrom( 13931 com.google.protobuf.CodedInputStream input, 13932 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13933 throws java.io.IOException { 13934 return com.google.protobuf.GeneratedMessageV3 13935 .parseWithIOException(PARSER, input, extensionRegistry); 13936 } 13937 13938 public Builder newBuilderForType() { return newBuilder(); } 13939 public static Builder newBuilder() { 13940 return DEFAULT_INSTANCE.toBuilder(); 13941 } 13942 public static Builder newBuilder(hapi.services.tiller.Tiller.UninstallReleaseResponse prototype) { 13943 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 13944 } 13945 public Builder toBuilder() { 13946 return this == DEFAULT_INSTANCE 13947 ? new Builder() : new Builder().mergeFrom(this); 13948 } 13949 13950 @java.lang.Override 13951 protected Builder newBuilderForType( 13952 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 13953 Builder builder = new Builder(parent); 13954 return builder; 13955 } 13956 /** 13957 * <pre> 13958 * UninstallReleaseResponse represents a successful response to an uninstall request. 13959 * </pre> 13960 * 13961 * Protobuf type {@code hapi.services.tiller.UninstallReleaseResponse} 13962 */ 13963 public static final class Builder extends 13964 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 13965 // @@protoc_insertion_point(builder_implements:hapi.services.tiller.UninstallReleaseResponse) 13966 hapi.services.tiller.Tiller.UninstallReleaseResponseOrBuilder { 13967 public static final com.google.protobuf.Descriptors.Descriptor 13968 getDescriptor() { 13969 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_UninstallReleaseResponse_descriptor; 13970 } 13971 13972 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 13973 internalGetFieldAccessorTable() { 13974 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_UninstallReleaseResponse_fieldAccessorTable 13975 .ensureFieldAccessorsInitialized( 13976 hapi.services.tiller.Tiller.UninstallReleaseResponse.class, hapi.services.tiller.Tiller.UninstallReleaseResponse.Builder.class); 13977 } 13978 13979 // Construct using hapi.services.tiller.Tiller.UninstallReleaseResponse.newBuilder() 13980 private Builder() { 13981 maybeForceBuilderInitialization(); 13982 } 13983 13984 private Builder( 13985 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 13986 super(parent); 13987 maybeForceBuilderInitialization(); 13988 } 13989 private void maybeForceBuilderInitialization() { 13990 if (com.google.protobuf.GeneratedMessageV3 13991 .alwaysUseFieldBuilders) { 13992 } 13993 } 13994 public Builder clear() { 13995 super.clear(); 13996 if (releaseBuilder_ == null) { 13997 release_ = null; 13998 } else { 13999 release_ = null; 14000 releaseBuilder_ = null; 14001 } 14002 info_ = ""; 14003 14004 return this; 14005 } 14006 14007 public com.google.protobuf.Descriptors.Descriptor 14008 getDescriptorForType() { 14009 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_UninstallReleaseResponse_descriptor; 14010 } 14011 14012 public hapi.services.tiller.Tiller.UninstallReleaseResponse getDefaultInstanceForType() { 14013 return hapi.services.tiller.Tiller.UninstallReleaseResponse.getDefaultInstance(); 14014 } 14015 14016 public hapi.services.tiller.Tiller.UninstallReleaseResponse build() { 14017 hapi.services.tiller.Tiller.UninstallReleaseResponse result = buildPartial(); 14018 if (!result.isInitialized()) { 14019 throw newUninitializedMessageException(result); 14020 } 14021 return result; 14022 } 14023 14024 public hapi.services.tiller.Tiller.UninstallReleaseResponse buildPartial() { 14025 hapi.services.tiller.Tiller.UninstallReleaseResponse result = new hapi.services.tiller.Tiller.UninstallReleaseResponse(this); 14026 if (releaseBuilder_ == null) { 14027 result.release_ = release_; 14028 } else { 14029 result.release_ = releaseBuilder_.build(); 14030 } 14031 result.info_ = info_; 14032 onBuilt(); 14033 return result; 14034 } 14035 14036 public Builder clone() { 14037 return (Builder) super.clone(); 14038 } 14039 public Builder setField( 14040 com.google.protobuf.Descriptors.FieldDescriptor field, 14041 java.lang.Object value) { 14042 return (Builder) super.setField(field, value); 14043 } 14044 public Builder clearField( 14045 com.google.protobuf.Descriptors.FieldDescriptor field) { 14046 return (Builder) super.clearField(field); 14047 } 14048 public Builder clearOneof( 14049 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 14050 return (Builder) super.clearOneof(oneof); 14051 } 14052 public Builder setRepeatedField( 14053 com.google.protobuf.Descriptors.FieldDescriptor field, 14054 int index, java.lang.Object value) { 14055 return (Builder) super.setRepeatedField(field, index, value); 14056 } 14057 public Builder addRepeatedField( 14058 com.google.protobuf.Descriptors.FieldDescriptor field, 14059 java.lang.Object value) { 14060 return (Builder) super.addRepeatedField(field, value); 14061 } 14062 public Builder mergeFrom(com.google.protobuf.Message other) { 14063 if (other instanceof hapi.services.tiller.Tiller.UninstallReleaseResponse) { 14064 return mergeFrom((hapi.services.tiller.Tiller.UninstallReleaseResponse)other); 14065 } else { 14066 super.mergeFrom(other); 14067 return this; 14068 } 14069 } 14070 14071 public Builder mergeFrom(hapi.services.tiller.Tiller.UninstallReleaseResponse other) { 14072 if (other == hapi.services.tiller.Tiller.UninstallReleaseResponse.getDefaultInstance()) return this; 14073 if (other.hasRelease()) { 14074 mergeRelease(other.getRelease()); 14075 } 14076 if (!other.getInfo().isEmpty()) { 14077 info_ = other.info_; 14078 onChanged(); 14079 } 14080 this.mergeUnknownFields(other.unknownFields); 14081 onChanged(); 14082 return this; 14083 } 14084 14085 public final boolean isInitialized() { 14086 return true; 14087 } 14088 14089 public Builder mergeFrom( 14090 com.google.protobuf.CodedInputStream input, 14091 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 14092 throws java.io.IOException { 14093 hapi.services.tiller.Tiller.UninstallReleaseResponse parsedMessage = null; 14094 try { 14095 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 14096 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 14097 parsedMessage = (hapi.services.tiller.Tiller.UninstallReleaseResponse) e.getUnfinishedMessage(); 14098 throw e.unwrapIOException(); 14099 } finally { 14100 if (parsedMessage != null) { 14101 mergeFrom(parsedMessage); 14102 } 14103 } 14104 return this; 14105 } 14106 14107 private hapi.release.ReleaseOuterClass.Release release_ = null; 14108 private com.google.protobuf.SingleFieldBuilderV3< 14109 hapi.release.ReleaseOuterClass.Release, hapi.release.ReleaseOuterClass.Release.Builder, hapi.release.ReleaseOuterClass.ReleaseOrBuilder> releaseBuilder_; 14110 /** 14111 * <pre> 14112 * Release is the release that was marked deleted. 14113 * </pre> 14114 * 14115 * <code>.hapi.release.Release release = 1;</code> 14116 */ 14117 public boolean hasRelease() { 14118 return releaseBuilder_ != null || release_ != null; 14119 } 14120 /** 14121 * <pre> 14122 * Release is the release that was marked deleted. 14123 * </pre> 14124 * 14125 * <code>.hapi.release.Release release = 1;</code> 14126 */ 14127 public hapi.release.ReleaseOuterClass.Release getRelease() { 14128 if (releaseBuilder_ == null) { 14129 return release_ == null ? hapi.release.ReleaseOuterClass.Release.getDefaultInstance() : release_; 14130 } else { 14131 return releaseBuilder_.getMessage(); 14132 } 14133 } 14134 /** 14135 * <pre> 14136 * Release is the release that was marked deleted. 14137 * </pre> 14138 * 14139 * <code>.hapi.release.Release release = 1;</code> 14140 */ 14141 public Builder setRelease(hapi.release.ReleaseOuterClass.Release value) { 14142 if (releaseBuilder_ == null) { 14143 if (value == null) { 14144 throw new NullPointerException(); 14145 } 14146 release_ = value; 14147 onChanged(); 14148 } else { 14149 releaseBuilder_.setMessage(value); 14150 } 14151 14152 return this; 14153 } 14154 /** 14155 * <pre> 14156 * Release is the release that was marked deleted. 14157 * </pre> 14158 * 14159 * <code>.hapi.release.Release release = 1;</code> 14160 */ 14161 public Builder setRelease( 14162 hapi.release.ReleaseOuterClass.Release.Builder builderForValue) { 14163 if (releaseBuilder_ == null) { 14164 release_ = builderForValue.build(); 14165 onChanged(); 14166 } else { 14167 releaseBuilder_.setMessage(builderForValue.build()); 14168 } 14169 14170 return this; 14171 } 14172 /** 14173 * <pre> 14174 * Release is the release that was marked deleted. 14175 * </pre> 14176 * 14177 * <code>.hapi.release.Release release = 1;</code> 14178 */ 14179 public Builder mergeRelease(hapi.release.ReleaseOuterClass.Release value) { 14180 if (releaseBuilder_ == null) { 14181 if (release_ != null) { 14182 release_ = 14183 hapi.release.ReleaseOuterClass.Release.newBuilder(release_).mergeFrom(value).buildPartial(); 14184 } else { 14185 release_ = value; 14186 } 14187 onChanged(); 14188 } else { 14189 releaseBuilder_.mergeFrom(value); 14190 } 14191 14192 return this; 14193 } 14194 /** 14195 * <pre> 14196 * Release is the release that was marked deleted. 14197 * </pre> 14198 * 14199 * <code>.hapi.release.Release release = 1;</code> 14200 */ 14201 public Builder clearRelease() { 14202 if (releaseBuilder_ == null) { 14203 release_ = null; 14204 onChanged(); 14205 } else { 14206 release_ = null; 14207 releaseBuilder_ = null; 14208 } 14209 14210 return this; 14211 } 14212 /** 14213 * <pre> 14214 * Release is the release that was marked deleted. 14215 * </pre> 14216 * 14217 * <code>.hapi.release.Release release = 1;</code> 14218 */ 14219 public hapi.release.ReleaseOuterClass.Release.Builder getReleaseBuilder() { 14220 14221 onChanged(); 14222 return getReleaseFieldBuilder().getBuilder(); 14223 } 14224 /** 14225 * <pre> 14226 * Release is the release that was marked deleted. 14227 * </pre> 14228 * 14229 * <code>.hapi.release.Release release = 1;</code> 14230 */ 14231 public hapi.release.ReleaseOuterClass.ReleaseOrBuilder getReleaseOrBuilder() { 14232 if (releaseBuilder_ != null) { 14233 return releaseBuilder_.getMessageOrBuilder(); 14234 } else { 14235 return release_ == null ? 14236 hapi.release.ReleaseOuterClass.Release.getDefaultInstance() : release_; 14237 } 14238 } 14239 /** 14240 * <pre> 14241 * Release is the release that was marked deleted. 14242 * </pre> 14243 * 14244 * <code>.hapi.release.Release release = 1;</code> 14245 */ 14246 private com.google.protobuf.SingleFieldBuilderV3< 14247 hapi.release.ReleaseOuterClass.Release, hapi.release.ReleaseOuterClass.Release.Builder, hapi.release.ReleaseOuterClass.ReleaseOrBuilder> 14248 getReleaseFieldBuilder() { 14249 if (releaseBuilder_ == null) { 14250 releaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< 14251 hapi.release.ReleaseOuterClass.Release, hapi.release.ReleaseOuterClass.Release.Builder, hapi.release.ReleaseOuterClass.ReleaseOrBuilder>( 14252 getRelease(), 14253 getParentForChildren(), 14254 isClean()); 14255 release_ = null; 14256 } 14257 return releaseBuilder_; 14258 } 14259 14260 private java.lang.Object info_ = ""; 14261 /** 14262 * <pre> 14263 * Info is an uninstall message 14264 * </pre> 14265 * 14266 * <code>string info = 2;</code> 14267 */ 14268 public java.lang.String getInfo() { 14269 java.lang.Object ref = info_; 14270 if (!(ref instanceof java.lang.String)) { 14271 com.google.protobuf.ByteString bs = 14272 (com.google.protobuf.ByteString) ref; 14273 java.lang.String s = bs.toStringUtf8(); 14274 info_ = s; 14275 return s; 14276 } else { 14277 return (java.lang.String) ref; 14278 } 14279 } 14280 /** 14281 * <pre> 14282 * Info is an uninstall message 14283 * </pre> 14284 * 14285 * <code>string info = 2;</code> 14286 */ 14287 public com.google.protobuf.ByteString 14288 getInfoBytes() { 14289 java.lang.Object ref = info_; 14290 if (ref instanceof String) { 14291 com.google.protobuf.ByteString b = 14292 com.google.protobuf.ByteString.copyFromUtf8( 14293 (java.lang.String) ref); 14294 info_ = b; 14295 return b; 14296 } else { 14297 return (com.google.protobuf.ByteString) ref; 14298 } 14299 } 14300 /** 14301 * <pre> 14302 * Info is an uninstall message 14303 * </pre> 14304 * 14305 * <code>string info = 2;</code> 14306 */ 14307 public Builder setInfo( 14308 java.lang.String value) { 14309 if (value == null) { 14310 throw new NullPointerException(); 14311 } 14312 14313 info_ = value; 14314 onChanged(); 14315 return this; 14316 } 14317 /** 14318 * <pre> 14319 * Info is an uninstall message 14320 * </pre> 14321 * 14322 * <code>string info = 2;</code> 14323 */ 14324 public Builder clearInfo() { 14325 14326 info_ = getDefaultInstance().getInfo(); 14327 onChanged(); 14328 return this; 14329 } 14330 /** 14331 * <pre> 14332 * Info is an uninstall message 14333 * </pre> 14334 * 14335 * <code>string info = 2;</code> 14336 */ 14337 public Builder setInfoBytes( 14338 com.google.protobuf.ByteString value) { 14339 if (value == null) { 14340 throw new NullPointerException(); 14341 } 14342 checkByteStringIsUtf8(value); 14343 14344 info_ = value; 14345 onChanged(); 14346 return this; 14347 } 14348 public final Builder setUnknownFields( 14349 final com.google.protobuf.UnknownFieldSet unknownFields) { 14350 return super.setUnknownFieldsProto3(unknownFields); 14351 } 14352 14353 public final Builder mergeUnknownFields( 14354 final com.google.protobuf.UnknownFieldSet unknownFields) { 14355 return super.mergeUnknownFields(unknownFields); 14356 } 14357 14358 14359 // @@protoc_insertion_point(builder_scope:hapi.services.tiller.UninstallReleaseResponse) 14360 } 14361 14362 // @@protoc_insertion_point(class_scope:hapi.services.tiller.UninstallReleaseResponse) 14363 private static final hapi.services.tiller.Tiller.UninstallReleaseResponse DEFAULT_INSTANCE; 14364 static { 14365 DEFAULT_INSTANCE = new hapi.services.tiller.Tiller.UninstallReleaseResponse(); 14366 } 14367 14368 public static hapi.services.tiller.Tiller.UninstallReleaseResponse getDefaultInstance() { 14369 return DEFAULT_INSTANCE; 14370 } 14371 14372 private static final com.google.protobuf.Parser<UninstallReleaseResponse> 14373 PARSER = new com.google.protobuf.AbstractParser<UninstallReleaseResponse>() { 14374 public UninstallReleaseResponse parsePartialFrom( 14375 com.google.protobuf.CodedInputStream input, 14376 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 14377 throws com.google.protobuf.InvalidProtocolBufferException { 14378 return new UninstallReleaseResponse(input, extensionRegistry); 14379 } 14380 }; 14381 14382 public static com.google.protobuf.Parser<UninstallReleaseResponse> parser() { 14383 return PARSER; 14384 } 14385 14386 @java.lang.Override 14387 public com.google.protobuf.Parser<UninstallReleaseResponse> getParserForType() { 14388 return PARSER; 14389 } 14390 14391 public hapi.services.tiller.Tiller.UninstallReleaseResponse getDefaultInstanceForType() { 14392 return DEFAULT_INSTANCE; 14393 } 14394 14395 } 14396 14397 public interface GetVersionRequestOrBuilder extends 14398 // @@protoc_insertion_point(interface_extends:hapi.services.tiller.GetVersionRequest) 14399 com.google.protobuf.MessageOrBuilder { 14400 } 14401 /** 14402 * <pre> 14403 * GetVersionRequest requests for version information. 14404 * </pre> 14405 * 14406 * Protobuf type {@code hapi.services.tiller.GetVersionRequest} 14407 */ 14408 public static final class GetVersionRequest extends 14409 com.google.protobuf.GeneratedMessageV3 implements 14410 // @@protoc_insertion_point(message_implements:hapi.services.tiller.GetVersionRequest) 14411 GetVersionRequestOrBuilder { 14412 private static final long serialVersionUID = 0L; 14413 // Use GetVersionRequest.newBuilder() to construct. 14414 private GetVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 14415 super(builder); 14416 } 14417 private GetVersionRequest() { 14418 } 14419 14420 @java.lang.Override 14421 public final com.google.protobuf.UnknownFieldSet 14422 getUnknownFields() { 14423 return this.unknownFields; 14424 } 14425 private GetVersionRequest( 14426 com.google.protobuf.CodedInputStream input, 14427 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 14428 throws com.google.protobuf.InvalidProtocolBufferException { 14429 this(); 14430 if (extensionRegistry == null) { 14431 throw new java.lang.NullPointerException(); 14432 } 14433 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 14434 com.google.protobuf.UnknownFieldSet.newBuilder(); 14435 try { 14436 boolean done = false; 14437 while (!done) { 14438 int tag = input.readTag(); 14439 switch (tag) { 14440 case 0: 14441 done = true; 14442 break; 14443 default: { 14444 if (!parseUnknownFieldProto3( 14445 input, unknownFields, extensionRegistry, tag)) { 14446 done = true; 14447 } 14448 break; 14449 } 14450 } 14451 } 14452 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 14453 throw e.setUnfinishedMessage(this); 14454 } catch (java.io.IOException e) { 14455 throw new com.google.protobuf.InvalidProtocolBufferException( 14456 e).setUnfinishedMessage(this); 14457 } finally { 14458 this.unknownFields = unknownFields.build(); 14459 makeExtensionsImmutable(); 14460 } 14461 } 14462 public static final com.google.protobuf.Descriptors.Descriptor 14463 getDescriptor() { 14464 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetVersionRequest_descriptor; 14465 } 14466 14467 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 14468 internalGetFieldAccessorTable() { 14469 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetVersionRequest_fieldAccessorTable 14470 .ensureFieldAccessorsInitialized( 14471 hapi.services.tiller.Tiller.GetVersionRequest.class, hapi.services.tiller.Tiller.GetVersionRequest.Builder.class); 14472 } 14473 14474 private byte memoizedIsInitialized = -1; 14475 public final boolean isInitialized() { 14476 byte isInitialized = memoizedIsInitialized; 14477 if (isInitialized == 1) return true; 14478 if (isInitialized == 0) return false; 14479 14480 memoizedIsInitialized = 1; 14481 return true; 14482 } 14483 14484 public void writeTo(com.google.protobuf.CodedOutputStream output) 14485 throws java.io.IOException { 14486 unknownFields.writeTo(output); 14487 } 14488 14489 public int getSerializedSize() { 14490 int size = memoizedSize; 14491 if (size != -1) return size; 14492 14493 size = 0; 14494 size += unknownFields.getSerializedSize(); 14495 memoizedSize = size; 14496 return size; 14497 } 14498 14499 @java.lang.Override 14500 public boolean equals(final java.lang.Object obj) { 14501 if (obj == this) { 14502 return true; 14503 } 14504 if (!(obj instanceof hapi.services.tiller.Tiller.GetVersionRequest)) { 14505 return super.equals(obj); 14506 } 14507 hapi.services.tiller.Tiller.GetVersionRequest other = (hapi.services.tiller.Tiller.GetVersionRequest) obj; 14508 14509 boolean result = true; 14510 result = result && unknownFields.equals(other.unknownFields); 14511 return result; 14512 } 14513 14514 @java.lang.Override 14515 public int hashCode() { 14516 if (memoizedHashCode != 0) { 14517 return memoizedHashCode; 14518 } 14519 int hash = 41; 14520 hash = (19 * hash) + getDescriptor().hashCode(); 14521 hash = (29 * hash) + unknownFields.hashCode(); 14522 memoizedHashCode = hash; 14523 return hash; 14524 } 14525 14526 public static hapi.services.tiller.Tiller.GetVersionRequest parseFrom( 14527 java.nio.ByteBuffer data) 14528 throws com.google.protobuf.InvalidProtocolBufferException { 14529 return PARSER.parseFrom(data); 14530 } 14531 public static hapi.services.tiller.Tiller.GetVersionRequest parseFrom( 14532 java.nio.ByteBuffer data, 14533 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 14534 throws com.google.protobuf.InvalidProtocolBufferException { 14535 return PARSER.parseFrom(data, extensionRegistry); 14536 } 14537 public static hapi.services.tiller.Tiller.GetVersionRequest parseFrom( 14538 com.google.protobuf.ByteString data) 14539 throws com.google.protobuf.InvalidProtocolBufferException { 14540 return PARSER.parseFrom(data); 14541 } 14542 public static hapi.services.tiller.Tiller.GetVersionRequest parseFrom( 14543 com.google.protobuf.ByteString data, 14544 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 14545 throws com.google.protobuf.InvalidProtocolBufferException { 14546 return PARSER.parseFrom(data, extensionRegistry); 14547 } 14548 public static hapi.services.tiller.Tiller.GetVersionRequest parseFrom(byte[] data) 14549 throws com.google.protobuf.InvalidProtocolBufferException { 14550 return PARSER.parseFrom(data); 14551 } 14552 public static hapi.services.tiller.Tiller.GetVersionRequest parseFrom( 14553 byte[] data, 14554 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 14555 throws com.google.protobuf.InvalidProtocolBufferException { 14556 return PARSER.parseFrom(data, extensionRegistry); 14557 } 14558 public static hapi.services.tiller.Tiller.GetVersionRequest parseFrom(java.io.InputStream input) 14559 throws java.io.IOException { 14560 return com.google.protobuf.GeneratedMessageV3 14561 .parseWithIOException(PARSER, input); 14562 } 14563 public static hapi.services.tiller.Tiller.GetVersionRequest parseFrom( 14564 java.io.InputStream input, 14565 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 14566 throws java.io.IOException { 14567 return com.google.protobuf.GeneratedMessageV3 14568 .parseWithIOException(PARSER, input, extensionRegistry); 14569 } 14570 public static hapi.services.tiller.Tiller.GetVersionRequest parseDelimitedFrom(java.io.InputStream input) 14571 throws java.io.IOException { 14572 return com.google.protobuf.GeneratedMessageV3 14573 .parseDelimitedWithIOException(PARSER, input); 14574 } 14575 public static hapi.services.tiller.Tiller.GetVersionRequest parseDelimitedFrom( 14576 java.io.InputStream input, 14577 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 14578 throws java.io.IOException { 14579 return com.google.protobuf.GeneratedMessageV3 14580 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 14581 } 14582 public static hapi.services.tiller.Tiller.GetVersionRequest parseFrom( 14583 com.google.protobuf.CodedInputStream input) 14584 throws java.io.IOException { 14585 return com.google.protobuf.GeneratedMessageV3 14586 .parseWithIOException(PARSER, input); 14587 } 14588 public static hapi.services.tiller.Tiller.GetVersionRequest parseFrom( 14589 com.google.protobuf.CodedInputStream input, 14590 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 14591 throws java.io.IOException { 14592 return com.google.protobuf.GeneratedMessageV3 14593 .parseWithIOException(PARSER, input, extensionRegistry); 14594 } 14595 14596 public Builder newBuilderForType() { return newBuilder(); } 14597 public static Builder newBuilder() { 14598 return DEFAULT_INSTANCE.toBuilder(); 14599 } 14600 public static Builder newBuilder(hapi.services.tiller.Tiller.GetVersionRequest prototype) { 14601 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 14602 } 14603 public Builder toBuilder() { 14604 return this == DEFAULT_INSTANCE 14605 ? new Builder() : new Builder().mergeFrom(this); 14606 } 14607 14608 @java.lang.Override 14609 protected Builder newBuilderForType( 14610 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 14611 Builder builder = new Builder(parent); 14612 return builder; 14613 } 14614 /** 14615 * <pre> 14616 * GetVersionRequest requests for version information. 14617 * </pre> 14618 * 14619 * Protobuf type {@code hapi.services.tiller.GetVersionRequest} 14620 */ 14621 public static final class Builder extends 14622 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 14623 // @@protoc_insertion_point(builder_implements:hapi.services.tiller.GetVersionRequest) 14624 hapi.services.tiller.Tiller.GetVersionRequestOrBuilder { 14625 public static final com.google.protobuf.Descriptors.Descriptor 14626 getDescriptor() { 14627 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetVersionRequest_descriptor; 14628 } 14629 14630 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 14631 internalGetFieldAccessorTable() { 14632 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetVersionRequest_fieldAccessorTable 14633 .ensureFieldAccessorsInitialized( 14634 hapi.services.tiller.Tiller.GetVersionRequest.class, hapi.services.tiller.Tiller.GetVersionRequest.Builder.class); 14635 } 14636 14637 // Construct using hapi.services.tiller.Tiller.GetVersionRequest.newBuilder() 14638 private Builder() { 14639 maybeForceBuilderInitialization(); 14640 } 14641 14642 private Builder( 14643 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 14644 super(parent); 14645 maybeForceBuilderInitialization(); 14646 } 14647 private void maybeForceBuilderInitialization() { 14648 if (com.google.protobuf.GeneratedMessageV3 14649 .alwaysUseFieldBuilders) { 14650 } 14651 } 14652 public Builder clear() { 14653 super.clear(); 14654 return this; 14655 } 14656 14657 public com.google.protobuf.Descriptors.Descriptor 14658 getDescriptorForType() { 14659 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetVersionRequest_descriptor; 14660 } 14661 14662 public hapi.services.tiller.Tiller.GetVersionRequest getDefaultInstanceForType() { 14663 return hapi.services.tiller.Tiller.GetVersionRequest.getDefaultInstance(); 14664 } 14665 14666 public hapi.services.tiller.Tiller.GetVersionRequest build() { 14667 hapi.services.tiller.Tiller.GetVersionRequest result = buildPartial(); 14668 if (!result.isInitialized()) { 14669 throw newUninitializedMessageException(result); 14670 } 14671 return result; 14672 } 14673 14674 public hapi.services.tiller.Tiller.GetVersionRequest buildPartial() { 14675 hapi.services.tiller.Tiller.GetVersionRequest result = new hapi.services.tiller.Tiller.GetVersionRequest(this); 14676 onBuilt(); 14677 return result; 14678 } 14679 14680 public Builder clone() { 14681 return (Builder) super.clone(); 14682 } 14683 public Builder setField( 14684 com.google.protobuf.Descriptors.FieldDescriptor field, 14685 java.lang.Object value) { 14686 return (Builder) super.setField(field, value); 14687 } 14688 public Builder clearField( 14689 com.google.protobuf.Descriptors.FieldDescriptor field) { 14690 return (Builder) super.clearField(field); 14691 } 14692 public Builder clearOneof( 14693 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 14694 return (Builder) super.clearOneof(oneof); 14695 } 14696 public Builder setRepeatedField( 14697 com.google.protobuf.Descriptors.FieldDescriptor field, 14698 int index, java.lang.Object value) { 14699 return (Builder) super.setRepeatedField(field, index, value); 14700 } 14701 public Builder addRepeatedField( 14702 com.google.protobuf.Descriptors.FieldDescriptor field, 14703 java.lang.Object value) { 14704 return (Builder) super.addRepeatedField(field, value); 14705 } 14706 public Builder mergeFrom(com.google.protobuf.Message other) { 14707 if (other instanceof hapi.services.tiller.Tiller.GetVersionRequest) { 14708 return mergeFrom((hapi.services.tiller.Tiller.GetVersionRequest)other); 14709 } else { 14710 super.mergeFrom(other); 14711 return this; 14712 } 14713 } 14714 14715 public Builder mergeFrom(hapi.services.tiller.Tiller.GetVersionRequest other) { 14716 if (other == hapi.services.tiller.Tiller.GetVersionRequest.getDefaultInstance()) return this; 14717 this.mergeUnknownFields(other.unknownFields); 14718 onChanged(); 14719 return this; 14720 } 14721 14722 public final boolean isInitialized() { 14723 return true; 14724 } 14725 14726 public Builder mergeFrom( 14727 com.google.protobuf.CodedInputStream input, 14728 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 14729 throws java.io.IOException { 14730 hapi.services.tiller.Tiller.GetVersionRequest parsedMessage = null; 14731 try { 14732 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 14733 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 14734 parsedMessage = (hapi.services.tiller.Tiller.GetVersionRequest) e.getUnfinishedMessage(); 14735 throw e.unwrapIOException(); 14736 } finally { 14737 if (parsedMessage != null) { 14738 mergeFrom(parsedMessage); 14739 } 14740 } 14741 return this; 14742 } 14743 public final Builder setUnknownFields( 14744 final com.google.protobuf.UnknownFieldSet unknownFields) { 14745 return super.setUnknownFieldsProto3(unknownFields); 14746 } 14747 14748 public final Builder mergeUnknownFields( 14749 final com.google.protobuf.UnknownFieldSet unknownFields) { 14750 return super.mergeUnknownFields(unknownFields); 14751 } 14752 14753 14754 // @@protoc_insertion_point(builder_scope:hapi.services.tiller.GetVersionRequest) 14755 } 14756 14757 // @@protoc_insertion_point(class_scope:hapi.services.tiller.GetVersionRequest) 14758 private static final hapi.services.tiller.Tiller.GetVersionRequest DEFAULT_INSTANCE; 14759 static { 14760 DEFAULT_INSTANCE = new hapi.services.tiller.Tiller.GetVersionRequest(); 14761 } 14762 14763 public static hapi.services.tiller.Tiller.GetVersionRequest getDefaultInstance() { 14764 return DEFAULT_INSTANCE; 14765 } 14766 14767 private static final com.google.protobuf.Parser<GetVersionRequest> 14768 PARSER = new com.google.protobuf.AbstractParser<GetVersionRequest>() { 14769 public GetVersionRequest parsePartialFrom( 14770 com.google.protobuf.CodedInputStream input, 14771 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 14772 throws com.google.protobuf.InvalidProtocolBufferException { 14773 return new GetVersionRequest(input, extensionRegistry); 14774 } 14775 }; 14776 14777 public static com.google.protobuf.Parser<GetVersionRequest> parser() { 14778 return PARSER; 14779 } 14780 14781 @java.lang.Override 14782 public com.google.protobuf.Parser<GetVersionRequest> getParserForType() { 14783 return PARSER; 14784 } 14785 14786 public hapi.services.tiller.Tiller.GetVersionRequest getDefaultInstanceForType() { 14787 return DEFAULT_INSTANCE; 14788 } 14789 14790 } 14791 14792 public interface GetVersionResponseOrBuilder extends 14793 // @@protoc_insertion_point(interface_extends:hapi.services.tiller.GetVersionResponse) 14794 com.google.protobuf.MessageOrBuilder { 14795 14796 /** 14797 * <code>.hapi.version.Version Version = 1;</code> 14798 */ 14799 boolean hasVersion(); 14800 /** 14801 * <code>.hapi.version.Version Version = 1;</code> 14802 */ 14803 hapi.version.VersionOuterClass.Version getVersion(); 14804 /** 14805 * <code>.hapi.version.Version Version = 1;</code> 14806 */ 14807 hapi.version.VersionOuterClass.VersionOrBuilder getVersionOrBuilder(); 14808 } 14809 /** 14810 * Protobuf type {@code hapi.services.tiller.GetVersionResponse} 14811 */ 14812 public static final class GetVersionResponse extends 14813 com.google.protobuf.GeneratedMessageV3 implements 14814 // @@protoc_insertion_point(message_implements:hapi.services.tiller.GetVersionResponse) 14815 GetVersionResponseOrBuilder { 14816 private static final long serialVersionUID = 0L; 14817 // Use GetVersionResponse.newBuilder() to construct. 14818 private GetVersionResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 14819 super(builder); 14820 } 14821 private GetVersionResponse() { 14822 } 14823 14824 @java.lang.Override 14825 public final com.google.protobuf.UnknownFieldSet 14826 getUnknownFields() { 14827 return this.unknownFields; 14828 } 14829 private GetVersionResponse( 14830 com.google.protobuf.CodedInputStream input, 14831 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 14832 throws com.google.protobuf.InvalidProtocolBufferException { 14833 this(); 14834 if (extensionRegistry == null) { 14835 throw new java.lang.NullPointerException(); 14836 } 14837 int mutable_bitField0_ = 0; 14838 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 14839 com.google.protobuf.UnknownFieldSet.newBuilder(); 14840 try { 14841 boolean done = false; 14842 while (!done) { 14843 int tag = input.readTag(); 14844 switch (tag) { 14845 case 0: 14846 done = true; 14847 break; 14848 default: { 14849 if (!parseUnknownFieldProto3( 14850 input, unknownFields, extensionRegistry, tag)) { 14851 done = true; 14852 } 14853 break; 14854 } 14855 case 10: { 14856 hapi.version.VersionOuterClass.Version.Builder subBuilder = null; 14857 if (version_ != null) { 14858 subBuilder = version_.toBuilder(); 14859 } 14860 version_ = input.readMessage(hapi.version.VersionOuterClass.Version.parser(), extensionRegistry); 14861 if (subBuilder != null) { 14862 subBuilder.mergeFrom(version_); 14863 version_ = subBuilder.buildPartial(); 14864 } 14865 14866 break; 14867 } 14868 } 14869 } 14870 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 14871 throw e.setUnfinishedMessage(this); 14872 } catch (java.io.IOException e) { 14873 throw new com.google.protobuf.InvalidProtocolBufferException( 14874 e).setUnfinishedMessage(this); 14875 } finally { 14876 this.unknownFields = unknownFields.build(); 14877 makeExtensionsImmutable(); 14878 } 14879 } 14880 public static final com.google.protobuf.Descriptors.Descriptor 14881 getDescriptor() { 14882 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetVersionResponse_descriptor; 14883 } 14884 14885 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 14886 internalGetFieldAccessorTable() { 14887 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetVersionResponse_fieldAccessorTable 14888 .ensureFieldAccessorsInitialized( 14889 hapi.services.tiller.Tiller.GetVersionResponse.class, hapi.services.tiller.Tiller.GetVersionResponse.Builder.class); 14890 } 14891 14892 public static final int VERSION_FIELD_NUMBER = 1; 14893 private hapi.version.VersionOuterClass.Version version_; 14894 /** 14895 * <code>.hapi.version.Version Version = 1;</code> 14896 */ 14897 public boolean hasVersion() { 14898 return version_ != null; 14899 } 14900 /** 14901 * <code>.hapi.version.Version Version = 1;</code> 14902 */ 14903 public hapi.version.VersionOuterClass.Version getVersion() { 14904 return version_ == null ? hapi.version.VersionOuterClass.Version.getDefaultInstance() : version_; 14905 } 14906 /** 14907 * <code>.hapi.version.Version Version = 1;</code> 14908 */ 14909 public hapi.version.VersionOuterClass.VersionOrBuilder getVersionOrBuilder() { 14910 return getVersion(); 14911 } 14912 14913 private byte memoizedIsInitialized = -1; 14914 public final boolean isInitialized() { 14915 byte isInitialized = memoizedIsInitialized; 14916 if (isInitialized == 1) return true; 14917 if (isInitialized == 0) return false; 14918 14919 memoizedIsInitialized = 1; 14920 return true; 14921 } 14922 14923 public void writeTo(com.google.protobuf.CodedOutputStream output) 14924 throws java.io.IOException { 14925 if (version_ != null) { 14926 output.writeMessage(1, getVersion()); 14927 } 14928 unknownFields.writeTo(output); 14929 } 14930 14931 public int getSerializedSize() { 14932 int size = memoizedSize; 14933 if (size != -1) return size; 14934 14935 size = 0; 14936 if (version_ != null) { 14937 size += com.google.protobuf.CodedOutputStream 14938 .computeMessageSize(1, getVersion()); 14939 } 14940 size += unknownFields.getSerializedSize(); 14941 memoizedSize = size; 14942 return size; 14943 } 14944 14945 @java.lang.Override 14946 public boolean equals(final java.lang.Object obj) { 14947 if (obj == this) { 14948 return true; 14949 } 14950 if (!(obj instanceof hapi.services.tiller.Tiller.GetVersionResponse)) { 14951 return super.equals(obj); 14952 } 14953 hapi.services.tiller.Tiller.GetVersionResponse other = (hapi.services.tiller.Tiller.GetVersionResponse) obj; 14954 14955 boolean result = true; 14956 result = result && (hasVersion() == other.hasVersion()); 14957 if (hasVersion()) { 14958 result = result && getVersion() 14959 .equals(other.getVersion()); 14960 } 14961 result = result && unknownFields.equals(other.unknownFields); 14962 return result; 14963 } 14964 14965 @java.lang.Override 14966 public int hashCode() { 14967 if (memoizedHashCode != 0) { 14968 return memoizedHashCode; 14969 } 14970 int hash = 41; 14971 hash = (19 * hash) + getDescriptor().hashCode(); 14972 if (hasVersion()) { 14973 hash = (37 * hash) + VERSION_FIELD_NUMBER; 14974 hash = (53 * hash) + getVersion().hashCode(); 14975 } 14976 hash = (29 * hash) + unknownFields.hashCode(); 14977 memoizedHashCode = hash; 14978 return hash; 14979 } 14980 14981 public static hapi.services.tiller.Tiller.GetVersionResponse parseFrom( 14982 java.nio.ByteBuffer data) 14983 throws com.google.protobuf.InvalidProtocolBufferException { 14984 return PARSER.parseFrom(data); 14985 } 14986 public static hapi.services.tiller.Tiller.GetVersionResponse parseFrom( 14987 java.nio.ByteBuffer data, 14988 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 14989 throws com.google.protobuf.InvalidProtocolBufferException { 14990 return PARSER.parseFrom(data, extensionRegistry); 14991 } 14992 public static hapi.services.tiller.Tiller.GetVersionResponse parseFrom( 14993 com.google.protobuf.ByteString data) 14994 throws com.google.protobuf.InvalidProtocolBufferException { 14995 return PARSER.parseFrom(data); 14996 } 14997 public static hapi.services.tiller.Tiller.GetVersionResponse parseFrom( 14998 com.google.protobuf.ByteString data, 14999 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 15000 throws com.google.protobuf.InvalidProtocolBufferException { 15001 return PARSER.parseFrom(data, extensionRegistry); 15002 } 15003 public static hapi.services.tiller.Tiller.GetVersionResponse parseFrom(byte[] data) 15004 throws com.google.protobuf.InvalidProtocolBufferException { 15005 return PARSER.parseFrom(data); 15006 } 15007 public static hapi.services.tiller.Tiller.GetVersionResponse parseFrom( 15008 byte[] data, 15009 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 15010 throws com.google.protobuf.InvalidProtocolBufferException { 15011 return PARSER.parseFrom(data, extensionRegistry); 15012 } 15013 public static hapi.services.tiller.Tiller.GetVersionResponse parseFrom(java.io.InputStream input) 15014 throws java.io.IOException { 15015 return com.google.protobuf.GeneratedMessageV3 15016 .parseWithIOException(PARSER, input); 15017 } 15018 public static hapi.services.tiller.Tiller.GetVersionResponse parseFrom( 15019 java.io.InputStream input, 15020 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 15021 throws java.io.IOException { 15022 return com.google.protobuf.GeneratedMessageV3 15023 .parseWithIOException(PARSER, input, extensionRegistry); 15024 } 15025 public static hapi.services.tiller.Tiller.GetVersionResponse parseDelimitedFrom(java.io.InputStream input) 15026 throws java.io.IOException { 15027 return com.google.protobuf.GeneratedMessageV3 15028 .parseDelimitedWithIOException(PARSER, input); 15029 } 15030 public static hapi.services.tiller.Tiller.GetVersionResponse parseDelimitedFrom( 15031 java.io.InputStream input, 15032 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 15033 throws java.io.IOException { 15034 return com.google.protobuf.GeneratedMessageV3 15035 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 15036 } 15037 public static hapi.services.tiller.Tiller.GetVersionResponse parseFrom( 15038 com.google.protobuf.CodedInputStream input) 15039 throws java.io.IOException { 15040 return com.google.protobuf.GeneratedMessageV3 15041 .parseWithIOException(PARSER, input); 15042 } 15043 public static hapi.services.tiller.Tiller.GetVersionResponse parseFrom( 15044 com.google.protobuf.CodedInputStream input, 15045 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 15046 throws java.io.IOException { 15047 return com.google.protobuf.GeneratedMessageV3 15048 .parseWithIOException(PARSER, input, extensionRegistry); 15049 } 15050 15051 public Builder newBuilderForType() { return newBuilder(); } 15052 public static Builder newBuilder() { 15053 return DEFAULT_INSTANCE.toBuilder(); 15054 } 15055 public static Builder newBuilder(hapi.services.tiller.Tiller.GetVersionResponse prototype) { 15056 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 15057 } 15058 public Builder toBuilder() { 15059 return this == DEFAULT_INSTANCE 15060 ? new Builder() : new Builder().mergeFrom(this); 15061 } 15062 15063 @java.lang.Override 15064 protected Builder newBuilderForType( 15065 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 15066 Builder builder = new Builder(parent); 15067 return builder; 15068 } 15069 /** 15070 * Protobuf type {@code hapi.services.tiller.GetVersionResponse} 15071 */ 15072 public static final class Builder extends 15073 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 15074 // @@protoc_insertion_point(builder_implements:hapi.services.tiller.GetVersionResponse) 15075 hapi.services.tiller.Tiller.GetVersionResponseOrBuilder { 15076 public static final com.google.protobuf.Descriptors.Descriptor 15077 getDescriptor() { 15078 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetVersionResponse_descriptor; 15079 } 15080 15081 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 15082 internalGetFieldAccessorTable() { 15083 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetVersionResponse_fieldAccessorTable 15084 .ensureFieldAccessorsInitialized( 15085 hapi.services.tiller.Tiller.GetVersionResponse.class, hapi.services.tiller.Tiller.GetVersionResponse.Builder.class); 15086 } 15087 15088 // Construct using hapi.services.tiller.Tiller.GetVersionResponse.newBuilder() 15089 private Builder() { 15090 maybeForceBuilderInitialization(); 15091 } 15092 15093 private Builder( 15094 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 15095 super(parent); 15096 maybeForceBuilderInitialization(); 15097 } 15098 private void maybeForceBuilderInitialization() { 15099 if (com.google.protobuf.GeneratedMessageV3 15100 .alwaysUseFieldBuilders) { 15101 } 15102 } 15103 public Builder clear() { 15104 super.clear(); 15105 if (versionBuilder_ == null) { 15106 version_ = null; 15107 } else { 15108 version_ = null; 15109 versionBuilder_ = null; 15110 } 15111 return this; 15112 } 15113 15114 public com.google.protobuf.Descriptors.Descriptor 15115 getDescriptorForType() { 15116 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetVersionResponse_descriptor; 15117 } 15118 15119 public hapi.services.tiller.Tiller.GetVersionResponse getDefaultInstanceForType() { 15120 return hapi.services.tiller.Tiller.GetVersionResponse.getDefaultInstance(); 15121 } 15122 15123 public hapi.services.tiller.Tiller.GetVersionResponse build() { 15124 hapi.services.tiller.Tiller.GetVersionResponse result = buildPartial(); 15125 if (!result.isInitialized()) { 15126 throw newUninitializedMessageException(result); 15127 } 15128 return result; 15129 } 15130 15131 public hapi.services.tiller.Tiller.GetVersionResponse buildPartial() { 15132 hapi.services.tiller.Tiller.GetVersionResponse result = new hapi.services.tiller.Tiller.GetVersionResponse(this); 15133 if (versionBuilder_ == null) { 15134 result.version_ = version_; 15135 } else { 15136 result.version_ = versionBuilder_.build(); 15137 } 15138 onBuilt(); 15139 return result; 15140 } 15141 15142 public Builder clone() { 15143 return (Builder) super.clone(); 15144 } 15145 public Builder setField( 15146 com.google.protobuf.Descriptors.FieldDescriptor field, 15147 java.lang.Object value) { 15148 return (Builder) super.setField(field, value); 15149 } 15150 public Builder clearField( 15151 com.google.protobuf.Descriptors.FieldDescriptor field) { 15152 return (Builder) super.clearField(field); 15153 } 15154 public Builder clearOneof( 15155 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 15156 return (Builder) super.clearOneof(oneof); 15157 } 15158 public Builder setRepeatedField( 15159 com.google.protobuf.Descriptors.FieldDescriptor field, 15160 int index, java.lang.Object value) { 15161 return (Builder) super.setRepeatedField(field, index, value); 15162 } 15163 public Builder addRepeatedField( 15164 com.google.protobuf.Descriptors.FieldDescriptor field, 15165 java.lang.Object value) { 15166 return (Builder) super.addRepeatedField(field, value); 15167 } 15168 public Builder mergeFrom(com.google.protobuf.Message other) { 15169 if (other instanceof hapi.services.tiller.Tiller.GetVersionResponse) { 15170 return mergeFrom((hapi.services.tiller.Tiller.GetVersionResponse)other); 15171 } else { 15172 super.mergeFrom(other); 15173 return this; 15174 } 15175 } 15176 15177 public Builder mergeFrom(hapi.services.tiller.Tiller.GetVersionResponse other) { 15178 if (other == hapi.services.tiller.Tiller.GetVersionResponse.getDefaultInstance()) return this; 15179 if (other.hasVersion()) { 15180 mergeVersion(other.getVersion()); 15181 } 15182 this.mergeUnknownFields(other.unknownFields); 15183 onChanged(); 15184 return this; 15185 } 15186 15187 public final boolean isInitialized() { 15188 return true; 15189 } 15190 15191 public Builder mergeFrom( 15192 com.google.protobuf.CodedInputStream input, 15193 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 15194 throws java.io.IOException { 15195 hapi.services.tiller.Tiller.GetVersionResponse parsedMessage = null; 15196 try { 15197 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 15198 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 15199 parsedMessage = (hapi.services.tiller.Tiller.GetVersionResponse) e.getUnfinishedMessage(); 15200 throw e.unwrapIOException(); 15201 } finally { 15202 if (parsedMessage != null) { 15203 mergeFrom(parsedMessage); 15204 } 15205 } 15206 return this; 15207 } 15208 15209 private hapi.version.VersionOuterClass.Version version_ = null; 15210 private com.google.protobuf.SingleFieldBuilderV3< 15211 hapi.version.VersionOuterClass.Version, hapi.version.VersionOuterClass.Version.Builder, hapi.version.VersionOuterClass.VersionOrBuilder> versionBuilder_; 15212 /** 15213 * <code>.hapi.version.Version Version = 1;</code> 15214 */ 15215 public boolean hasVersion() { 15216 return versionBuilder_ != null || version_ != null; 15217 } 15218 /** 15219 * <code>.hapi.version.Version Version = 1;</code> 15220 */ 15221 public hapi.version.VersionOuterClass.Version getVersion() { 15222 if (versionBuilder_ == null) { 15223 return version_ == null ? hapi.version.VersionOuterClass.Version.getDefaultInstance() : version_; 15224 } else { 15225 return versionBuilder_.getMessage(); 15226 } 15227 } 15228 /** 15229 * <code>.hapi.version.Version Version = 1;</code> 15230 */ 15231 public Builder setVersion(hapi.version.VersionOuterClass.Version value) { 15232 if (versionBuilder_ == null) { 15233 if (value == null) { 15234 throw new NullPointerException(); 15235 } 15236 version_ = value; 15237 onChanged(); 15238 } else { 15239 versionBuilder_.setMessage(value); 15240 } 15241 15242 return this; 15243 } 15244 /** 15245 * <code>.hapi.version.Version Version = 1;</code> 15246 */ 15247 public Builder setVersion( 15248 hapi.version.VersionOuterClass.Version.Builder builderForValue) { 15249 if (versionBuilder_ == null) { 15250 version_ = builderForValue.build(); 15251 onChanged(); 15252 } else { 15253 versionBuilder_.setMessage(builderForValue.build()); 15254 } 15255 15256 return this; 15257 } 15258 /** 15259 * <code>.hapi.version.Version Version = 1;</code> 15260 */ 15261 public Builder mergeVersion(hapi.version.VersionOuterClass.Version value) { 15262 if (versionBuilder_ == null) { 15263 if (version_ != null) { 15264 version_ = 15265 hapi.version.VersionOuterClass.Version.newBuilder(version_).mergeFrom(value).buildPartial(); 15266 } else { 15267 version_ = value; 15268 } 15269 onChanged(); 15270 } else { 15271 versionBuilder_.mergeFrom(value); 15272 } 15273 15274 return this; 15275 } 15276 /** 15277 * <code>.hapi.version.Version Version = 1;</code> 15278 */ 15279 public Builder clearVersion() { 15280 if (versionBuilder_ == null) { 15281 version_ = null; 15282 onChanged(); 15283 } else { 15284 version_ = null; 15285 versionBuilder_ = null; 15286 } 15287 15288 return this; 15289 } 15290 /** 15291 * <code>.hapi.version.Version Version = 1;</code> 15292 */ 15293 public hapi.version.VersionOuterClass.Version.Builder getVersionBuilder() { 15294 15295 onChanged(); 15296 return getVersionFieldBuilder().getBuilder(); 15297 } 15298 /** 15299 * <code>.hapi.version.Version Version = 1;</code> 15300 */ 15301 public hapi.version.VersionOuterClass.VersionOrBuilder getVersionOrBuilder() { 15302 if (versionBuilder_ != null) { 15303 return versionBuilder_.getMessageOrBuilder(); 15304 } else { 15305 return version_ == null ? 15306 hapi.version.VersionOuterClass.Version.getDefaultInstance() : version_; 15307 } 15308 } 15309 /** 15310 * <code>.hapi.version.Version Version = 1;</code> 15311 */ 15312 private com.google.protobuf.SingleFieldBuilderV3< 15313 hapi.version.VersionOuterClass.Version, hapi.version.VersionOuterClass.Version.Builder, hapi.version.VersionOuterClass.VersionOrBuilder> 15314 getVersionFieldBuilder() { 15315 if (versionBuilder_ == null) { 15316 versionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< 15317 hapi.version.VersionOuterClass.Version, hapi.version.VersionOuterClass.Version.Builder, hapi.version.VersionOuterClass.VersionOrBuilder>( 15318 getVersion(), 15319 getParentForChildren(), 15320 isClean()); 15321 version_ = null; 15322 } 15323 return versionBuilder_; 15324 } 15325 public final Builder setUnknownFields( 15326 final com.google.protobuf.UnknownFieldSet unknownFields) { 15327 return super.setUnknownFieldsProto3(unknownFields); 15328 } 15329 15330 public final Builder mergeUnknownFields( 15331 final com.google.protobuf.UnknownFieldSet unknownFields) { 15332 return super.mergeUnknownFields(unknownFields); 15333 } 15334 15335 15336 // @@protoc_insertion_point(builder_scope:hapi.services.tiller.GetVersionResponse) 15337 } 15338 15339 // @@protoc_insertion_point(class_scope:hapi.services.tiller.GetVersionResponse) 15340 private static final hapi.services.tiller.Tiller.GetVersionResponse DEFAULT_INSTANCE; 15341 static { 15342 DEFAULT_INSTANCE = new hapi.services.tiller.Tiller.GetVersionResponse(); 15343 } 15344 15345 public static hapi.services.tiller.Tiller.GetVersionResponse getDefaultInstance() { 15346 return DEFAULT_INSTANCE; 15347 } 15348 15349 private static final com.google.protobuf.Parser<GetVersionResponse> 15350 PARSER = new com.google.protobuf.AbstractParser<GetVersionResponse>() { 15351 public GetVersionResponse parsePartialFrom( 15352 com.google.protobuf.CodedInputStream input, 15353 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 15354 throws com.google.protobuf.InvalidProtocolBufferException { 15355 return new GetVersionResponse(input, extensionRegistry); 15356 } 15357 }; 15358 15359 public static com.google.protobuf.Parser<GetVersionResponse> parser() { 15360 return PARSER; 15361 } 15362 15363 @java.lang.Override 15364 public com.google.protobuf.Parser<GetVersionResponse> getParserForType() { 15365 return PARSER; 15366 } 15367 15368 public hapi.services.tiller.Tiller.GetVersionResponse getDefaultInstanceForType() { 15369 return DEFAULT_INSTANCE; 15370 } 15371 15372 } 15373 15374 public interface GetHistoryRequestOrBuilder extends 15375 // @@protoc_insertion_point(interface_extends:hapi.services.tiller.GetHistoryRequest) 15376 com.google.protobuf.MessageOrBuilder { 15377 15378 /** 15379 * <pre> 15380 * The name of the release. 15381 * </pre> 15382 * 15383 * <code>string name = 1;</code> 15384 */ 15385 java.lang.String getName(); 15386 /** 15387 * <pre> 15388 * The name of the release. 15389 * </pre> 15390 * 15391 * <code>string name = 1;</code> 15392 */ 15393 com.google.protobuf.ByteString 15394 getNameBytes(); 15395 15396 /** 15397 * <pre> 15398 * The maximum number of releases to include. 15399 * </pre> 15400 * 15401 * <code>int32 max = 2;</code> 15402 */ 15403 int getMax(); 15404 } 15405 /** 15406 * <pre> 15407 * GetHistoryRequest requests a release's history. 15408 * </pre> 15409 * 15410 * Protobuf type {@code hapi.services.tiller.GetHistoryRequest} 15411 */ 15412 public static final class GetHistoryRequest extends 15413 com.google.protobuf.GeneratedMessageV3 implements 15414 // @@protoc_insertion_point(message_implements:hapi.services.tiller.GetHistoryRequest) 15415 GetHistoryRequestOrBuilder { 15416 private static final long serialVersionUID = 0L; 15417 // Use GetHistoryRequest.newBuilder() to construct. 15418 private GetHistoryRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 15419 super(builder); 15420 } 15421 private GetHistoryRequest() { 15422 name_ = ""; 15423 max_ = 0; 15424 } 15425 15426 @java.lang.Override 15427 public final com.google.protobuf.UnknownFieldSet 15428 getUnknownFields() { 15429 return this.unknownFields; 15430 } 15431 private GetHistoryRequest( 15432 com.google.protobuf.CodedInputStream input, 15433 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 15434 throws com.google.protobuf.InvalidProtocolBufferException { 15435 this(); 15436 if (extensionRegistry == null) { 15437 throw new java.lang.NullPointerException(); 15438 } 15439 int mutable_bitField0_ = 0; 15440 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 15441 com.google.protobuf.UnknownFieldSet.newBuilder(); 15442 try { 15443 boolean done = false; 15444 while (!done) { 15445 int tag = input.readTag(); 15446 switch (tag) { 15447 case 0: 15448 done = true; 15449 break; 15450 default: { 15451 if (!parseUnknownFieldProto3( 15452 input, unknownFields, extensionRegistry, tag)) { 15453 done = true; 15454 } 15455 break; 15456 } 15457 case 10: { 15458 java.lang.String s = input.readStringRequireUtf8(); 15459 15460 name_ = s; 15461 break; 15462 } 15463 case 16: { 15464 15465 max_ = input.readInt32(); 15466 break; 15467 } 15468 } 15469 } 15470 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 15471 throw e.setUnfinishedMessage(this); 15472 } catch (java.io.IOException e) { 15473 throw new com.google.protobuf.InvalidProtocolBufferException( 15474 e).setUnfinishedMessage(this); 15475 } finally { 15476 this.unknownFields = unknownFields.build(); 15477 makeExtensionsImmutable(); 15478 } 15479 } 15480 public static final com.google.protobuf.Descriptors.Descriptor 15481 getDescriptor() { 15482 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetHistoryRequest_descriptor; 15483 } 15484 15485 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 15486 internalGetFieldAccessorTable() { 15487 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetHistoryRequest_fieldAccessorTable 15488 .ensureFieldAccessorsInitialized( 15489 hapi.services.tiller.Tiller.GetHistoryRequest.class, hapi.services.tiller.Tiller.GetHistoryRequest.Builder.class); 15490 } 15491 15492 public static final int NAME_FIELD_NUMBER = 1; 15493 private volatile java.lang.Object name_; 15494 /** 15495 * <pre> 15496 * The name of the release. 15497 * </pre> 15498 * 15499 * <code>string name = 1;</code> 15500 */ 15501 public java.lang.String getName() { 15502 java.lang.Object ref = name_; 15503 if (ref instanceof java.lang.String) { 15504 return (java.lang.String) ref; 15505 } else { 15506 com.google.protobuf.ByteString bs = 15507 (com.google.protobuf.ByteString) ref; 15508 java.lang.String s = bs.toStringUtf8(); 15509 name_ = s; 15510 return s; 15511 } 15512 } 15513 /** 15514 * <pre> 15515 * The name of the release. 15516 * </pre> 15517 * 15518 * <code>string name = 1;</code> 15519 */ 15520 public com.google.protobuf.ByteString 15521 getNameBytes() { 15522 java.lang.Object ref = name_; 15523 if (ref instanceof java.lang.String) { 15524 com.google.protobuf.ByteString b = 15525 com.google.protobuf.ByteString.copyFromUtf8( 15526 (java.lang.String) ref); 15527 name_ = b; 15528 return b; 15529 } else { 15530 return (com.google.protobuf.ByteString) ref; 15531 } 15532 } 15533 15534 public static final int MAX_FIELD_NUMBER = 2; 15535 private int max_; 15536 /** 15537 * <pre> 15538 * The maximum number of releases to include. 15539 * </pre> 15540 * 15541 * <code>int32 max = 2;</code> 15542 */ 15543 public int getMax() { 15544 return max_; 15545 } 15546 15547 private byte memoizedIsInitialized = -1; 15548 public final boolean isInitialized() { 15549 byte isInitialized = memoizedIsInitialized; 15550 if (isInitialized == 1) return true; 15551 if (isInitialized == 0) return false; 15552 15553 memoizedIsInitialized = 1; 15554 return true; 15555 } 15556 15557 public void writeTo(com.google.protobuf.CodedOutputStream output) 15558 throws java.io.IOException { 15559 if (!getNameBytes().isEmpty()) { 15560 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); 15561 } 15562 if (max_ != 0) { 15563 output.writeInt32(2, max_); 15564 } 15565 unknownFields.writeTo(output); 15566 } 15567 15568 public int getSerializedSize() { 15569 int size = memoizedSize; 15570 if (size != -1) return size; 15571 15572 size = 0; 15573 if (!getNameBytes().isEmpty()) { 15574 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); 15575 } 15576 if (max_ != 0) { 15577 size += com.google.protobuf.CodedOutputStream 15578 .computeInt32Size(2, max_); 15579 } 15580 size += unknownFields.getSerializedSize(); 15581 memoizedSize = size; 15582 return size; 15583 } 15584 15585 @java.lang.Override 15586 public boolean equals(final java.lang.Object obj) { 15587 if (obj == this) { 15588 return true; 15589 } 15590 if (!(obj instanceof hapi.services.tiller.Tiller.GetHistoryRequest)) { 15591 return super.equals(obj); 15592 } 15593 hapi.services.tiller.Tiller.GetHistoryRequest other = (hapi.services.tiller.Tiller.GetHistoryRequest) obj; 15594 15595 boolean result = true; 15596 result = result && getName() 15597 .equals(other.getName()); 15598 result = result && (getMax() 15599 == other.getMax()); 15600 result = result && unknownFields.equals(other.unknownFields); 15601 return result; 15602 } 15603 15604 @java.lang.Override 15605 public int hashCode() { 15606 if (memoizedHashCode != 0) { 15607 return memoizedHashCode; 15608 } 15609 int hash = 41; 15610 hash = (19 * hash) + getDescriptor().hashCode(); 15611 hash = (37 * hash) + NAME_FIELD_NUMBER; 15612 hash = (53 * hash) + getName().hashCode(); 15613 hash = (37 * hash) + MAX_FIELD_NUMBER; 15614 hash = (53 * hash) + getMax(); 15615 hash = (29 * hash) + unknownFields.hashCode(); 15616 memoizedHashCode = hash; 15617 return hash; 15618 } 15619 15620 public static hapi.services.tiller.Tiller.GetHistoryRequest parseFrom( 15621 java.nio.ByteBuffer data) 15622 throws com.google.protobuf.InvalidProtocolBufferException { 15623 return PARSER.parseFrom(data); 15624 } 15625 public static hapi.services.tiller.Tiller.GetHistoryRequest parseFrom( 15626 java.nio.ByteBuffer data, 15627 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 15628 throws com.google.protobuf.InvalidProtocolBufferException { 15629 return PARSER.parseFrom(data, extensionRegistry); 15630 } 15631 public static hapi.services.tiller.Tiller.GetHistoryRequest parseFrom( 15632 com.google.protobuf.ByteString data) 15633 throws com.google.protobuf.InvalidProtocolBufferException { 15634 return PARSER.parseFrom(data); 15635 } 15636 public static hapi.services.tiller.Tiller.GetHistoryRequest parseFrom( 15637 com.google.protobuf.ByteString data, 15638 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 15639 throws com.google.protobuf.InvalidProtocolBufferException { 15640 return PARSER.parseFrom(data, extensionRegistry); 15641 } 15642 public static hapi.services.tiller.Tiller.GetHistoryRequest parseFrom(byte[] data) 15643 throws com.google.protobuf.InvalidProtocolBufferException { 15644 return PARSER.parseFrom(data); 15645 } 15646 public static hapi.services.tiller.Tiller.GetHistoryRequest parseFrom( 15647 byte[] data, 15648 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 15649 throws com.google.protobuf.InvalidProtocolBufferException { 15650 return PARSER.parseFrom(data, extensionRegistry); 15651 } 15652 public static hapi.services.tiller.Tiller.GetHistoryRequest parseFrom(java.io.InputStream input) 15653 throws java.io.IOException { 15654 return com.google.protobuf.GeneratedMessageV3 15655 .parseWithIOException(PARSER, input); 15656 } 15657 public static hapi.services.tiller.Tiller.GetHistoryRequest parseFrom( 15658 java.io.InputStream input, 15659 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 15660 throws java.io.IOException { 15661 return com.google.protobuf.GeneratedMessageV3 15662 .parseWithIOException(PARSER, input, extensionRegistry); 15663 } 15664 public static hapi.services.tiller.Tiller.GetHistoryRequest parseDelimitedFrom(java.io.InputStream input) 15665 throws java.io.IOException { 15666 return com.google.protobuf.GeneratedMessageV3 15667 .parseDelimitedWithIOException(PARSER, input); 15668 } 15669 public static hapi.services.tiller.Tiller.GetHistoryRequest parseDelimitedFrom( 15670 java.io.InputStream input, 15671 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 15672 throws java.io.IOException { 15673 return com.google.protobuf.GeneratedMessageV3 15674 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 15675 } 15676 public static hapi.services.tiller.Tiller.GetHistoryRequest parseFrom( 15677 com.google.protobuf.CodedInputStream input) 15678 throws java.io.IOException { 15679 return com.google.protobuf.GeneratedMessageV3 15680 .parseWithIOException(PARSER, input); 15681 } 15682 public static hapi.services.tiller.Tiller.GetHistoryRequest parseFrom( 15683 com.google.protobuf.CodedInputStream input, 15684 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 15685 throws java.io.IOException { 15686 return com.google.protobuf.GeneratedMessageV3 15687 .parseWithIOException(PARSER, input, extensionRegistry); 15688 } 15689 15690 public Builder newBuilderForType() { return newBuilder(); } 15691 public static Builder newBuilder() { 15692 return DEFAULT_INSTANCE.toBuilder(); 15693 } 15694 public static Builder newBuilder(hapi.services.tiller.Tiller.GetHistoryRequest prototype) { 15695 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 15696 } 15697 public Builder toBuilder() { 15698 return this == DEFAULT_INSTANCE 15699 ? new Builder() : new Builder().mergeFrom(this); 15700 } 15701 15702 @java.lang.Override 15703 protected Builder newBuilderForType( 15704 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 15705 Builder builder = new Builder(parent); 15706 return builder; 15707 } 15708 /** 15709 * <pre> 15710 * GetHistoryRequest requests a release's history. 15711 * </pre> 15712 * 15713 * Protobuf type {@code hapi.services.tiller.GetHistoryRequest} 15714 */ 15715 public static final class Builder extends 15716 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 15717 // @@protoc_insertion_point(builder_implements:hapi.services.tiller.GetHistoryRequest) 15718 hapi.services.tiller.Tiller.GetHistoryRequestOrBuilder { 15719 public static final com.google.protobuf.Descriptors.Descriptor 15720 getDescriptor() { 15721 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetHistoryRequest_descriptor; 15722 } 15723 15724 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 15725 internalGetFieldAccessorTable() { 15726 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetHistoryRequest_fieldAccessorTable 15727 .ensureFieldAccessorsInitialized( 15728 hapi.services.tiller.Tiller.GetHistoryRequest.class, hapi.services.tiller.Tiller.GetHistoryRequest.Builder.class); 15729 } 15730 15731 // Construct using hapi.services.tiller.Tiller.GetHistoryRequest.newBuilder() 15732 private Builder() { 15733 maybeForceBuilderInitialization(); 15734 } 15735 15736 private Builder( 15737 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 15738 super(parent); 15739 maybeForceBuilderInitialization(); 15740 } 15741 private void maybeForceBuilderInitialization() { 15742 if (com.google.protobuf.GeneratedMessageV3 15743 .alwaysUseFieldBuilders) { 15744 } 15745 } 15746 public Builder clear() { 15747 super.clear(); 15748 name_ = ""; 15749 15750 max_ = 0; 15751 15752 return this; 15753 } 15754 15755 public com.google.protobuf.Descriptors.Descriptor 15756 getDescriptorForType() { 15757 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetHistoryRequest_descriptor; 15758 } 15759 15760 public hapi.services.tiller.Tiller.GetHistoryRequest getDefaultInstanceForType() { 15761 return hapi.services.tiller.Tiller.GetHistoryRequest.getDefaultInstance(); 15762 } 15763 15764 public hapi.services.tiller.Tiller.GetHistoryRequest build() { 15765 hapi.services.tiller.Tiller.GetHistoryRequest result = buildPartial(); 15766 if (!result.isInitialized()) { 15767 throw newUninitializedMessageException(result); 15768 } 15769 return result; 15770 } 15771 15772 public hapi.services.tiller.Tiller.GetHistoryRequest buildPartial() { 15773 hapi.services.tiller.Tiller.GetHistoryRequest result = new hapi.services.tiller.Tiller.GetHistoryRequest(this); 15774 result.name_ = name_; 15775 result.max_ = max_; 15776 onBuilt(); 15777 return result; 15778 } 15779 15780 public Builder clone() { 15781 return (Builder) super.clone(); 15782 } 15783 public Builder setField( 15784 com.google.protobuf.Descriptors.FieldDescriptor field, 15785 java.lang.Object value) { 15786 return (Builder) super.setField(field, value); 15787 } 15788 public Builder clearField( 15789 com.google.protobuf.Descriptors.FieldDescriptor field) { 15790 return (Builder) super.clearField(field); 15791 } 15792 public Builder clearOneof( 15793 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 15794 return (Builder) super.clearOneof(oneof); 15795 } 15796 public Builder setRepeatedField( 15797 com.google.protobuf.Descriptors.FieldDescriptor field, 15798 int index, java.lang.Object value) { 15799 return (Builder) super.setRepeatedField(field, index, value); 15800 } 15801 public Builder addRepeatedField( 15802 com.google.protobuf.Descriptors.FieldDescriptor field, 15803 java.lang.Object value) { 15804 return (Builder) super.addRepeatedField(field, value); 15805 } 15806 public Builder mergeFrom(com.google.protobuf.Message other) { 15807 if (other instanceof hapi.services.tiller.Tiller.GetHistoryRequest) { 15808 return mergeFrom((hapi.services.tiller.Tiller.GetHistoryRequest)other); 15809 } else { 15810 super.mergeFrom(other); 15811 return this; 15812 } 15813 } 15814 15815 public Builder mergeFrom(hapi.services.tiller.Tiller.GetHistoryRequest other) { 15816 if (other == hapi.services.tiller.Tiller.GetHistoryRequest.getDefaultInstance()) return this; 15817 if (!other.getName().isEmpty()) { 15818 name_ = other.name_; 15819 onChanged(); 15820 } 15821 if (other.getMax() != 0) { 15822 setMax(other.getMax()); 15823 } 15824 this.mergeUnknownFields(other.unknownFields); 15825 onChanged(); 15826 return this; 15827 } 15828 15829 public final boolean isInitialized() { 15830 return true; 15831 } 15832 15833 public Builder mergeFrom( 15834 com.google.protobuf.CodedInputStream input, 15835 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 15836 throws java.io.IOException { 15837 hapi.services.tiller.Tiller.GetHistoryRequest parsedMessage = null; 15838 try { 15839 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 15840 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 15841 parsedMessage = (hapi.services.tiller.Tiller.GetHistoryRequest) e.getUnfinishedMessage(); 15842 throw e.unwrapIOException(); 15843 } finally { 15844 if (parsedMessage != null) { 15845 mergeFrom(parsedMessage); 15846 } 15847 } 15848 return this; 15849 } 15850 15851 private java.lang.Object name_ = ""; 15852 /** 15853 * <pre> 15854 * The name of the release. 15855 * </pre> 15856 * 15857 * <code>string name = 1;</code> 15858 */ 15859 public java.lang.String getName() { 15860 java.lang.Object ref = name_; 15861 if (!(ref instanceof java.lang.String)) { 15862 com.google.protobuf.ByteString bs = 15863 (com.google.protobuf.ByteString) ref; 15864 java.lang.String s = bs.toStringUtf8(); 15865 name_ = s; 15866 return s; 15867 } else { 15868 return (java.lang.String) ref; 15869 } 15870 } 15871 /** 15872 * <pre> 15873 * The name of the release. 15874 * </pre> 15875 * 15876 * <code>string name = 1;</code> 15877 */ 15878 public com.google.protobuf.ByteString 15879 getNameBytes() { 15880 java.lang.Object ref = name_; 15881 if (ref instanceof String) { 15882 com.google.protobuf.ByteString b = 15883 com.google.protobuf.ByteString.copyFromUtf8( 15884 (java.lang.String) ref); 15885 name_ = b; 15886 return b; 15887 } else { 15888 return (com.google.protobuf.ByteString) ref; 15889 } 15890 } 15891 /** 15892 * <pre> 15893 * The name of the release. 15894 * </pre> 15895 * 15896 * <code>string name = 1;</code> 15897 */ 15898 public Builder setName( 15899 java.lang.String value) { 15900 if (value == null) { 15901 throw new NullPointerException(); 15902 } 15903 15904 name_ = value; 15905 onChanged(); 15906 return this; 15907 } 15908 /** 15909 * <pre> 15910 * The name of the release. 15911 * </pre> 15912 * 15913 * <code>string name = 1;</code> 15914 */ 15915 public Builder clearName() { 15916 15917 name_ = getDefaultInstance().getName(); 15918 onChanged(); 15919 return this; 15920 } 15921 /** 15922 * <pre> 15923 * The name of the release. 15924 * </pre> 15925 * 15926 * <code>string name = 1;</code> 15927 */ 15928 public Builder setNameBytes( 15929 com.google.protobuf.ByteString value) { 15930 if (value == null) { 15931 throw new NullPointerException(); 15932 } 15933 checkByteStringIsUtf8(value); 15934 15935 name_ = value; 15936 onChanged(); 15937 return this; 15938 } 15939 15940 private int max_ ; 15941 /** 15942 * <pre> 15943 * The maximum number of releases to include. 15944 * </pre> 15945 * 15946 * <code>int32 max = 2;</code> 15947 */ 15948 public int getMax() { 15949 return max_; 15950 } 15951 /** 15952 * <pre> 15953 * The maximum number of releases to include. 15954 * </pre> 15955 * 15956 * <code>int32 max = 2;</code> 15957 */ 15958 public Builder setMax(int value) { 15959 15960 max_ = value; 15961 onChanged(); 15962 return this; 15963 } 15964 /** 15965 * <pre> 15966 * The maximum number of releases to include. 15967 * </pre> 15968 * 15969 * <code>int32 max = 2;</code> 15970 */ 15971 public Builder clearMax() { 15972 15973 max_ = 0; 15974 onChanged(); 15975 return this; 15976 } 15977 public final Builder setUnknownFields( 15978 final com.google.protobuf.UnknownFieldSet unknownFields) { 15979 return super.setUnknownFieldsProto3(unknownFields); 15980 } 15981 15982 public final Builder mergeUnknownFields( 15983 final com.google.protobuf.UnknownFieldSet unknownFields) { 15984 return super.mergeUnknownFields(unknownFields); 15985 } 15986 15987 15988 // @@protoc_insertion_point(builder_scope:hapi.services.tiller.GetHistoryRequest) 15989 } 15990 15991 // @@protoc_insertion_point(class_scope:hapi.services.tiller.GetHistoryRequest) 15992 private static final hapi.services.tiller.Tiller.GetHistoryRequest DEFAULT_INSTANCE; 15993 static { 15994 DEFAULT_INSTANCE = new hapi.services.tiller.Tiller.GetHistoryRequest(); 15995 } 15996 15997 public static hapi.services.tiller.Tiller.GetHistoryRequest getDefaultInstance() { 15998 return DEFAULT_INSTANCE; 15999 } 16000 16001 private static final com.google.protobuf.Parser<GetHistoryRequest> 16002 PARSER = new com.google.protobuf.AbstractParser<GetHistoryRequest>() { 16003 public GetHistoryRequest parsePartialFrom( 16004 com.google.protobuf.CodedInputStream input, 16005 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 16006 throws com.google.protobuf.InvalidProtocolBufferException { 16007 return new GetHistoryRequest(input, extensionRegistry); 16008 } 16009 }; 16010 16011 public static com.google.protobuf.Parser<GetHistoryRequest> parser() { 16012 return PARSER; 16013 } 16014 16015 @java.lang.Override 16016 public com.google.protobuf.Parser<GetHistoryRequest> getParserForType() { 16017 return PARSER; 16018 } 16019 16020 public hapi.services.tiller.Tiller.GetHistoryRequest getDefaultInstanceForType() { 16021 return DEFAULT_INSTANCE; 16022 } 16023 16024 } 16025 16026 public interface GetHistoryResponseOrBuilder extends 16027 // @@protoc_insertion_point(interface_extends:hapi.services.tiller.GetHistoryResponse) 16028 com.google.protobuf.MessageOrBuilder { 16029 16030 /** 16031 * <code>repeated .hapi.release.Release releases = 1;</code> 16032 */ 16033 java.util.List<hapi.release.ReleaseOuterClass.Release> 16034 getReleasesList(); 16035 /** 16036 * <code>repeated .hapi.release.Release releases = 1;</code> 16037 */ 16038 hapi.release.ReleaseOuterClass.Release getReleases(int index); 16039 /** 16040 * <code>repeated .hapi.release.Release releases = 1;</code> 16041 */ 16042 int getReleasesCount(); 16043 /** 16044 * <code>repeated .hapi.release.Release releases = 1;</code> 16045 */ 16046 java.util.List<? extends hapi.release.ReleaseOuterClass.ReleaseOrBuilder> 16047 getReleasesOrBuilderList(); 16048 /** 16049 * <code>repeated .hapi.release.Release releases = 1;</code> 16050 */ 16051 hapi.release.ReleaseOuterClass.ReleaseOrBuilder getReleasesOrBuilder( 16052 int index); 16053 } 16054 /** 16055 * <pre> 16056 * GetHistoryResponse is received in response to a GetHistory rpc. 16057 * </pre> 16058 * 16059 * Protobuf type {@code hapi.services.tiller.GetHistoryResponse} 16060 */ 16061 public static final class GetHistoryResponse extends 16062 com.google.protobuf.GeneratedMessageV3 implements 16063 // @@protoc_insertion_point(message_implements:hapi.services.tiller.GetHistoryResponse) 16064 GetHistoryResponseOrBuilder { 16065 private static final long serialVersionUID = 0L; 16066 // Use GetHistoryResponse.newBuilder() to construct. 16067 private GetHistoryResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 16068 super(builder); 16069 } 16070 private GetHistoryResponse() { 16071 releases_ = java.util.Collections.emptyList(); 16072 } 16073 16074 @java.lang.Override 16075 public final com.google.protobuf.UnknownFieldSet 16076 getUnknownFields() { 16077 return this.unknownFields; 16078 } 16079 private GetHistoryResponse( 16080 com.google.protobuf.CodedInputStream input, 16081 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 16082 throws com.google.protobuf.InvalidProtocolBufferException { 16083 this(); 16084 if (extensionRegistry == null) { 16085 throw new java.lang.NullPointerException(); 16086 } 16087 int mutable_bitField0_ = 0; 16088 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 16089 com.google.protobuf.UnknownFieldSet.newBuilder(); 16090 try { 16091 boolean done = false; 16092 while (!done) { 16093 int tag = input.readTag(); 16094 switch (tag) { 16095 case 0: 16096 done = true; 16097 break; 16098 default: { 16099 if (!parseUnknownFieldProto3( 16100 input, unknownFields, extensionRegistry, tag)) { 16101 done = true; 16102 } 16103 break; 16104 } 16105 case 10: { 16106 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { 16107 releases_ = new java.util.ArrayList<hapi.release.ReleaseOuterClass.Release>(); 16108 mutable_bitField0_ |= 0x00000001; 16109 } 16110 releases_.add( 16111 input.readMessage(hapi.release.ReleaseOuterClass.Release.parser(), extensionRegistry)); 16112 break; 16113 } 16114 } 16115 } 16116 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 16117 throw e.setUnfinishedMessage(this); 16118 } catch (java.io.IOException e) { 16119 throw new com.google.protobuf.InvalidProtocolBufferException( 16120 e).setUnfinishedMessage(this); 16121 } finally { 16122 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { 16123 releases_ = java.util.Collections.unmodifiableList(releases_); 16124 } 16125 this.unknownFields = unknownFields.build(); 16126 makeExtensionsImmutable(); 16127 } 16128 } 16129 public static final com.google.protobuf.Descriptors.Descriptor 16130 getDescriptor() { 16131 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetHistoryResponse_descriptor; 16132 } 16133 16134 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 16135 internalGetFieldAccessorTable() { 16136 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetHistoryResponse_fieldAccessorTable 16137 .ensureFieldAccessorsInitialized( 16138 hapi.services.tiller.Tiller.GetHistoryResponse.class, hapi.services.tiller.Tiller.GetHistoryResponse.Builder.class); 16139 } 16140 16141 public static final int RELEASES_FIELD_NUMBER = 1; 16142 private java.util.List<hapi.release.ReleaseOuterClass.Release> releases_; 16143 /** 16144 * <code>repeated .hapi.release.Release releases = 1;</code> 16145 */ 16146 public java.util.List<hapi.release.ReleaseOuterClass.Release> getReleasesList() { 16147 return releases_; 16148 } 16149 /** 16150 * <code>repeated .hapi.release.Release releases = 1;</code> 16151 */ 16152 public java.util.List<? extends hapi.release.ReleaseOuterClass.ReleaseOrBuilder> 16153 getReleasesOrBuilderList() { 16154 return releases_; 16155 } 16156 /** 16157 * <code>repeated .hapi.release.Release releases = 1;</code> 16158 */ 16159 public int getReleasesCount() { 16160 return releases_.size(); 16161 } 16162 /** 16163 * <code>repeated .hapi.release.Release releases = 1;</code> 16164 */ 16165 public hapi.release.ReleaseOuterClass.Release getReleases(int index) { 16166 return releases_.get(index); 16167 } 16168 /** 16169 * <code>repeated .hapi.release.Release releases = 1;</code> 16170 */ 16171 public hapi.release.ReleaseOuterClass.ReleaseOrBuilder getReleasesOrBuilder( 16172 int index) { 16173 return releases_.get(index); 16174 } 16175 16176 private byte memoizedIsInitialized = -1; 16177 public final boolean isInitialized() { 16178 byte isInitialized = memoizedIsInitialized; 16179 if (isInitialized == 1) return true; 16180 if (isInitialized == 0) return false; 16181 16182 memoizedIsInitialized = 1; 16183 return true; 16184 } 16185 16186 public void writeTo(com.google.protobuf.CodedOutputStream output) 16187 throws java.io.IOException { 16188 for (int i = 0; i < releases_.size(); i++) { 16189 output.writeMessage(1, releases_.get(i)); 16190 } 16191 unknownFields.writeTo(output); 16192 } 16193 16194 public int getSerializedSize() { 16195 int size = memoizedSize; 16196 if (size != -1) return size; 16197 16198 size = 0; 16199 for (int i = 0; i < releases_.size(); i++) { 16200 size += com.google.protobuf.CodedOutputStream 16201 .computeMessageSize(1, releases_.get(i)); 16202 } 16203 size += unknownFields.getSerializedSize(); 16204 memoizedSize = size; 16205 return size; 16206 } 16207 16208 @java.lang.Override 16209 public boolean equals(final java.lang.Object obj) { 16210 if (obj == this) { 16211 return true; 16212 } 16213 if (!(obj instanceof hapi.services.tiller.Tiller.GetHistoryResponse)) { 16214 return super.equals(obj); 16215 } 16216 hapi.services.tiller.Tiller.GetHistoryResponse other = (hapi.services.tiller.Tiller.GetHistoryResponse) obj; 16217 16218 boolean result = true; 16219 result = result && getReleasesList() 16220 .equals(other.getReleasesList()); 16221 result = result && unknownFields.equals(other.unknownFields); 16222 return result; 16223 } 16224 16225 @java.lang.Override 16226 public int hashCode() { 16227 if (memoizedHashCode != 0) { 16228 return memoizedHashCode; 16229 } 16230 int hash = 41; 16231 hash = (19 * hash) + getDescriptor().hashCode(); 16232 if (getReleasesCount() > 0) { 16233 hash = (37 * hash) + RELEASES_FIELD_NUMBER; 16234 hash = (53 * hash) + getReleasesList().hashCode(); 16235 } 16236 hash = (29 * hash) + unknownFields.hashCode(); 16237 memoizedHashCode = hash; 16238 return hash; 16239 } 16240 16241 public static hapi.services.tiller.Tiller.GetHistoryResponse parseFrom( 16242 java.nio.ByteBuffer data) 16243 throws com.google.protobuf.InvalidProtocolBufferException { 16244 return PARSER.parseFrom(data); 16245 } 16246 public static hapi.services.tiller.Tiller.GetHistoryResponse parseFrom( 16247 java.nio.ByteBuffer data, 16248 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 16249 throws com.google.protobuf.InvalidProtocolBufferException { 16250 return PARSER.parseFrom(data, extensionRegistry); 16251 } 16252 public static hapi.services.tiller.Tiller.GetHistoryResponse parseFrom( 16253 com.google.protobuf.ByteString data) 16254 throws com.google.protobuf.InvalidProtocolBufferException { 16255 return PARSER.parseFrom(data); 16256 } 16257 public static hapi.services.tiller.Tiller.GetHistoryResponse parseFrom( 16258 com.google.protobuf.ByteString data, 16259 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 16260 throws com.google.protobuf.InvalidProtocolBufferException { 16261 return PARSER.parseFrom(data, extensionRegistry); 16262 } 16263 public static hapi.services.tiller.Tiller.GetHistoryResponse parseFrom(byte[] data) 16264 throws com.google.protobuf.InvalidProtocolBufferException { 16265 return PARSER.parseFrom(data); 16266 } 16267 public static hapi.services.tiller.Tiller.GetHistoryResponse parseFrom( 16268 byte[] data, 16269 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 16270 throws com.google.protobuf.InvalidProtocolBufferException { 16271 return PARSER.parseFrom(data, extensionRegistry); 16272 } 16273 public static hapi.services.tiller.Tiller.GetHistoryResponse parseFrom(java.io.InputStream input) 16274 throws java.io.IOException { 16275 return com.google.protobuf.GeneratedMessageV3 16276 .parseWithIOException(PARSER, input); 16277 } 16278 public static hapi.services.tiller.Tiller.GetHistoryResponse parseFrom( 16279 java.io.InputStream input, 16280 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 16281 throws java.io.IOException { 16282 return com.google.protobuf.GeneratedMessageV3 16283 .parseWithIOException(PARSER, input, extensionRegistry); 16284 } 16285 public static hapi.services.tiller.Tiller.GetHistoryResponse parseDelimitedFrom(java.io.InputStream input) 16286 throws java.io.IOException { 16287 return com.google.protobuf.GeneratedMessageV3 16288 .parseDelimitedWithIOException(PARSER, input); 16289 } 16290 public static hapi.services.tiller.Tiller.GetHistoryResponse parseDelimitedFrom( 16291 java.io.InputStream input, 16292 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 16293 throws java.io.IOException { 16294 return com.google.protobuf.GeneratedMessageV3 16295 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 16296 } 16297 public static hapi.services.tiller.Tiller.GetHistoryResponse parseFrom( 16298 com.google.protobuf.CodedInputStream input) 16299 throws java.io.IOException { 16300 return com.google.protobuf.GeneratedMessageV3 16301 .parseWithIOException(PARSER, input); 16302 } 16303 public static hapi.services.tiller.Tiller.GetHistoryResponse parseFrom( 16304 com.google.protobuf.CodedInputStream input, 16305 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 16306 throws java.io.IOException { 16307 return com.google.protobuf.GeneratedMessageV3 16308 .parseWithIOException(PARSER, input, extensionRegistry); 16309 } 16310 16311 public Builder newBuilderForType() { return newBuilder(); } 16312 public static Builder newBuilder() { 16313 return DEFAULT_INSTANCE.toBuilder(); 16314 } 16315 public static Builder newBuilder(hapi.services.tiller.Tiller.GetHistoryResponse prototype) { 16316 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 16317 } 16318 public Builder toBuilder() { 16319 return this == DEFAULT_INSTANCE 16320 ? new Builder() : new Builder().mergeFrom(this); 16321 } 16322 16323 @java.lang.Override 16324 protected Builder newBuilderForType( 16325 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 16326 Builder builder = new Builder(parent); 16327 return builder; 16328 } 16329 /** 16330 * <pre> 16331 * GetHistoryResponse is received in response to a GetHistory rpc. 16332 * </pre> 16333 * 16334 * Protobuf type {@code hapi.services.tiller.GetHistoryResponse} 16335 */ 16336 public static final class Builder extends 16337 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 16338 // @@protoc_insertion_point(builder_implements:hapi.services.tiller.GetHistoryResponse) 16339 hapi.services.tiller.Tiller.GetHistoryResponseOrBuilder { 16340 public static final com.google.protobuf.Descriptors.Descriptor 16341 getDescriptor() { 16342 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetHistoryResponse_descriptor; 16343 } 16344 16345 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 16346 internalGetFieldAccessorTable() { 16347 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetHistoryResponse_fieldAccessorTable 16348 .ensureFieldAccessorsInitialized( 16349 hapi.services.tiller.Tiller.GetHistoryResponse.class, hapi.services.tiller.Tiller.GetHistoryResponse.Builder.class); 16350 } 16351 16352 // Construct using hapi.services.tiller.Tiller.GetHistoryResponse.newBuilder() 16353 private Builder() { 16354 maybeForceBuilderInitialization(); 16355 } 16356 16357 private Builder( 16358 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 16359 super(parent); 16360 maybeForceBuilderInitialization(); 16361 } 16362 private void maybeForceBuilderInitialization() { 16363 if (com.google.protobuf.GeneratedMessageV3 16364 .alwaysUseFieldBuilders) { 16365 getReleasesFieldBuilder(); 16366 } 16367 } 16368 public Builder clear() { 16369 super.clear(); 16370 if (releasesBuilder_ == null) { 16371 releases_ = java.util.Collections.emptyList(); 16372 bitField0_ = (bitField0_ & ~0x00000001); 16373 } else { 16374 releasesBuilder_.clear(); 16375 } 16376 return this; 16377 } 16378 16379 public com.google.protobuf.Descriptors.Descriptor 16380 getDescriptorForType() { 16381 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_GetHistoryResponse_descriptor; 16382 } 16383 16384 public hapi.services.tiller.Tiller.GetHistoryResponse getDefaultInstanceForType() { 16385 return hapi.services.tiller.Tiller.GetHistoryResponse.getDefaultInstance(); 16386 } 16387 16388 public hapi.services.tiller.Tiller.GetHistoryResponse build() { 16389 hapi.services.tiller.Tiller.GetHistoryResponse result = buildPartial(); 16390 if (!result.isInitialized()) { 16391 throw newUninitializedMessageException(result); 16392 } 16393 return result; 16394 } 16395 16396 public hapi.services.tiller.Tiller.GetHistoryResponse buildPartial() { 16397 hapi.services.tiller.Tiller.GetHistoryResponse result = new hapi.services.tiller.Tiller.GetHistoryResponse(this); 16398 int from_bitField0_ = bitField0_; 16399 if (releasesBuilder_ == null) { 16400 if (((bitField0_ & 0x00000001) == 0x00000001)) { 16401 releases_ = java.util.Collections.unmodifiableList(releases_); 16402 bitField0_ = (bitField0_ & ~0x00000001); 16403 } 16404 result.releases_ = releases_; 16405 } else { 16406 result.releases_ = releasesBuilder_.build(); 16407 } 16408 onBuilt(); 16409 return result; 16410 } 16411 16412 public Builder clone() { 16413 return (Builder) super.clone(); 16414 } 16415 public Builder setField( 16416 com.google.protobuf.Descriptors.FieldDescriptor field, 16417 java.lang.Object value) { 16418 return (Builder) super.setField(field, value); 16419 } 16420 public Builder clearField( 16421 com.google.protobuf.Descriptors.FieldDescriptor field) { 16422 return (Builder) super.clearField(field); 16423 } 16424 public Builder clearOneof( 16425 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 16426 return (Builder) super.clearOneof(oneof); 16427 } 16428 public Builder setRepeatedField( 16429 com.google.protobuf.Descriptors.FieldDescriptor field, 16430 int index, java.lang.Object value) { 16431 return (Builder) super.setRepeatedField(field, index, value); 16432 } 16433 public Builder addRepeatedField( 16434 com.google.protobuf.Descriptors.FieldDescriptor field, 16435 java.lang.Object value) { 16436 return (Builder) super.addRepeatedField(field, value); 16437 } 16438 public Builder mergeFrom(com.google.protobuf.Message other) { 16439 if (other instanceof hapi.services.tiller.Tiller.GetHistoryResponse) { 16440 return mergeFrom((hapi.services.tiller.Tiller.GetHistoryResponse)other); 16441 } else { 16442 super.mergeFrom(other); 16443 return this; 16444 } 16445 } 16446 16447 public Builder mergeFrom(hapi.services.tiller.Tiller.GetHistoryResponse other) { 16448 if (other == hapi.services.tiller.Tiller.GetHistoryResponse.getDefaultInstance()) return this; 16449 if (releasesBuilder_ == null) { 16450 if (!other.releases_.isEmpty()) { 16451 if (releases_.isEmpty()) { 16452 releases_ = other.releases_; 16453 bitField0_ = (bitField0_ & ~0x00000001); 16454 } else { 16455 ensureReleasesIsMutable(); 16456 releases_.addAll(other.releases_); 16457 } 16458 onChanged(); 16459 } 16460 } else { 16461 if (!other.releases_.isEmpty()) { 16462 if (releasesBuilder_.isEmpty()) { 16463 releasesBuilder_.dispose(); 16464 releasesBuilder_ = null; 16465 releases_ = other.releases_; 16466 bitField0_ = (bitField0_ & ~0x00000001); 16467 releasesBuilder_ = 16468 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 16469 getReleasesFieldBuilder() : null; 16470 } else { 16471 releasesBuilder_.addAllMessages(other.releases_); 16472 } 16473 } 16474 } 16475 this.mergeUnknownFields(other.unknownFields); 16476 onChanged(); 16477 return this; 16478 } 16479 16480 public final boolean isInitialized() { 16481 return true; 16482 } 16483 16484 public Builder mergeFrom( 16485 com.google.protobuf.CodedInputStream input, 16486 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 16487 throws java.io.IOException { 16488 hapi.services.tiller.Tiller.GetHistoryResponse parsedMessage = null; 16489 try { 16490 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 16491 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 16492 parsedMessage = (hapi.services.tiller.Tiller.GetHistoryResponse) e.getUnfinishedMessage(); 16493 throw e.unwrapIOException(); 16494 } finally { 16495 if (parsedMessage != null) { 16496 mergeFrom(parsedMessage); 16497 } 16498 } 16499 return this; 16500 } 16501 private int bitField0_; 16502 16503 private java.util.List<hapi.release.ReleaseOuterClass.Release> releases_ = 16504 java.util.Collections.emptyList(); 16505 private void ensureReleasesIsMutable() { 16506 if (!((bitField0_ & 0x00000001) == 0x00000001)) { 16507 releases_ = new java.util.ArrayList<hapi.release.ReleaseOuterClass.Release>(releases_); 16508 bitField0_ |= 0x00000001; 16509 } 16510 } 16511 16512 private com.google.protobuf.RepeatedFieldBuilderV3< 16513 hapi.release.ReleaseOuterClass.Release, hapi.release.ReleaseOuterClass.Release.Builder, hapi.release.ReleaseOuterClass.ReleaseOrBuilder> releasesBuilder_; 16514 16515 /** 16516 * <code>repeated .hapi.release.Release releases = 1;</code> 16517 */ 16518 public java.util.List<hapi.release.ReleaseOuterClass.Release> getReleasesList() { 16519 if (releasesBuilder_ == null) { 16520 return java.util.Collections.unmodifiableList(releases_); 16521 } else { 16522 return releasesBuilder_.getMessageList(); 16523 } 16524 } 16525 /** 16526 * <code>repeated .hapi.release.Release releases = 1;</code> 16527 */ 16528 public int getReleasesCount() { 16529 if (releasesBuilder_ == null) { 16530 return releases_.size(); 16531 } else { 16532 return releasesBuilder_.getCount(); 16533 } 16534 } 16535 /** 16536 * <code>repeated .hapi.release.Release releases = 1;</code> 16537 */ 16538 public hapi.release.ReleaseOuterClass.Release getReleases(int index) { 16539 if (releasesBuilder_ == null) { 16540 return releases_.get(index); 16541 } else { 16542 return releasesBuilder_.getMessage(index); 16543 } 16544 } 16545 /** 16546 * <code>repeated .hapi.release.Release releases = 1;</code> 16547 */ 16548 public Builder setReleases( 16549 int index, hapi.release.ReleaseOuterClass.Release value) { 16550 if (releasesBuilder_ == null) { 16551 if (value == null) { 16552 throw new NullPointerException(); 16553 } 16554 ensureReleasesIsMutable(); 16555 releases_.set(index, value); 16556 onChanged(); 16557 } else { 16558 releasesBuilder_.setMessage(index, value); 16559 } 16560 return this; 16561 } 16562 /** 16563 * <code>repeated .hapi.release.Release releases = 1;</code> 16564 */ 16565 public Builder setReleases( 16566 int index, hapi.release.ReleaseOuterClass.Release.Builder builderForValue) { 16567 if (releasesBuilder_ == null) { 16568 ensureReleasesIsMutable(); 16569 releases_.set(index, builderForValue.build()); 16570 onChanged(); 16571 } else { 16572 releasesBuilder_.setMessage(index, builderForValue.build()); 16573 } 16574 return this; 16575 } 16576 /** 16577 * <code>repeated .hapi.release.Release releases = 1;</code> 16578 */ 16579 public Builder addReleases(hapi.release.ReleaseOuterClass.Release value) { 16580 if (releasesBuilder_ == null) { 16581 if (value == null) { 16582 throw new NullPointerException(); 16583 } 16584 ensureReleasesIsMutable(); 16585 releases_.add(value); 16586 onChanged(); 16587 } else { 16588 releasesBuilder_.addMessage(value); 16589 } 16590 return this; 16591 } 16592 /** 16593 * <code>repeated .hapi.release.Release releases = 1;</code> 16594 */ 16595 public Builder addReleases( 16596 int index, hapi.release.ReleaseOuterClass.Release value) { 16597 if (releasesBuilder_ == null) { 16598 if (value == null) { 16599 throw new NullPointerException(); 16600 } 16601 ensureReleasesIsMutable(); 16602 releases_.add(index, value); 16603 onChanged(); 16604 } else { 16605 releasesBuilder_.addMessage(index, value); 16606 } 16607 return this; 16608 } 16609 /** 16610 * <code>repeated .hapi.release.Release releases = 1;</code> 16611 */ 16612 public Builder addReleases( 16613 hapi.release.ReleaseOuterClass.Release.Builder builderForValue) { 16614 if (releasesBuilder_ == null) { 16615 ensureReleasesIsMutable(); 16616 releases_.add(builderForValue.build()); 16617 onChanged(); 16618 } else { 16619 releasesBuilder_.addMessage(builderForValue.build()); 16620 } 16621 return this; 16622 } 16623 /** 16624 * <code>repeated .hapi.release.Release releases = 1;</code> 16625 */ 16626 public Builder addReleases( 16627 int index, hapi.release.ReleaseOuterClass.Release.Builder builderForValue) { 16628 if (releasesBuilder_ == null) { 16629 ensureReleasesIsMutable(); 16630 releases_.add(index, builderForValue.build()); 16631 onChanged(); 16632 } else { 16633 releasesBuilder_.addMessage(index, builderForValue.build()); 16634 } 16635 return this; 16636 } 16637 /** 16638 * <code>repeated .hapi.release.Release releases = 1;</code> 16639 */ 16640 public Builder addAllReleases( 16641 java.lang.Iterable<? extends hapi.release.ReleaseOuterClass.Release> values) { 16642 if (releasesBuilder_ == null) { 16643 ensureReleasesIsMutable(); 16644 com.google.protobuf.AbstractMessageLite.Builder.addAll( 16645 values, releases_); 16646 onChanged(); 16647 } else { 16648 releasesBuilder_.addAllMessages(values); 16649 } 16650 return this; 16651 } 16652 /** 16653 * <code>repeated .hapi.release.Release releases = 1;</code> 16654 */ 16655 public Builder clearReleases() { 16656 if (releasesBuilder_ == null) { 16657 releases_ = java.util.Collections.emptyList(); 16658 bitField0_ = (bitField0_ & ~0x00000001); 16659 onChanged(); 16660 } else { 16661 releasesBuilder_.clear(); 16662 } 16663 return this; 16664 } 16665 /** 16666 * <code>repeated .hapi.release.Release releases = 1;</code> 16667 */ 16668 public Builder removeReleases(int index) { 16669 if (releasesBuilder_ == null) { 16670 ensureReleasesIsMutable(); 16671 releases_.remove(index); 16672 onChanged(); 16673 } else { 16674 releasesBuilder_.remove(index); 16675 } 16676 return this; 16677 } 16678 /** 16679 * <code>repeated .hapi.release.Release releases = 1;</code> 16680 */ 16681 public hapi.release.ReleaseOuterClass.Release.Builder getReleasesBuilder( 16682 int index) { 16683 return getReleasesFieldBuilder().getBuilder(index); 16684 } 16685 /** 16686 * <code>repeated .hapi.release.Release releases = 1;</code> 16687 */ 16688 public hapi.release.ReleaseOuterClass.ReleaseOrBuilder getReleasesOrBuilder( 16689 int index) { 16690 if (releasesBuilder_ == null) { 16691 return releases_.get(index); } else { 16692 return releasesBuilder_.getMessageOrBuilder(index); 16693 } 16694 } 16695 /** 16696 * <code>repeated .hapi.release.Release releases = 1;</code> 16697 */ 16698 public java.util.List<? extends hapi.release.ReleaseOuterClass.ReleaseOrBuilder> 16699 getReleasesOrBuilderList() { 16700 if (releasesBuilder_ != null) { 16701 return releasesBuilder_.getMessageOrBuilderList(); 16702 } else { 16703 return java.util.Collections.unmodifiableList(releases_); 16704 } 16705 } 16706 /** 16707 * <code>repeated .hapi.release.Release releases = 1;</code> 16708 */ 16709 public hapi.release.ReleaseOuterClass.Release.Builder addReleasesBuilder() { 16710 return getReleasesFieldBuilder().addBuilder( 16711 hapi.release.ReleaseOuterClass.Release.getDefaultInstance()); 16712 } 16713 /** 16714 * <code>repeated .hapi.release.Release releases = 1;</code> 16715 */ 16716 public hapi.release.ReleaseOuterClass.Release.Builder addReleasesBuilder( 16717 int index) { 16718 return getReleasesFieldBuilder().addBuilder( 16719 index, hapi.release.ReleaseOuterClass.Release.getDefaultInstance()); 16720 } 16721 /** 16722 * <code>repeated .hapi.release.Release releases = 1;</code> 16723 */ 16724 public java.util.List<hapi.release.ReleaseOuterClass.Release.Builder> 16725 getReleasesBuilderList() { 16726 return getReleasesFieldBuilder().getBuilderList(); 16727 } 16728 private com.google.protobuf.RepeatedFieldBuilderV3< 16729 hapi.release.ReleaseOuterClass.Release, hapi.release.ReleaseOuterClass.Release.Builder, hapi.release.ReleaseOuterClass.ReleaseOrBuilder> 16730 getReleasesFieldBuilder() { 16731 if (releasesBuilder_ == null) { 16732 releasesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 16733 hapi.release.ReleaseOuterClass.Release, hapi.release.ReleaseOuterClass.Release.Builder, hapi.release.ReleaseOuterClass.ReleaseOrBuilder>( 16734 releases_, 16735 ((bitField0_ & 0x00000001) == 0x00000001), 16736 getParentForChildren(), 16737 isClean()); 16738 releases_ = null; 16739 } 16740 return releasesBuilder_; 16741 } 16742 public final Builder setUnknownFields( 16743 final com.google.protobuf.UnknownFieldSet unknownFields) { 16744 return super.setUnknownFieldsProto3(unknownFields); 16745 } 16746 16747 public final Builder mergeUnknownFields( 16748 final com.google.protobuf.UnknownFieldSet unknownFields) { 16749 return super.mergeUnknownFields(unknownFields); 16750 } 16751 16752 16753 // @@protoc_insertion_point(builder_scope:hapi.services.tiller.GetHistoryResponse) 16754 } 16755 16756 // @@protoc_insertion_point(class_scope:hapi.services.tiller.GetHistoryResponse) 16757 private static final hapi.services.tiller.Tiller.GetHistoryResponse DEFAULT_INSTANCE; 16758 static { 16759 DEFAULT_INSTANCE = new hapi.services.tiller.Tiller.GetHistoryResponse(); 16760 } 16761 16762 public static hapi.services.tiller.Tiller.GetHistoryResponse getDefaultInstance() { 16763 return DEFAULT_INSTANCE; 16764 } 16765 16766 private static final com.google.protobuf.Parser<GetHistoryResponse> 16767 PARSER = new com.google.protobuf.AbstractParser<GetHistoryResponse>() { 16768 public GetHistoryResponse parsePartialFrom( 16769 com.google.protobuf.CodedInputStream input, 16770 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 16771 throws com.google.protobuf.InvalidProtocolBufferException { 16772 return new GetHistoryResponse(input, extensionRegistry); 16773 } 16774 }; 16775 16776 public static com.google.protobuf.Parser<GetHistoryResponse> parser() { 16777 return PARSER; 16778 } 16779 16780 @java.lang.Override 16781 public com.google.protobuf.Parser<GetHistoryResponse> getParserForType() { 16782 return PARSER; 16783 } 16784 16785 public hapi.services.tiller.Tiller.GetHistoryResponse getDefaultInstanceForType() { 16786 return DEFAULT_INSTANCE; 16787 } 16788 16789 } 16790 16791 public interface TestReleaseRequestOrBuilder extends 16792 // @@protoc_insertion_point(interface_extends:hapi.services.tiller.TestReleaseRequest) 16793 com.google.protobuf.MessageOrBuilder { 16794 16795 /** 16796 * <pre> 16797 * Name is the name of the release 16798 * </pre> 16799 * 16800 * <code>string name = 1;</code> 16801 */ 16802 java.lang.String getName(); 16803 /** 16804 * <pre> 16805 * Name is the name of the release 16806 * </pre> 16807 * 16808 * <code>string name = 1;</code> 16809 */ 16810 com.google.protobuf.ByteString 16811 getNameBytes(); 16812 16813 /** 16814 * <pre> 16815 * timeout specifies the max amount of time any kubernetes client command can run. 16816 * </pre> 16817 * 16818 * <code>int64 timeout = 2;</code> 16819 */ 16820 long getTimeout(); 16821 16822 /** 16823 * <pre> 16824 * cleanup specifies whether or not to attempt pod deletion after test completes 16825 * </pre> 16826 * 16827 * <code>bool cleanup = 3;</code> 16828 */ 16829 boolean getCleanup(); 16830 } 16831 /** 16832 * <pre> 16833 * TestReleaseRequest is a request to get the status of a release. 16834 * </pre> 16835 * 16836 * Protobuf type {@code hapi.services.tiller.TestReleaseRequest} 16837 */ 16838 public static final class TestReleaseRequest extends 16839 com.google.protobuf.GeneratedMessageV3 implements 16840 // @@protoc_insertion_point(message_implements:hapi.services.tiller.TestReleaseRequest) 16841 TestReleaseRequestOrBuilder { 16842 private static final long serialVersionUID = 0L; 16843 // Use TestReleaseRequest.newBuilder() to construct. 16844 private TestReleaseRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 16845 super(builder); 16846 } 16847 private TestReleaseRequest() { 16848 name_ = ""; 16849 timeout_ = 0L; 16850 cleanup_ = false; 16851 } 16852 16853 @java.lang.Override 16854 public final com.google.protobuf.UnknownFieldSet 16855 getUnknownFields() { 16856 return this.unknownFields; 16857 } 16858 private TestReleaseRequest( 16859 com.google.protobuf.CodedInputStream input, 16860 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 16861 throws com.google.protobuf.InvalidProtocolBufferException { 16862 this(); 16863 if (extensionRegistry == null) { 16864 throw new java.lang.NullPointerException(); 16865 } 16866 int mutable_bitField0_ = 0; 16867 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 16868 com.google.protobuf.UnknownFieldSet.newBuilder(); 16869 try { 16870 boolean done = false; 16871 while (!done) { 16872 int tag = input.readTag(); 16873 switch (tag) { 16874 case 0: 16875 done = true; 16876 break; 16877 default: { 16878 if (!parseUnknownFieldProto3( 16879 input, unknownFields, extensionRegistry, tag)) { 16880 done = true; 16881 } 16882 break; 16883 } 16884 case 10: { 16885 java.lang.String s = input.readStringRequireUtf8(); 16886 16887 name_ = s; 16888 break; 16889 } 16890 case 16: { 16891 16892 timeout_ = input.readInt64(); 16893 break; 16894 } 16895 case 24: { 16896 16897 cleanup_ = input.readBool(); 16898 break; 16899 } 16900 } 16901 } 16902 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 16903 throw e.setUnfinishedMessage(this); 16904 } catch (java.io.IOException e) { 16905 throw new com.google.protobuf.InvalidProtocolBufferException( 16906 e).setUnfinishedMessage(this); 16907 } finally { 16908 this.unknownFields = unknownFields.build(); 16909 makeExtensionsImmutable(); 16910 } 16911 } 16912 public static final com.google.protobuf.Descriptors.Descriptor 16913 getDescriptor() { 16914 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_TestReleaseRequest_descriptor; 16915 } 16916 16917 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 16918 internalGetFieldAccessorTable() { 16919 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_TestReleaseRequest_fieldAccessorTable 16920 .ensureFieldAccessorsInitialized( 16921 hapi.services.tiller.Tiller.TestReleaseRequest.class, hapi.services.tiller.Tiller.TestReleaseRequest.Builder.class); 16922 } 16923 16924 public static final int NAME_FIELD_NUMBER = 1; 16925 private volatile java.lang.Object name_; 16926 /** 16927 * <pre> 16928 * Name is the name of the release 16929 * </pre> 16930 * 16931 * <code>string name = 1;</code> 16932 */ 16933 public java.lang.String getName() { 16934 java.lang.Object ref = name_; 16935 if (ref instanceof java.lang.String) { 16936 return (java.lang.String) ref; 16937 } else { 16938 com.google.protobuf.ByteString bs = 16939 (com.google.protobuf.ByteString) ref; 16940 java.lang.String s = bs.toStringUtf8(); 16941 name_ = s; 16942 return s; 16943 } 16944 } 16945 /** 16946 * <pre> 16947 * Name is the name of the release 16948 * </pre> 16949 * 16950 * <code>string name = 1;</code> 16951 */ 16952 public com.google.protobuf.ByteString 16953 getNameBytes() { 16954 java.lang.Object ref = name_; 16955 if (ref instanceof java.lang.String) { 16956 com.google.protobuf.ByteString b = 16957 com.google.protobuf.ByteString.copyFromUtf8( 16958 (java.lang.String) ref); 16959 name_ = b; 16960 return b; 16961 } else { 16962 return (com.google.protobuf.ByteString) ref; 16963 } 16964 } 16965 16966 public static final int TIMEOUT_FIELD_NUMBER = 2; 16967 private long timeout_; 16968 /** 16969 * <pre> 16970 * timeout specifies the max amount of time any kubernetes client command can run. 16971 * </pre> 16972 * 16973 * <code>int64 timeout = 2;</code> 16974 */ 16975 public long getTimeout() { 16976 return timeout_; 16977 } 16978 16979 public static final int CLEANUP_FIELD_NUMBER = 3; 16980 private boolean cleanup_; 16981 /** 16982 * <pre> 16983 * cleanup specifies whether or not to attempt pod deletion after test completes 16984 * </pre> 16985 * 16986 * <code>bool cleanup = 3;</code> 16987 */ 16988 public boolean getCleanup() { 16989 return cleanup_; 16990 } 16991 16992 private byte memoizedIsInitialized = -1; 16993 public final boolean isInitialized() { 16994 byte isInitialized = memoizedIsInitialized; 16995 if (isInitialized == 1) return true; 16996 if (isInitialized == 0) return false; 16997 16998 memoizedIsInitialized = 1; 16999 return true; 17000 } 17001 17002 public void writeTo(com.google.protobuf.CodedOutputStream output) 17003 throws java.io.IOException { 17004 if (!getNameBytes().isEmpty()) { 17005 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); 17006 } 17007 if (timeout_ != 0L) { 17008 output.writeInt64(2, timeout_); 17009 } 17010 if (cleanup_ != false) { 17011 output.writeBool(3, cleanup_); 17012 } 17013 unknownFields.writeTo(output); 17014 } 17015 17016 public int getSerializedSize() { 17017 int size = memoizedSize; 17018 if (size != -1) return size; 17019 17020 size = 0; 17021 if (!getNameBytes().isEmpty()) { 17022 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); 17023 } 17024 if (timeout_ != 0L) { 17025 size += com.google.protobuf.CodedOutputStream 17026 .computeInt64Size(2, timeout_); 17027 } 17028 if (cleanup_ != false) { 17029 size += com.google.protobuf.CodedOutputStream 17030 .computeBoolSize(3, cleanup_); 17031 } 17032 size += unknownFields.getSerializedSize(); 17033 memoizedSize = size; 17034 return size; 17035 } 17036 17037 @java.lang.Override 17038 public boolean equals(final java.lang.Object obj) { 17039 if (obj == this) { 17040 return true; 17041 } 17042 if (!(obj instanceof hapi.services.tiller.Tiller.TestReleaseRequest)) { 17043 return super.equals(obj); 17044 } 17045 hapi.services.tiller.Tiller.TestReleaseRequest other = (hapi.services.tiller.Tiller.TestReleaseRequest) obj; 17046 17047 boolean result = true; 17048 result = result && getName() 17049 .equals(other.getName()); 17050 result = result && (getTimeout() 17051 == other.getTimeout()); 17052 result = result && (getCleanup() 17053 == other.getCleanup()); 17054 result = result && unknownFields.equals(other.unknownFields); 17055 return result; 17056 } 17057 17058 @java.lang.Override 17059 public int hashCode() { 17060 if (memoizedHashCode != 0) { 17061 return memoizedHashCode; 17062 } 17063 int hash = 41; 17064 hash = (19 * hash) + getDescriptor().hashCode(); 17065 hash = (37 * hash) + NAME_FIELD_NUMBER; 17066 hash = (53 * hash) + getName().hashCode(); 17067 hash = (37 * hash) + TIMEOUT_FIELD_NUMBER; 17068 hash = (53 * hash) + com.google.protobuf.Internal.hashLong( 17069 getTimeout()); 17070 hash = (37 * hash) + CLEANUP_FIELD_NUMBER; 17071 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( 17072 getCleanup()); 17073 hash = (29 * hash) + unknownFields.hashCode(); 17074 memoizedHashCode = hash; 17075 return hash; 17076 } 17077 17078 public static hapi.services.tiller.Tiller.TestReleaseRequest parseFrom( 17079 java.nio.ByteBuffer data) 17080 throws com.google.protobuf.InvalidProtocolBufferException { 17081 return PARSER.parseFrom(data); 17082 } 17083 public static hapi.services.tiller.Tiller.TestReleaseRequest parseFrom( 17084 java.nio.ByteBuffer data, 17085 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 17086 throws com.google.protobuf.InvalidProtocolBufferException { 17087 return PARSER.parseFrom(data, extensionRegistry); 17088 } 17089 public static hapi.services.tiller.Tiller.TestReleaseRequest parseFrom( 17090 com.google.protobuf.ByteString data) 17091 throws com.google.protobuf.InvalidProtocolBufferException { 17092 return PARSER.parseFrom(data); 17093 } 17094 public static hapi.services.tiller.Tiller.TestReleaseRequest parseFrom( 17095 com.google.protobuf.ByteString data, 17096 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 17097 throws com.google.protobuf.InvalidProtocolBufferException { 17098 return PARSER.parseFrom(data, extensionRegistry); 17099 } 17100 public static hapi.services.tiller.Tiller.TestReleaseRequest parseFrom(byte[] data) 17101 throws com.google.protobuf.InvalidProtocolBufferException { 17102 return PARSER.parseFrom(data); 17103 } 17104 public static hapi.services.tiller.Tiller.TestReleaseRequest parseFrom( 17105 byte[] data, 17106 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 17107 throws com.google.protobuf.InvalidProtocolBufferException { 17108 return PARSER.parseFrom(data, extensionRegistry); 17109 } 17110 public static hapi.services.tiller.Tiller.TestReleaseRequest parseFrom(java.io.InputStream input) 17111 throws java.io.IOException { 17112 return com.google.protobuf.GeneratedMessageV3 17113 .parseWithIOException(PARSER, input); 17114 } 17115 public static hapi.services.tiller.Tiller.TestReleaseRequest parseFrom( 17116 java.io.InputStream input, 17117 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 17118 throws java.io.IOException { 17119 return com.google.protobuf.GeneratedMessageV3 17120 .parseWithIOException(PARSER, input, extensionRegistry); 17121 } 17122 public static hapi.services.tiller.Tiller.TestReleaseRequest parseDelimitedFrom(java.io.InputStream input) 17123 throws java.io.IOException { 17124 return com.google.protobuf.GeneratedMessageV3 17125 .parseDelimitedWithIOException(PARSER, input); 17126 } 17127 public static hapi.services.tiller.Tiller.TestReleaseRequest parseDelimitedFrom( 17128 java.io.InputStream input, 17129 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 17130 throws java.io.IOException { 17131 return com.google.protobuf.GeneratedMessageV3 17132 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 17133 } 17134 public static hapi.services.tiller.Tiller.TestReleaseRequest parseFrom( 17135 com.google.protobuf.CodedInputStream input) 17136 throws java.io.IOException { 17137 return com.google.protobuf.GeneratedMessageV3 17138 .parseWithIOException(PARSER, input); 17139 } 17140 public static hapi.services.tiller.Tiller.TestReleaseRequest parseFrom( 17141 com.google.protobuf.CodedInputStream input, 17142 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 17143 throws java.io.IOException { 17144 return com.google.protobuf.GeneratedMessageV3 17145 .parseWithIOException(PARSER, input, extensionRegistry); 17146 } 17147 17148 public Builder newBuilderForType() { return newBuilder(); } 17149 public static Builder newBuilder() { 17150 return DEFAULT_INSTANCE.toBuilder(); 17151 } 17152 public static Builder newBuilder(hapi.services.tiller.Tiller.TestReleaseRequest prototype) { 17153 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 17154 } 17155 public Builder toBuilder() { 17156 return this == DEFAULT_INSTANCE 17157 ? new Builder() : new Builder().mergeFrom(this); 17158 } 17159 17160 @java.lang.Override 17161 protected Builder newBuilderForType( 17162 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 17163 Builder builder = new Builder(parent); 17164 return builder; 17165 } 17166 /** 17167 * <pre> 17168 * TestReleaseRequest is a request to get the status of a release. 17169 * </pre> 17170 * 17171 * Protobuf type {@code hapi.services.tiller.TestReleaseRequest} 17172 */ 17173 public static final class Builder extends 17174 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 17175 // @@protoc_insertion_point(builder_implements:hapi.services.tiller.TestReleaseRequest) 17176 hapi.services.tiller.Tiller.TestReleaseRequestOrBuilder { 17177 public static final com.google.protobuf.Descriptors.Descriptor 17178 getDescriptor() { 17179 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_TestReleaseRequest_descriptor; 17180 } 17181 17182 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 17183 internalGetFieldAccessorTable() { 17184 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_TestReleaseRequest_fieldAccessorTable 17185 .ensureFieldAccessorsInitialized( 17186 hapi.services.tiller.Tiller.TestReleaseRequest.class, hapi.services.tiller.Tiller.TestReleaseRequest.Builder.class); 17187 } 17188 17189 // Construct using hapi.services.tiller.Tiller.TestReleaseRequest.newBuilder() 17190 private Builder() { 17191 maybeForceBuilderInitialization(); 17192 } 17193 17194 private Builder( 17195 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 17196 super(parent); 17197 maybeForceBuilderInitialization(); 17198 } 17199 private void maybeForceBuilderInitialization() { 17200 if (com.google.protobuf.GeneratedMessageV3 17201 .alwaysUseFieldBuilders) { 17202 } 17203 } 17204 public Builder clear() { 17205 super.clear(); 17206 name_ = ""; 17207 17208 timeout_ = 0L; 17209 17210 cleanup_ = false; 17211 17212 return this; 17213 } 17214 17215 public com.google.protobuf.Descriptors.Descriptor 17216 getDescriptorForType() { 17217 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_TestReleaseRequest_descriptor; 17218 } 17219 17220 public hapi.services.tiller.Tiller.TestReleaseRequest getDefaultInstanceForType() { 17221 return hapi.services.tiller.Tiller.TestReleaseRequest.getDefaultInstance(); 17222 } 17223 17224 public hapi.services.tiller.Tiller.TestReleaseRequest build() { 17225 hapi.services.tiller.Tiller.TestReleaseRequest result = buildPartial(); 17226 if (!result.isInitialized()) { 17227 throw newUninitializedMessageException(result); 17228 } 17229 return result; 17230 } 17231 17232 public hapi.services.tiller.Tiller.TestReleaseRequest buildPartial() { 17233 hapi.services.tiller.Tiller.TestReleaseRequest result = new hapi.services.tiller.Tiller.TestReleaseRequest(this); 17234 result.name_ = name_; 17235 result.timeout_ = timeout_; 17236 result.cleanup_ = cleanup_; 17237 onBuilt(); 17238 return result; 17239 } 17240 17241 public Builder clone() { 17242 return (Builder) super.clone(); 17243 } 17244 public Builder setField( 17245 com.google.protobuf.Descriptors.FieldDescriptor field, 17246 java.lang.Object value) { 17247 return (Builder) super.setField(field, value); 17248 } 17249 public Builder clearField( 17250 com.google.protobuf.Descriptors.FieldDescriptor field) { 17251 return (Builder) super.clearField(field); 17252 } 17253 public Builder clearOneof( 17254 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 17255 return (Builder) super.clearOneof(oneof); 17256 } 17257 public Builder setRepeatedField( 17258 com.google.protobuf.Descriptors.FieldDescriptor field, 17259 int index, java.lang.Object value) { 17260 return (Builder) super.setRepeatedField(field, index, value); 17261 } 17262 public Builder addRepeatedField( 17263 com.google.protobuf.Descriptors.FieldDescriptor field, 17264 java.lang.Object value) { 17265 return (Builder) super.addRepeatedField(field, value); 17266 } 17267 public Builder mergeFrom(com.google.protobuf.Message other) { 17268 if (other instanceof hapi.services.tiller.Tiller.TestReleaseRequest) { 17269 return mergeFrom((hapi.services.tiller.Tiller.TestReleaseRequest)other); 17270 } else { 17271 super.mergeFrom(other); 17272 return this; 17273 } 17274 } 17275 17276 public Builder mergeFrom(hapi.services.tiller.Tiller.TestReleaseRequest other) { 17277 if (other == hapi.services.tiller.Tiller.TestReleaseRequest.getDefaultInstance()) return this; 17278 if (!other.getName().isEmpty()) { 17279 name_ = other.name_; 17280 onChanged(); 17281 } 17282 if (other.getTimeout() != 0L) { 17283 setTimeout(other.getTimeout()); 17284 } 17285 if (other.getCleanup() != false) { 17286 setCleanup(other.getCleanup()); 17287 } 17288 this.mergeUnknownFields(other.unknownFields); 17289 onChanged(); 17290 return this; 17291 } 17292 17293 public final boolean isInitialized() { 17294 return true; 17295 } 17296 17297 public Builder mergeFrom( 17298 com.google.protobuf.CodedInputStream input, 17299 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 17300 throws java.io.IOException { 17301 hapi.services.tiller.Tiller.TestReleaseRequest parsedMessage = null; 17302 try { 17303 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 17304 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 17305 parsedMessage = (hapi.services.tiller.Tiller.TestReleaseRequest) e.getUnfinishedMessage(); 17306 throw e.unwrapIOException(); 17307 } finally { 17308 if (parsedMessage != null) { 17309 mergeFrom(parsedMessage); 17310 } 17311 } 17312 return this; 17313 } 17314 17315 private java.lang.Object name_ = ""; 17316 /** 17317 * <pre> 17318 * Name is the name of the release 17319 * </pre> 17320 * 17321 * <code>string name = 1;</code> 17322 */ 17323 public java.lang.String getName() { 17324 java.lang.Object ref = name_; 17325 if (!(ref instanceof java.lang.String)) { 17326 com.google.protobuf.ByteString bs = 17327 (com.google.protobuf.ByteString) ref; 17328 java.lang.String s = bs.toStringUtf8(); 17329 name_ = s; 17330 return s; 17331 } else { 17332 return (java.lang.String) ref; 17333 } 17334 } 17335 /** 17336 * <pre> 17337 * Name is the name of the release 17338 * </pre> 17339 * 17340 * <code>string name = 1;</code> 17341 */ 17342 public com.google.protobuf.ByteString 17343 getNameBytes() { 17344 java.lang.Object ref = name_; 17345 if (ref instanceof String) { 17346 com.google.protobuf.ByteString b = 17347 com.google.protobuf.ByteString.copyFromUtf8( 17348 (java.lang.String) ref); 17349 name_ = b; 17350 return b; 17351 } else { 17352 return (com.google.protobuf.ByteString) ref; 17353 } 17354 } 17355 /** 17356 * <pre> 17357 * Name is the name of the release 17358 * </pre> 17359 * 17360 * <code>string name = 1;</code> 17361 */ 17362 public Builder setName( 17363 java.lang.String value) { 17364 if (value == null) { 17365 throw new NullPointerException(); 17366 } 17367 17368 name_ = value; 17369 onChanged(); 17370 return this; 17371 } 17372 /** 17373 * <pre> 17374 * Name is the name of the release 17375 * </pre> 17376 * 17377 * <code>string name = 1;</code> 17378 */ 17379 public Builder clearName() { 17380 17381 name_ = getDefaultInstance().getName(); 17382 onChanged(); 17383 return this; 17384 } 17385 /** 17386 * <pre> 17387 * Name is the name of the release 17388 * </pre> 17389 * 17390 * <code>string name = 1;</code> 17391 */ 17392 public Builder setNameBytes( 17393 com.google.protobuf.ByteString value) { 17394 if (value == null) { 17395 throw new NullPointerException(); 17396 } 17397 checkByteStringIsUtf8(value); 17398 17399 name_ = value; 17400 onChanged(); 17401 return this; 17402 } 17403 17404 private long timeout_ ; 17405 /** 17406 * <pre> 17407 * timeout specifies the max amount of time any kubernetes client command can run. 17408 * </pre> 17409 * 17410 * <code>int64 timeout = 2;</code> 17411 */ 17412 public long getTimeout() { 17413 return timeout_; 17414 } 17415 /** 17416 * <pre> 17417 * timeout specifies the max amount of time any kubernetes client command can run. 17418 * </pre> 17419 * 17420 * <code>int64 timeout = 2;</code> 17421 */ 17422 public Builder setTimeout(long value) { 17423 17424 timeout_ = value; 17425 onChanged(); 17426 return this; 17427 } 17428 /** 17429 * <pre> 17430 * timeout specifies the max amount of time any kubernetes client command can run. 17431 * </pre> 17432 * 17433 * <code>int64 timeout = 2;</code> 17434 */ 17435 public Builder clearTimeout() { 17436 17437 timeout_ = 0L; 17438 onChanged(); 17439 return this; 17440 } 17441 17442 private boolean cleanup_ ; 17443 /** 17444 * <pre> 17445 * cleanup specifies whether or not to attempt pod deletion after test completes 17446 * </pre> 17447 * 17448 * <code>bool cleanup = 3;</code> 17449 */ 17450 public boolean getCleanup() { 17451 return cleanup_; 17452 } 17453 /** 17454 * <pre> 17455 * cleanup specifies whether or not to attempt pod deletion after test completes 17456 * </pre> 17457 * 17458 * <code>bool cleanup = 3;</code> 17459 */ 17460 public Builder setCleanup(boolean value) { 17461 17462 cleanup_ = value; 17463 onChanged(); 17464 return this; 17465 } 17466 /** 17467 * <pre> 17468 * cleanup specifies whether or not to attempt pod deletion after test completes 17469 * </pre> 17470 * 17471 * <code>bool cleanup = 3;</code> 17472 */ 17473 public Builder clearCleanup() { 17474 17475 cleanup_ = false; 17476 onChanged(); 17477 return this; 17478 } 17479 public final Builder setUnknownFields( 17480 final com.google.protobuf.UnknownFieldSet unknownFields) { 17481 return super.setUnknownFieldsProto3(unknownFields); 17482 } 17483 17484 public final Builder mergeUnknownFields( 17485 final com.google.protobuf.UnknownFieldSet unknownFields) { 17486 return super.mergeUnknownFields(unknownFields); 17487 } 17488 17489 17490 // @@protoc_insertion_point(builder_scope:hapi.services.tiller.TestReleaseRequest) 17491 } 17492 17493 // @@protoc_insertion_point(class_scope:hapi.services.tiller.TestReleaseRequest) 17494 private static final hapi.services.tiller.Tiller.TestReleaseRequest DEFAULT_INSTANCE; 17495 static { 17496 DEFAULT_INSTANCE = new hapi.services.tiller.Tiller.TestReleaseRequest(); 17497 } 17498 17499 public static hapi.services.tiller.Tiller.TestReleaseRequest getDefaultInstance() { 17500 return DEFAULT_INSTANCE; 17501 } 17502 17503 private static final com.google.protobuf.Parser<TestReleaseRequest> 17504 PARSER = new com.google.protobuf.AbstractParser<TestReleaseRequest>() { 17505 public TestReleaseRequest parsePartialFrom( 17506 com.google.protobuf.CodedInputStream input, 17507 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 17508 throws com.google.protobuf.InvalidProtocolBufferException { 17509 return new TestReleaseRequest(input, extensionRegistry); 17510 } 17511 }; 17512 17513 public static com.google.protobuf.Parser<TestReleaseRequest> parser() { 17514 return PARSER; 17515 } 17516 17517 @java.lang.Override 17518 public com.google.protobuf.Parser<TestReleaseRequest> getParserForType() { 17519 return PARSER; 17520 } 17521 17522 public hapi.services.tiller.Tiller.TestReleaseRequest getDefaultInstanceForType() { 17523 return DEFAULT_INSTANCE; 17524 } 17525 17526 } 17527 17528 public interface TestReleaseResponseOrBuilder extends 17529 // @@protoc_insertion_point(interface_extends:hapi.services.tiller.TestReleaseResponse) 17530 com.google.protobuf.MessageOrBuilder { 17531 17532 /** 17533 * <code>string msg = 1;</code> 17534 */ 17535 java.lang.String getMsg(); 17536 /** 17537 * <code>string msg = 1;</code> 17538 */ 17539 com.google.protobuf.ByteString 17540 getMsgBytes(); 17541 17542 /** 17543 * <code>.hapi.release.TestRun.Status status = 2;</code> 17544 */ 17545 int getStatusValue(); 17546 /** 17547 * <code>.hapi.release.TestRun.Status status = 2;</code> 17548 */ 17549 hapi.release.TestRunOuterClass.TestRun.Status getStatus(); 17550 } 17551 /** 17552 * <pre> 17553 * TestReleaseResponse represents a message from executing a test 17554 * </pre> 17555 * 17556 * Protobuf type {@code hapi.services.tiller.TestReleaseResponse} 17557 */ 17558 public static final class TestReleaseResponse extends 17559 com.google.protobuf.GeneratedMessageV3 implements 17560 // @@protoc_insertion_point(message_implements:hapi.services.tiller.TestReleaseResponse) 17561 TestReleaseResponseOrBuilder { 17562 private static final long serialVersionUID = 0L; 17563 // Use TestReleaseResponse.newBuilder() to construct. 17564 private TestReleaseResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 17565 super(builder); 17566 } 17567 private TestReleaseResponse() { 17568 msg_ = ""; 17569 status_ = 0; 17570 } 17571 17572 @java.lang.Override 17573 public final com.google.protobuf.UnknownFieldSet 17574 getUnknownFields() { 17575 return this.unknownFields; 17576 } 17577 private TestReleaseResponse( 17578 com.google.protobuf.CodedInputStream input, 17579 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 17580 throws com.google.protobuf.InvalidProtocolBufferException { 17581 this(); 17582 if (extensionRegistry == null) { 17583 throw new java.lang.NullPointerException(); 17584 } 17585 int mutable_bitField0_ = 0; 17586 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 17587 com.google.protobuf.UnknownFieldSet.newBuilder(); 17588 try { 17589 boolean done = false; 17590 while (!done) { 17591 int tag = input.readTag(); 17592 switch (tag) { 17593 case 0: 17594 done = true; 17595 break; 17596 default: { 17597 if (!parseUnknownFieldProto3( 17598 input, unknownFields, extensionRegistry, tag)) { 17599 done = true; 17600 } 17601 break; 17602 } 17603 case 10: { 17604 java.lang.String s = input.readStringRequireUtf8(); 17605 17606 msg_ = s; 17607 break; 17608 } 17609 case 16: { 17610 int rawValue = input.readEnum(); 17611 17612 status_ = rawValue; 17613 break; 17614 } 17615 } 17616 } 17617 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 17618 throw e.setUnfinishedMessage(this); 17619 } catch (java.io.IOException e) { 17620 throw new com.google.protobuf.InvalidProtocolBufferException( 17621 e).setUnfinishedMessage(this); 17622 } finally { 17623 this.unknownFields = unknownFields.build(); 17624 makeExtensionsImmutable(); 17625 } 17626 } 17627 public static final com.google.protobuf.Descriptors.Descriptor 17628 getDescriptor() { 17629 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_TestReleaseResponse_descriptor; 17630 } 17631 17632 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 17633 internalGetFieldAccessorTable() { 17634 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_TestReleaseResponse_fieldAccessorTable 17635 .ensureFieldAccessorsInitialized( 17636 hapi.services.tiller.Tiller.TestReleaseResponse.class, hapi.services.tiller.Tiller.TestReleaseResponse.Builder.class); 17637 } 17638 17639 public static final int MSG_FIELD_NUMBER = 1; 17640 private volatile java.lang.Object msg_; 17641 /** 17642 * <code>string msg = 1;</code> 17643 */ 17644 public java.lang.String getMsg() { 17645 java.lang.Object ref = msg_; 17646 if (ref instanceof java.lang.String) { 17647 return (java.lang.String) ref; 17648 } else { 17649 com.google.protobuf.ByteString bs = 17650 (com.google.protobuf.ByteString) ref; 17651 java.lang.String s = bs.toStringUtf8(); 17652 msg_ = s; 17653 return s; 17654 } 17655 } 17656 /** 17657 * <code>string msg = 1;</code> 17658 */ 17659 public com.google.protobuf.ByteString 17660 getMsgBytes() { 17661 java.lang.Object ref = msg_; 17662 if (ref instanceof java.lang.String) { 17663 com.google.protobuf.ByteString b = 17664 com.google.protobuf.ByteString.copyFromUtf8( 17665 (java.lang.String) ref); 17666 msg_ = b; 17667 return b; 17668 } else { 17669 return (com.google.protobuf.ByteString) ref; 17670 } 17671 } 17672 17673 public static final int STATUS_FIELD_NUMBER = 2; 17674 private int status_; 17675 /** 17676 * <code>.hapi.release.TestRun.Status status = 2;</code> 17677 */ 17678 public int getStatusValue() { 17679 return status_; 17680 } 17681 /** 17682 * <code>.hapi.release.TestRun.Status status = 2;</code> 17683 */ 17684 public hapi.release.TestRunOuterClass.TestRun.Status getStatus() { 17685 hapi.release.TestRunOuterClass.TestRun.Status result = hapi.release.TestRunOuterClass.TestRun.Status.valueOf(status_); 17686 return result == null ? hapi.release.TestRunOuterClass.TestRun.Status.UNRECOGNIZED : result; 17687 } 17688 17689 private byte memoizedIsInitialized = -1; 17690 public final boolean isInitialized() { 17691 byte isInitialized = memoizedIsInitialized; 17692 if (isInitialized == 1) return true; 17693 if (isInitialized == 0) return false; 17694 17695 memoizedIsInitialized = 1; 17696 return true; 17697 } 17698 17699 public void writeTo(com.google.protobuf.CodedOutputStream output) 17700 throws java.io.IOException { 17701 if (!getMsgBytes().isEmpty()) { 17702 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, msg_); 17703 } 17704 if (status_ != hapi.release.TestRunOuterClass.TestRun.Status.UNKNOWN.getNumber()) { 17705 output.writeEnum(2, status_); 17706 } 17707 unknownFields.writeTo(output); 17708 } 17709 17710 public int getSerializedSize() { 17711 int size = memoizedSize; 17712 if (size != -1) return size; 17713 17714 size = 0; 17715 if (!getMsgBytes().isEmpty()) { 17716 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, msg_); 17717 } 17718 if (status_ != hapi.release.TestRunOuterClass.TestRun.Status.UNKNOWN.getNumber()) { 17719 size += com.google.protobuf.CodedOutputStream 17720 .computeEnumSize(2, status_); 17721 } 17722 size += unknownFields.getSerializedSize(); 17723 memoizedSize = size; 17724 return size; 17725 } 17726 17727 @java.lang.Override 17728 public boolean equals(final java.lang.Object obj) { 17729 if (obj == this) { 17730 return true; 17731 } 17732 if (!(obj instanceof hapi.services.tiller.Tiller.TestReleaseResponse)) { 17733 return super.equals(obj); 17734 } 17735 hapi.services.tiller.Tiller.TestReleaseResponse other = (hapi.services.tiller.Tiller.TestReleaseResponse) obj; 17736 17737 boolean result = true; 17738 result = result && getMsg() 17739 .equals(other.getMsg()); 17740 result = result && status_ == other.status_; 17741 result = result && unknownFields.equals(other.unknownFields); 17742 return result; 17743 } 17744 17745 @java.lang.Override 17746 public int hashCode() { 17747 if (memoizedHashCode != 0) { 17748 return memoizedHashCode; 17749 } 17750 int hash = 41; 17751 hash = (19 * hash) + getDescriptor().hashCode(); 17752 hash = (37 * hash) + MSG_FIELD_NUMBER; 17753 hash = (53 * hash) + getMsg().hashCode(); 17754 hash = (37 * hash) + STATUS_FIELD_NUMBER; 17755 hash = (53 * hash) + status_; 17756 hash = (29 * hash) + unknownFields.hashCode(); 17757 memoizedHashCode = hash; 17758 return hash; 17759 } 17760 17761 public static hapi.services.tiller.Tiller.TestReleaseResponse parseFrom( 17762 java.nio.ByteBuffer data) 17763 throws com.google.protobuf.InvalidProtocolBufferException { 17764 return PARSER.parseFrom(data); 17765 } 17766 public static hapi.services.tiller.Tiller.TestReleaseResponse parseFrom( 17767 java.nio.ByteBuffer data, 17768 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 17769 throws com.google.protobuf.InvalidProtocolBufferException { 17770 return PARSER.parseFrom(data, extensionRegistry); 17771 } 17772 public static hapi.services.tiller.Tiller.TestReleaseResponse parseFrom( 17773 com.google.protobuf.ByteString data) 17774 throws com.google.protobuf.InvalidProtocolBufferException { 17775 return PARSER.parseFrom(data); 17776 } 17777 public static hapi.services.tiller.Tiller.TestReleaseResponse parseFrom( 17778 com.google.protobuf.ByteString data, 17779 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 17780 throws com.google.protobuf.InvalidProtocolBufferException { 17781 return PARSER.parseFrom(data, extensionRegistry); 17782 } 17783 public static hapi.services.tiller.Tiller.TestReleaseResponse parseFrom(byte[] data) 17784 throws com.google.protobuf.InvalidProtocolBufferException { 17785 return PARSER.parseFrom(data); 17786 } 17787 public static hapi.services.tiller.Tiller.TestReleaseResponse parseFrom( 17788 byte[] data, 17789 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 17790 throws com.google.protobuf.InvalidProtocolBufferException { 17791 return PARSER.parseFrom(data, extensionRegistry); 17792 } 17793 public static hapi.services.tiller.Tiller.TestReleaseResponse parseFrom(java.io.InputStream input) 17794 throws java.io.IOException { 17795 return com.google.protobuf.GeneratedMessageV3 17796 .parseWithIOException(PARSER, input); 17797 } 17798 public static hapi.services.tiller.Tiller.TestReleaseResponse parseFrom( 17799 java.io.InputStream input, 17800 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 17801 throws java.io.IOException { 17802 return com.google.protobuf.GeneratedMessageV3 17803 .parseWithIOException(PARSER, input, extensionRegistry); 17804 } 17805 public static hapi.services.tiller.Tiller.TestReleaseResponse parseDelimitedFrom(java.io.InputStream input) 17806 throws java.io.IOException { 17807 return com.google.protobuf.GeneratedMessageV3 17808 .parseDelimitedWithIOException(PARSER, input); 17809 } 17810 public static hapi.services.tiller.Tiller.TestReleaseResponse parseDelimitedFrom( 17811 java.io.InputStream input, 17812 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 17813 throws java.io.IOException { 17814 return com.google.protobuf.GeneratedMessageV3 17815 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 17816 } 17817 public static hapi.services.tiller.Tiller.TestReleaseResponse parseFrom( 17818 com.google.protobuf.CodedInputStream input) 17819 throws java.io.IOException { 17820 return com.google.protobuf.GeneratedMessageV3 17821 .parseWithIOException(PARSER, input); 17822 } 17823 public static hapi.services.tiller.Tiller.TestReleaseResponse parseFrom( 17824 com.google.protobuf.CodedInputStream input, 17825 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 17826 throws java.io.IOException { 17827 return com.google.protobuf.GeneratedMessageV3 17828 .parseWithIOException(PARSER, input, extensionRegistry); 17829 } 17830 17831 public Builder newBuilderForType() { return newBuilder(); } 17832 public static Builder newBuilder() { 17833 return DEFAULT_INSTANCE.toBuilder(); 17834 } 17835 public static Builder newBuilder(hapi.services.tiller.Tiller.TestReleaseResponse prototype) { 17836 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 17837 } 17838 public Builder toBuilder() { 17839 return this == DEFAULT_INSTANCE 17840 ? new Builder() : new Builder().mergeFrom(this); 17841 } 17842 17843 @java.lang.Override 17844 protected Builder newBuilderForType( 17845 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 17846 Builder builder = new Builder(parent); 17847 return builder; 17848 } 17849 /** 17850 * <pre> 17851 * TestReleaseResponse represents a message from executing a test 17852 * </pre> 17853 * 17854 * Protobuf type {@code hapi.services.tiller.TestReleaseResponse} 17855 */ 17856 public static final class Builder extends 17857 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 17858 // @@protoc_insertion_point(builder_implements:hapi.services.tiller.TestReleaseResponse) 17859 hapi.services.tiller.Tiller.TestReleaseResponseOrBuilder { 17860 public static final com.google.protobuf.Descriptors.Descriptor 17861 getDescriptor() { 17862 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_TestReleaseResponse_descriptor; 17863 } 17864 17865 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 17866 internalGetFieldAccessorTable() { 17867 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_TestReleaseResponse_fieldAccessorTable 17868 .ensureFieldAccessorsInitialized( 17869 hapi.services.tiller.Tiller.TestReleaseResponse.class, hapi.services.tiller.Tiller.TestReleaseResponse.Builder.class); 17870 } 17871 17872 // Construct using hapi.services.tiller.Tiller.TestReleaseResponse.newBuilder() 17873 private Builder() { 17874 maybeForceBuilderInitialization(); 17875 } 17876 17877 private Builder( 17878 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 17879 super(parent); 17880 maybeForceBuilderInitialization(); 17881 } 17882 private void maybeForceBuilderInitialization() { 17883 if (com.google.protobuf.GeneratedMessageV3 17884 .alwaysUseFieldBuilders) { 17885 } 17886 } 17887 public Builder clear() { 17888 super.clear(); 17889 msg_ = ""; 17890 17891 status_ = 0; 17892 17893 return this; 17894 } 17895 17896 public com.google.protobuf.Descriptors.Descriptor 17897 getDescriptorForType() { 17898 return hapi.services.tiller.Tiller.internal_static_hapi_services_tiller_TestReleaseResponse_descriptor; 17899 } 17900 17901 public hapi.services.tiller.Tiller.TestReleaseResponse getDefaultInstanceForType() { 17902 return hapi.services.tiller.Tiller.TestReleaseResponse.getDefaultInstance(); 17903 } 17904 17905 public hapi.services.tiller.Tiller.TestReleaseResponse build() { 17906 hapi.services.tiller.Tiller.TestReleaseResponse result = buildPartial(); 17907 if (!result.isInitialized()) { 17908 throw newUninitializedMessageException(result); 17909 } 17910 return result; 17911 } 17912 17913 public hapi.services.tiller.Tiller.TestReleaseResponse buildPartial() { 17914 hapi.services.tiller.Tiller.TestReleaseResponse result = new hapi.services.tiller.Tiller.TestReleaseResponse(this); 17915 result.msg_ = msg_; 17916 result.status_ = status_; 17917 onBuilt(); 17918 return result; 17919 } 17920 17921 public Builder clone() { 17922 return (Builder) super.clone(); 17923 } 17924 public Builder setField( 17925 com.google.protobuf.Descriptors.FieldDescriptor field, 17926 java.lang.Object value) { 17927 return (Builder) super.setField(field, value); 17928 } 17929 public Builder clearField( 17930 com.google.protobuf.Descriptors.FieldDescriptor field) { 17931 return (Builder) super.clearField(field); 17932 } 17933 public Builder clearOneof( 17934 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 17935 return (Builder) super.clearOneof(oneof); 17936 } 17937 public Builder setRepeatedField( 17938 com.google.protobuf.Descriptors.FieldDescriptor field, 17939 int index, java.lang.Object value) { 17940 return (Builder) super.setRepeatedField(field, index, value); 17941 } 17942 public Builder addRepeatedField( 17943 com.google.protobuf.Descriptors.FieldDescriptor field, 17944 java.lang.Object value) { 17945 return (Builder) super.addRepeatedField(field, value); 17946 } 17947 public Builder mergeFrom(com.google.protobuf.Message other) { 17948 if (other instanceof hapi.services.tiller.Tiller.TestReleaseResponse) { 17949 return mergeFrom((hapi.services.tiller.Tiller.TestReleaseResponse)other); 17950 } else { 17951 super.mergeFrom(other); 17952 return this; 17953 } 17954 } 17955 17956 public Builder mergeFrom(hapi.services.tiller.Tiller.TestReleaseResponse other) { 17957 if (other == hapi.services.tiller.Tiller.TestReleaseResponse.getDefaultInstance()) return this; 17958 if (!other.getMsg().isEmpty()) { 17959 msg_ = other.msg_; 17960 onChanged(); 17961 } 17962 if (other.status_ != 0) { 17963 setStatusValue(other.getStatusValue()); 17964 } 17965 this.mergeUnknownFields(other.unknownFields); 17966 onChanged(); 17967 return this; 17968 } 17969 17970 public final boolean isInitialized() { 17971 return true; 17972 } 17973 17974 public Builder mergeFrom( 17975 com.google.protobuf.CodedInputStream input, 17976 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 17977 throws java.io.IOException { 17978 hapi.services.tiller.Tiller.TestReleaseResponse parsedMessage = null; 17979 try { 17980 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 17981 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 17982 parsedMessage = (hapi.services.tiller.Tiller.TestReleaseResponse) e.getUnfinishedMessage(); 17983 throw e.unwrapIOException(); 17984 } finally { 17985 if (parsedMessage != null) { 17986 mergeFrom(parsedMessage); 17987 } 17988 } 17989 return this; 17990 } 17991 17992 private java.lang.Object msg_ = ""; 17993 /** 17994 * <code>string msg = 1;</code> 17995 */ 17996 public java.lang.String getMsg() { 17997 java.lang.Object ref = msg_; 17998 if (!(ref instanceof java.lang.String)) { 17999 com.google.protobuf.ByteString bs = 18000 (com.google.protobuf.ByteString) ref; 18001 java.lang.String s = bs.toStringUtf8(); 18002 msg_ = s; 18003 return s; 18004 } else { 18005 return (java.lang.String) ref; 18006 } 18007 } 18008 /** 18009 * <code>string msg = 1;</code> 18010 */ 18011 public com.google.protobuf.ByteString 18012 getMsgBytes() { 18013 java.lang.Object ref = msg_; 18014 if (ref instanceof String) { 18015 com.google.protobuf.ByteString b = 18016 com.google.protobuf.ByteString.copyFromUtf8( 18017 (java.lang.String) ref); 18018 msg_ = b; 18019 return b; 18020 } else { 18021 return (com.google.protobuf.ByteString) ref; 18022 } 18023 } 18024 /** 18025 * <code>string msg = 1;</code> 18026 */ 18027 public Builder setMsg( 18028 java.lang.String value) { 18029 if (value == null) { 18030 throw new NullPointerException(); 18031 } 18032 18033 msg_ = value; 18034 onChanged(); 18035 return this; 18036 } 18037 /** 18038 * <code>string msg = 1;</code> 18039 */ 18040 public Builder clearMsg() { 18041 18042 msg_ = getDefaultInstance().getMsg(); 18043 onChanged(); 18044 return this; 18045 } 18046 /** 18047 * <code>string msg = 1;</code> 18048 */ 18049 public Builder setMsgBytes( 18050 com.google.protobuf.ByteString value) { 18051 if (value == null) { 18052 throw new NullPointerException(); 18053 } 18054 checkByteStringIsUtf8(value); 18055 18056 msg_ = value; 18057 onChanged(); 18058 return this; 18059 } 18060 18061 private int status_ = 0; 18062 /** 18063 * <code>.hapi.release.TestRun.Status status = 2;</code> 18064 */ 18065 public int getStatusValue() { 18066 return status_; 18067 } 18068 /** 18069 * <code>.hapi.release.TestRun.Status status = 2;</code> 18070 */ 18071 public Builder setStatusValue(int value) { 18072 status_ = value; 18073 onChanged(); 18074 return this; 18075 } 18076 /** 18077 * <code>.hapi.release.TestRun.Status status = 2;</code> 18078 */ 18079 public hapi.release.TestRunOuterClass.TestRun.Status getStatus() { 18080 hapi.release.TestRunOuterClass.TestRun.Status result = hapi.release.TestRunOuterClass.TestRun.Status.valueOf(status_); 18081 return result == null ? hapi.release.TestRunOuterClass.TestRun.Status.UNRECOGNIZED : result; 18082 } 18083 /** 18084 * <code>.hapi.release.TestRun.Status status = 2;</code> 18085 */ 18086 public Builder setStatus(hapi.release.TestRunOuterClass.TestRun.Status value) { 18087 if (value == null) { 18088 throw new NullPointerException(); 18089 } 18090 18091 status_ = value.getNumber(); 18092 onChanged(); 18093 return this; 18094 } 18095 /** 18096 * <code>.hapi.release.TestRun.Status status = 2;</code> 18097 */ 18098 public Builder clearStatus() { 18099 18100 status_ = 0; 18101 onChanged(); 18102 return this; 18103 } 18104 public final Builder setUnknownFields( 18105 final com.google.protobuf.UnknownFieldSet unknownFields) { 18106 return super.setUnknownFieldsProto3(unknownFields); 18107 } 18108 18109 public final Builder mergeUnknownFields( 18110 final com.google.protobuf.UnknownFieldSet unknownFields) { 18111 return super.mergeUnknownFields(unknownFields); 18112 } 18113 18114 18115 // @@protoc_insertion_point(builder_scope:hapi.services.tiller.TestReleaseResponse) 18116 } 18117 18118 // @@protoc_insertion_point(class_scope:hapi.services.tiller.TestReleaseResponse) 18119 private static final hapi.services.tiller.Tiller.TestReleaseResponse DEFAULT_INSTANCE; 18120 static { 18121 DEFAULT_INSTANCE = new hapi.services.tiller.Tiller.TestReleaseResponse(); 18122 } 18123 18124 public static hapi.services.tiller.Tiller.TestReleaseResponse getDefaultInstance() { 18125 return DEFAULT_INSTANCE; 18126 } 18127 18128 private static final com.google.protobuf.Parser<TestReleaseResponse> 18129 PARSER = new com.google.protobuf.AbstractParser<TestReleaseResponse>() { 18130 public TestReleaseResponse parsePartialFrom( 18131 com.google.protobuf.CodedInputStream input, 18132 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 18133 throws com.google.protobuf.InvalidProtocolBufferException { 18134 return new TestReleaseResponse(input, extensionRegistry); 18135 } 18136 }; 18137 18138 public static com.google.protobuf.Parser<TestReleaseResponse> parser() { 18139 return PARSER; 18140 } 18141 18142 @java.lang.Override 18143 public com.google.protobuf.Parser<TestReleaseResponse> getParserForType() { 18144 return PARSER; 18145 } 18146 18147 public hapi.services.tiller.Tiller.TestReleaseResponse getDefaultInstanceForType() { 18148 return DEFAULT_INSTANCE; 18149 } 18150 18151 } 18152 18153 private static final com.google.protobuf.Descriptors.Descriptor 18154 internal_static_hapi_services_tiller_ListReleasesRequest_descriptor; 18155 private static final 18156 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 18157 internal_static_hapi_services_tiller_ListReleasesRequest_fieldAccessorTable; 18158 private static final com.google.protobuf.Descriptors.Descriptor 18159 internal_static_hapi_services_tiller_ListSort_descriptor; 18160 private static final 18161 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 18162 internal_static_hapi_services_tiller_ListSort_fieldAccessorTable; 18163 private static final com.google.protobuf.Descriptors.Descriptor 18164 internal_static_hapi_services_tiller_ListReleasesResponse_descriptor; 18165 private static final 18166 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 18167 internal_static_hapi_services_tiller_ListReleasesResponse_fieldAccessorTable; 18168 private static final com.google.protobuf.Descriptors.Descriptor 18169 internal_static_hapi_services_tiller_GetReleaseStatusRequest_descriptor; 18170 private static final 18171 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 18172 internal_static_hapi_services_tiller_GetReleaseStatusRequest_fieldAccessorTable; 18173 private static final com.google.protobuf.Descriptors.Descriptor 18174 internal_static_hapi_services_tiller_GetReleaseStatusResponse_descriptor; 18175 private static final 18176 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 18177 internal_static_hapi_services_tiller_GetReleaseStatusResponse_fieldAccessorTable; 18178 private static final com.google.protobuf.Descriptors.Descriptor 18179 internal_static_hapi_services_tiller_GetReleaseContentRequest_descriptor; 18180 private static final 18181 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 18182 internal_static_hapi_services_tiller_GetReleaseContentRequest_fieldAccessorTable; 18183 private static final com.google.protobuf.Descriptors.Descriptor 18184 internal_static_hapi_services_tiller_GetReleaseContentResponse_descriptor; 18185 private static final 18186 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 18187 internal_static_hapi_services_tiller_GetReleaseContentResponse_fieldAccessorTable; 18188 private static final com.google.protobuf.Descriptors.Descriptor 18189 internal_static_hapi_services_tiller_UpdateReleaseRequest_descriptor; 18190 private static final 18191 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 18192 internal_static_hapi_services_tiller_UpdateReleaseRequest_fieldAccessorTable; 18193 private static final com.google.protobuf.Descriptors.Descriptor 18194 internal_static_hapi_services_tiller_UpdateReleaseResponse_descriptor; 18195 private static final 18196 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 18197 internal_static_hapi_services_tiller_UpdateReleaseResponse_fieldAccessorTable; 18198 private static final com.google.protobuf.Descriptors.Descriptor 18199 internal_static_hapi_services_tiller_RollbackReleaseRequest_descriptor; 18200 private static final 18201 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 18202 internal_static_hapi_services_tiller_RollbackReleaseRequest_fieldAccessorTable; 18203 private static final com.google.protobuf.Descriptors.Descriptor 18204 internal_static_hapi_services_tiller_RollbackReleaseResponse_descriptor; 18205 private static final 18206 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 18207 internal_static_hapi_services_tiller_RollbackReleaseResponse_fieldAccessorTable; 18208 private static final com.google.protobuf.Descriptors.Descriptor 18209 internal_static_hapi_services_tiller_InstallReleaseRequest_descriptor; 18210 private static final 18211 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 18212 internal_static_hapi_services_tiller_InstallReleaseRequest_fieldAccessorTable; 18213 private static final com.google.protobuf.Descriptors.Descriptor 18214 internal_static_hapi_services_tiller_InstallReleaseResponse_descriptor; 18215 private static final 18216 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 18217 internal_static_hapi_services_tiller_InstallReleaseResponse_fieldAccessorTable; 18218 private static final com.google.protobuf.Descriptors.Descriptor 18219 internal_static_hapi_services_tiller_UninstallReleaseRequest_descriptor; 18220 private static final 18221 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 18222 internal_static_hapi_services_tiller_UninstallReleaseRequest_fieldAccessorTable; 18223 private static final com.google.protobuf.Descriptors.Descriptor 18224 internal_static_hapi_services_tiller_UninstallReleaseResponse_descriptor; 18225 private static final 18226 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 18227 internal_static_hapi_services_tiller_UninstallReleaseResponse_fieldAccessorTable; 18228 private static final com.google.protobuf.Descriptors.Descriptor 18229 internal_static_hapi_services_tiller_GetVersionRequest_descriptor; 18230 private static final 18231 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 18232 internal_static_hapi_services_tiller_GetVersionRequest_fieldAccessorTable; 18233 private static final com.google.protobuf.Descriptors.Descriptor 18234 internal_static_hapi_services_tiller_GetVersionResponse_descriptor; 18235 private static final 18236 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 18237 internal_static_hapi_services_tiller_GetVersionResponse_fieldAccessorTable; 18238 private static final com.google.protobuf.Descriptors.Descriptor 18239 internal_static_hapi_services_tiller_GetHistoryRequest_descriptor; 18240 private static final 18241 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 18242 internal_static_hapi_services_tiller_GetHistoryRequest_fieldAccessorTable; 18243 private static final com.google.protobuf.Descriptors.Descriptor 18244 internal_static_hapi_services_tiller_GetHistoryResponse_descriptor; 18245 private static final 18246 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 18247 internal_static_hapi_services_tiller_GetHistoryResponse_fieldAccessorTable; 18248 private static final com.google.protobuf.Descriptors.Descriptor 18249 internal_static_hapi_services_tiller_TestReleaseRequest_descriptor; 18250 private static final 18251 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 18252 internal_static_hapi_services_tiller_TestReleaseRequest_fieldAccessorTable; 18253 private static final com.google.protobuf.Descriptors.Descriptor 18254 internal_static_hapi_services_tiller_TestReleaseResponse_descriptor; 18255 private static final 18256 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 18257 internal_static_hapi_services_tiller_TestReleaseResponse_fieldAccessorTable; 18258 18259 public static com.google.protobuf.Descriptors.FileDescriptor 18260 getDescriptor() { 18261 return descriptor; 18262 } 18263 private static com.google.protobuf.Descriptors.FileDescriptor 18264 descriptor; 18265 static { 18266 java.lang.String[] descriptorData = { 18267 "\n\032hapi/services/tiller.proto\022\024hapi.servi" + 18268 "ces.tiller\032\026hapi/chart/chart.proto\032\027hapi" + 18269 "/chart/config.proto\032\032hapi/release/releas" + 18270 "e.proto\032\027hapi/release/info.proto\032\033hapi/r" + 18271 "elease/test_run.proto\032\031hapi/release/stat" + 18272 "us.proto\032\032hapi/version/version.proto\"\376\001\n" + 18273 "\023ListReleasesRequest\022\r\n\005limit\030\001 \001(\003\022\016\n\006o" + 18274 "ffset\030\002 \001(\t\0226\n\007sort_by\030\003 \001(\0162%.hapi.serv" + 18275 "ices.tiller.ListSort.SortBy\022\016\n\006filter\030\004 " + 18276 "\001(\t\022<\n\nsort_order\030\005 \001(\0162(.hapi.services." + 18277 "tiller.ListSort.SortOrder\022/\n\014status_code" + 18278 "s\030\006 \003(\0162\031.hapi.release.Status.Code\022\021\n\tna" + 18279 "mespace\030\007 \001(\t\"^\n\010ListSort\"2\n\006SortBy\022\013\n\007U" + 18280 "NKNOWN\020\000\022\010\n\004NAME\020\001\022\021\n\rLAST_RELEASED\020\002\"\036\n" + 18281 "\tSortOrder\022\007\n\003ASC\020\000\022\010\n\004DESC\020\001\"k\n\024ListRel" + 18282 "easesResponse\022\r\n\005count\030\001 \001(\003\022\014\n\004next\030\002 \001" + 18283 "(\t\022\r\n\005total\030\003 \001(\003\022\'\n\010releases\030\004 \003(\0132\025.ha" + 18284 "pi.release.Release\"8\n\027GetReleaseStatusRe" + 18285 "quest\022\014\n\004name\030\001 \001(\t\022\017\n\007version\030\002 \001(\005\"]\n\030" + 18286 "GetReleaseStatusResponse\022\014\n\004name\030\001 \001(\t\022 " + 18287 "\n\004info\030\002 \001(\0132\022.hapi.release.Info\022\021\n\tname" + 18288 "space\030\003 \001(\t\"9\n\030GetReleaseContentRequest\022" + 18289 "\014\n\004name\030\001 \001(\t\022\017\n\007version\030\002 \001(\005\"C\n\031GetRel" + 18290 "easeContentResponse\022&\n\007release\030\001 \001(\0132\025.h" + 18291 "api.release.Release\"\376\001\n\024UpdateReleaseReq" + 18292 "uest\022\014\n\004name\030\001 \001(\t\022 \n\005chart\030\002 \001(\0132\021.hapi" + 18293 ".chart.Chart\022\"\n\006values\030\003 \001(\0132\022.hapi.char" + 18294 "t.Config\022\017\n\007dry_run\030\004 \001(\010\022\025\n\rdisable_hoo" + 18295 "ks\030\005 \001(\010\022\020\n\010recreate\030\006 \001(\010\022\017\n\007timeout\030\007 " + 18296 "\001(\003\022\024\n\014reset_values\030\010 \001(\010\022\014\n\004wait\030\t \001(\010\022" + 18297 "\024\n\014reuse_values\030\n \001(\010\022\r\n\005force\030\013 \001(\010\"?\n\025" + 18298 "UpdateReleaseResponse\022&\n\007release\030\001 \001(\0132\025" + 18299 ".hapi.release.Release\"\237\001\n\026RollbackReleas" + 18300 "eRequest\022\014\n\004name\030\001 \001(\t\022\017\n\007dry_run\030\002 \001(\010\022" + 18301 "\025\n\rdisable_hooks\030\003 \001(\010\022\017\n\007version\030\004 \001(\005\022" + 18302 "\020\n\010recreate\030\005 \001(\010\022\017\n\007timeout\030\006 \001(\003\022\014\n\004wa" + 18303 "it\030\007 \001(\010\022\r\n\005force\030\010 \001(\010\"A\n\027RollbackRelea" + 18304 "seResponse\022&\n\007release\030\001 \001(\0132\025.hapi.relea" + 18305 "se.Release\"\331\001\n\025InstallReleaseRequest\022 \n\005" + 18306 "chart\030\001 \001(\0132\021.hapi.chart.Chart\022\"\n\006values" + 18307 "\030\002 \001(\0132\022.hapi.chart.Config\022\017\n\007dry_run\030\003 " + 18308 "\001(\010\022\014\n\004name\030\004 \001(\t\022\025\n\rdisable_hooks\030\005 \001(\010" + 18309 "\022\021\n\tnamespace\030\006 \001(\t\022\022\n\nreuse_name\030\007 \001(\010\022" + 18310 "\017\n\007timeout\030\010 \001(\003\022\014\n\004wait\030\t \001(\010\"@\n\026Instal" + 18311 "lReleaseResponse\022&\n\007release\030\001 \001(\0132\025.hapi" + 18312 ".release.Release\"^\n\027UninstallReleaseRequ" + 18313 "est\022\014\n\004name\030\001 \001(\t\022\025\n\rdisable_hooks\030\002 \001(\010" + 18314 "\022\r\n\005purge\030\003 \001(\010\022\017\n\007timeout\030\004 \001(\003\"P\n\030Unin" + 18315 "stallReleaseResponse\022&\n\007release\030\001 \001(\0132\025." + 18316 "hapi.release.Release\022\014\n\004info\030\002 \001(\t\"\023\n\021Ge" + 18317 "tVersionRequest\"<\n\022GetVersionResponse\022&\n" + 18318 "\007Version\030\001 \001(\0132\025.hapi.version.Version\".\n" + 18319 "\021GetHistoryRequest\022\014\n\004name\030\001 \001(\t\022\013\n\003max\030" + 18320 "\002 \001(\005\"=\n\022GetHistoryResponse\022\'\n\010releases\030" + 18321 "\001 \003(\0132\025.hapi.release.Release\"D\n\022TestRele" + 18322 "aseRequest\022\014\n\004name\030\001 \001(\t\022\017\n\007timeout\030\002 \001(" + 18323 "\003\022\017\n\007cleanup\030\003 \001(\010\"P\n\023TestReleaseRespons" + 18324 "e\022\013\n\003msg\030\001 \001(\t\022,\n\006status\030\002 \001(\0162\034.hapi.re" + 18325 "lease.TestRun.Status2\333\010\n\016ReleaseService\022" + 18326 "i\n\014ListReleases\022).hapi.services.tiller.L" + 18327 "istReleasesRequest\032*.hapi.services.tille" + 18328 "r.ListReleasesResponse\"\0000\001\022s\n\020GetRelease" + 18329 "Status\022-.hapi.services.tiller.GetRelease" + 18330 "StatusRequest\032..hapi.services.tiller.Get" + 18331 "ReleaseStatusResponse\"\000\022v\n\021GetReleaseCon" + 18332 "tent\022..hapi.services.tiller.GetReleaseCo" + 18333 "ntentRequest\032/.hapi.services.tiller.GetR" + 18334 "eleaseContentResponse\"\000\022j\n\rUpdateRelease" + 18335 "\022*.hapi.services.tiller.UpdateReleaseReq" + 18336 "uest\032+.hapi.services.tiller.UpdateReleas" + 18337 "eResponse\"\000\022m\n\016InstallRelease\022+.hapi.ser" + 18338 "vices.tiller.InstallReleaseRequest\032,.hap" + 18339 "i.services.tiller.InstallReleaseResponse" + 18340 "\"\000\022s\n\020UninstallRelease\022-.hapi.services.t" + 18341 "iller.UninstallReleaseRequest\032..hapi.ser" + 18342 "vices.tiller.UninstallReleaseResponse\"\000\022" + 18343 "a\n\nGetVersion\022\'.hapi.services.tiller.Get" + 18344 "VersionRequest\032(.hapi.services.tiller.Ge" + 18345 "tVersionResponse\"\000\022p\n\017RollbackRelease\022,." + 18346 "hapi.services.tiller.RollbackReleaseRequ" + 18347 "est\032-.hapi.services.tiller.RollbackRelea" + 18348 "seResponse\"\000\022a\n\nGetHistory\022\'.hapi.servic" + 18349 "es.tiller.GetHistoryRequest\032(.hapi.servi" + 18350 "ces.tiller.GetHistoryResponse\"\000\022i\n\016RunRe" + 18351 "leaseTest\022(.hapi.services.tiller.TestRel" + 18352 "easeRequest\032).hapi.services.tiller.TestR" + 18353 "eleaseResponse\"\0000\001B\nZ\010servicesb\006proto3" 18354 }; 18355 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = 18356 new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { 18357 public com.google.protobuf.ExtensionRegistry assignDescriptors( 18358 com.google.protobuf.Descriptors.FileDescriptor root) { 18359 descriptor = root; 18360 return null; 18361 } 18362 }; 18363 com.google.protobuf.Descriptors.FileDescriptor 18364 .internalBuildGeneratedFileFrom(descriptorData, 18365 new com.google.protobuf.Descriptors.FileDescriptor[] { 18366 hapi.chart.ChartOuterClass.getDescriptor(), 18367 hapi.chart.ConfigOuterClass.getDescriptor(), 18368 hapi.release.ReleaseOuterClass.getDescriptor(), 18369 hapi.release.InfoOuterClass.getDescriptor(), 18370 hapi.release.TestRunOuterClass.getDescriptor(), 18371 hapi.release.StatusOuterClass.getDescriptor(), 18372 hapi.version.VersionOuterClass.getDescriptor(), 18373 }, assigner); 18374 internal_static_hapi_services_tiller_ListReleasesRequest_descriptor = 18375 getDescriptor().getMessageTypes().get(0); 18376 internal_static_hapi_services_tiller_ListReleasesRequest_fieldAccessorTable = new 18377 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 18378 internal_static_hapi_services_tiller_ListReleasesRequest_descriptor, 18379 new java.lang.String[] { "Limit", "Offset", "SortBy", "Filter", "SortOrder", "StatusCodes", "Namespace", }); 18380 internal_static_hapi_services_tiller_ListSort_descriptor = 18381 getDescriptor().getMessageTypes().get(1); 18382 internal_static_hapi_services_tiller_ListSort_fieldAccessorTable = new 18383 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 18384 internal_static_hapi_services_tiller_ListSort_descriptor, 18385 new java.lang.String[] { }); 18386 internal_static_hapi_services_tiller_ListReleasesResponse_descriptor = 18387 getDescriptor().getMessageTypes().get(2); 18388 internal_static_hapi_services_tiller_ListReleasesResponse_fieldAccessorTable = new 18389 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 18390 internal_static_hapi_services_tiller_ListReleasesResponse_descriptor, 18391 new java.lang.String[] { "Count", "Next", "Total", "Releases", }); 18392 internal_static_hapi_services_tiller_GetReleaseStatusRequest_descriptor = 18393 getDescriptor().getMessageTypes().get(3); 18394 internal_static_hapi_services_tiller_GetReleaseStatusRequest_fieldAccessorTable = new 18395 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 18396 internal_static_hapi_services_tiller_GetReleaseStatusRequest_descriptor, 18397 new java.lang.String[] { "Name", "Version", }); 18398 internal_static_hapi_services_tiller_GetReleaseStatusResponse_descriptor = 18399 getDescriptor().getMessageTypes().get(4); 18400 internal_static_hapi_services_tiller_GetReleaseStatusResponse_fieldAccessorTable = new 18401 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 18402 internal_static_hapi_services_tiller_GetReleaseStatusResponse_descriptor, 18403 new java.lang.String[] { "Name", "Info", "Namespace", }); 18404 internal_static_hapi_services_tiller_GetReleaseContentRequest_descriptor = 18405 getDescriptor().getMessageTypes().get(5); 18406 internal_static_hapi_services_tiller_GetReleaseContentRequest_fieldAccessorTable = new 18407 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 18408 internal_static_hapi_services_tiller_GetReleaseContentRequest_descriptor, 18409 new java.lang.String[] { "Name", "Version", }); 18410 internal_static_hapi_services_tiller_GetReleaseContentResponse_descriptor = 18411 getDescriptor().getMessageTypes().get(6); 18412 internal_static_hapi_services_tiller_GetReleaseContentResponse_fieldAccessorTable = new 18413 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 18414 internal_static_hapi_services_tiller_GetReleaseContentResponse_descriptor, 18415 new java.lang.String[] { "Release", }); 18416 internal_static_hapi_services_tiller_UpdateReleaseRequest_descriptor = 18417 getDescriptor().getMessageTypes().get(7); 18418 internal_static_hapi_services_tiller_UpdateReleaseRequest_fieldAccessorTable = new 18419 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 18420 internal_static_hapi_services_tiller_UpdateReleaseRequest_descriptor, 18421 new java.lang.String[] { "Name", "Chart", "Values", "DryRun", "DisableHooks", "Recreate", "Timeout", "ResetValues", "Wait", "ReuseValues", "Force", }); 18422 internal_static_hapi_services_tiller_UpdateReleaseResponse_descriptor = 18423 getDescriptor().getMessageTypes().get(8); 18424 internal_static_hapi_services_tiller_UpdateReleaseResponse_fieldAccessorTable = new 18425 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 18426 internal_static_hapi_services_tiller_UpdateReleaseResponse_descriptor, 18427 new java.lang.String[] { "Release", }); 18428 internal_static_hapi_services_tiller_RollbackReleaseRequest_descriptor = 18429 getDescriptor().getMessageTypes().get(9); 18430 internal_static_hapi_services_tiller_RollbackReleaseRequest_fieldAccessorTable = new 18431 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 18432 internal_static_hapi_services_tiller_RollbackReleaseRequest_descriptor, 18433 new java.lang.String[] { "Name", "DryRun", "DisableHooks", "Version", "Recreate", "Timeout", "Wait", "Force", }); 18434 internal_static_hapi_services_tiller_RollbackReleaseResponse_descriptor = 18435 getDescriptor().getMessageTypes().get(10); 18436 internal_static_hapi_services_tiller_RollbackReleaseResponse_fieldAccessorTable = new 18437 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 18438 internal_static_hapi_services_tiller_RollbackReleaseResponse_descriptor, 18439 new java.lang.String[] { "Release", }); 18440 internal_static_hapi_services_tiller_InstallReleaseRequest_descriptor = 18441 getDescriptor().getMessageTypes().get(11); 18442 internal_static_hapi_services_tiller_InstallReleaseRequest_fieldAccessorTable = new 18443 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 18444 internal_static_hapi_services_tiller_InstallReleaseRequest_descriptor, 18445 new java.lang.String[] { "Chart", "Values", "DryRun", "Name", "DisableHooks", "Namespace", "ReuseName", "Timeout", "Wait", }); 18446 internal_static_hapi_services_tiller_InstallReleaseResponse_descriptor = 18447 getDescriptor().getMessageTypes().get(12); 18448 internal_static_hapi_services_tiller_InstallReleaseResponse_fieldAccessorTable = new 18449 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 18450 internal_static_hapi_services_tiller_InstallReleaseResponse_descriptor, 18451 new java.lang.String[] { "Release", }); 18452 internal_static_hapi_services_tiller_UninstallReleaseRequest_descriptor = 18453 getDescriptor().getMessageTypes().get(13); 18454 internal_static_hapi_services_tiller_UninstallReleaseRequest_fieldAccessorTable = new 18455 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 18456 internal_static_hapi_services_tiller_UninstallReleaseRequest_descriptor, 18457 new java.lang.String[] { "Name", "DisableHooks", "Purge", "Timeout", }); 18458 internal_static_hapi_services_tiller_UninstallReleaseResponse_descriptor = 18459 getDescriptor().getMessageTypes().get(14); 18460 internal_static_hapi_services_tiller_UninstallReleaseResponse_fieldAccessorTable = new 18461 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 18462 internal_static_hapi_services_tiller_UninstallReleaseResponse_descriptor, 18463 new java.lang.String[] { "Release", "Info", }); 18464 internal_static_hapi_services_tiller_GetVersionRequest_descriptor = 18465 getDescriptor().getMessageTypes().get(15); 18466 internal_static_hapi_services_tiller_GetVersionRequest_fieldAccessorTable = new 18467 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 18468 internal_static_hapi_services_tiller_GetVersionRequest_descriptor, 18469 new java.lang.String[] { }); 18470 internal_static_hapi_services_tiller_GetVersionResponse_descriptor = 18471 getDescriptor().getMessageTypes().get(16); 18472 internal_static_hapi_services_tiller_GetVersionResponse_fieldAccessorTable = new 18473 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 18474 internal_static_hapi_services_tiller_GetVersionResponse_descriptor, 18475 new java.lang.String[] { "Version", }); 18476 internal_static_hapi_services_tiller_GetHistoryRequest_descriptor = 18477 getDescriptor().getMessageTypes().get(17); 18478 internal_static_hapi_services_tiller_GetHistoryRequest_fieldAccessorTable = new 18479 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 18480 internal_static_hapi_services_tiller_GetHistoryRequest_descriptor, 18481 new java.lang.String[] { "Name", "Max", }); 18482 internal_static_hapi_services_tiller_GetHistoryResponse_descriptor = 18483 getDescriptor().getMessageTypes().get(18); 18484 internal_static_hapi_services_tiller_GetHistoryResponse_fieldAccessorTable = new 18485 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 18486 internal_static_hapi_services_tiller_GetHistoryResponse_descriptor, 18487 new java.lang.String[] { "Releases", }); 18488 internal_static_hapi_services_tiller_TestReleaseRequest_descriptor = 18489 getDescriptor().getMessageTypes().get(19); 18490 internal_static_hapi_services_tiller_TestReleaseRequest_fieldAccessorTable = new 18491 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 18492 internal_static_hapi_services_tiller_TestReleaseRequest_descriptor, 18493 new java.lang.String[] { "Name", "Timeout", "Cleanup", }); 18494 internal_static_hapi_services_tiller_TestReleaseResponse_descriptor = 18495 getDescriptor().getMessageTypes().get(20); 18496 internal_static_hapi_services_tiller_TestReleaseResponse_fieldAccessorTable = new 18497 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 18498 internal_static_hapi_services_tiller_TestReleaseResponse_descriptor, 18499 new java.lang.String[] { "Msg", "Status", }); 18500 hapi.chart.ChartOuterClass.getDescriptor(); 18501 hapi.chart.ConfigOuterClass.getDescriptor(); 18502 hapi.release.ReleaseOuterClass.getDescriptor(); 18503 hapi.release.InfoOuterClass.getDescriptor(); 18504 hapi.release.TestRunOuterClass.getDescriptor(); 18505 hapi.release.StatusOuterClass.getDescriptor(); 18506 hapi.version.VersionOuterClass.getDescriptor(); 18507 } 18508 18509 // @@protoc_insertion_point(outer_class_scope) 18510}