001// Generated by the protocol buffer compiler.  DO NOT EDIT!
002// source: olcut_proto.proto
003
004package com.oracle.labs.mlrg.olcut.config.protobuf.protos;
005
006/**
007 * <pre>
008 *A property list in a component.
009 * </pre>
010 *
011 * Protobuf type {@code olcut.PropertyListProto}
012 */
013public final class PropertyListProto extends
014    com.google.protobuf.GeneratedMessageV3 implements
015    // @@protoc_insertion_point(message_implements:olcut.PropertyListProto)
016    PropertyListProtoOrBuilder {
017private static final long serialVersionUID = 0L;
018  // Use PropertyListProto.newBuilder() to construct.
019  private PropertyListProto(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
020    super(builder);
021  }
022  private PropertyListProto() {
023    name_ = "";
024    item_ = com.google.protobuf.LazyStringArrayList.EMPTY;
025    type_ = com.google.protobuf.LazyStringArrayList.EMPTY;
026  }
027
028  @java.lang.Override
029  @SuppressWarnings({"unused"})
030  protected java.lang.Object newInstance(
031      UnusedPrivateParameter unused) {
032    return new PropertyListProto();
033  }
034
035  @java.lang.Override
036  public final com.google.protobuf.UnknownFieldSet
037  getUnknownFields() {
038    return this.unknownFields;
039  }
040  private PropertyListProto(
041      com.google.protobuf.CodedInputStream input,
042      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
043      throws com.google.protobuf.InvalidProtocolBufferException {
044    this();
045    if (extensionRegistry == null) {
046      throw new java.lang.NullPointerException();
047    }
048    int mutable_bitField0_ = 0;
049    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
050        com.google.protobuf.UnknownFieldSet.newBuilder();
051    try {
052      boolean done = false;
053      while (!done) {
054        int tag = input.readTag();
055        switch (tag) {
056          case 0:
057            done = true;
058            break;
059          case 10: {
060            java.lang.String s = input.readStringRequireUtf8();
061
062            name_ = s;
063            break;
064          }
065          case 18: {
066            java.lang.String s = input.readStringRequireUtf8();
067            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
068              item_ = new com.google.protobuf.LazyStringArrayList();
069              mutable_bitField0_ |= 0x00000001;
070            }
071            item_.add(s);
072            break;
073          }
074          case 26: {
075            java.lang.String s = input.readStringRequireUtf8();
076            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
077              type_ = new com.google.protobuf.LazyStringArrayList();
078              mutable_bitField0_ |= 0x00000002;
079            }
080            type_.add(s);
081            break;
082          }
083          default: {
084            if (!parseUnknownField(
085                input, unknownFields, extensionRegistry, tag)) {
086              done = true;
087            }
088            break;
089          }
090        }
091      }
092    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
093      throw e.setUnfinishedMessage(this);
094    } catch (java.io.IOException e) {
095      throw new com.google.protobuf.InvalidProtocolBufferException(
096          e).setUnfinishedMessage(this);
097    } finally {
098      if (((mutable_bitField0_ & 0x00000001) != 0)) {
099        item_ = item_.getUnmodifiableView();
100      }
101      if (((mutable_bitField0_ & 0x00000002) != 0)) {
102        type_ = type_.getUnmodifiableView();
103      }
104      this.unknownFields = unknownFields.build();
105      makeExtensionsImmutable();
106    }
107  }
108  public static final com.google.protobuf.Descriptors.Descriptor
109      getDescriptor() {
110    return com.oracle.labs.mlrg.olcut.config.protobuf.protos.OlcutProto.internal_static_olcut_PropertyListProto_descriptor;
111  }
112
113  @java.lang.Override
114  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
115      internalGetFieldAccessorTable() {
116    return com.oracle.labs.mlrg.olcut.config.protobuf.protos.OlcutProto.internal_static_olcut_PropertyListProto_fieldAccessorTable
117        .ensureFieldAccessorsInitialized(
118            com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto.class, com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto.Builder.class);
119  }
120
121  public static final int NAME_FIELD_NUMBER = 1;
122  private volatile java.lang.Object name_;
123  /**
124   * <code>string name = 1;</code>
125   * @return The name.
126   */
127  @java.lang.Override
128  public java.lang.String getName() {
129    java.lang.Object ref = name_;
130    if (ref instanceof java.lang.String) {
131      return (java.lang.String) ref;
132    } else {
133      com.google.protobuf.ByteString bs = 
134          (com.google.protobuf.ByteString) ref;
135      java.lang.String s = bs.toStringUtf8();
136      name_ = s;
137      return s;
138    }
139  }
140  /**
141   * <code>string name = 1;</code>
142   * @return The bytes for name.
143   */
144  @java.lang.Override
145  public com.google.protobuf.ByteString
146      getNameBytes() {
147    java.lang.Object ref = name_;
148    if (ref instanceof java.lang.String) {
149      com.google.protobuf.ByteString b = 
150          com.google.protobuf.ByteString.copyFromUtf8(
151              (java.lang.String) ref);
152      name_ = b;
153      return b;
154    } else {
155      return (com.google.protobuf.ByteString) ref;
156    }
157  }
158
159  public static final int ITEM_FIELD_NUMBER = 2;
160  private com.google.protobuf.LazyStringList item_;
161  /**
162   * <code>repeated string item = 2;</code>
163   * @return A list containing the item.
164   */
165  public com.google.protobuf.ProtocolStringList
166      getItemList() {
167    return item_;
168  }
169  /**
170   * <code>repeated string item = 2;</code>
171   * @return The count of item.
172   */
173  public int getItemCount() {
174    return item_.size();
175  }
176  /**
177   * <code>repeated string item = 2;</code>
178   * @param index The index of the element to return.
179   * @return The item at the given index.
180   */
181  public java.lang.String getItem(int index) {
182    return item_.get(index);
183  }
184  /**
185   * <code>repeated string item = 2;</code>
186   * @param index The index of the value to return.
187   * @return The bytes of the item at the given index.
188   */
189  public com.google.protobuf.ByteString
190      getItemBytes(int index) {
191    return item_.getByteString(index);
192  }
193
194  public static final int TYPE_FIELD_NUMBER = 3;
195  private com.google.protobuf.LazyStringList type_;
196  /**
197   * <code>repeated string type = 3;</code>
198   * @return A list containing the type.
199   */
200  public com.google.protobuf.ProtocolStringList
201      getTypeList() {
202    return type_;
203  }
204  /**
205   * <code>repeated string type = 3;</code>
206   * @return The count of type.
207   */
208  public int getTypeCount() {
209    return type_.size();
210  }
211  /**
212   * <code>repeated string type = 3;</code>
213   * @param index The index of the element to return.
214   * @return The type at the given index.
215   */
216  public java.lang.String getType(int index) {
217    return type_.get(index);
218  }
219  /**
220   * <code>repeated string type = 3;</code>
221   * @param index The index of the value to return.
222   * @return The bytes of the type at the given index.
223   */
224  public com.google.protobuf.ByteString
225      getTypeBytes(int index) {
226    return type_.getByteString(index);
227  }
228
229  private byte memoizedIsInitialized = -1;
230  @java.lang.Override
231  public final boolean isInitialized() {
232    byte isInitialized = memoizedIsInitialized;
233    if (isInitialized == 1) return true;
234    if (isInitialized == 0) return false;
235
236    memoizedIsInitialized = 1;
237    return true;
238  }
239
240  @java.lang.Override
241  public void writeTo(com.google.protobuf.CodedOutputStream output)
242                      throws java.io.IOException {
243    if (!getNameBytes().isEmpty()) {
244      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
245    }
246    for (int i = 0; i < item_.size(); i++) {
247      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, item_.getRaw(i));
248    }
249    for (int i = 0; i < type_.size(); i++) {
250      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, type_.getRaw(i));
251    }
252    unknownFields.writeTo(output);
253  }
254
255  @java.lang.Override
256  public int getSerializedSize() {
257    int size = memoizedSize;
258    if (size != -1) return size;
259
260    size = 0;
261    if (!getNameBytes().isEmpty()) {
262      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
263    }
264    {
265      int dataSize = 0;
266      for (int i = 0; i < item_.size(); i++) {
267        dataSize += computeStringSizeNoTag(item_.getRaw(i));
268      }
269      size += dataSize;
270      size += 1 * getItemList().size();
271    }
272    {
273      int dataSize = 0;
274      for (int i = 0; i < type_.size(); i++) {
275        dataSize += computeStringSizeNoTag(type_.getRaw(i));
276      }
277      size += dataSize;
278      size += 1 * getTypeList().size();
279    }
280    size += unknownFields.getSerializedSize();
281    memoizedSize = size;
282    return size;
283  }
284
285  @java.lang.Override
286  public boolean equals(final java.lang.Object obj) {
287    if (obj == this) {
288     return true;
289    }
290    if (!(obj instanceof com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto)) {
291      return super.equals(obj);
292    }
293    com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto other = (com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto) obj;
294
295    if (!getName()
296        .equals(other.getName())) return false;
297    if (!getItemList()
298        .equals(other.getItemList())) return false;
299    if (!getTypeList()
300        .equals(other.getTypeList())) return false;
301    if (!unknownFields.equals(other.unknownFields)) return false;
302    return true;
303  }
304
305  @java.lang.Override
306  public int hashCode() {
307    if (memoizedHashCode != 0) {
308      return memoizedHashCode;
309    }
310    int hash = 41;
311    hash = (19 * hash) + getDescriptor().hashCode();
312    hash = (37 * hash) + NAME_FIELD_NUMBER;
313    hash = (53 * hash) + getName().hashCode();
314    if (getItemCount() > 0) {
315      hash = (37 * hash) + ITEM_FIELD_NUMBER;
316      hash = (53 * hash) + getItemList().hashCode();
317    }
318    if (getTypeCount() > 0) {
319      hash = (37 * hash) + TYPE_FIELD_NUMBER;
320      hash = (53 * hash) + getTypeList().hashCode();
321    }
322    hash = (29 * hash) + unknownFields.hashCode();
323    memoizedHashCode = hash;
324    return hash;
325  }
326
327  public static com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto parseFrom(
328      java.nio.ByteBuffer data)
329      throws com.google.protobuf.InvalidProtocolBufferException {
330    return PARSER.parseFrom(data);
331  }
332  public static com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto parseFrom(
333      java.nio.ByteBuffer data,
334      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
335      throws com.google.protobuf.InvalidProtocolBufferException {
336    return PARSER.parseFrom(data, extensionRegistry);
337  }
338  public static com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto parseFrom(
339      com.google.protobuf.ByteString data)
340      throws com.google.protobuf.InvalidProtocolBufferException {
341    return PARSER.parseFrom(data);
342  }
343  public static com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto parseFrom(
344      com.google.protobuf.ByteString data,
345      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
346      throws com.google.protobuf.InvalidProtocolBufferException {
347    return PARSER.parseFrom(data, extensionRegistry);
348  }
349  public static com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto parseFrom(byte[] data)
350      throws com.google.protobuf.InvalidProtocolBufferException {
351    return PARSER.parseFrom(data);
352  }
353  public static com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto parseFrom(
354      byte[] data,
355      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
356      throws com.google.protobuf.InvalidProtocolBufferException {
357    return PARSER.parseFrom(data, extensionRegistry);
358  }
359  public static com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto parseFrom(java.io.InputStream input)
360      throws java.io.IOException {
361    return com.google.protobuf.GeneratedMessageV3
362        .parseWithIOException(PARSER, input);
363  }
364  public static com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto parseFrom(
365      java.io.InputStream input,
366      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
367      throws java.io.IOException {
368    return com.google.protobuf.GeneratedMessageV3
369        .parseWithIOException(PARSER, input, extensionRegistry);
370  }
371  public static com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto parseDelimitedFrom(java.io.InputStream input)
372      throws java.io.IOException {
373    return com.google.protobuf.GeneratedMessageV3
374        .parseDelimitedWithIOException(PARSER, input);
375  }
376  public static com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto parseDelimitedFrom(
377      java.io.InputStream input,
378      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
379      throws java.io.IOException {
380    return com.google.protobuf.GeneratedMessageV3
381        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
382  }
383  public static com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto parseFrom(
384      com.google.protobuf.CodedInputStream input)
385      throws java.io.IOException {
386    return com.google.protobuf.GeneratedMessageV3
387        .parseWithIOException(PARSER, input);
388  }
389  public static com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto parseFrom(
390      com.google.protobuf.CodedInputStream input,
391      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
392      throws java.io.IOException {
393    return com.google.protobuf.GeneratedMessageV3
394        .parseWithIOException(PARSER, input, extensionRegistry);
395  }
396
397  @java.lang.Override
398  public Builder newBuilderForType() { return newBuilder(); }
399  public static Builder newBuilder() {
400    return DEFAULT_INSTANCE.toBuilder();
401  }
402  public static Builder newBuilder(com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto prototype) {
403    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
404  }
405  @java.lang.Override
406  public Builder toBuilder() {
407    return this == DEFAULT_INSTANCE
408        ? new Builder() : new Builder().mergeFrom(this);
409  }
410
411  @java.lang.Override
412  protected Builder newBuilderForType(
413      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
414    Builder builder = new Builder(parent);
415    return builder;
416  }
417  /**
418   * <pre>
419   *A property list in a component.
420   * </pre>
421   *
422   * Protobuf type {@code olcut.PropertyListProto}
423   */
424  public static final class Builder extends
425      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
426      // @@protoc_insertion_point(builder_implements:olcut.PropertyListProto)
427      com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProtoOrBuilder {
428    public static final com.google.protobuf.Descriptors.Descriptor
429        getDescriptor() {
430      return com.oracle.labs.mlrg.olcut.config.protobuf.protos.OlcutProto.internal_static_olcut_PropertyListProto_descriptor;
431    }
432
433    @java.lang.Override
434    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
435        internalGetFieldAccessorTable() {
436      return com.oracle.labs.mlrg.olcut.config.protobuf.protos.OlcutProto.internal_static_olcut_PropertyListProto_fieldAccessorTable
437          .ensureFieldAccessorsInitialized(
438              com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto.class, com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto.Builder.class);
439    }
440
441    // Construct using com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto.newBuilder()
442    private Builder() {
443      maybeForceBuilderInitialization();
444    }
445
446    private Builder(
447        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
448      super(parent);
449      maybeForceBuilderInitialization();
450    }
451    private void maybeForceBuilderInitialization() {
452      if (com.google.protobuf.GeneratedMessageV3
453              .alwaysUseFieldBuilders) {
454      }
455    }
456    @java.lang.Override
457    public Builder clear() {
458      super.clear();
459      name_ = "";
460
461      item_ = com.google.protobuf.LazyStringArrayList.EMPTY;
462      bitField0_ = (bitField0_ & ~0x00000001);
463      type_ = com.google.protobuf.LazyStringArrayList.EMPTY;
464      bitField0_ = (bitField0_ & ~0x00000002);
465      return this;
466    }
467
468    @java.lang.Override
469    public com.google.protobuf.Descriptors.Descriptor
470        getDescriptorForType() {
471      return com.oracle.labs.mlrg.olcut.config.protobuf.protos.OlcutProto.internal_static_olcut_PropertyListProto_descriptor;
472    }
473
474    @java.lang.Override
475    public com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto getDefaultInstanceForType() {
476      return com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto.getDefaultInstance();
477    }
478
479    @java.lang.Override
480    public com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto build() {
481      com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto result = buildPartial();
482      if (!result.isInitialized()) {
483        throw newUninitializedMessageException(result);
484      }
485      return result;
486    }
487
488    @java.lang.Override
489    public com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto buildPartial() {
490      com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto result = new com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto(this);
491      int from_bitField0_ = bitField0_;
492      result.name_ = name_;
493      if (((bitField0_ & 0x00000001) != 0)) {
494        item_ = item_.getUnmodifiableView();
495        bitField0_ = (bitField0_ & ~0x00000001);
496      }
497      result.item_ = item_;
498      if (((bitField0_ & 0x00000002) != 0)) {
499        type_ = type_.getUnmodifiableView();
500        bitField0_ = (bitField0_ & ~0x00000002);
501      }
502      result.type_ = type_;
503      onBuilt();
504      return result;
505    }
506
507    @java.lang.Override
508    public Builder clone() {
509      return super.clone();
510    }
511    @java.lang.Override
512    public Builder setField(
513        com.google.protobuf.Descriptors.FieldDescriptor field,
514        java.lang.Object value) {
515      return super.setField(field, value);
516    }
517    @java.lang.Override
518    public Builder clearField(
519        com.google.protobuf.Descriptors.FieldDescriptor field) {
520      return super.clearField(field);
521    }
522    @java.lang.Override
523    public Builder clearOneof(
524        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
525      return super.clearOneof(oneof);
526    }
527    @java.lang.Override
528    public Builder setRepeatedField(
529        com.google.protobuf.Descriptors.FieldDescriptor field,
530        int index, java.lang.Object value) {
531      return super.setRepeatedField(field, index, value);
532    }
533    @java.lang.Override
534    public Builder addRepeatedField(
535        com.google.protobuf.Descriptors.FieldDescriptor field,
536        java.lang.Object value) {
537      return super.addRepeatedField(field, value);
538    }
539    @java.lang.Override
540    public Builder mergeFrom(com.google.protobuf.Message other) {
541      if (other instanceof com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto) {
542        return mergeFrom((com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto)other);
543      } else {
544        super.mergeFrom(other);
545        return this;
546      }
547    }
548
549    public Builder mergeFrom(com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto other) {
550      if (other == com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto.getDefaultInstance()) return this;
551      if (!other.getName().isEmpty()) {
552        name_ = other.name_;
553        onChanged();
554      }
555      if (!other.item_.isEmpty()) {
556        if (item_.isEmpty()) {
557          item_ = other.item_;
558          bitField0_ = (bitField0_ & ~0x00000001);
559        } else {
560          ensureItemIsMutable();
561          item_.addAll(other.item_);
562        }
563        onChanged();
564      }
565      if (!other.type_.isEmpty()) {
566        if (type_.isEmpty()) {
567          type_ = other.type_;
568          bitField0_ = (bitField0_ & ~0x00000002);
569        } else {
570          ensureTypeIsMutable();
571          type_.addAll(other.type_);
572        }
573        onChanged();
574      }
575      this.mergeUnknownFields(other.unknownFields);
576      onChanged();
577      return this;
578    }
579
580    @java.lang.Override
581    public final boolean isInitialized() {
582      return true;
583    }
584
585    @java.lang.Override
586    public Builder mergeFrom(
587        com.google.protobuf.CodedInputStream input,
588        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
589        throws java.io.IOException {
590      com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto parsedMessage = null;
591      try {
592        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
593      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
594        parsedMessage = (com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto) e.getUnfinishedMessage();
595        throw e.unwrapIOException();
596      } finally {
597        if (parsedMessage != null) {
598          mergeFrom(parsedMessage);
599        }
600      }
601      return this;
602    }
603    private int bitField0_;
604
605    private java.lang.Object name_ = "";
606    /**
607     * <code>string name = 1;</code>
608     * @return The name.
609     */
610    public java.lang.String getName() {
611      java.lang.Object ref = name_;
612      if (!(ref instanceof java.lang.String)) {
613        com.google.protobuf.ByteString bs =
614            (com.google.protobuf.ByteString) ref;
615        java.lang.String s = bs.toStringUtf8();
616        name_ = s;
617        return s;
618      } else {
619        return (java.lang.String) ref;
620      }
621    }
622    /**
623     * <code>string name = 1;</code>
624     * @return The bytes for name.
625     */
626    public com.google.protobuf.ByteString
627        getNameBytes() {
628      java.lang.Object ref = name_;
629      if (ref instanceof String) {
630        com.google.protobuf.ByteString b = 
631            com.google.protobuf.ByteString.copyFromUtf8(
632                (java.lang.String) ref);
633        name_ = b;
634        return b;
635      } else {
636        return (com.google.protobuf.ByteString) ref;
637      }
638    }
639    /**
640     * <code>string name = 1;</code>
641     * @param value The name to set.
642     * @return This builder for chaining.
643     */
644    public Builder setName(
645        java.lang.String value) {
646      if (value == null) {
647    throw new NullPointerException();
648  }
649  
650      name_ = value;
651      onChanged();
652      return this;
653    }
654    /**
655     * <code>string name = 1;</code>
656     * @return This builder for chaining.
657     */
658    public Builder clearName() {
659      
660      name_ = getDefaultInstance().getName();
661      onChanged();
662      return this;
663    }
664    /**
665     * <code>string name = 1;</code>
666     * @param value The bytes for name to set.
667     * @return This builder for chaining.
668     */
669    public Builder setNameBytes(
670        com.google.protobuf.ByteString value) {
671      if (value == null) {
672    throw new NullPointerException();
673  }
674  checkByteStringIsUtf8(value);
675      
676      name_ = value;
677      onChanged();
678      return this;
679    }
680
681    private com.google.protobuf.LazyStringList item_ = com.google.protobuf.LazyStringArrayList.EMPTY;
682    private void ensureItemIsMutable() {
683      if (!((bitField0_ & 0x00000001) != 0)) {
684        item_ = new com.google.protobuf.LazyStringArrayList(item_);
685        bitField0_ |= 0x00000001;
686       }
687    }
688    /**
689     * <code>repeated string item = 2;</code>
690     * @return A list containing the item.
691     */
692    public com.google.protobuf.ProtocolStringList
693        getItemList() {
694      return item_.getUnmodifiableView();
695    }
696    /**
697     * <code>repeated string item = 2;</code>
698     * @return The count of item.
699     */
700    public int getItemCount() {
701      return item_.size();
702    }
703    /**
704     * <code>repeated string item = 2;</code>
705     * @param index The index of the element to return.
706     * @return The item at the given index.
707     */
708    public java.lang.String getItem(int index) {
709      return item_.get(index);
710    }
711    /**
712     * <code>repeated string item = 2;</code>
713     * @param index The index of the value to return.
714     * @return The bytes of the item at the given index.
715     */
716    public com.google.protobuf.ByteString
717        getItemBytes(int index) {
718      return item_.getByteString(index);
719    }
720    /**
721     * <code>repeated string item = 2;</code>
722     * @param index The index to set the value at.
723     * @param value The item to set.
724     * @return This builder for chaining.
725     */
726    public Builder setItem(
727        int index, java.lang.String value) {
728      if (value == null) {
729    throw new NullPointerException();
730  }
731  ensureItemIsMutable();
732      item_.set(index, value);
733      onChanged();
734      return this;
735    }
736    /**
737     * <code>repeated string item = 2;</code>
738     * @param value The item to add.
739     * @return This builder for chaining.
740     */
741    public Builder addItem(
742        java.lang.String value) {
743      if (value == null) {
744    throw new NullPointerException();
745  }
746  ensureItemIsMutable();
747      item_.add(value);
748      onChanged();
749      return this;
750    }
751    /**
752     * <code>repeated string item = 2;</code>
753     * @param values The item to add.
754     * @return This builder for chaining.
755     */
756    public Builder addAllItem(
757        java.lang.Iterable<java.lang.String> values) {
758      ensureItemIsMutable();
759      com.google.protobuf.AbstractMessageLite.Builder.addAll(
760          values, item_);
761      onChanged();
762      return this;
763    }
764    /**
765     * <code>repeated string item = 2;</code>
766     * @return This builder for chaining.
767     */
768    public Builder clearItem() {
769      item_ = com.google.protobuf.LazyStringArrayList.EMPTY;
770      bitField0_ = (bitField0_ & ~0x00000001);
771      onChanged();
772      return this;
773    }
774    /**
775     * <code>repeated string item = 2;</code>
776     * @param value The bytes of the item to add.
777     * @return This builder for chaining.
778     */
779    public Builder addItemBytes(
780        com.google.protobuf.ByteString value) {
781      if (value == null) {
782    throw new NullPointerException();
783  }
784  checkByteStringIsUtf8(value);
785      ensureItemIsMutable();
786      item_.add(value);
787      onChanged();
788      return this;
789    }
790
791    private com.google.protobuf.LazyStringList type_ = com.google.protobuf.LazyStringArrayList.EMPTY;
792    private void ensureTypeIsMutable() {
793      if (!((bitField0_ & 0x00000002) != 0)) {
794        type_ = new com.google.protobuf.LazyStringArrayList(type_);
795        bitField0_ |= 0x00000002;
796       }
797    }
798    /**
799     * <code>repeated string type = 3;</code>
800     * @return A list containing the type.
801     */
802    public com.google.protobuf.ProtocolStringList
803        getTypeList() {
804      return type_.getUnmodifiableView();
805    }
806    /**
807     * <code>repeated string type = 3;</code>
808     * @return The count of type.
809     */
810    public int getTypeCount() {
811      return type_.size();
812    }
813    /**
814     * <code>repeated string type = 3;</code>
815     * @param index The index of the element to return.
816     * @return The type at the given index.
817     */
818    public java.lang.String getType(int index) {
819      return type_.get(index);
820    }
821    /**
822     * <code>repeated string type = 3;</code>
823     * @param index The index of the value to return.
824     * @return The bytes of the type at the given index.
825     */
826    public com.google.protobuf.ByteString
827        getTypeBytes(int index) {
828      return type_.getByteString(index);
829    }
830    /**
831     * <code>repeated string type = 3;</code>
832     * @param index The index to set the value at.
833     * @param value The type to set.
834     * @return This builder for chaining.
835     */
836    public Builder setType(
837        int index, java.lang.String value) {
838      if (value == null) {
839    throw new NullPointerException();
840  }
841  ensureTypeIsMutable();
842      type_.set(index, value);
843      onChanged();
844      return this;
845    }
846    /**
847     * <code>repeated string type = 3;</code>
848     * @param value The type to add.
849     * @return This builder for chaining.
850     */
851    public Builder addType(
852        java.lang.String value) {
853      if (value == null) {
854    throw new NullPointerException();
855  }
856  ensureTypeIsMutable();
857      type_.add(value);
858      onChanged();
859      return this;
860    }
861    /**
862     * <code>repeated string type = 3;</code>
863     * @param values The type to add.
864     * @return This builder for chaining.
865     */
866    public Builder addAllType(
867        java.lang.Iterable<java.lang.String> values) {
868      ensureTypeIsMutable();
869      com.google.protobuf.AbstractMessageLite.Builder.addAll(
870          values, type_);
871      onChanged();
872      return this;
873    }
874    /**
875     * <code>repeated string type = 3;</code>
876     * @return This builder for chaining.
877     */
878    public Builder clearType() {
879      type_ = com.google.protobuf.LazyStringArrayList.EMPTY;
880      bitField0_ = (bitField0_ & ~0x00000002);
881      onChanged();
882      return this;
883    }
884    /**
885     * <code>repeated string type = 3;</code>
886     * @param value The bytes of the type to add.
887     * @return This builder for chaining.
888     */
889    public Builder addTypeBytes(
890        com.google.protobuf.ByteString value) {
891      if (value == null) {
892    throw new NullPointerException();
893  }
894  checkByteStringIsUtf8(value);
895      ensureTypeIsMutable();
896      type_.add(value);
897      onChanged();
898      return this;
899    }
900    @java.lang.Override
901    public final Builder setUnknownFields(
902        final com.google.protobuf.UnknownFieldSet unknownFields) {
903      return super.setUnknownFields(unknownFields);
904    }
905
906    @java.lang.Override
907    public final Builder mergeUnknownFields(
908        final com.google.protobuf.UnknownFieldSet unknownFields) {
909      return super.mergeUnknownFields(unknownFields);
910    }
911
912
913    // @@protoc_insertion_point(builder_scope:olcut.PropertyListProto)
914  }
915
916  // @@protoc_insertion_point(class_scope:olcut.PropertyListProto)
917  private static final com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto DEFAULT_INSTANCE;
918  static {
919    DEFAULT_INSTANCE = new com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto();
920  }
921
922  public static com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto getDefaultInstance() {
923    return DEFAULT_INSTANCE;
924  }
925
926  private static final com.google.protobuf.Parser<PropertyListProto>
927      PARSER = new com.google.protobuf.AbstractParser<PropertyListProto>() {
928    @java.lang.Override
929    public PropertyListProto parsePartialFrom(
930        com.google.protobuf.CodedInputStream input,
931        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
932        throws com.google.protobuf.InvalidProtocolBufferException {
933      return new PropertyListProto(input, extensionRegistry);
934    }
935  };
936
937  public static com.google.protobuf.Parser<PropertyListProto> parser() {
938    return PARSER;
939  }
940
941  @java.lang.Override
942  public com.google.protobuf.Parser<PropertyListProto> getParserForType() {
943    return PARSER;
944  }
945
946  @java.lang.Override
947  public com.oracle.labs.mlrg.olcut.config.protobuf.protos.PropertyListProto getDefaultInstanceForType() {
948    return DEFAULT_INSTANCE;
949  }
950
951}
952