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