private void ensureRolesIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { roles_ = new com.google.protobuf.LazyStringArrayList(roles_); bitField0_ |= 0x00000004; } } /**
@Override public boolean addAll(Collection<? extends String> c) { // The default implementation of AbstractCollection.addAll(Collection) // delegates to add(Object). This implementation instead delegates to // addAll(int, Collection), which makes a special case for Collections // which are instances of LazyStringList. return addAll(size(), c); }
@Override public String remove(int index) { ensureIsMutable(); Object o = list.remove(index); modCount++; return asString(o); }
name_ = input.readBytes(); break; password_ = input.readBytes(); break; java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { roles_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000004; roles_.add(s); break; throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { roles_ = roles_.getUnmodifiableView(); this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
mutable_bitField0_ |= 0x00000001; liveNodes_.add(input.readMessage(org.apache.hadoop.hbase.rest.protobuf.generated.StorageClusterStatusMessage.StorageClusterStatus.Node.PARSER, extensionRegistry)); break; deadNodes_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; deadNodes_.add(input.readBytes()); break; throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { deadNodes_ = new com.google.protobuf.UnmodifiableLazyStringList(deadNodes_); this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { addresses_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; addresses_.add(bs); break; int rawValue = input.readEnum(); alluxio.grpc.WorkerInfoField value = alluxio.grpc.WorkerInfoField.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(2, rawValue); } else { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { alluxio.grpc.WorkerInfoField value = alluxio.grpc.WorkerInfoField.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(2, rawValue); } else { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { alluxio.grpc.WorkerRange value = alluxio.grpc.WorkerRange.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(3, rawValue); } else { bitField0_ |= 0x00000001;
blockUri_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; blockUri_.add(input.readBytes()); break; mutable_bitField0_ |= 0x00000002; blockId_.add(input.readInt32()); break; throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { blockId_ = java.util.Collections.unmodifiableList(blockId_); this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
@Override public String set(int index, String s) { Object o = list.set(index, s); return asString(o); }
com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { key_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; key_.add(bs); break; com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { value_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; value_.add(bs); break; throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { key_ = key_.getUnmodifiableView(); this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
@Override public String remove(int index) { Object o = list.remove(index); modCount++; return asString(o); }
com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { inconsistentPaths_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; inconsistentPaths_.add(bs); break; throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { inconsistentPaths_ = inconsistentPaths_.getUnmodifiableView(); this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
private void ensureKeyIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { key_ = new com.google.protobuf.LazyStringArrayList(key_); bitField0_ |= 0x00000001; } } /**
@Override public boolean addAll(Collection<? extends String> c) { // The default implementation of AbstractCollection.addAll(Collection) // delegates to add(Object). This implementation instead delegates to // addAll(int, Collection), which makes a special case for Collections // which are instances of LazyStringList. return addAll(size(), c); }
@Override public String set(int index, String s) { ensureIsMutable(); Object o = list.set(index, s); return asString(o); }
com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { values_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; values_.add(bs); break; throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { values_ = values_.getUnmodifiableView(); this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
private void ensureValueIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { value_ = new com.google.protobuf.LazyStringArrayList(value_); bitField0_ |= 0x00000002; } } /**
com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { persistedFileFingerprints_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; persistedFileFingerprints_.add(bs); break; throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { persistedFileFingerprints_ = persistedFileFingerprints_.getUnmodifiableView(); this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
private void ensureInconsistentPathsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { inconsistentPaths_ = new com.google.protobuf.LazyStringArrayList(inconsistentPaths_); bitField0_ |= 0x00000001; } } /**