001// Generated by the protocol buffer compiler. DO NOT EDIT! 002// source: hapi/chart/config.proto 003 004package hapi.chart; 005 006public final class ConfigOuterClass { 007 private ConfigOuterClass() {} 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 ConfigOrBuilder extends 018 // @@protoc_insertion_point(interface_extends:hapi.chart.Config) 019 com.google.protobuf.MessageOrBuilder { 020 021 /** 022 * <code>string raw = 1;</code> 023 */ 024 java.lang.String getRaw(); 025 /** 026 * <code>string raw = 1;</code> 027 */ 028 com.google.protobuf.ByteString 029 getRawBytes(); 030 031 /** 032 * <code>map<string, .hapi.chart.Value> values = 2;</code> 033 */ 034 int getValuesCount(); 035 /** 036 * <code>map<string, .hapi.chart.Value> values = 2;</code> 037 */ 038 boolean containsValues( 039 java.lang.String key); 040 /** 041 * Use {@link #getValuesMap()} instead. 042 */ 043 @java.lang.Deprecated 044 java.util.Map<java.lang.String, hapi.chart.ConfigOuterClass.Value> 045 getValues(); 046 /** 047 * <code>map<string, .hapi.chart.Value> values = 2;</code> 048 */ 049 java.util.Map<java.lang.String, hapi.chart.ConfigOuterClass.Value> 050 getValuesMap(); 051 /** 052 * <code>map<string, .hapi.chart.Value> values = 2;</code> 053 */ 054 055 hapi.chart.ConfigOuterClass.Value getValuesOrDefault( 056 java.lang.String key, 057 hapi.chart.ConfigOuterClass.Value defaultValue); 058 /** 059 * <code>map<string, .hapi.chart.Value> values = 2;</code> 060 */ 061 062 hapi.chart.ConfigOuterClass.Value getValuesOrThrow( 063 java.lang.String key); 064 } 065 /** 066 * <pre> 067 * Config supplies values to the parametrizable templates of a chart. 068 * </pre> 069 * 070 * Protobuf type {@code hapi.chart.Config} 071 */ 072 public static final class Config extends 073 com.google.protobuf.GeneratedMessageV3 implements 074 // @@protoc_insertion_point(message_implements:hapi.chart.Config) 075 ConfigOrBuilder { 076 private static final long serialVersionUID = 0L; 077 // Use Config.newBuilder() to construct. 078 private Config(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 079 super(builder); 080 } 081 private Config() { 082 raw_ = ""; 083 } 084 085 @java.lang.Override 086 public final com.google.protobuf.UnknownFieldSet 087 getUnknownFields() { 088 return this.unknownFields; 089 } 090 private Config( 091 com.google.protobuf.CodedInputStream input, 092 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 093 throws com.google.protobuf.InvalidProtocolBufferException { 094 this(); 095 if (extensionRegistry == null) { 096 throw new java.lang.NullPointerException(); 097 } 098 int mutable_bitField0_ = 0; 099 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 100 com.google.protobuf.UnknownFieldSet.newBuilder(); 101 try { 102 boolean done = false; 103 while (!done) { 104 int tag = input.readTag(); 105 switch (tag) { 106 case 0: 107 done = true; 108 break; 109 default: { 110 if (!parseUnknownFieldProto3( 111 input, unknownFields, extensionRegistry, tag)) { 112 done = true; 113 } 114 break; 115 } 116 case 10: { 117 java.lang.String s = input.readStringRequireUtf8(); 118 119 raw_ = s; 120 break; 121 } 122 case 18: { 123 if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { 124 values_ = com.google.protobuf.MapField.newMapField( 125 ValuesDefaultEntryHolder.defaultEntry); 126 mutable_bitField0_ |= 0x00000002; 127 } 128 com.google.protobuf.MapEntry<java.lang.String, hapi.chart.ConfigOuterClass.Value> 129 values__ = input.readMessage( 130 ValuesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); 131 values_.getMutableMap().put( 132 values__.getKey(), values__.getValue()); 133 break; 134 } 135 } 136 } 137 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 138 throw e.setUnfinishedMessage(this); 139 } catch (java.io.IOException e) { 140 throw new com.google.protobuf.InvalidProtocolBufferException( 141 e).setUnfinishedMessage(this); 142 } finally { 143 this.unknownFields = unknownFields.build(); 144 makeExtensionsImmutable(); 145 } 146 } 147 public static final com.google.protobuf.Descriptors.Descriptor 148 getDescriptor() { 149 return hapi.chart.ConfigOuterClass.internal_static_hapi_chart_Config_descriptor; 150 } 151 152 @SuppressWarnings({"rawtypes"}) 153 protected com.google.protobuf.MapField internalGetMapField( 154 int number) { 155 switch (number) { 156 case 2: 157 return internalGetValues(); 158 default: 159 throw new RuntimeException( 160 "Invalid map field number: " + number); 161 } 162 } 163 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 164 internalGetFieldAccessorTable() { 165 return hapi.chart.ConfigOuterClass.internal_static_hapi_chart_Config_fieldAccessorTable 166 .ensureFieldAccessorsInitialized( 167 hapi.chart.ConfigOuterClass.Config.class, hapi.chart.ConfigOuterClass.Config.Builder.class); 168 } 169 170 private int bitField0_; 171 public static final int RAW_FIELD_NUMBER = 1; 172 private volatile java.lang.Object raw_; 173 /** 174 * <code>string raw = 1;</code> 175 */ 176 public java.lang.String getRaw() { 177 java.lang.Object ref = raw_; 178 if (ref instanceof java.lang.String) { 179 return (java.lang.String) ref; 180 } else { 181 com.google.protobuf.ByteString bs = 182 (com.google.protobuf.ByteString) ref; 183 java.lang.String s = bs.toStringUtf8(); 184 raw_ = s; 185 return s; 186 } 187 } 188 /** 189 * <code>string raw = 1;</code> 190 */ 191 public com.google.protobuf.ByteString 192 getRawBytes() { 193 java.lang.Object ref = raw_; 194 if (ref instanceof java.lang.String) { 195 com.google.protobuf.ByteString b = 196 com.google.protobuf.ByteString.copyFromUtf8( 197 (java.lang.String) ref); 198 raw_ = b; 199 return b; 200 } else { 201 return (com.google.protobuf.ByteString) ref; 202 } 203 } 204 205 public static final int VALUES_FIELD_NUMBER = 2; 206 private static final class ValuesDefaultEntryHolder { 207 static final com.google.protobuf.MapEntry< 208 java.lang.String, hapi.chart.ConfigOuterClass.Value> defaultEntry = 209 com.google.protobuf.MapEntry 210 .<java.lang.String, hapi.chart.ConfigOuterClass.Value>newDefaultInstance( 211 hapi.chart.ConfigOuterClass.internal_static_hapi_chart_Config_ValuesEntry_descriptor, 212 com.google.protobuf.WireFormat.FieldType.STRING, 213 "", 214 com.google.protobuf.WireFormat.FieldType.MESSAGE, 215 hapi.chart.ConfigOuterClass.Value.getDefaultInstance()); 216 } 217 private com.google.protobuf.MapField< 218 java.lang.String, hapi.chart.ConfigOuterClass.Value> values_; 219 private com.google.protobuf.MapField<java.lang.String, hapi.chart.ConfigOuterClass.Value> 220 internalGetValues() { 221 if (values_ == null) { 222 return com.google.protobuf.MapField.emptyMapField( 223 ValuesDefaultEntryHolder.defaultEntry); 224 } 225 return values_; 226 } 227 228 public int getValuesCount() { 229 return internalGetValues().getMap().size(); 230 } 231 /** 232 * <code>map<string, .hapi.chart.Value> values = 2;</code> 233 */ 234 235 public boolean containsValues( 236 java.lang.String key) { 237 if (key == null) { throw new java.lang.NullPointerException(); } 238 return internalGetValues().getMap().containsKey(key); 239 } 240 /** 241 * Use {@link #getValuesMap()} instead. 242 */ 243 @java.lang.Deprecated 244 public java.util.Map<java.lang.String, hapi.chart.ConfigOuterClass.Value> getValues() { 245 return getValuesMap(); 246 } 247 /** 248 * <code>map<string, .hapi.chart.Value> values = 2;</code> 249 */ 250 251 public java.util.Map<java.lang.String, hapi.chart.ConfigOuterClass.Value> getValuesMap() { 252 return internalGetValues().getMap(); 253 } 254 /** 255 * <code>map<string, .hapi.chart.Value> values = 2;</code> 256 */ 257 258 public hapi.chart.ConfigOuterClass.Value getValuesOrDefault( 259 java.lang.String key, 260 hapi.chart.ConfigOuterClass.Value defaultValue) { 261 if (key == null) { throw new java.lang.NullPointerException(); } 262 java.util.Map<java.lang.String, hapi.chart.ConfigOuterClass.Value> map = 263 internalGetValues().getMap(); 264 return map.containsKey(key) ? map.get(key) : defaultValue; 265 } 266 /** 267 * <code>map<string, .hapi.chart.Value> values = 2;</code> 268 */ 269 270 public hapi.chart.ConfigOuterClass.Value getValuesOrThrow( 271 java.lang.String key) { 272 if (key == null) { throw new java.lang.NullPointerException(); } 273 java.util.Map<java.lang.String, hapi.chart.ConfigOuterClass.Value> map = 274 internalGetValues().getMap(); 275 if (!map.containsKey(key)) { 276 throw new java.lang.IllegalArgumentException(); 277 } 278 return map.get(key); 279 } 280 281 private byte memoizedIsInitialized = -1; 282 public final boolean isInitialized() { 283 byte isInitialized = memoizedIsInitialized; 284 if (isInitialized == 1) return true; 285 if (isInitialized == 0) return false; 286 287 memoizedIsInitialized = 1; 288 return true; 289 } 290 291 public void writeTo(com.google.protobuf.CodedOutputStream output) 292 throws java.io.IOException { 293 if (!getRawBytes().isEmpty()) { 294 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, raw_); 295 } 296 com.google.protobuf.GeneratedMessageV3 297 .serializeStringMapTo( 298 output, 299 internalGetValues(), 300 ValuesDefaultEntryHolder.defaultEntry, 301 2); 302 unknownFields.writeTo(output); 303 } 304 305 public int getSerializedSize() { 306 int size = memoizedSize; 307 if (size != -1) return size; 308 309 size = 0; 310 if (!getRawBytes().isEmpty()) { 311 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, raw_); 312 } 313 for (java.util.Map.Entry<java.lang.String, hapi.chart.ConfigOuterClass.Value> entry 314 : internalGetValues().getMap().entrySet()) { 315 com.google.protobuf.MapEntry<java.lang.String, hapi.chart.ConfigOuterClass.Value> 316 values__ = ValuesDefaultEntryHolder.defaultEntry.newBuilderForType() 317 .setKey(entry.getKey()) 318 .setValue(entry.getValue()) 319 .build(); 320 size += com.google.protobuf.CodedOutputStream 321 .computeMessageSize(2, values__); 322 } 323 size += unknownFields.getSerializedSize(); 324 memoizedSize = size; 325 return size; 326 } 327 328 @java.lang.Override 329 public boolean equals(final java.lang.Object obj) { 330 if (obj == this) { 331 return true; 332 } 333 if (!(obj instanceof hapi.chart.ConfigOuterClass.Config)) { 334 return super.equals(obj); 335 } 336 hapi.chart.ConfigOuterClass.Config other = (hapi.chart.ConfigOuterClass.Config) obj; 337 338 boolean result = true; 339 result = result && getRaw() 340 .equals(other.getRaw()); 341 result = result && internalGetValues().equals( 342 other.internalGetValues()); 343 result = result && unknownFields.equals(other.unknownFields); 344 return result; 345 } 346 347 @java.lang.Override 348 public int hashCode() { 349 if (memoizedHashCode != 0) { 350 return memoizedHashCode; 351 } 352 int hash = 41; 353 hash = (19 * hash) + getDescriptor().hashCode(); 354 hash = (37 * hash) + RAW_FIELD_NUMBER; 355 hash = (53 * hash) + getRaw().hashCode(); 356 if (!internalGetValues().getMap().isEmpty()) { 357 hash = (37 * hash) + VALUES_FIELD_NUMBER; 358 hash = (53 * hash) + internalGetValues().hashCode(); 359 } 360 hash = (29 * hash) + unknownFields.hashCode(); 361 memoizedHashCode = hash; 362 return hash; 363 } 364 365 public static hapi.chart.ConfigOuterClass.Config parseFrom( 366 java.nio.ByteBuffer data) 367 throws com.google.protobuf.InvalidProtocolBufferException { 368 return PARSER.parseFrom(data); 369 } 370 public static hapi.chart.ConfigOuterClass.Config parseFrom( 371 java.nio.ByteBuffer data, 372 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 373 throws com.google.protobuf.InvalidProtocolBufferException { 374 return PARSER.parseFrom(data, extensionRegistry); 375 } 376 public static hapi.chart.ConfigOuterClass.Config parseFrom( 377 com.google.protobuf.ByteString data) 378 throws com.google.protobuf.InvalidProtocolBufferException { 379 return PARSER.parseFrom(data); 380 } 381 public static hapi.chart.ConfigOuterClass.Config parseFrom( 382 com.google.protobuf.ByteString data, 383 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 384 throws com.google.protobuf.InvalidProtocolBufferException { 385 return PARSER.parseFrom(data, extensionRegistry); 386 } 387 public static hapi.chart.ConfigOuterClass.Config parseFrom(byte[] data) 388 throws com.google.protobuf.InvalidProtocolBufferException { 389 return PARSER.parseFrom(data); 390 } 391 public static hapi.chart.ConfigOuterClass.Config parseFrom( 392 byte[] data, 393 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 394 throws com.google.protobuf.InvalidProtocolBufferException { 395 return PARSER.parseFrom(data, extensionRegistry); 396 } 397 public static hapi.chart.ConfigOuterClass.Config parseFrom(java.io.InputStream input) 398 throws java.io.IOException { 399 return com.google.protobuf.GeneratedMessageV3 400 .parseWithIOException(PARSER, input); 401 } 402 public static hapi.chart.ConfigOuterClass.Config parseFrom( 403 java.io.InputStream input, 404 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 405 throws java.io.IOException { 406 return com.google.protobuf.GeneratedMessageV3 407 .parseWithIOException(PARSER, input, extensionRegistry); 408 } 409 public static hapi.chart.ConfigOuterClass.Config parseDelimitedFrom(java.io.InputStream input) 410 throws java.io.IOException { 411 return com.google.protobuf.GeneratedMessageV3 412 .parseDelimitedWithIOException(PARSER, input); 413 } 414 public static hapi.chart.ConfigOuterClass.Config parseDelimitedFrom( 415 java.io.InputStream input, 416 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 417 throws java.io.IOException { 418 return com.google.protobuf.GeneratedMessageV3 419 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 420 } 421 public static hapi.chart.ConfigOuterClass.Config parseFrom( 422 com.google.protobuf.CodedInputStream input) 423 throws java.io.IOException { 424 return com.google.protobuf.GeneratedMessageV3 425 .parseWithIOException(PARSER, input); 426 } 427 public static hapi.chart.ConfigOuterClass.Config parseFrom( 428 com.google.protobuf.CodedInputStream input, 429 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 430 throws java.io.IOException { 431 return com.google.protobuf.GeneratedMessageV3 432 .parseWithIOException(PARSER, input, extensionRegistry); 433 } 434 435 public Builder newBuilderForType() { return newBuilder(); } 436 public static Builder newBuilder() { 437 return DEFAULT_INSTANCE.toBuilder(); 438 } 439 public static Builder newBuilder(hapi.chart.ConfigOuterClass.Config prototype) { 440 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 441 } 442 public Builder toBuilder() { 443 return this == DEFAULT_INSTANCE 444 ? new Builder() : new Builder().mergeFrom(this); 445 } 446 447 @java.lang.Override 448 protected Builder newBuilderForType( 449 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 450 Builder builder = new Builder(parent); 451 return builder; 452 } 453 /** 454 * <pre> 455 * Config supplies values to the parametrizable templates of a chart. 456 * </pre> 457 * 458 * Protobuf type {@code hapi.chart.Config} 459 */ 460 public static final class Builder extends 461 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 462 // @@protoc_insertion_point(builder_implements:hapi.chart.Config) 463 hapi.chart.ConfigOuterClass.ConfigOrBuilder { 464 public static final com.google.protobuf.Descriptors.Descriptor 465 getDescriptor() { 466 return hapi.chart.ConfigOuterClass.internal_static_hapi_chart_Config_descriptor; 467 } 468 469 @SuppressWarnings({"rawtypes"}) 470 protected com.google.protobuf.MapField internalGetMapField( 471 int number) { 472 switch (number) { 473 case 2: 474 return internalGetValues(); 475 default: 476 throw new RuntimeException( 477 "Invalid map field number: " + number); 478 } 479 } 480 @SuppressWarnings({"rawtypes"}) 481 protected com.google.protobuf.MapField internalGetMutableMapField( 482 int number) { 483 switch (number) { 484 case 2: 485 return internalGetMutableValues(); 486 default: 487 throw new RuntimeException( 488 "Invalid map field number: " + number); 489 } 490 } 491 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 492 internalGetFieldAccessorTable() { 493 return hapi.chart.ConfigOuterClass.internal_static_hapi_chart_Config_fieldAccessorTable 494 .ensureFieldAccessorsInitialized( 495 hapi.chart.ConfigOuterClass.Config.class, hapi.chart.ConfigOuterClass.Config.Builder.class); 496 } 497 498 // Construct using hapi.chart.ConfigOuterClass.Config.newBuilder() 499 private Builder() { 500 maybeForceBuilderInitialization(); 501 } 502 503 private Builder( 504 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 505 super(parent); 506 maybeForceBuilderInitialization(); 507 } 508 private void maybeForceBuilderInitialization() { 509 if (com.google.protobuf.GeneratedMessageV3 510 .alwaysUseFieldBuilders) { 511 } 512 } 513 public Builder clear() { 514 super.clear(); 515 raw_ = ""; 516 517 internalGetMutableValues().clear(); 518 return this; 519 } 520 521 public com.google.protobuf.Descriptors.Descriptor 522 getDescriptorForType() { 523 return hapi.chart.ConfigOuterClass.internal_static_hapi_chart_Config_descriptor; 524 } 525 526 public hapi.chart.ConfigOuterClass.Config getDefaultInstanceForType() { 527 return hapi.chart.ConfigOuterClass.Config.getDefaultInstance(); 528 } 529 530 public hapi.chart.ConfigOuterClass.Config build() { 531 hapi.chart.ConfigOuterClass.Config result = buildPartial(); 532 if (!result.isInitialized()) { 533 throw newUninitializedMessageException(result); 534 } 535 return result; 536 } 537 538 public hapi.chart.ConfigOuterClass.Config buildPartial() { 539 hapi.chart.ConfigOuterClass.Config result = new hapi.chart.ConfigOuterClass.Config(this); 540 int from_bitField0_ = bitField0_; 541 int to_bitField0_ = 0; 542 result.raw_ = raw_; 543 result.values_ = internalGetValues(); 544 result.values_.makeImmutable(); 545 result.bitField0_ = to_bitField0_; 546 onBuilt(); 547 return result; 548 } 549 550 public Builder clone() { 551 return (Builder) super.clone(); 552 } 553 public Builder setField( 554 com.google.protobuf.Descriptors.FieldDescriptor field, 555 java.lang.Object value) { 556 return (Builder) super.setField(field, value); 557 } 558 public Builder clearField( 559 com.google.protobuf.Descriptors.FieldDescriptor field) { 560 return (Builder) super.clearField(field); 561 } 562 public Builder clearOneof( 563 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 564 return (Builder) super.clearOneof(oneof); 565 } 566 public Builder setRepeatedField( 567 com.google.protobuf.Descriptors.FieldDescriptor field, 568 int index, java.lang.Object value) { 569 return (Builder) super.setRepeatedField(field, index, value); 570 } 571 public Builder addRepeatedField( 572 com.google.protobuf.Descriptors.FieldDescriptor field, 573 java.lang.Object value) { 574 return (Builder) super.addRepeatedField(field, value); 575 } 576 public Builder mergeFrom(com.google.protobuf.Message other) { 577 if (other instanceof hapi.chart.ConfigOuterClass.Config) { 578 return mergeFrom((hapi.chart.ConfigOuterClass.Config)other); 579 } else { 580 super.mergeFrom(other); 581 return this; 582 } 583 } 584 585 public Builder mergeFrom(hapi.chart.ConfigOuterClass.Config other) { 586 if (other == hapi.chart.ConfigOuterClass.Config.getDefaultInstance()) return this; 587 if (!other.getRaw().isEmpty()) { 588 raw_ = other.raw_; 589 onChanged(); 590 } 591 internalGetMutableValues().mergeFrom( 592 other.internalGetValues()); 593 this.mergeUnknownFields(other.unknownFields); 594 onChanged(); 595 return this; 596 } 597 598 public final boolean isInitialized() { 599 return true; 600 } 601 602 public Builder mergeFrom( 603 com.google.protobuf.CodedInputStream input, 604 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 605 throws java.io.IOException { 606 hapi.chart.ConfigOuterClass.Config parsedMessage = null; 607 try { 608 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 609 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 610 parsedMessage = (hapi.chart.ConfigOuterClass.Config) e.getUnfinishedMessage(); 611 throw e.unwrapIOException(); 612 } finally { 613 if (parsedMessage != null) { 614 mergeFrom(parsedMessage); 615 } 616 } 617 return this; 618 } 619 private int bitField0_; 620 621 private java.lang.Object raw_ = ""; 622 /** 623 * <code>string raw = 1;</code> 624 */ 625 public java.lang.String getRaw() { 626 java.lang.Object ref = raw_; 627 if (!(ref instanceof java.lang.String)) { 628 com.google.protobuf.ByteString bs = 629 (com.google.protobuf.ByteString) ref; 630 java.lang.String s = bs.toStringUtf8(); 631 raw_ = s; 632 return s; 633 } else { 634 return (java.lang.String) ref; 635 } 636 } 637 /** 638 * <code>string raw = 1;</code> 639 */ 640 public com.google.protobuf.ByteString 641 getRawBytes() { 642 java.lang.Object ref = raw_; 643 if (ref instanceof String) { 644 com.google.protobuf.ByteString b = 645 com.google.protobuf.ByteString.copyFromUtf8( 646 (java.lang.String) ref); 647 raw_ = b; 648 return b; 649 } else { 650 return (com.google.protobuf.ByteString) ref; 651 } 652 } 653 /** 654 * <code>string raw = 1;</code> 655 */ 656 public Builder setRaw( 657 java.lang.String value) { 658 if (value == null) { 659 throw new NullPointerException(); 660 } 661 662 raw_ = value; 663 onChanged(); 664 return this; 665 } 666 /** 667 * <code>string raw = 1;</code> 668 */ 669 public Builder clearRaw() { 670 671 raw_ = getDefaultInstance().getRaw(); 672 onChanged(); 673 return this; 674 } 675 /** 676 * <code>string raw = 1;</code> 677 */ 678 public Builder setRawBytes( 679 com.google.protobuf.ByteString value) { 680 if (value == null) { 681 throw new NullPointerException(); 682 } 683 checkByteStringIsUtf8(value); 684 685 raw_ = value; 686 onChanged(); 687 return this; 688 } 689 690 private com.google.protobuf.MapField< 691 java.lang.String, hapi.chart.ConfigOuterClass.Value> values_; 692 private com.google.protobuf.MapField<java.lang.String, hapi.chart.ConfigOuterClass.Value> 693 internalGetValues() { 694 if (values_ == null) { 695 return com.google.protobuf.MapField.emptyMapField( 696 ValuesDefaultEntryHolder.defaultEntry); 697 } 698 return values_; 699 } 700 private com.google.protobuf.MapField<java.lang.String, hapi.chart.ConfigOuterClass.Value> 701 internalGetMutableValues() { 702 onChanged();; 703 if (values_ == null) { 704 values_ = com.google.protobuf.MapField.newMapField( 705 ValuesDefaultEntryHolder.defaultEntry); 706 } 707 if (!values_.isMutable()) { 708 values_ = values_.copy(); 709 } 710 return values_; 711 } 712 713 public int getValuesCount() { 714 return internalGetValues().getMap().size(); 715 } 716 /** 717 * <code>map<string, .hapi.chart.Value> values = 2;</code> 718 */ 719 720 public boolean containsValues( 721 java.lang.String key) { 722 if (key == null) { throw new java.lang.NullPointerException(); } 723 return internalGetValues().getMap().containsKey(key); 724 } 725 /** 726 * Use {@link #getValuesMap()} instead. 727 */ 728 @java.lang.Deprecated 729 public java.util.Map<java.lang.String, hapi.chart.ConfigOuterClass.Value> getValues() { 730 return getValuesMap(); 731 } 732 /** 733 * <code>map<string, .hapi.chart.Value> values = 2;</code> 734 */ 735 736 public java.util.Map<java.lang.String, hapi.chart.ConfigOuterClass.Value> getValuesMap() { 737 return internalGetValues().getMap(); 738 } 739 /** 740 * <code>map<string, .hapi.chart.Value> values = 2;</code> 741 */ 742 743 public hapi.chart.ConfigOuterClass.Value getValuesOrDefault( 744 java.lang.String key, 745 hapi.chart.ConfigOuterClass.Value defaultValue) { 746 if (key == null) { throw new java.lang.NullPointerException(); } 747 java.util.Map<java.lang.String, hapi.chart.ConfigOuterClass.Value> map = 748 internalGetValues().getMap(); 749 return map.containsKey(key) ? map.get(key) : defaultValue; 750 } 751 /** 752 * <code>map<string, .hapi.chart.Value> values = 2;</code> 753 */ 754 755 public hapi.chart.ConfigOuterClass.Value getValuesOrThrow( 756 java.lang.String key) { 757 if (key == null) { throw new java.lang.NullPointerException(); } 758 java.util.Map<java.lang.String, hapi.chart.ConfigOuterClass.Value> map = 759 internalGetValues().getMap(); 760 if (!map.containsKey(key)) { 761 throw new java.lang.IllegalArgumentException(); 762 } 763 return map.get(key); 764 } 765 766 public Builder clearValues() { 767 internalGetMutableValues().getMutableMap() 768 .clear(); 769 return this; 770 } 771 /** 772 * <code>map<string, .hapi.chart.Value> values = 2;</code> 773 */ 774 775 public Builder removeValues( 776 java.lang.String key) { 777 if (key == null) { throw new java.lang.NullPointerException(); } 778 internalGetMutableValues().getMutableMap() 779 .remove(key); 780 return this; 781 } 782 /** 783 * Use alternate mutation accessors instead. 784 */ 785 @java.lang.Deprecated 786 public java.util.Map<java.lang.String, hapi.chart.ConfigOuterClass.Value> 787 getMutableValues() { 788 return internalGetMutableValues().getMutableMap(); 789 } 790 /** 791 * <code>map<string, .hapi.chart.Value> values = 2;</code> 792 */ 793 public Builder putValues( 794 java.lang.String key, 795 hapi.chart.ConfigOuterClass.Value value) { 796 if (key == null) { throw new java.lang.NullPointerException(); } 797 if (value == null) { throw new java.lang.NullPointerException(); } 798 internalGetMutableValues().getMutableMap() 799 .put(key, value); 800 return this; 801 } 802 /** 803 * <code>map<string, .hapi.chart.Value> values = 2;</code> 804 */ 805 806 public Builder putAllValues( 807 java.util.Map<java.lang.String, hapi.chart.ConfigOuterClass.Value> values) { 808 internalGetMutableValues().getMutableMap() 809 .putAll(values); 810 return this; 811 } 812 public final Builder setUnknownFields( 813 final com.google.protobuf.UnknownFieldSet unknownFields) { 814 return super.setUnknownFieldsProto3(unknownFields); 815 } 816 817 public final Builder mergeUnknownFields( 818 final com.google.protobuf.UnknownFieldSet unknownFields) { 819 return super.mergeUnknownFields(unknownFields); 820 } 821 822 823 // @@protoc_insertion_point(builder_scope:hapi.chart.Config) 824 } 825 826 // @@protoc_insertion_point(class_scope:hapi.chart.Config) 827 private static final hapi.chart.ConfigOuterClass.Config DEFAULT_INSTANCE; 828 static { 829 DEFAULT_INSTANCE = new hapi.chart.ConfigOuterClass.Config(); 830 } 831 832 public static hapi.chart.ConfigOuterClass.Config getDefaultInstance() { 833 return DEFAULT_INSTANCE; 834 } 835 836 private static final com.google.protobuf.Parser<Config> 837 PARSER = new com.google.protobuf.AbstractParser<Config>() { 838 public Config parsePartialFrom( 839 com.google.protobuf.CodedInputStream input, 840 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 841 throws com.google.protobuf.InvalidProtocolBufferException { 842 return new Config(input, extensionRegistry); 843 } 844 }; 845 846 public static com.google.protobuf.Parser<Config> parser() { 847 return PARSER; 848 } 849 850 @java.lang.Override 851 public com.google.protobuf.Parser<Config> getParserForType() { 852 return PARSER; 853 } 854 855 public hapi.chart.ConfigOuterClass.Config getDefaultInstanceForType() { 856 return DEFAULT_INSTANCE; 857 } 858 859 } 860 861 public interface ValueOrBuilder extends 862 // @@protoc_insertion_point(interface_extends:hapi.chart.Value) 863 com.google.protobuf.MessageOrBuilder { 864 865 /** 866 * <code>string value = 1;</code> 867 */ 868 java.lang.String getValue(); 869 /** 870 * <code>string value = 1;</code> 871 */ 872 com.google.protobuf.ByteString 873 getValueBytes(); 874 } 875 /** 876 * <pre> 877 * Value describes a configuration value as a string. 878 * </pre> 879 * 880 * Protobuf type {@code hapi.chart.Value} 881 */ 882 public static final class Value extends 883 com.google.protobuf.GeneratedMessageV3 implements 884 // @@protoc_insertion_point(message_implements:hapi.chart.Value) 885 ValueOrBuilder { 886 private static final long serialVersionUID = 0L; 887 // Use Value.newBuilder() to construct. 888 private Value(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 889 super(builder); 890 } 891 private Value() { 892 value_ = ""; 893 } 894 895 @java.lang.Override 896 public final com.google.protobuf.UnknownFieldSet 897 getUnknownFields() { 898 return this.unknownFields; 899 } 900 private Value( 901 com.google.protobuf.CodedInputStream input, 902 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 903 throws com.google.protobuf.InvalidProtocolBufferException { 904 this(); 905 if (extensionRegistry == null) { 906 throw new java.lang.NullPointerException(); 907 } 908 int mutable_bitField0_ = 0; 909 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 910 com.google.protobuf.UnknownFieldSet.newBuilder(); 911 try { 912 boolean done = false; 913 while (!done) { 914 int tag = input.readTag(); 915 switch (tag) { 916 case 0: 917 done = true; 918 break; 919 default: { 920 if (!parseUnknownFieldProto3( 921 input, unknownFields, extensionRegistry, tag)) { 922 done = true; 923 } 924 break; 925 } 926 case 10: { 927 java.lang.String s = input.readStringRequireUtf8(); 928 929 value_ = s; 930 break; 931 } 932 } 933 } 934 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 935 throw e.setUnfinishedMessage(this); 936 } catch (java.io.IOException e) { 937 throw new com.google.protobuf.InvalidProtocolBufferException( 938 e).setUnfinishedMessage(this); 939 } finally { 940 this.unknownFields = unknownFields.build(); 941 makeExtensionsImmutable(); 942 } 943 } 944 public static final com.google.protobuf.Descriptors.Descriptor 945 getDescriptor() { 946 return hapi.chart.ConfigOuterClass.internal_static_hapi_chart_Value_descriptor; 947 } 948 949 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 950 internalGetFieldAccessorTable() { 951 return hapi.chart.ConfigOuterClass.internal_static_hapi_chart_Value_fieldAccessorTable 952 .ensureFieldAccessorsInitialized( 953 hapi.chart.ConfigOuterClass.Value.class, hapi.chart.ConfigOuterClass.Value.Builder.class); 954 } 955 956 public static final int VALUE_FIELD_NUMBER = 1; 957 private volatile java.lang.Object value_; 958 /** 959 * <code>string value = 1;</code> 960 */ 961 public java.lang.String getValue() { 962 java.lang.Object ref = value_; 963 if (ref instanceof java.lang.String) { 964 return (java.lang.String) ref; 965 } else { 966 com.google.protobuf.ByteString bs = 967 (com.google.protobuf.ByteString) ref; 968 java.lang.String s = bs.toStringUtf8(); 969 value_ = s; 970 return s; 971 } 972 } 973 /** 974 * <code>string value = 1;</code> 975 */ 976 public com.google.protobuf.ByteString 977 getValueBytes() { 978 java.lang.Object ref = value_; 979 if (ref instanceof java.lang.String) { 980 com.google.protobuf.ByteString b = 981 com.google.protobuf.ByteString.copyFromUtf8( 982 (java.lang.String) ref); 983 value_ = b; 984 return b; 985 } else { 986 return (com.google.protobuf.ByteString) ref; 987 } 988 } 989 990 private byte memoizedIsInitialized = -1; 991 public final boolean isInitialized() { 992 byte isInitialized = memoizedIsInitialized; 993 if (isInitialized == 1) return true; 994 if (isInitialized == 0) return false; 995 996 memoizedIsInitialized = 1; 997 return true; 998 } 999 1000 public void writeTo(com.google.protobuf.CodedOutputStream output) 1001 throws java.io.IOException { 1002 if (!getValueBytes().isEmpty()) { 1003 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); 1004 } 1005 unknownFields.writeTo(output); 1006 } 1007 1008 public int getSerializedSize() { 1009 int size = memoizedSize; 1010 if (size != -1) return size; 1011 1012 size = 0; 1013 if (!getValueBytes().isEmpty()) { 1014 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_); 1015 } 1016 size += unknownFields.getSerializedSize(); 1017 memoizedSize = size; 1018 return size; 1019 } 1020 1021 @java.lang.Override 1022 public boolean equals(final java.lang.Object obj) { 1023 if (obj == this) { 1024 return true; 1025 } 1026 if (!(obj instanceof hapi.chart.ConfigOuterClass.Value)) { 1027 return super.equals(obj); 1028 } 1029 hapi.chart.ConfigOuterClass.Value other = (hapi.chart.ConfigOuterClass.Value) obj; 1030 1031 boolean result = true; 1032 result = result && getValue() 1033 .equals(other.getValue()); 1034 result = result && unknownFields.equals(other.unknownFields); 1035 return result; 1036 } 1037 1038 @java.lang.Override 1039 public int hashCode() { 1040 if (memoizedHashCode != 0) { 1041 return memoizedHashCode; 1042 } 1043 int hash = 41; 1044 hash = (19 * hash) + getDescriptor().hashCode(); 1045 hash = (37 * hash) + VALUE_FIELD_NUMBER; 1046 hash = (53 * hash) + getValue().hashCode(); 1047 hash = (29 * hash) + unknownFields.hashCode(); 1048 memoizedHashCode = hash; 1049 return hash; 1050 } 1051 1052 public static hapi.chart.ConfigOuterClass.Value parseFrom( 1053 java.nio.ByteBuffer data) 1054 throws com.google.protobuf.InvalidProtocolBufferException { 1055 return PARSER.parseFrom(data); 1056 } 1057 public static hapi.chart.ConfigOuterClass.Value parseFrom( 1058 java.nio.ByteBuffer data, 1059 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1060 throws com.google.protobuf.InvalidProtocolBufferException { 1061 return PARSER.parseFrom(data, extensionRegistry); 1062 } 1063 public static hapi.chart.ConfigOuterClass.Value parseFrom( 1064 com.google.protobuf.ByteString data) 1065 throws com.google.protobuf.InvalidProtocolBufferException { 1066 return PARSER.parseFrom(data); 1067 } 1068 public static hapi.chart.ConfigOuterClass.Value parseFrom( 1069 com.google.protobuf.ByteString data, 1070 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1071 throws com.google.protobuf.InvalidProtocolBufferException { 1072 return PARSER.parseFrom(data, extensionRegistry); 1073 } 1074 public static hapi.chart.ConfigOuterClass.Value parseFrom(byte[] data) 1075 throws com.google.protobuf.InvalidProtocolBufferException { 1076 return PARSER.parseFrom(data); 1077 } 1078 public static hapi.chart.ConfigOuterClass.Value parseFrom( 1079 byte[] data, 1080 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1081 throws com.google.protobuf.InvalidProtocolBufferException { 1082 return PARSER.parseFrom(data, extensionRegistry); 1083 } 1084 public static hapi.chart.ConfigOuterClass.Value parseFrom(java.io.InputStream input) 1085 throws java.io.IOException { 1086 return com.google.protobuf.GeneratedMessageV3 1087 .parseWithIOException(PARSER, input); 1088 } 1089 public static hapi.chart.ConfigOuterClass.Value parseFrom( 1090 java.io.InputStream input, 1091 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1092 throws java.io.IOException { 1093 return com.google.protobuf.GeneratedMessageV3 1094 .parseWithIOException(PARSER, input, extensionRegistry); 1095 } 1096 public static hapi.chart.ConfigOuterClass.Value parseDelimitedFrom(java.io.InputStream input) 1097 throws java.io.IOException { 1098 return com.google.protobuf.GeneratedMessageV3 1099 .parseDelimitedWithIOException(PARSER, input); 1100 } 1101 public static hapi.chart.ConfigOuterClass.Value parseDelimitedFrom( 1102 java.io.InputStream input, 1103 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1104 throws java.io.IOException { 1105 return com.google.protobuf.GeneratedMessageV3 1106 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 1107 } 1108 public static hapi.chart.ConfigOuterClass.Value parseFrom( 1109 com.google.protobuf.CodedInputStream input) 1110 throws java.io.IOException { 1111 return com.google.protobuf.GeneratedMessageV3 1112 .parseWithIOException(PARSER, input); 1113 } 1114 public static hapi.chart.ConfigOuterClass.Value parseFrom( 1115 com.google.protobuf.CodedInputStream input, 1116 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1117 throws java.io.IOException { 1118 return com.google.protobuf.GeneratedMessageV3 1119 .parseWithIOException(PARSER, input, extensionRegistry); 1120 } 1121 1122 public Builder newBuilderForType() { return newBuilder(); } 1123 public static Builder newBuilder() { 1124 return DEFAULT_INSTANCE.toBuilder(); 1125 } 1126 public static Builder newBuilder(hapi.chart.ConfigOuterClass.Value prototype) { 1127 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 1128 } 1129 public Builder toBuilder() { 1130 return this == DEFAULT_INSTANCE 1131 ? new Builder() : new Builder().mergeFrom(this); 1132 } 1133 1134 @java.lang.Override 1135 protected Builder newBuilderForType( 1136 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 1137 Builder builder = new Builder(parent); 1138 return builder; 1139 } 1140 /** 1141 * <pre> 1142 * Value describes a configuration value as a string. 1143 * </pre> 1144 * 1145 * Protobuf type {@code hapi.chart.Value} 1146 */ 1147 public static final class Builder extends 1148 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 1149 // @@protoc_insertion_point(builder_implements:hapi.chart.Value) 1150 hapi.chart.ConfigOuterClass.ValueOrBuilder { 1151 public static final com.google.protobuf.Descriptors.Descriptor 1152 getDescriptor() { 1153 return hapi.chart.ConfigOuterClass.internal_static_hapi_chart_Value_descriptor; 1154 } 1155 1156 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 1157 internalGetFieldAccessorTable() { 1158 return hapi.chart.ConfigOuterClass.internal_static_hapi_chart_Value_fieldAccessorTable 1159 .ensureFieldAccessorsInitialized( 1160 hapi.chart.ConfigOuterClass.Value.class, hapi.chart.ConfigOuterClass.Value.Builder.class); 1161 } 1162 1163 // Construct using hapi.chart.ConfigOuterClass.Value.newBuilder() 1164 private Builder() { 1165 maybeForceBuilderInitialization(); 1166 } 1167 1168 private Builder( 1169 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 1170 super(parent); 1171 maybeForceBuilderInitialization(); 1172 } 1173 private void maybeForceBuilderInitialization() { 1174 if (com.google.protobuf.GeneratedMessageV3 1175 .alwaysUseFieldBuilders) { 1176 } 1177 } 1178 public Builder clear() { 1179 super.clear(); 1180 value_ = ""; 1181 1182 return this; 1183 } 1184 1185 public com.google.protobuf.Descriptors.Descriptor 1186 getDescriptorForType() { 1187 return hapi.chart.ConfigOuterClass.internal_static_hapi_chart_Value_descriptor; 1188 } 1189 1190 public hapi.chart.ConfigOuterClass.Value getDefaultInstanceForType() { 1191 return hapi.chart.ConfigOuterClass.Value.getDefaultInstance(); 1192 } 1193 1194 public hapi.chart.ConfigOuterClass.Value build() { 1195 hapi.chart.ConfigOuterClass.Value result = buildPartial(); 1196 if (!result.isInitialized()) { 1197 throw newUninitializedMessageException(result); 1198 } 1199 return result; 1200 } 1201 1202 public hapi.chart.ConfigOuterClass.Value buildPartial() { 1203 hapi.chart.ConfigOuterClass.Value result = new hapi.chart.ConfigOuterClass.Value(this); 1204 result.value_ = value_; 1205 onBuilt(); 1206 return result; 1207 } 1208 1209 public Builder clone() { 1210 return (Builder) super.clone(); 1211 } 1212 public Builder setField( 1213 com.google.protobuf.Descriptors.FieldDescriptor field, 1214 java.lang.Object value) { 1215 return (Builder) super.setField(field, value); 1216 } 1217 public Builder clearField( 1218 com.google.protobuf.Descriptors.FieldDescriptor field) { 1219 return (Builder) super.clearField(field); 1220 } 1221 public Builder clearOneof( 1222 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 1223 return (Builder) super.clearOneof(oneof); 1224 } 1225 public Builder setRepeatedField( 1226 com.google.protobuf.Descriptors.FieldDescriptor field, 1227 int index, java.lang.Object value) { 1228 return (Builder) super.setRepeatedField(field, index, value); 1229 } 1230 public Builder addRepeatedField( 1231 com.google.protobuf.Descriptors.FieldDescriptor field, 1232 java.lang.Object value) { 1233 return (Builder) super.addRepeatedField(field, value); 1234 } 1235 public Builder mergeFrom(com.google.protobuf.Message other) { 1236 if (other instanceof hapi.chart.ConfigOuterClass.Value) { 1237 return mergeFrom((hapi.chart.ConfigOuterClass.Value)other); 1238 } else { 1239 super.mergeFrom(other); 1240 return this; 1241 } 1242 } 1243 1244 public Builder mergeFrom(hapi.chart.ConfigOuterClass.Value other) { 1245 if (other == hapi.chart.ConfigOuterClass.Value.getDefaultInstance()) return this; 1246 if (!other.getValue().isEmpty()) { 1247 value_ = other.value_; 1248 onChanged(); 1249 } 1250 this.mergeUnknownFields(other.unknownFields); 1251 onChanged(); 1252 return this; 1253 } 1254 1255 public final boolean isInitialized() { 1256 return true; 1257 } 1258 1259 public Builder mergeFrom( 1260 com.google.protobuf.CodedInputStream input, 1261 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1262 throws java.io.IOException { 1263 hapi.chart.ConfigOuterClass.Value parsedMessage = null; 1264 try { 1265 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 1266 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 1267 parsedMessage = (hapi.chart.ConfigOuterClass.Value) e.getUnfinishedMessage(); 1268 throw e.unwrapIOException(); 1269 } finally { 1270 if (parsedMessage != null) { 1271 mergeFrom(parsedMessage); 1272 } 1273 } 1274 return this; 1275 } 1276 1277 private java.lang.Object value_ = ""; 1278 /** 1279 * <code>string value = 1;</code> 1280 */ 1281 public java.lang.String getValue() { 1282 java.lang.Object ref = value_; 1283 if (!(ref instanceof java.lang.String)) { 1284 com.google.protobuf.ByteString bs = 1285 (com.google.protobuf.ByteString) ref; 1286 java.lang.String s = bs.toStringUtf8(); 1287 value_ = s; 1288 return s; 1289 } else { 1290 return (java.lang.String) ref; 1291 } 1292 } 1293 /** 1294 * <code>string value = 1;</code> 1295 */ 1296 public com.google.protobuf.ByteString 1297 getValueBytes() { 1298 java.lang.Object ref = value_; 1299 if (ref instanceof String) { 1300 com.google.protobuf.ByteString b = 1301 com.google.protobuf.ByteString.copyFromUtf8( 1302 (java.lang.String) ref); 1303 value_ = b; 1304 return b; 1305 } else { 1306 return (com.google.protobuf.ByteString) ref; 1307 } 1308 } 1309 /** 1310 * <code>string value = 1;</code> 1311 */ 1312 public Builder setValue( 1313 java.lang.String value) { 1314 if (value == null) { 1315 throw new NullPointerException(); 1316 } 1317 1318 value_ = value; 1319 onChanged(); 1320 return this; 1321 } 1322 /** 1323 * <code>string value = 1;</code> 1324 */ 1325 public Builder clearValue() { 1326 1327 value_ = getDefaultInstance().getValue(); 1328 onChanged(); 1329 return this; 1330 } 1331 /** 1332 * <code>string value = 1;</code> 1333 */ 1334 public Builder setValueBytes( 1335 com.google.protobuf.ByteString value) { 1336 if (value == null) { 1337 throw new NullPointerException(); 1338 } 1339 checkByteStringIsUtf8(value); 1340 1341 value_ = value; 1342 onChanged(); 1343 return this; 1344 } 1345 public final Builder setUnknownFields( 1346 final com.google.protobuf.UnknownFieldSet unknownFields) { 1347 return super.setUnknownFieldsProto3(unknownFields); 1348 } 1349 1350 public final Builder mergeUnknownFields( 1351 final com.google.protobuf.UnknownFieldSet unknownFields) { 1352 return super.mergeUnknownFields(unknownFields); 1353 } 1354 1355 1356 // @@protoc_insertion_point(builder_scope:hapi.chart.Value) 1357 } 1358 1359 // @@protoc_insertion_point(class_scope:hapi.chart.Value) 1360 private static final hapi.chart.ConfigOuterClass.Value DEFAULT_INSTANCE; 1361 static { 1362 DEFAULT_INSTANCE = new hapi.chart.ConfigOuterClass.Value(); 1363 } 1364 1365 public static hapi.chart.ConfigOuterClass.Value getDefaultInstance() { 1366 return DEFAULT_INSTANCE; 1367 } 1368 1369 private static final com.google.protobuf.Parser<Value> 1370 PARSER = new com.google.protobuf.AbstractParser<Value>() { 1371 public Value parsePartialFrom( 1372 com.google.protobuf.CodedInputStream input, 1373 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1374 throws com.google.protobuf.InvalidProtocolBufferException { 1375 return new Value(input, extensionRegistry); 1376 } 1377 }; 1378 1379 public static com.google.protobuf.Parser<Value> parser() { 1380 return PARSER; 1381 } 1382 1383 @java.lang.Override 1384 public com.google.protobuf.Parser<Value> getParserForType() { 1385 return PARSER; 1386 } 1387 1388 public hapi.chart.ConfigOuterClass.Value getDefaultInstanceForType() { 1389 return DEFAULT_INSTANCE; 1390 } 1391 1392 } 1393 1394 private static final com.google.protobuf.Descriptors.Descriptor 1395 internal_static_hapi_chart_Config_descriptor; 1396 private static final 1397 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 1398 internal_static_hapi_chart_Config_fieldAccessorTable; 1399 private static final com.google.protobuf.Descriptors.Descriptor 1400 internal_static_hapi_chart_Config_ValuesEntry_descriptor; 1401 private static final 1402 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 1403 internal_static_hapi_chart_Config_ValuesEntry_fieldAccessorTable; 1404 private static final com.google.protobuf.Descriptors.Descriptor 1405 internal_static_hapi_chart_Value_descriptor; 1406 private static final 1407 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 1408 internal_static_hapi_chart_Value_fieldAccessorTable; 1409 1410 public static com.google.protobuf.Descriptors.FileDescriptor 1411 getDescriptor() { 1412 return descriptor; 1413 } 1414 private static com.google.protobuf.Descriptors.FileDescriptor 1415 descriptor; 1416 static { 1417 java.lang.String[] descriptorData = { 1418 "\n\027hapi/chart/config.proto\022\nhapi.chart\"\207\001" + 1419 "\n\006Config\022\013\n\003raw\030\001 \001(\t\022.\n\006values\030\002 \003(\0132\036." + 1420 "hapi.chart.Config.ValuesEntry\032@\n\013ValuesE" + 1421 "ntry\022\013\n\003key\030\001 \001(\t\022 \n\005value\030\002 \001(\0132\021.hapi." + 1422 "chart.Value:\0028\001\"\026\n\005Value\022\r\n\005value\030\001 \001(\tB" + 1423 "\007Z\005chartb\006proto3" 1424 }; 1425 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = 1426 new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { 1427 public com.google.protobuf.ExtensionRegistry assignDescriptors( 1428 com.google.protobuf.Descriptors.FileDescriptor root) { 1429 descriptor = root; 1430 return null; 1431 } 1432 }; 1433 com.google.protobuf.Descriptors.FileDescriptor 1434 .internalBuildGeneratedFileFrom(descriptorData, 1435 new com.google.protobuf.Descriptors.FileDescriptor[] { 1436 }, assigner); 1437 internal_static_hapi_chart_Config_descriptor = 1438 getDescriptor().getMessageTypes().get(0); 1439 internal_static_hapi_chart_Config_fieldAccessorTable = new 1440 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 1441 internal_static_hapi_chart_Config_descriptor, 1442 new java.lang.String[] { "Raw", "Values", }); 1443 internal_static_hapi_chart_Config_ValuesEntry_descriptor = 1444 internal_static_hapi_chart_Config_descriptor.getNestedTypes().get(0); 1445 internal_static_hapi_chart_Config_ValuesEntry_fieldAccessorTable = new 1446 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 1447 internal_static_hapi_chart_Config_ValuesEntry_descriptor, 1448 new java.lang.String[] { "Key", "Value", }); 1449 internal_static_hapi_chart_Value_descriptor = 1450 getDescriptor().getMessageTypes().get(1); 1451 internal_static_hapi_chart_Value_fieldAccessorTable = new 1452 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 1453 internal_static_hapi_chart_Value_descriptor, 1454 new java.lang.String[] { "Value", }); 1455 } 1456 1457 // @@protoc_insertion_point(outer_class_scope) 1458}