001// Generated by the protocol buffer compiler.  DO NOT EDIT!
002// source: olcut_proto.proto
003
004// Protobuf Java Version: 3.25.5
005package com.oracle.labs.mlrg.olcut.config.protobuf.protos;
006
007/**
008 * <pre>
009 *
010 *A configurable component.
011 * </pre>
012 *
013 * Protobuf type {@code olcut.ComponentProto}
014 */
015public final class ComponentProto extends
016    com.google.protobuf.GeneratedMessageV3 implements
017    // @@protoc_insertion_point(message_implements:olcut.ComponentProto)
018    ComponentProtoOrBuilder {
019private static final long serialVersionUID = 0L;
020  // Use ComponentProto.newBuilder() to construct.
021  private ComponentProto(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
022    super(builder);
023  }
024  private ComponentProto() {
025    name_ = "";
026    type_ = "";
027    listProperty_ = java.util.Collections.emptyList();
028    mapProperty_ = java.util.Collections.emptyList();
029    override_ = "";
030    serialized_ = "";
031    entries_ = "";
032  }
033
034  @java.lang.Override
035  @SuppressWarnings({"unused"})
036  protected java.lang.Object newInstance(
037      UnusedPrivateParameter unused) {
038    return new ComponentProto();
039  }
040
041  public static final com.google.protobuf.Descriptors.Descriptor
042      getDescriptor() {
043    return com.oracle.labs.mlrg.olcut.config.protobuf.protos.OlcutProto.internal_static_olcut_ComponentProto_descriptor;
044  }
045
046  @SuppressWarnings({"rawtypes"})
047  @java.lang.Override
048  protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
049      int number) {
050    switch (number) {
051      case 3:
052        return internalGetProperties();
053      default:
054        throw new RuntimeException(
055            "Invalid map field number: " + number);
056    }
057  }
058  @java.lang.Override
059  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
060      internalGetFieldAccessorTable() {
061    return com.oracle.labs.mlrg.olcut.config.protobuf.protos.OlcutProto.internal_static_olcut_ComponentProto_fieldAccessorTable
062        .ensureFieldAccessorsInitialized(
063            com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto.class, com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto.Builder.class);
064  }
065
066  private int bitField0_;
067  public static final int NAME_FIELD_NUMBER = 1;
068  @SuppressWarnings("serial")
069  private volatile java.lang.Object name_ = "";
070  /**
071   * <code>string name = 1;</code>
072   * @return The name.
073   */
074  @java.lang.Override
075  public java.lang.String getName() {
076    java.lang.Object ref = name_;
077    if (ref instanceof java.lang.String) {
078      return (java.lang.String) ref;
079    } else {
080      com.google.protobuf.ByteString bs = 
081          (com.google.protobuf.ByteString) ref;
082      java.lang.String s = bs.toStringUtf8();
083      name_ = s;
084      return s;
085    }
086  }
087  /**
088   * <code>string name = 1;</code>
089   * @return The bytes for name.
090   */
091  @java.lang.Override
092  public com.google.protobuf.ByteString
093      getNameBytes() {
094    java.lang.Object ref = name_;
095    if (ref instanceof java.lang.String) {
096      com.google.protobuf.ByteString b = 
097          com.google.protobuf.ByteString.copyFromUtf8(
098              (java.lang.String) ref);
099      name_ = b;
100      return b;
101    } else {
102      return (com.google.protobuf.ByteString) ref;
103    }
104  }
105
106  public static final int TYPE_FIELD_NUMBER = 2;
107  @SuppressWarnings("serial")
108  private volatile java.lang.Object type_ = "";
109  /**
110   * <code>optional string type = 2;</code>
111   * @return Whether the type field is set.
112   */
113  @java.lang.Override
114  public boolean hasType() {
115    return ((bitField0_ & 0x00000001) != 0);
116  }
117  /**
118   * <code>optional string type = 2;</code>
119   * @return The type.
120   */
121  @java.lang.Override
122  public java.lang.String getType() {
123    java.lang.Object ref = type_;
124    if (ref instanceof java.lang.String) {
125      return (java.lang.String) ref;
126    } else {
127      com.google.protobuf.ByteString bs = 
128          (com.google.protobuf.ByteString) ref;
129      java.lang.String s = bs.toStringUtf8();
130      type_ = s;
131      return s;
132    }
133  }
134  /**
135   * <code>optional string type = 2;</code>
136   * @return The bytes for type.
137   */
138  @java.lang.Override
139  public com.google.protobuf.ByteString
140      getTypeBytes() {
141    java.lang.Object ref = type_;
142    if (ref instanceof java.lang.String) {
143      com.google.protobuf.ByteString b = 
144          com.google.protobuf.ByteString.copyFromUtf8(
145              (java.lang.String) ref);
146      type_ = b;
147      return b;
148    } else {
149      return (com.google.protobuf.ByteString) ref;
150    }
151  }
152
153  public static final int PROPERTIES_FIELD_NUMBER = 3;
154  private static final class PropertiesDefaultEntryHolder {
155    static final com.google.protobuf.MapEntry<
156        java.lang.String, java.lang.String> defaultEntry =
157            com.google.protobuf.MapEntry
158            .<java.lang.String, java.lang.String>newDefaultInstance(
159                com.oracle.labs.mlrg.olcut.config.protobuf.protos.OlcutProto.internal_static_olcut_ComponentProto_PropertiesEntry_descriptor, 
160                com.google.protobuf.WireFormat.FieldType.STRING,
161                "",
162                com.google.protobuf.WireFormat.FieldType.STRING,
163                "");
164  }
165  @SuppressWarnings("serial")
166  private com.google.protobuf.MapField<
167      java.lang.String, java.lang.String> properties_;
168  private com.google.protobuf.MapField<java.lang.String, java.lang.String>
169  internalGetProperties() {
170    if (properties_ == null) {
171      return com.google.protobuf.MapField.emptyMapField(
172          PropertiesDefaultEntryHolder.defaultEntry);
173    }
174    return properties_;
175  }
176  public int getPropertiesCount() {
177    return internalGetProperties().getMap().size();
178  }
179  /**
180   * <code>map&lt;string, string&gt; properties = 3;</code>
181   */
182  @java.lang.Override
183  public boolean containsProperties(
184      java.lang.String key) {
185    if (key == null) { throw new NullPointerException("map key"); }
186    return internalGetProperties().getMap().containsKey(key);
187  }
188  /**
189   * Use {@link #getPropertiesMap()} instead.
190   */
191  @java.lang.Override
192  @java.lang.Deprecated
193  public java.util.Map<java.lang.String, java.lang.String> getProperties() {
194    return getPropertiesMap();
195  }
196  /**
197   * <code>map&lt;string, string&gt; properties = 3;</code>
198   */
199  @java.lang.Override
200  public java.util.Map<java.lang.String, java.lang.String> getPropertiesMap() {
201    return internalGetProperties().getMap();
202  }
203  /**
204   * <code>map&lt;string, string&gt; properties = 3;</code>
205   */
206  @java.lang.Override
207  public /* nullable */
208java.lang.String getPropertiesOrDefault(
209      java.lang.String key,
210      /* nullable */
211java.lang.String defaultValue) {
212    if (key == null) { throw new NullPointerException("map key"); }
213    java.util.Map<java.lang.String, java.lang.String> map =
214        internalGetProperties().getMap();
215    return map.containsKey(key) ? map.get(key) : defaultValue;
216  }
217  /**
218   * <code>map&lt;string, string&gt; properties = 3;</code>
219   */
220  @java.lang.Override
221  public java.lang.String getPropertiesOrThrow(
222      java.lang.String key) {
223    if (key == null) { throw new NullPointerException("map key"); }
224    java.util.Map<java.lang.String, java.lang.String> map =
225        internalGetProperties().getMap();
226    if (!map.containsKey(key)) {
227      throw new java.lang.IllegalArgumentException();
228    }
229    return map.get(key);
230  }
231
232  public static final int LIST_PROPERTY_FIELD_NUMBER = 4;
233  @SuppressWarnings("serial")
234  private java.util.List<com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto> listProperty_;
235  /**
236   * <code>repeated .olcut.PropertyListProto list_property = 4;</code>
237   */
238  @java.lang.Override
239  public java.util.List<com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto> getListPropertyList() {
240    return listProperty_;
241  }
242  /**
243   * <code>repeated .olcut.PropertyListProto list_property = 4;</code>
244   */
245  @java.lang.Override
246  public java.util.List<? extends com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProtoOrBuilder> 
247      getListPropertyOrBuilderList() {
248    return listProperty_;
249  }
250  /**
251   * <code>repeated .olcut.PropertyListProto list_property = 4;</code>
252   */
253  @java.lang.Override
254  public int getListPropertyCount() {
255    return listProperty_.size();
256  }
257  /**
258   * <code>repeated .olcut.PropertyListProto list_property = 4;</code>
259   */
260  @java.lang.Override
261  public com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto getListProperty(int index) {
262    return listProperty_.get(index);
263  }
264  /**
265   * <code>repeated .olcut.PropertyListProto list_property = 4;</code>
266   */
267  @java.lang.Override
268  public com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProtoOrBuilder getListPropertyOrBuilder(
269      int index) {
270    return listProperty_.get(index);
271  }
272
273  public static final int MAP_PROPERTY_FIELD_NUMBER = 5;
274  @SuppressWarnings("serial")
275  private java.util.List<com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto> mapProperty_;
276  /**
277   * <code>repeated .olcut.PropertyMapProto map_property = 5;</code>
278   */
279  @java.lang.Override
280  public java.util.List<com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto> getMapPropertyList() {
281    return mapProperty_;
282  }
283  /**
284   * <code>repeated .olcut.PropertyMapProto map_property = 5;</code>
285   */
286  @java.lang.Override
287  public java.util.List<? extends com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProtoOrBuilder> 
288      getMapPropertyOrBuilderList() {
289    return mapProperty_;
290  }
291  /**
292   * <code>repeated .olcut.PropertyMapProto map_property = 5;</code>
293   */
294  @java.lang.Override
295  public int getMapPropertyCount() {
296    return mapProperty_.size();
297  }
298  /**
299   * <code>repeated .olcut.PropertyMapProto map_property = 5;</code>
300   */
301  @java.lang.Override
302  public com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto getMapProperty(int index) {
303    return mapProperty_.get(index);
304  }
305  /**
306   * <code>repeated .olcut.PropertyMapProto map_property = 5;</code>
307   */
308  @java.lang.Override
309  public com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProtoOrBuilder getMapPropertyOrBuilder(
310      int index) {
311    return mapProperty_.get(index);
312  }
313
314  public static final int OVERRIDE_FIELD_NUMBER = 6;
315  @SuppressWarnings("serial")
316  private volatile java.lang.Object override_ = "";
317  /**
318   * <code>optional string override = 6;</code>
319   * @return Whether the override field is set.
320   */
321  @java.lang.Override
322  public boolean hasOverride() {
323    return ((bitField0_ & 0x00000002) != 0);
324  }
325  /**
326   * <code>optional string override = 6;</code>
327   * @return The override.
328   */
329  @java.lang.Override
330  public java.lang.String getOverride() {
331    java.lang.Object ref = override_;
332    if (ref instanceof java.lang.String) {
333      return (java.lang.String) ref;
334    } else {
335      com.google.protobuf.ByteString bs = 
336          (com.google.protobuf.ByteString) ref;
337      java.lang.String s = bs.toStringUtf8();
338      override_ = s;
339      return s;
340    }
341  }
342  /**
343   * <code>optional string override = 6;</code>
344   * @return The bytes for override.
345   */
346  @java.lang.Override
347  public com.google.protobuf.ByteString
348      getOverrideBytes() {
349    java.lang.Object ref = override_;
350    if (ref instanceof java.lang.String) {
351      com.google.protobuf.ByteString b = 
352          com.google.protobuf.ByteString.copyFromUtf8(
353              (java.lang.String) ref);
354      override_ = b;
355      return b;
356    } else {
357      return (com.google.protobuf.ByteString) ref;
358    }
359  }
360
361  public static final int EXPORTABLE_FIELD_NUMBER = 7;
362  private boolean exportable_ = false;
363  /**
364   * <code>optional bool exportable = 7;</code>
365   * @return Whether the exportable field is set.
366   */
367  @java.lang.Override
368  public boolean hasExportable() {
369    return ((bitField0_ & 0x00000004) != 0);
370  }
371  /**
372   * <code>optional bool exportable = 7;</code>
373   * @return The exportable.
374   */
375  @java.lang.Override
376  public boolean getExportable() {
377    return exportable_;
378  }
379
380  public static final int IMPORTABLE_FIELD_NUMBER = 8;
381  private boolean importable_ = false;
382  /**
383   * <code>optional bool importable = 8;</code>
384   * @return Whether the importable field is set.
385   */
386  @java.lang.Override
387  public boolean hasImportable() {
388    return ((bitField0_ & 0x00000008) != 0);
389  }
390  /**
391   * <code>optional bool importable = 8;</code>
392   * @return The importable.
393   */
394  @java.lang.Override
395  public boolean getImportable() {
396    return importable_;
397  }
398
399  public static final int LEASETIME_FIELD_NUMBER = 9;
400  private long leaseTime_ = 0L;
401  /**
402   * <code>optional int64 leaseTime = 9;</code>
403   * @return Whether the leaseTime field is set.
404   */
405  @java.lang.Override
406  public boolean hasLeaseTime() {
407    return ((bitField0_ & 0x00000010) != 0);
408  }
409  /**
410   * <code>optional int64 leaseTime = 9;</code>
411   * @return The leaseTime.
412   */
413  @java.lang.Override
414  public long getLeaseTime() {
415    return leaseTime_;
416  }
417
418  public static final int SERIALIZED_FIELD_NUMBER = 10;
419  @SuppressWarnings("serial")
420  private volatile java.lang.Object serialized_ = "";
421  /**
422   * <code>optional string serialized = 10;</code>
423   * @return Whether the serialized field is set.
424   */
425  @java.lang.Override
426  public boolean hasSerialized() {
427    return ((bitField0_ & 0x00000020) != 0);
428  }
429  /**
430   * <code>optional string serialized = 10;</code>
431   * @return The serialized.
432   */
433  @java.lang.Override
434  public java.lang.String getSerialized() {
435    java.lang.Object ref = serialized_;
436    if (ref instanceof java.lang.String) {
437      return (java.lang.String) ref;
438    } else {
439      com.google.protobuf.ByteString bs = 
440          (com.google.protobuf.ByteString) ref;
441      java.lang.String s = bs.toStringUtf8();
442      serialized_ = s;
443      return s;
444    }
445  }
446  /**
447   * <code>optional string serialized = 10;</code>
448   * @return The bytes for serialized.
449   */
450  @java.lang.Override
451  public com.google.protobuf.ByteString
452      getSerializedBytes() {
453    java.lang.Object ref = serialized_;
454    if (ref instanceof java.lang.String) {
455      com.google.protobuf.ByteString b = 
456          com.google.protobuf.ByteString.copyFromUtf8(
457              (java.lang.String) ref);
458      serialized_ = b;
459      return b;
460    } else {
461      return (com.google.protobuf.ByteString) ref;
462    }
463  }
464
465  public static final int ENTRIES_FIELD_NUMBER = 11;
466  @SuppressWarnings("serial")
467  private volatile java.lang.Object entries_ = "";
468  /**
469   * <code>optional string entries = 11;</code>
470   * @return Whether the entries field is set.
471   */
472  @java.lang.Override
473  public boolean hasEntries() {
474    return ((bitField0_ & 0x00000040) != 0);
475  }
476  /**
477   * <code>optional string entries = 11;</code>
478   * @return The entries.
479   */
480  @java.lang.Override
481  public java.lang.String getEntries() {
482    java.lang.Object ref = entries_;
483    if (ref instanceof java.lang.String) {
484      return (java.lang.String) ref;
485    } else {
486      com.google.protobuf.ByteString bs = 
487          (com.google.protobuf.ByteString) ref;
488      java.lang.String s = bs.toStringUtf8();
489      entries_ = s;
490      return s;
491    }
492  }
493  /**
494   * <code>optional string entries = 11;</code>
495   * @return The bytes for entries.
496   */
497  @java.lang.Override
498  public com.google.protobuf.ByteString
499      getEntriesBytes() {
500    java.lang.Object ref = entries_;
501    if (ref instanceof java.lang.String) {
502      com.google.protobuf.ByteString b = 
503          com.google.protobuf.ByteString.copyFromUtf8(
504              (java.lang.String) ref);
505      entries_ = b;
506      return b;
507    } else {
508      return (com.google.protobuf.ByteString) ref;
509    }
510  }
511
512  private byte memoizedIsInitialized = -1;
513  @java.lang.Override
514  public final boolean isInitialized() {
515    byte isInitialized = memoizedIsInitialized;
516    if (isInitialized == 1) return true;
517    if (isInitialized == 0) return false;
518
519    memoizedIsInitialized = 1;
520    return true;
521  }
522
523  @java.lang.Override
524  public void writeTo(com.google.protobuf.CodedOutputStream output)
525                      throws java.io.IOException {
526    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
527      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
528    }
529    if (((bitField0_ & 0x00000001) != 0)) {
530      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, type_);
531    }
532    com.google.protobuf.GeneratedMessageV3
533      .serializeStringMapTo(
534        output,
535        internalGetProperties(),
536        PropertiesDefaultEntryHolder.defaultEntry,
537        3);
538    for (int i = 0; i < listProperty_.size(); i++) {
539      output.writeMessage(4, listProperty_.get(i));
540    }
541    for (int i = 0; i < mapProperty_.size(); i++) {
542      output.writeMessage(5, mapProperty_.get(i));
543    }
544    if (((bitField0_ & 0x00000002) != 0)) {
545      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, override_);
546    }
547    if (((bitField0_ & 0x00000004) != 0)) {
548      output.writeBool(7, exportable_);
549    }
550    if (((bitField0_ & 0x00000008) != 0)) {
551      output.writeBool(8, importable_);
552    }
553    if (((bitField0_ & 0x00000010) != 0)) {
554      output.writeInt64(9, leaseTime_);
555    }
556    if (((bitField0_ & 0x00000020) != 0)) {
557      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, serialized_);
558    }
559    if (((bitField0_ & 0x00000040) != 0)) {
560      com.google.protobuf.GeneratedMessageV3.writeString(output, 11, entries_);
561    }
562    getUnknownFields().writeTo(output);
563  }
564
565  @java.lang.Override
566  public int getSerializedSize() {
567    int size = memoizedSize;
568    if (size != -1) return size;
569
570    size = 0;
571    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
572      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
573    }
574    if (((bitField0_ & 0x00000001) != 0)) {
575      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, type_);
576    }
577    for (java.util.Map.Entry<java.lang.String, java.lang.String> entry
578         : internalGetProperties().getMap().entrySet()) {
579      com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
580      properties__ = PropertiesDefaultEntryHolder.defaultEntry.newBuilderForType()
581          .setKey(entry.getKey())
582          .setValue(entry.getValue())
583          .build();
584      size += com.google.protobuf.CodedOutputStream
585          .computeMessageSize(3, properties__);
586    }
587    for (int i = 0; i < listProperty_.size(); i++) {
588      size += com.google.protobuf.CodedOutputStream
589        .computeMessageSize(4, listProperty_.get(i));
590    }
591    for (int i = 0; i < mapProperty_.size(); i++) {
592      size += com.google.protobuf.CodedOutputStream
593        .computeMessageSize(5, mapProperty_.get(i));
594    }
595    if (((bitField0_ & 0x00000002) != 0)) {
596      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, override_);
597    }
598    if (((bitField0_ & 0x00000004) != 0)) {
599      size += com.google.protobuf.CodedOutputStream
600        .computeBoolSize(7, exportable_);
601    }
602    if (((bitField0_ & 0x00000008) != 0)) {
603      size += com.google.protobuf.CodedOutputStream
604        .computeBoolSize(8, importable_);
605    }
606    if (((bitField0_ & 0x00000010) != 0)) {
607      size += com.google.protobuf.CodedOutputStream
608        .computeInt64Size(9, leaseTime_);
609    }
610    if (((bitField0_ & 0x00000020) != 0)) {
611      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, serialized_);
612    }
613    if (((bitField0_ & 0x00000040) != 0)) {
614      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, entries_);
615    }
616    size += getUnknownFields().getSerializedSize();
617    memoizedSize = size;
618    return size;
619  }
620
621  @java.lang.Override
622  public boolean equals(final java.lang.Object obj) {
623    if (obj == this) {
624     return true;
625    }
626    if (!(obj instanceof com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto)) {
627      return super.equals(obj);
628    }
629    com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto other = (com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto) obj;
630
631    if (!getName()
632        .equals(other.getName())) return false;
633    if (hasType() != other.hasType()) return false;
634    if (hasType()) {
635      if (!getType()
636          .equals(other.getType())) return false;
637    }
638    if (!internalGetProperties().equals(
639        other.internalGetProperties())) return false;
640    if (!getListPropertyList()
641        .equals(other.getListPropertyList())) return false;
642    if (!getMapPropertyList()
643        .equals(other.getMapPropertyList())) return false;
644    if (hasOverride() != other.hasOverride()) return false;
645    if (hasOverride()) {
646      if (!getOverride()
647          .equals(other.getOverride())) return false;
648    }
649    if (hasExportable() != other.hasExportable()) return false;
650    if (hasExportable()) {
651      if (getExportable()
652          != other.getExportable()) return false;
653    }
654    if (hasImportable() != other.hasImportable()) return false;
655    if (hasImportable()) {
656      if (getImportable()
657          != other.getImportable()) return false;
658    }
659    if (hasLeaseTime() != other.hasLeaseTime()) return false;
660    if (hasLeaseTime()) {
661      if (getLeaseTime()
662          != other.getLeaseTime()) return false;
663    }
664    if (hasSerialized() != other.hasSerialized()) return false;
665    if (hasSerialized()) {
666      if (!getSerialized()
667          .equals(other.getSerialized())) return false;
668    }
669    if (hasEntries() != other.hasEntries()) return false;
670    if (hasEntries()) {
671      if (!getEntries()
672          .equals(other.getEntries())) return false;
673    }
674    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
675    return true;
676  }
677
678  @java.lang.Override
679  public int hashCode() {
680    if (memoizedHashCode != 0) {
681      return memoizedHashCode;
682    }
683    int hash = 41;
684    hash = (19 * hash) + getDescriptor().hashCode();
685    hash = (37 * hash) + NAME_FIELD_NUMBER;
686    hash = (53 * hash) + getName().hashCode();
687    if (hasType()) {
688      hash = (37 * hash) + TYPE_FIELD_NUMBER;
689      hash = (53 * hash) + getType().hashCode();
690    }
691    if (!internalGetProperties().getMap().isEmpty()) {
692      hash = (37 * hash) + PROPERTIES_FIELD_NUMBER;
693      hash = (53 * hash) + internalGetProperties().hashCode();
694    }
695    if (getListPropertyCount() > 0) {
696      hash = (37 * hash) + LIST_PROPERTY_FIELD_NUMBER;
697      hash = (53 * hash) + getListPropertyList().hashCode();
698    }
699    if (getMapPropertyCount() > 0) {
700      hash = (37 * hash) + MAP_PROPERTY_FIELD_NUMBER;
701      hash = (53 * hash) + getMapPropertyList().hashCode();
702    }
703    if (hasOverride()) {
704      hash = (37 * hash) + OVERRIDE_FIELD_NUMBER;
705      hash = (53 * hash) + getOverride().hashCode();
706    }
707    if (hasExportable()) {
708      hash = (37 * hash) + EXPORTABLE_FIELD_NUMBER;
709      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
710          getExportable());
711    }
712    if (hasImportable()) {
713      hash = (37 * hash) + IMPORTABLE_FIELD_NUMBER;
714      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
715          getImportable());
716    }
717    if (hasLeaseTime()) {
718      hash = (37 * hash) + LEASETIME_FIELD_NUMBER;
719      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
720          getLeaseTime());
721    }
722    if (hasSerialized()) {
723      hash = (37 * hash) + SERIALIZED_FIELD_NUMBER;
724      hash = (53 * hash) + getSerialized().hashCode();
725    }
726    if (hasEntries()) {
727      hash = (37 * hash) + ENTRIES_FIELD_NUMBER;
728      hash = (53 * hash) + getEntries().hashCode();
729    }
730    hash = (29 * hash) + getUnknownFields().hashCode();
731    memoizedHashCode = hash;
732    return hash;
733  }
734
735  public static com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto parseFrom(
736      java.nio.ByteBuffer data)
737      throws com.google.protobuf.InvalidProtocolBufferException {
738    return PARSER.parseFrom(data);
739  }
740  public static com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto parseFrom(
741      java.nio.ByteBuffer data,
742      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
743      throws com.google.protobuf.InvalidProtocolBufferException {
744    return PARSER.parseFrom(data, extensionRegistry);
745  }
746  public static com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto parseFrom(
747      com.google.protobuf.ByteString data)
748      throws com.google.protobuf.InvalidProtocolBufferException {
749    return PARSER.parseFrom(data);
750  }
751  public static com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto parseFrom(
752      com.google.protobuf.ByteString data,
753      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
754      throws com.google.protobuf.InvalidProtocolBufferException {
755    return PARSER.parseFrom(data, extensionRegistry);
756  }
757  public static com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto parseFrom(byte[] data)
758      throws com.google.protobuf.InvalidProtocolBufferException {
759    return PARSER.parseFrom(data);
760  }
761  public static com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto parseFrom(
762      byte[] data,
763      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
764      throws com.google.protobuf.InvalidProtocolBufferException {
765    return PARSER.parseFrom(data, extensionRegistry);
766  }
767  public static com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto parseFrom(java.io.InputStream input)
768      throws java.io.IOException {
769    return com.google.protobuf.GeneratedMessageV3
770        .parseWithIOException(PARSER, input);
771  }
772  public static com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto parseFrom(
773      java.io.InputStream input,
774      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
775      throws java.io.IOException {
776    return com.google.protobuf.GeneratedMessageV3
777        .parseWithIOException(PARSER, input, extensionRegistry);
778  }
779
780  public static com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto parseDelimitedFrom(java.io.InputStream input)
781      throws java.io.IOException {
782    return com.google.protobuf.GeneratedMessageV3
783        .parseDelimitedWithIOException(PARSER, input);
784  }
785
786  public static com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto parseDelimitedFrom(
787      java.io.InputStream input,
788      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
789      throws java.io.IOException {
790    return com.google.protobuf.GeneratedMessageV3
791        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
792  }
793  public static com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto parseFrom(
794      com.google.protobuf.CodedInputStream input)
795      throws java.io.IOException {
796    return com.google.protobuf.GeneratedMessageV3
797        .parseWithIOException(PARSER, input);
798  }
799  public static com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto parseFrom(
800      com.google.protobuf.CodedInputStream input,
801      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
802      throws java.io.IOException {
803    return com.google.protobuf.GeneratedMessageV3
804        .parseWithIOException(PARSER, input, extensionRegistry);
805  }
806
807  @java.lang.Override
808  public Builder newBuilderForType() { return newBuilder(); }
809  public static Builder newBuilder() {
810    return DEFAULT_INSTANCE.toBuilder();
811  }
812  public static Builder newBuilder(com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto prototype) {
813    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
814  }
815  @java.lang.Override
816  public Builder toBuilder() {
817    return this == DEFAULT_INSTANCE
818        ? new Builder() : new Builder().mergeFrom(this);
819  }
820
821  @java.lang.Override
822  protected Builder newBuilderForType(
823      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
824    Builder builder = new Builder(parent);
825    return builder;
826  }
827  /**
828   * <pre>
829   *
830   *A configurable component.
831   * </pre>
832   *
833   * Protobuf type {@code olcut.ComponentProto}
834   */
835  public static final class Builder extends
836      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
837      // @@protoc_insertion_point(builder_implements:olcut.ComponentProto)
838      com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProtoOrBuilder {
839    public static final com.google.protobuf.Descriptors.Descriptor
840        getDescriptor() {
841      return com.oracle.labs.mlrg.olcut.config.protobuf.protos.OlcutProto.internal_static_olcut_ComponentProto_descriptor;
842    }
843
844    @SuppressWarnings({"rawtypes"})
845    protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
846        int number) {
847      switch (number) {
848        case 3:
849          return internalGetProperties();
850        default:
851          throw new RuntimeException(
852              "Invalid map field number: " + number);
853      }
854    }
855    @SuppressWarnings({"rawtypes"})
856    protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
857        int number) {
858      switch (number) {
859        case 3:
860          return internalGetMutableProperties();
861        default:
862          throw new RuntimeException(
863              "Invalid map field number: " + number);
864      }
865    }
866    @java.lang.Override
867    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
868        internalGetFieldAccessorTable() {
869      return com.oracle.labs.mlrg.olcut.config.protobuf.protos.OlcutProto.internal_static_olcut_ComponentProto_fieldAccessorTable
870          .ensureFieldAccessorsInitialized(
871              com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto.class, com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto.Builder.class);
872    }
873
874    // Construct using com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto.newBuilder()
875    private Builder() {
876
877    }
878
879    private Builder(
880        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
881      super(parent);
882
883    }
884    @java.lang.Override
885    public Builder clear() {
886      super.clear();
887      bitField0_ = 0;
888      name_ = "";
889      type_ = "";
890      internalGetMutableProperties().clear();
891      if (listPropertyBuilder_ == null) {
892        listProperty_ = java.util.Collections.emptyList();
893      } else {
894        listProperty_ = null;
895        listPropertyBuilder_.clear();
896      }
897      bitField0_ = (bitField0_ & ~0x00000008);
898      if (mapPropertyBuilder_ == null) {
899        mapProperty_ = java.util.Collections.emptyList();
900      } else {
901        mapProperty_ = null;
902        mapPropertyBuilder_.clear();
903      }
904      bitField0_ = (bitField0_ & ~0x00000010);
905      override_ = "";
906      exportable_ = false;
907      importable_ = false;
908      leaseTime_ = 0L;
909      serialized_ = "";
910      entries_ = "";
911      return this;
912    }
913
914    @java.lang.Override
915    public com.google.protobuf.Descriptors.Descriptor
916        getDescriptorForType() {
917      return com.oracle.labs.mlrg.olcut.config.protobuf.protos.OlcutProto.internal_static_olcut_ComponentProto_descriptor;
918    }
919
920    @java.lang.Override
921    public com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto getDefaultInstanceForType() {
922      return com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto.getDefaultInstance();
923    }
924
925    @java.lang.Override
926    public com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto build() {
927      com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto result = buildPartial();
928      if (!result.isInitialized()) {
929        throw newUninitializedMessageException(result);
930      }
931      return result;
932    }
933
934    @java.lang.Override
935    public com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto buildPartial() {
936      com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto result = new com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto(this);
937      buildPartialRepeatedFields(result);
938      if (bitField0_ != 0) { buildPartial0(result); }
939      onBuilt();
940      return result;
941    }
942
943    private void buildPartialRepeatedFields(com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto result) {
944      if (listPropertyBuilder_ == null) {
945        if (((bitField0_ & 0x00000008) != 0)) {
946          listProperty_ = java.util.Collections.unmodifiableList(listProperty_);
947          bitField0_ = (bitField0_ & ~0x00000008);
948        }
949        result.listProperty_ = listProperty_;
950      } else {
951        result.listProperty_ = listPropertyBuilder_.build();
952      }
953      if (mapPropertyBuilder_ == null) {
954        if (((bitField0_ & 0x00000010) != 0)) {
955          mapProperty_ = java.util.Collections.unmodifiableList(mapProperty_);
956          bitField0_ = (bitField0_ & ~0x00000010);
957        }
958        result.mapProperty_ = mapProperty_;
959      } else {
960        result.mapProperty_ = mapPropertyBuilder_.build();
961      }
962    }
963
964    private void buildPartial0(com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto result) {
965      int from_bitField0_ = bitField0_;
966      if (((from_bitField0_ & 0x00000001) != 0)) {
967        result.name_ = name_;
968      }
969      int to_bitField0_ = 0;
970      if (((from_bitField0_ & 0x00000002) != 0)) {
971        result.type_ = type_;
972        to_bitField0_ |= 0x00000001;
973      }
974      if (((from_bitField0_ & 0x00000004) != 0)) {
975        result.properties_ = internalGetProperties();
976        result.properties_.makeImmutable();
977      }
978      if (((from_bitField0_ & 0x00000020) != 0)) {
979        result.override_ = override_;
980        to_bitField0_ |= 0x00000002;
981      }
982      if (((from_bitField0_ & 0x00000040) != 0)) {
983        result.exportable_ = exportable_;
984        to_bitField0_ |= 0x00000004;
985      }
986      if (((from_bitField0_ & 0x00000080) != 0)) {
987        result.importable_ = importable_;
988        to_bitField0_ |= 0x00000008;
989      }
990      if (((from_bitField0_ & 0x00000100) != 0)) {
991        result.leaseTime_ = leaseTime_;
992        to_bitField0_ |= 0x00000010;
993      }
994      if (((from_bitField0_ & 0x00000200) != 0)) {
995        result.serialized_ = serialized_;
996        to_bitField0_ |= 0x00000020;
997      }
998      if (((from_bitField0_ & 0x00000400) != 0)) {
999        result.entries_ = entries_;
1000        to_bitField0_ |= 0x00000040;
1001      }
1002      result.bitField0_ |= to_bitField0_;
1003    }
1004
1005    @java.lang.Override
1006    public Builder clone() {
1007      return super.clone();
1008    }
1009    @java.lang.Override
1010    public Builder setField(
1011        com.google.protobuf.Descriptors.FieldDescriptor field,
1012        java.lang.Object value) {
1013      return super.setField(field, value);
1014    }
1015    @java.lang.Override
1016    public Builder clearField(
1017        com.google.protobuf.Descriptors.FieldDescriptor field) {
1018      return super.clearField(field);
1019    }
1020    @java.lang.Override
1021    public Builder clearOneof(
1022        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
1023      return super.clearOneof(oneof);
1024    }
1025    @java.lang.Override
1026    public Builder setRepeatedField(
1027        com.google.protobuf.Descriptors.FieldDescriptor field,
1028        int index, java.lang.Object value) {
1029      return super.setRepeatedField(field, index, value);
1030    }
1031    @java.lang.Override
1032    public Builder addRepeatedField(
1033        com.google.protobuf.Descriptors.FieldDescriptor field,
1034        java.lang.Object value) {
1035      return super.addRepeatedField(field, value);
1036    }
1037    @java.lang.Override
1038    public Builder mergeFrom(com.google.protobuf.Message other) {
1039      if (other instanceof com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto) {
1040        return mergeFrom((com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto)other);
1041      } else {
1042        super.mergeFrom(other);
1043        return this;
1044      }
1045    }
1046
1047    public Builder mergeFrom(com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto other) {
1048      if (other == com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto.getDefaultInstance()) return this;
1049      if (!other.getName().isEmpty()) {
1050        name_ = other.name_;
1051        bitField0_ |= 0x00000001;
1052        onChanged();
1053      }
1054      if (other.hasType()) {
1055        type_ = other.type_;
1056        bitField0_ |= 0x00000002;
1057        onChanged();
1058      }
1059      internalGetMutableProperties().mergeFrom(
1060          other.internalGetProperties());
1061      bitField0_ |= 0x00000004;
1062      if (listPropertyBuilder_ == null) {
1063        if (!other.listProperty_.isEmpty()) {
1064          if (listProperty_.isEmpty()) {
1065            listProperty_ = other.listProperty_;
1066            bitField0_ = (bitField0_ & ~0x00000008);
1067          } else {
1068            ensureListPropertyIsMutable();
1069            listProperty_.addAll(other.listProperty_);
1070          }
1071          onChanged();
1072        }
1073      } else {
1074        if (!other.listProperty_.isEmpty()) {
1075          if (listPropertyBuilder_.isEmpty()) {
1076            listPropertyBuilder_.dispose();
1077            listPropertyBuilder_ = null;
1078            listProperty_ = other.listProperty_;
1079            bitField0_ = (bitField0_ & ~0x00000008);
1080            listPropertyBuilder_ = 
1081              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
1082                 getListPropertyFieldBuilder() : null;
1083          } else {
1084            listPropertyBuilder_.addAllMessages(other.listProperty_);
1085          }
1086        }
1087      }
1088      if (mapPropertyBuilder_ == null) {
1089        if (!other.mapProperty_.isEmpty()) {
1090          if (mapProperty_.isEmpty()) {
1091            mapProperty_ = other.mapProperty_;
1092            bitField0_ = (bitField0_ & ~0x00000010);
1093          } else {
1094            ensureMapPropertyIsMutable();
1095            mapProperty_.addAll(other.mapProperty_);
1096          }
1097          onChanged();
1098        }
1099      } else {
1100        if (!other.mapProperty_.isEmpty()) {
1101          if (mapPropertyBuilder_.isEmpty()) {
1102            mapPropertyBuilder_.dispose();
1103            mapPropertyBuilder_ = null;
1104            mapProperty_ = other.mapProperty_;
1105            bitField0_ = (bitField0_ & ~0x00000010);
1106            mapPropertyBuilder_ = 
1107              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
1108                 getMapPropertyFieldBuilder() : null;
1109          } else {
1110            mapPropertyBuilder_.addAllMessages(other.mapProperty_);
1111          }
1112        }
1113      }
1114      if (other.hasOverride()) {
1115        override_ = other.override_;
1116        bitField0_ |= 0x00000020;
1117        onChanged();
1118      }
1119      if (other.hasExportable()) {
1120        setExportable(other.getExportable());
1121      }
1122      if (other.hasImportable()) {
1123        setImportable(other.getImportable());
1124      }
1125      if (other.hasLeaseTime()) {
1126        setLeaseTime(other.getLeaseTime());
1127      }
1128      if (other.hasSerialized()) {
1129        serialized_ = other.serialized_;
1130        bitField0_ |= 0x00000200;
1131        onChanged();
1132      }
1133      if (other.hasEntries()) {
1134        entries_ = other.entries_;
1135        bitField0_ |= 0x00000400;
1136        onChanged();
1137      }
1138      this.mergeUnknownFields(other.getUnknownFields());
1139      onChanged();
1140      return this;
1141    }
1142
1143    @java.lang.Override
1144    public final boolean isInitialized() {
1145      return true;
1146    }
1147
1148    @java.lang.Override
1149    public Builder mergeFrom(
1150        com.google.protobuf.CodedInputStream input,
1151        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1152        throws java.io.IOException {
1153      if (extensionRegistry == null) {
1154        throw new java.lang.NullPointerException();
1155      }
1156      try {
1157        boolean done = false;
1158        while (!done) {
1159          int tag = input.readTag();
1160          switch (tag) {
1161            case 0:
1162              done = true;
1163              break;
1164            case 10: {
1165              name_ = input.readStringRequireUtf8();
1166              bitField0_ |= 0x00000001;
1167              break;
1168            } // case 10
1169            case 18: {
1170              type_ = input.readStringRequireUtf8();
1171              bitField0_ |= 0x00000002;
1172              break;
1173            } // case 18
1174            case 26: {
1175              com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
1176              properties__ = input.readMessage(
1177                  PropertiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
1178              internalGetMutableProperties().getMutableMap().put(
1179                  properties__.getKey(), properties__.getValue());
1180              bitField0_ |= 0x00000004;
1181              break;
1182            } // case 26
1183            case 34: {
1184              com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto m =
1185                  input.readMessage(
1186                      com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto.parser(),
1187                      extensionRegistry);
1188              if (listPropertyBuilder_ == null) {
1189                ensureListPropertyIsMutable();
1190                listProperty_.add(m);
1191              } else {
1192                listPropertyBuilder_.addMessage(m);
1193              }
1194              break;
1195            } // case 34
1196            case 42: {
1197              com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto m =
1198                  input.readMessage(
1199                      com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto.parser(),
1200                      extensionRegistry);
1201              if (mapPropertyBuilder_ == null) {
1202                ensureMapPropertyIsMutable();
1203                mapProperty_.add(m);
1204              } else {
1205                mapPropertyBuilder_.addMessage(m);
1206              }
1207              break;
1208            } // case 42
1209            case 50: {
1210              override_ = input.readStringRequireUtf8();
1211              bitField0_ |= 0x00000020;
1212              break;
1213            } // case 50
1214            case 56: {
1215              exportable_ = input.readBool();
1216              bitField0_ |= 0x00000040;
1217              break;
1218            } // case 56
1219            case 64: {
1220              importable_ = input.readBool();
1221              bitField0_ |= 0x00000080;
1222              break;
1223            } // case 64
1224            case 72: {
1225              leaseTime_ = input.readInt64();
1226              bitField0_ |= 0x00000100;
1227              break;
1228            } // case 72
1229            case 82: {
1230              serialized_ = input.readStringRequireUtf8();
1231              bitField0_ |= 0x00000200;
1232              break;
1233            } // case 82
1234            case 90: {
1235              entries_ = input.readStringRequireUtf8();
1236              bitField0_ |= 0x00000400;
1237              break;
1238            } // case 90
1239            default: {
1240              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
1241                done = true; // was an endgroup tag
1242              }
1243              break;
1244            } // default:
1245          } // switch (tag)
1246        } // while (!done)
1247      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1248        throw e.unwrapIOException();
1249      } finally {
1250        onChanged();
1251      } // finally
1252      return this;
1253    }
1254    private int bitField0_;
1255
1256    private java.lang.Object name_ = "";
1257    /**
1258     * <code>string name = 1;</code>
1259     * @return The name.
1260     */
1261    public java.lang.String getName() {
1262      java.lang.Object ref = name_;
1263      if (!(ref instanceof java.lang.String)) {
1264        com.google.protobuf.ByteString bs =
1265            (com.google.protobuf.ByteString) ref;
1266        java.lang.String s = bs.toStringUtf8();
1267        name_ = s;
1268        return s;
1269      } else {
1270        return (java.lang.String) ref;
1271      }
1272    }
1273    /**
1274     * <code>string name = 1;</code>
1275     * @return The bytes for name.
1276     */
1277    public com.google.protobuf.ByteString
1278        getNameBytes() {
1279      java.lang.Object ref = name_;
1280      if (ref instanceof String) {
1281        com.google.protobuf.ByteString b = 
1282            com.google.protobuf.ByteString.copyFromUtf8(
1283                (java.lang.String) ref);
1284        name_ = b;
1285        return b;
1286      } else {
1287        return (com.google.protobuf.ByteString) ref;
1288      }
1289    }
1290    /**
1291     * <code>string name = 1;</code>
1292     * @param value The name to set.
1293     * @return This builder for chaining.
1294     */
1295    public Builder setName(
1296        java.lang.String value) {
1297      if (value == null) { throw new NullPointerException(); }
1298      name_ = value;
1299      bitField0_ |= 0x00000001;
1300      onChanged();
1301      return this;
1302    }
1303    /**
1304     * <code>string name = 1;</code>
1305     * @return This builder for chaining.
1306     */
1307    public Builder clearName() {
1308      name_ = getDefaultInstance().getName();
1309      bitField0_ = (bitField0_ & ~0x00000001);
1310      onChanged();
1311      return this;
1312    }
1313    /**
1314     * <code>string name = 1;</code>
1315     * @param value The bytes for name to set.
1316     * @return This builder for chaining.
1317     */
1318    public Builder setNameBytes(
1319        com.google.protobuf.ByteString value) {
1320      if (value == null) { throw new NullPointerException(); }
1321      checkByteStringIsUtf8(value);
1322      name_ = value;
1323      bitField0_ |= 0x00000001;
1324      onChanged();
1325      return this;
1326    }
1327
1328    private java.lang.Object type_ = "";
1329    /**
1330     * <code>optional string type = 2;</code>
1331     * @return Whether the type field is set.
1332     */
1333    public boolean hasType() {
1334      return ((bitField0_ & 0x00000002) != 0);
1335    }
1336    /**
1337     * <code>optional string type = 2;</code>
1338     * @return The type.
1339     */
1340    public java.lang.String getType() {
1341      java.lang.Object ref = type_;
1342      if (!(ref instanceof java.lang.String)) {
1343        com.google.protobuf.ByteString bs =
1344            (com.google.protobuf.ByteString) ref;
1345        java.lang.String s = bs.toStringUtf8();
1346        type_ = s;
1347        return s;
1348      } else {
1349        return (java.lang.String) ref;
1350      }
1351    }
1352    /**
1353     * <code>optional string type = 2;</code>
1354     * @return The bytes for type.
1355     */
1356    public com.google.protobuf.ByteString
1357        getTypeBytes() {
1358      java.lang.Object ref = type_;
1359      if (ref instanceof String) {
1360        com.google.protobuf.ByteString b = 
1361            com.google.protobuf.ByteString.copyFromUtf8(
1362                (java.lang.String) ref);
1363        type_ = b;
1364        return b;
1365      } else {
1366        return (com.google.protobuf.ByteString) ref;
1367      }
1368    }
1369    /**
1370     * <code>optional string type = 2;</code>
1371     * @param value The type to set.
1372     * @return This builder for chaining.
1373     */
1374    public Builder setType(
1375        java.lang.String value) {
1376      if (value == null) { throw new NullPointerException(); }
1377      type_ = value;
1378      bitField0_ |= 0x00000002;
1379      onChanged();
1380      return this;
1381    }
1382    /**
1383     * <code>optional string type = 2;</code>
1384     * @return This builder for chaining.
1385     */
1386    public Builder clearType() {
1387      type_ = getDefaultInstance().getType();
1388      bitField0_ = (bitField0_ & ~0x00000002);
1389      onChanged();
1390      return this;
1391    }
1392    /**
1393     * <code>optional string type = 2;</code>
1394     * @param value The bytes for type to set.
1395     * @return This builder for chaining.
1396     */
1397    public Builder setTypeBytes(
1398        com.google.protobuf.ByteString value) {
1399      if (value == null) { throw new NullPointerException(); }
1400      checkByteStringIsUtf8(value);
1401      type_ = value;
1402      bitField0_ |= 0x00000002;
1403      onChanged();
1404      return this;
1405    }
1406
1407    private com.google.protobuf.MapField<
1408        java.lang.String, java.lang.String> properties_;
1409    private com.google.protobuf.MapField<java.lang.String, java.lang.String>
1410        internalGetProperties() {
1411      if (properties_ == null) {
1412        return com.google.protobuf.MapField.emptyMapField(
1413            PropertiesDefaultEntryHolder.defaultEntry);
1414      }
1415      return properties_;
1416    }
1417    private com.google.protobuf.MapField<java.lang.String, java.lang.String>
1418        internalGetMutableProperties() {
1419      if (properties_ == null) {
1420        properties_ = com.google.protobuf.MapField.newMapField(
1421            PropertiesDefaultEntryHolder.defaultEntry);
1422      }
1423      if (!properties_.isMutable()) {
1424        properties_ = properties_.copy();
1425      }
1426      bitField0_ |= 0x00000004;
1427      onChanged();
1428      return properties_;
1429    }
1430    public int getPropertiesCount() {
1431      return internalGetProperties().getMap().size();
1432    }
1433    /**
1434     * <code>map&lt;string, string&gt; properties = 3;</code>
1435     */
1436    @java.lang.Override
1437    public boolean containsProperties(
1438        java.lang.String key) {
1439      if (key == null) { throw new NullPointerException("map key"); }
1440      return internalGetProperties().getMap().containsKey(key);
1441    }
1442    /**
1443     * Use {@link #getPropertiesMap()} instead.
1444     */
1445    @java.lang.Override
1446    @java.lang.Deprecated
1447    public java.util.Map<java.lang.String, java.lang.String> getProperties() {
1448      return getPropertiesMap();
1449    }
1450    /**
1451     * <code>map&lt;string, string&gt; properties = 3;</code>
1452     */
1453    @java.lang.Override
1454    public java.util.Map<java.lang.String, java.lang.String> getPropertiesMap() {
1455      return internalGetProperties().getMap();
1456    }
1457    /**
1458     * <code>map&lt;string, string&gt; properties = 3;</code>
1459     */
1460    @java.lang.Override
1461    public /* nullable */
1462java.lang.String getPropertiesOrDefault(
1463        java.lang.String key,
1464        /* nullable */
1465java.lang.String defaultValue) {
1466      if (key == null) { throw new NullPointerException("map key"); }
1467      java.util.Map<java.lang.String, java.lang.String> map =
1468          internalGetProperties().getMap();
1469      return map.containsKey(key) ? map.get(key) : defaultValue;
1470    }
1471    /**
1472     * <code>map&lt;string, string&gt; properties = 3;</code>
1473     */
1474    @java.lang.Override
1475    public java.lang.String getPropertiesOrThrow(
1476        java.lang.String key) {
1477      if (key == null) { throw new NullPointerException("map key"); }
1478      java.util.Map<java.lang.String, java.lang.String> map =
1479          internalGetProperties().getMap();
1480      if (!map.containsKey(key)) {
1481        throw new java.lang.IllegalArgumentException();
1482      }
1483      return map.get(key);
1484    }
1485    public Builder clearProperties() {
1486      bitField0_ = (bitField0_ & ~0x00000004);
1487      internalGetMutableProperties().getMutableMap()
1488          .clear();
1489      return this;
1490    }
1491    /**
1492     * <code>map&lt;string, string&gt; properties = 3;</code>
1493     */
1494    public Builder removeProperties(
1495        java.lang.String key) {
1496      if (key == null) { throw new NullPointerException("map key"); }
1497      internalGetMutableProperties().getMutableMap()
1498          .remove(key);
1499      return this;
1500    }
1501    /**
1502     * Use alternate mutation accessors instead.
1503     */
1504    @java.lang.Deprecated
1505    public java.util.Map<java.lang.String, java.lang.String>
1506        getMutableProperties() {
1507      bitField0_ |= 0x00000004;
1508      return internalGetMutableProperties().getMutableMap();
1509    }
1510    /**
1511     * <code>map&lt;string, string&gt; properties = 3;</code>
1512     */
1513    public Builder putProperties(
1514        java.lang.String key,
1515        java.lang.String value) {
1516      if (key == null) { throw new NullPointerException("map key"); }
1517      if (value == null) { throw new NullPointerException("map value"); }
1518      internalGetMutableProperties().getMutableMap()
1519          .put(key, value);
1520      bitField0_ |= 0x00000004;
1521      return this;
1522    }
1523    /**
1524     * <code>map&lt;string, string&gt; properties = 3;</code>
1525     */
1526    public Builder putAllProperties(
1527        java.util.Map<java.lang.String, java.lang.String> values) {
1528      internalGetMutableProperties().getMutableMap()
1529          .putAll(values);
1530      bitField0_ |= 0x00000004;
1531      return this;
1532    }
1533
1534    private java.util.List<com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto> listProperty_ =
1535      java.util.Collections.emptyList();
1536    private void ensureListPropertyIsMutable() {
1537      if (!((bitField0_ & 0x00000008) != 0)) {
1538        listProperty_ = new java.util.ArrayList<com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto>(listProperty_);
1539        bitField0_ |= 0x00000008;
1540       }
1541    }
1542
1543    private com.google.protobuf.RepeatedFieldBuilderV3<
1544        com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto, com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto.Builder, com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProtoOrBuilder> listPropertyBuilder_;
1545
1546    /**
1547     * <code>repeated .olcut.PropertyListProto list_property = 4;</code>
1548     */
1549    public java.util.List<com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto> getListPropertyList() {
1550      if (listPropertyBuilder_ == null) {
1551        return java.util.Collections.unmodifiableList(listProperty_);
1552      } else {
1553        return listPropertyBuilder_.getMessageList();
1554      }
1555    }
1556    /**
1557     * <code>repeated .olcut.PropertyListProto list_property = 4;</code>
1558     */
1559    public int getListPropertyCount() {
1560      if (listPropertyBuilder_ == null) {
1561        return listProperty_.size();
1562      } else {
1563        return listPropertyBuilder_.getCount();
1564      }
1565    }
1566    /**
1567     * <code>repeated .olcut.PropertyListProto list_property = 4;</code>
1568     */
1569    public com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto getListProperty(int index) {
1570      if (listPropertyBuilder_ == null) {
1571        return listProperty_.get(index);
1572      } else {
1573        return listPropertyBuilder_.getMessage(index);
1574      }
1575    }
1576    /**
1577     * <code>repeated .olcut.PropertyListProto list_property = 4;</code>
1578     */
1579    public Builder setListProperty(
1580        int index, com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto value) {
1581      if (listPropertyBuilder_ == null) {
1582        if (value == null) {
1583          throw new NullPointerException();
1584        }
1585        ensureListPropertyIsMutable();
1586        listProperty_.set(index, value);
1587        onChanged();
1588      } else {
1589        listPropertyBuilder_.setMessage(index, value);
1590      }
1591      return this;
1592    }
1593    /**
1594     * <code>repeated .olcut.PropertyListProto list_property = 4;</code>
1595     */
1596    public Builder setListProperty(
1597        int index, com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto.Builder builderForValue) {
1598      if (listPropertyBuilder_ == null) {
1599        ensureListPropertyIsMutable();
1600        listProperty_.set(index, builderForValue.build());
1601        onChanged();
1602      } else {
1603        listPropertyBuilder_.setMessage(index, builderForValue.build());
1604      }
1605      return this;
1606    }
1607    /**
1608     * <code>repeated .olcut.PropertyListProto list_property = 4;</code>
1609     */
1610    public Builder addListProperty(com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto value) {
1611      if (listPropertyBuilder_ == null) {
1612        if (value == null) {
1613          throw new NullPointerException();
1614        }
1615        ensureListPropertyIsMutable();
1616        listProperty_.add(value);
1617        onChanged();
1618      } else {
1619        listPropertyBuilder_.addMessage(value);
1620      }
1621      return this;
1622    }
1623    /**
1624     * <code>repeated .olcut.PropertyListProto list_property = 4;</code>
1625     */
1626    public Builder addListProperty(
1627        int index, com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto value) {
1628      if (listPropertyBuilder_ == null) {
1629        if (value == null) {
1630          throw new NullPointerException();
1631        }
1632        ensureListPropertyIsMutable();
1633        listProperty_.add(index, value);
1634        onChanged();
1635      } else {
1636        listPropertyBuilder_.addMessage(index, value);
1637      }
1638      return this;
1639    }
1640    /**
1641     * <code>repeated .olcut.PropertyListProto list_property = 4;</code>
1642     */
1643    public Builder addListProperty(
1644        com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto.Builder builderForValue) {
1645      if (listPropertyBuilder_ == null) {
1646        ensureListPropertyIsMutable();
1647        listProperty_.add(builderForValue.build());
1648        onChanged();
1649      } else {
1650        listPropertyBuilder_.addMessage(builderForValue.build());
1651      }
1652      return this;
1653    }
1654    /**
1655     * <code>repeated .olcut.PropertyListProto list_property = 4;</code>
1656     */
1657    public Builder addListProperty(
1658        int index, com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto.Builder builderForValue) {
1659      if (listPropertyBuilder_ == null) {
1660        ensureListPropertyIsMutable();
1661        listProperty_.add(index, builderForValue.build());
1662        onChanged();
1663      } else {
1664        listPropertyBuilder_.addMessage(index, builderForValue.build());
1665      }
1666      return this;
1667    }
1668    /**
1669     * <code>repeated .olcut.PropertyListProto list_property = 4;</code>
1670     */
1671    public Builder addAllListProperty(
1672        java.lang.Iterable<? extends com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto> values) {
1673      if (listPropertyBuilder_ == null) {
1674        ensureListPropertyIsMutable();
1675        com.google.protobuf.AbstractMessageLite.Builder.addAll(
1676            values, listProperty_);
1677        onChanged();
1678      } else {
1679        listPropertyBuilder_.addAllMessages(values);
1680      }
1681      return this;
1682    }
1683    /**
1684     * <code>repeated .olcut.PropertyListProto list_property = 4;</code>
1685     */
1686    public Builder clearListProperty() {
1687      if (listPropertyBuilder_ == null) {
1688        listProperty_ = java.util.Collections.emptyList();
1689        bitField0_ = (bitField0_ & ~0x00000008);
1690        onChanged();
1691      } else {
1692        listPropertyBuilder_.clear();
1693      }
1694      return this;
1695    }
1696    /**
1697     * <code>repeated .olcut.PropertyListProto list_property = 4;</code>
1698     */
1699    public Builder removeListProperty(int index) {
1700      if (listPropertyBuilder_ == null) {
1701        ensureListPropertyIsMutable();
1702        listProperty_.remove(index);
1703        onChanged();
1704      } else {
1705        listPropertyBuilder_.remove(index);
1706      }
1707      return this;
1708    }
1709    /**
1710     * <code>repeated .olcut.PropertyListProto list_property = 4;</code>
1711     */
1712    public com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto.Builder getListPropertyBuilder(
1713        int index) {
1714      return getListPropertyFieldBuilder().getBuilder(index);
1715    }
1716    /**
1717     * <code>repeated .olcut.PropertyListProto list_property = 4;</code>
1718     */
1719    public com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProtoOrBuilder getListPropertyOrBuilder(
1720        int index) {
1721      if (listPropertyBuilder_ == null) {
1722        return listProperty_.get(index);  } else {
1723        return listPropertyBuilder_.getMessageOrBuilder(index);
1724      }
1725    }
1726    /**
1727     * <code>repeated .olcut.PropertyListProto list_property = 4;</code>
1728     */
1729    public java.util.List<? extends com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProtoOrBuilder> 
1730         getListPropertyOrBuilderList() {
1731      if (listPropertyBuilder_ != null) {
1732        return listPropertyBuilder_.getMessageOrBuilderList();
1733      } else {
1734        return java.util.Collections.unmodifiableList(listProperty_);
1735      }
1736    }
1737    /**
1738     * <code>repeated .olcut.PropertyListProto list_property = 4;</code>
1739     */
1740    public com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto.Builder addListPropertyBuilder() {
1741      return getListPropertyFieldBuilder().addBuilder(
1742          com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto.getDefaultInstance());
1743    }
1744    /**
1745     * <code>repeated .olcut.PropertyListProto list_property = 4;</code>
1746     */
1747    public com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto.Builder addListPropertyBuilder(
1748        int index) {
1749      return getListPropertyFieldBuilder().addBuilder(
1750          index, com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto.getDefaultInstance());
1751    }
1752    /**
1753     * <code>repeated .olcut.PropertyListProto list_property = 4;</code>
1754     */
1755    public java.util.List<com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto.Builder> 
1756         getListPropertyBuilderList() {
1757      return getListPropertyFieldBuilder().getBuilderList();
1758    }
1759    private com.google.protobuf.RepeatedFieldBuilderV3<
1760        com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto, com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto.Builder, com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProtoOrBuilder> 
1761        getListPropertyFieldBuilder() {
1762      if (listPropertyBuilder_ == null) {
1763        listPropertyBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
1764            com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto, com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto.Builder, com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProtoOrBuilder>(
1765                listProperty_,
1766                ((bitField0_ & 0x00000008) != 0),
1767                getParentForChildren(),
1768                isClean());
1769        listProperty_ = null;
1770      }
1771      return listPropertyBuilder_;
1772    }
1773
1774    private java.util.List<com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto> mapProperty_ =
1775      java.util.Collections.emptyList();
1776    private void ensureMapPropertyIsMutable() {
1777      if (!((bitField0_ & 0x00000010) != 0)) {
1778        mapProperty_ = new java.util.ArrayList<com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto>(mapProperty_);
1779        bitField0_ |= 0x00000010;
1780       }
1781    }
1782
1783    private com.google.protobuf.RepeatedFieldBuilderV3<
1784        com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto, com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto.Builder, com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProtoOrBuilder> mapPropertyBuilder_;
1785
1786    /**
1787     * <code>repeated .olcut.PropertyMapProto map_property = 5;</code>
1788     */
1789    public java.util.List<com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto> getMapPropertyList() {
1790      if (mapPropertyBuilder_ == null) {
1791        return java.util.Collections.unmodifiableList(mapProperty_);
1792      } else {
1793        return mapPropertyBuilder_.getMessageList();
1794      }
1795    }
1796    /**
1797     * <code>repeated .olcut.PropertyMapProto map_property = 5;</code>
1798     */
1799    public int getMapPropertyCount() {
1800      if (mapPropertyBuilder_ == null) {
1801        return mapProperty_.size();
1802      } else {
1803        return mapPropertyBuilder_.getCount();
1804      }
1805    }
1806    /**
1807     * <code>repeated .olcut.PropertyMapProto map_property = 5;</code>
1808     */
1809    public com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto getMapProperty(int index) {
1810      if (mapPropertyBuilder_ == null) {
1811        return mapProperty_.get(index);
1812      } else {
1813        return mapPropertyBuilder_.getMessage(index);
1814      }
1815    }
1816    /**
1817     * <code>repeated .olcut.PropertyMapProto map_property = 5;</code>
1818     */
1819    public Builder setMapProperty(
1820        int index, com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto value) {
1821      if (mapPropertyBuilder_ == null) {
1822        if (value == null) {
1823          throw new NullPointerException();
1824        }
1825        ensureMapPropertyIsMutable();
1826        mapProperty_.set(index, value);
1827        onChanged();
1828      } else {
1829        mapPropertyBuilder_.setMessage(index, value);
1830      }
1831      return this;
1832    }
1833    /**
1834     * <code>repeated .olcut.PropertyMapProto map_property = 5;</code>
1835     */
1836    public Builder setMapProperty(
1837        int index, com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto.Builder builderForValue) {
1838      if (mapPropertyBuilder_ == null) {
1839        ensureMapPropertyIsMutable();
1840        mapProperty_.set(index, builderForValue.build());
1841        onChanged();
1842      } else {
1843        mapPropertyBuilder_.setMessage(index, builderForValue.build());
1844      }
1845      return this;
1846    }
1847    /**
1848     * <code>repeated .olcut.PropertyMapProto map_property = 5;</code>
1849     */
1850    public Builder addMapProperty(com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto value) {
1851      if (mapPropertyBuilder_ == null) {
1852        if (value == null) {
1853          throw new NullPointerException();
1854        }
1855        ensureMapPropertyIsMutable();
1856        mapProperty_.add(value);
1857        onChanged();
1858      } else {
1859        mapPropertyBuilder_.addMessage(value);
1860      }
1861      return this;
1862    }
1863    /**
1864     * <code>repeated .olcut.PropertyMapProto map_property = 5;</code>
1865     */
1866    public Builder addMapProperty(
1867        int index, com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto value) {
1868      if (mapPropertyBuilder_ == null) {
1869        if (value == null) {
1870          throw new NullPointerException();
1871        }
1872        ensureMapPropertyIsMutable();
1873        mapProperty_.add(index, value);
1874        onChanged();
1875      } else {
1876        mapPropertyBuilder_.addMessage(index, value);
1877      }
1878      return this;
1879    }
1880    /**
1881     * <code>repeated .olcut.PropertyMapProto map_property = 5;</code>
1882     */
1883    public Builder addMapProperty(
1884        com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto.Builder builderForValue) {
1885      if (mapPropertyBuilder_ == null) {
1886        ensureMapPropertyIsMutable();
1887        mapProperty_.add(builderForValue.build());
1888        onChanged();
1889      } else {
1890        mapPropertyBuilder_.addMessage(builderForValue.build());
1891      }
1892      return this;
1893    }
1894    /**
1895     * <code>repeated .olcut.PropertyMapProto map_property = 5;</code>
1896     */
1897    public Builder addMapProperty(
1898        int index, com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto.Builder builderForValue) {
1899      if (mapPropertyBuilder_ == null) {
1900        ensureMapPropertyIsMutable();
1901        mapProperty_.add(index, builderForValue.build());
1902        onChanged();
1903      } else {
1904        mapPropertyBuilder_.addMessage(index, builderForValue.build());
1905      }
1906      return this;
1907    }
1908    /**
1909     * <code>repeated .olcut.PropertyMapProto map_property = 5;</code>
1910     */
1911    public Builder addAllMapProperty(
1912        java.lang.Iterable<? extends com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto> values) {
1913      if (mapPropertyBuilder_ == null) {
1914        ensureMapPropertyIsMutable();
1915        com.google.protobuf.AbstractMessageLite.Builder.addAll(
1916            values, mapProperty_);
1917        onChanged();
1918      } else {
1919        mapPropertyBuilder_.addAllMessages(values);
1920      }
1921      return this;
1922    }
1923    /**
1924     * <code>repeated .olcut.PropertyMapProto map_property = 5;</code>
1925     */
1926    public Builder clearMapProperty() {
1927      if (mapPropertyBuilder_ == null) {
1928        mapProperty_ = java.util.Collections.emptyList();
1929        bitField0_ = (bitField0_ & ~0x00000010);
1930        onChanged();
1931      } else {
1932        mapPropertyBuilder_.clear();
1933      }
1934      return this;
1935    }
1936    /**
1937     * <code>repeated .olcut.PropertyMapProto map_property = 5;</code>
1938     */
1939    public Builder removeMapProperty(int index) {
1940      if (mapPropertyBuilder_ == null) {
1941        ensureMapPropertyIsMutable();
1942        mapProperty_.remove(index);
1943        onChanged();
1944      } else {
1945        mapPropertyBuilder_.remove(index);
1946      }
1947      return this;
1948    }
1949    /**
1950     * <code>repeated .olcut.PropertyMapProto map_property = 5;</code>
1951     */
1952    public com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto.Builder getMapPropertyBuilder(
1953        int index) {
1954      return getMapPropertyFieldBuilder().getBuilder(index);
1955    }
1956    /**
1957     * <code>repeated .olcut.PropertyMapProto map_property = 5;</code>
1958     */
1959    public com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProtoOrBuilder getMapPropertyOrBuilder(
1960        int index) {
1961      if (mapPropertyBuilder_ == null) {
1962        return mapProperty_.get(index);  } else {
1963        return mapPropertyBuilder_.getMessageOrBuilder(index);
1964      }
1965    }
1966    /**
1967     * <code>repeated .olcut.PropertyMapProto map_property = 5;</code>
1968     */
1969    public java.util.List<? extends com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProtoOrBuilder> 
1970         getMapPropertyOrBuilderList() {
1971      if (mapPropertyBuilder_ != null) {
1972        return mapPropertyBuilder_.getMessageOrBuilderList();
1973      } else {
1974        return java.util.Collections.unmodifiableList(mapProperty_);
1975      }
1976    }
1977    /**
1978     * <code>repeated .olcut.PropertyMapProto map_property = 5;</code>
1979     */
1980    public com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto.Builder addMapPropertyBuilder() {
1981      return getMapPropertyFieldBuilder().addBuilder(
1982          com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto.getDefaultInstance());
1983    }
1984    /**
1985     * <code>repeated .olcut.PropertyMapProto map_property = 5;</code>
1986     */
1987    public com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto.Builder addMapPropertyBuilder(
1988        int index) {
1989      return getMapPropertyFieldBuilder().addBuilder(
1990          index, com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto.getDefaultInstance());
1991    }
1992    /**
1993     * <code>repeated .olcut.PropertyMapProto map_property = 5;</code>
1994     */
1995    public java.util.List<com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto.Builder> 
1996         getMapPropertyBuilderList() {
1997      return getMapPropertyFieldBuilder().getBuilderList();
1998    }
1999    private com.google.protobuf.RepeatedFieldBuilderV3<
2000        com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto, com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto.Builder, com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProtoOrBuilder> 
2001        getMapPropertyFieldBuilder() {
2002      if (mapPropertyBuilder_ == null) {
2003        mapPropertyBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
2004            com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto, com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProto.Builder, com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyMapProtoOrBuilder>(
2005                mapProperty_,
2006                ((bitField0_ & 0x00000010) != 0),
2007                getParentForChildren(),
2008                isClean());
2009        mapProperty_ = null;
2010      }
2011      return mapPropertyBuilder_;
2012    }
2013
2014    private java.lang.Object override_ = "";
2015    /**
2016     * <code>optional string override = 6;</code>
2017     * @return Whether the override field is set.
2018     */
2019    public boolean hasOverride() {
2020      return ((bitField0_ & 0x00000020) != 0);
2021    }
2022    /**
2023     * <code>optional string override = 6;</code>
2024     * @return The override.
2025     */
2026    public java.lang.String getOverride() {
2027      java.lang.Object ref = override_;
2028      if (!(ref instanceof java.lang.String)) {
2029        com.google.protobuf.ByteString bs =
2030            (com.google.protobuf.ByteString) ref;
2031        java.lang.String s = bs.toStringUtf8();
2032        override_ = s;
2033        return s;
2034      } else {
2035        return (java.lang.String) ref;
2036      }
2037    }
2038    /**
2039     * <code>optional string override = 6;</code>
2040     * @return The bytes for override.
2041     */
2042    public com.google.protobuf.ByteString
2043        getOverrideBytes() {
2044      java.lang.Object ref = override_;
2045      if (ref instanceof String) {
2046        com.google.protobuf.ByteString b = 
2047            com.google.protobuf.ByteString.copyFromUtf8(
2048                (java.lang.String) ref);
2049        override_ = b;
2050        return b;
2051      } else {
2052        return (com.google.protobuf.ByteString) ref;
2053      }
2054    }
2055    /**
2056     * <code>optional string override = 6;</code>
2057     * @param value The override to set.
2058     * @return This builder for chaining.
2059     */
2060    public Builder setOverride(
2061        java.lang.String value) {
2062      if (value == null) { throw new NullPointerException(); }
2063      override_ = value;
2064      bitField0_ |= 0x00000020;
2065      onChanged();
2066      return this;
2067    }
2068    /**
2069     * <code>optional string override = 6;</code>
2070     * @return This builder for chaining.
2071     */
2072    public Builder clearOverride() {
2073      override_ = getDefaultInstance().getOverride();
2074      bitField0_ = (bitField0_ & ~0x00000020);
2075      onChanged();
2076      return this;
2077    }
2078    /**
2079     * <code>optional string override = 6;</code>
2080     * @param value The bytes for override to set.
2081     * @return This builder for chaining.
2082     */
2083    public Builder setOverrideBytes(
2084        com.google.protobuf.ByteString value) {
2085      if (value == null) { throw new NullPointerException(); }
2086      checkByteStringIsUtf8(value);
2087      override_ = value;
2088      bitField0_ |= 0x00000020;
2089      onChanged();
2090      return this;
2091    }
2092
2093    private boolean exportable_ ;
2094    /**
2095     * <code>optional bool exportable = 7;</code>
2096     * @return Whether the exportable field is set.
2097     */
2098    @java.lang.Override
2099    public boolean hasExportable() {
2100      return ((bitField0_ & 0x00000040) != 0);
2101    }
2102    /**
2103     * <code>optional bool exportable = 7;</code>
2104     * @return The exportable.
2105     */
2106    @java.lang.Override
2107    public boolean getExportable() {
2108      return exportable_;
2109    }
2110    /**
2111     * <code>optional bool exportable = 7;</code>
2112     * @param value The exportable to set.
2113     * @return This builder for chaining.
2114     */
2115    public Builder setExportable(boolean value) {
2116
2117      exportable_ = value;
2118      bitField0_ |= 0x00000040;
2119      onChanged();
2120      return this;
2121    }
2122    /**
2123     * <code>optional bool exportable = 7;</code>
2124     * @return This builder for chaining.
2125     */
2126    public Builder clearExportable() {
2127      bitField0_ = (bitField0_ & ~0x00000040);
2128      exportable_ = false;
2129      onChanged();
2130      return this;
2131    }
2132
2133    private boolean importable_ ;
2134    /**
2135     * <code>optional bool importable = 8;</code>
2136     * @return Whether the importable field is set.
2137     */
2138    @java.lang.Override
2139    public boolean hasImportable() {
2140      return ((bitField0_ & 0x00000080) != 0);
2141    }
2142    /**
2143     * <code>optional bool importable = 8;</code>
2144     * @return The importable.
2145     */
2146    @java.lang.Override
2147    public boolean getImportable() {
2148      return importable_;
2149    }
2150    /**
2151     * <code>optional bool importable = 8;</code>
2152     * @param value The importable to set.
2153     * @return This builder for chaining.
2154     */
2155    public Builder setImportable(boolean value) {
2156
2157      importable_ = value;
2158      bitField0_ |= 0x00000080;
2159      onChanged();
2160      return this;
2161    }
2162    /**
2163     * <code>optional bool importable = 8;</code>
2164     * @return This builder for chaining.
2165     */
2166    public Builder clearImportable() {
2167      bitField0_ = (bitField0_ & ~0x00000080);
2168      importable_ = false;
2169      onChanged();
2170      return this;
2171    }
2172
2173    private long leaseTime_ ;
2174    /**
2175     * <code>optional int64 leaseTime = 9;</code>
2176     * @return Whether the leaseTime field is set.
2177     */
2178    @java.lang.Override
2179    public boolean hasLeaseTime() {
2180      return ((bitField0_ & 0x00000100) != 0);
2181    }
2182    /**
2183     * <code>optional int64 leaseTime = 9;</code>
2184     * @return The leaseTime.
2185     */
2186    @java.lang.Override
2187    public long getLeaseTime() {
2188      return leaseTime_;
2189    }
2190    /**
2191     * <code>optional int64 leaseTime = 9;</code>
2192     * @param value The leaseTime to set.
2193     * @return This builder for chaining.
2194     */
2195    public Builder setLeaseTime(long value) {
2196
2197      leaseTime_ = value;
2198      bitField0_ |= 0x00000100;
2199      onChanged();
2200      return this;
2201    }
2202    /**
2203     * <code>optional int64 leaseTime = 9;</code>
2204     * @return This builder for chaining.
2205     */
2206    public Builder clearLeaseTime() {
2207      bitField0_ = (bitField0_ & ~0x00000100);
2208      leaseTime_ = 0L;
2209      onChanged();
2210      return this;
2211    }
2212
2213    private java.lang.Object serialized_ = "";
2214    /**
2215     * <code>optional string serialized = 10;</code>
2216     * @return Whether the serialized field is set.
2217     */
2218    public boolean hasSerialized() {
2219      return ((bitField0_ & 0x00000200) != 0);
2220    }
2221    /**
2222     * <code>optional string serialized = 10;</code>
2223     * @return The serialized.
2224     */
2225    public java.lang.String getSerialized() {
2226      java.lang.Object ref = serialized_;
2227      if (!(ref instanceof java.lang.String)) {
2228        com.google.protobuf.ByteString bs =
2229            (com.google.protobuf.ByteString) ref;
2230        java.lang.String s = bs.toStringUtf8();
2231        serialized_ = s;
2232        return s;
2233      } else {
2234        return (java.lang.String) ref;
2235      }
2236    }
2237    /**
2238     * <code>optional string serialized = 10;</code>
2239     * @return The bytes for serialized.
2240     */
2241    public com.google.protobuf.ByteString
2242        getSerializedBytes() {
2243      java.lang.Object ref = serialized_;
2244      if (ref instanceof String) {
2245        com.google.protobuf.ByteString b = 
2246            com.google.protobuf.ByteString.copyFromUtf8(
2247                (java.lang.String) ref);
2248        serialized_ = b;
2249        return b;
2250      } else {
2251        return (com.google.protobuf.ByteString) ref;
2252      }
2253    }
2254    /**
2255     * <code>optional string serialized = 10;</code>
2256     * @param value The serialized to set.
2257     * @return This builder for chaining.
2258     */
2259    public Builder setSerialized(
2260        java.lang.String value) {
2261      if (value == null) { throw new NullPointerException(); }
2262      serialized_ = value;
2263      bitField0_ |= 0x00000200;
2264      onChanged();
2265      return this;
2266    }
2267    /**
2268     * <code>optional string serialized = 10;</code>
2269     * @return This builder for chaining.
2270     */
2271    public Builder clearSerialized() {
2272      serialized_ = getDefaultInstance().getSerialized();
2273      bitField0_ = (bitField0_ & ~0x00000200);
2274      onChanged();
2275      return this;
2276    }
2277    /**
2278     * <code>optional string serialized = 10;</code>
2279     * @param value The bytes for serialized to set.
2280     * @return This builder for chaining.
2281     */
2282    public Builder setSerializedBytes(
2283        com.google.protobuf.ByteString value) {
2284      if (value == null) { throw new NullPointerException(); }
2285      checkByteStringIsUtf8(value);
2286      serialized_ = value;
2287      bitField0_ |= 0x00000200;
2288      onChanged();
2289      return this;
2290    }
2291
2292    private java.lang.Object entries_ = "";
2293    /**
2294     * <code>optional string entries = 11;</code>
2295     * @return Whether the entries field is set.
2296     */
2297    public boolean hasEntries() {
2298      return ((bitField0_ & 0x00000400) != 0);
2299    }
2300    /**
2301     * <code>optional string entries = 11;</code>
2302     * @return The entries.
2303     */
2304    public java.lang.String getEntries() {
2305      java.lang.Object ref = entries_;
2306      if (!(ref instanceof java.lang.String)) {
2307        com.google.protobuf.ByteString bs =
2308            (com.google.protobuf.ByteString) ref;
2309        java.lang.String s = bs.toStringUtf8();
2310        entries_ = s;
2311        return s;
2312      } else {
2313        return (java.lang.String) ref;
2314      }
2315    }
2316    /**
2317     * <code>optional string entries = 11;</code>
2318     * @return The bytes for entries.
2319     */
2320    public com.google.protobuf.ByteString
2321        getEntriesBytes() {
2322      java.lang.Object ref = entries_;
2323      if (ref instanceof String) {
2324        com.google.protobuf.ByteString b = 
2325            com.google.protobuf.ByteString.copyFromUtf8(
2326                (java.lang.String) ref);
2327        entries_ = b;
2328        return b;
2329      } else {
2330        return (com.google.protobuf.ByteString) ref;
2331      }
2332    }
2333    /**
2334     * <code>optional string entries = 11;</code>
2335     * @param value The entries to set.
2336     * @return This builder for chaining.
2337     */
2338    public Builder setEntries(
2339        java.lang.String value) {
2340      if (value == null) { throw new NullPointerException(); }
2341      entries_ = value;
2342      bitField0_ |= 0x00000400;
2343      onChanged();
2344      return this;
2345    }
2346    /**
2347     * <code>optional string entries = 11;</code>
2348     * @return This builder for chaining.
2349     */
2350    public Builder clearEntries() {
2351      entries_ = getDefaultInstance().getEntries();
2352      bitField0_ = (bitField0_ & ~0x00000400);
2353      onChanged();
2354      return this;
2355    }
2356    /**
2357     * <code>optional string entries = 11;</code>
2358     * @param value The bytes for entries to set.
2359     * @return This builder for chaining.
2360     */
2361    public Builder setEntriesBytes(
2362        com.google.protobuf.ByteString value) {
2363      if (value == null) { throw new NullPointerException(); }
2364      checkByteStringIsUtf8(value);
2365      entries_ = value;
2366      bitField0_ |= 0x00000400;
2367      onChanged();
2368      return this;
2369    }
2370    @java.lang.Override
2371    public final Builder setUnknownFields(
2372        final com.google.protobuf.UnknownFieldSet unknownFields) {
2373      return super.setUnknownFields(unknownFields);
2374    }
2375
2376    @java.lang.Override
2377    public final Builder mergeUnknownFields(
2378        final com.google.protobuf.UnknownFieldSet unknownFields) {
2379      return super.mergeUnknownFields(unknownFields);
2380    }
2381
2382
2383    // @@protoc_insertion_point(builder_scope:olcut.ComponentProto)
2384  }
2385
2386  // @@protoc_insertion_point(class_scope:olcut.ComponentProto)
2387  private static final com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto DEFAULT_INSTANCE;
2388  static {
2389    DEFAULT_INSTANCE = new com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto();
2390  }
2391
2392  public static com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto getDefaultInstance() {
2393    return DEFAULT_INSTANCE;
2394  }
2395
2396  private static final com.google.protobuf.Parser<ComponentProto>
2397      PARSER = new com.google.protobuf.AbstractParser<ComponentProto>() {
2398    @java.lang.Override
2399    public ComponentProto parsePartialFrom(
2400        com.google.protobuf.CodedInputStream input,
2401        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2402        throws com.google.protobuf.InvalidProtocolBufferException {
2403      Builder builder = newBuilder();
2404      try {
2405        builder.mergeFrom(input, extensionRegistry);
2406      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2407        throw e.setUnfinishedMessage(builder.buildPartial());
2408      } catch (com.google.protobuf.UninitializedMessageException e) {
2409        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
2410      } catch (java.io.IOException e) {
2411        throw new com.google.protobuf.InvalidProtocolBufferException(e)
2412            .setUnfinishedMessage(builder.buildPartial());
2413      }
2414      return builder.buildPartial();
2415    }
2416  };
2417
2418  public static com.google.protobuf.Parser<ComponentProto> parser() {
2419    return PARSER;
2420  }
2421
2422  @java.lang.Override
2423  public com.google.protobuf.Parser<ComponentProto> getParserForType() {
2424    return PARSER;
2425  }
2426
2427  @java.lang.Override
2428  public com.oracle.labs.mlrg.olcut.config.protobuf.protos.ComponentProto getDefaultInstanceForType() {
2429    return DEFAULT_INSTANCE;
2430  }
2431
2432}
2433