public protos.KeyProto.Keys build() { protos.KeyProto.Keys result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public protos.KeyProto.Keys buildPartial() { protos.KeyProto.Keys result = new protos.KeyProto.Keys(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { key_ = java.util.Collections.unmodifiableList(key_); bitField0_ = (bitField0_ & ~0x00000001); } result.key_ = key_; onBuilt(); return result; }
public Builder mergeFrom(protos.KeyProto.Keys other) { if (other == protos.KeyProto.Keys.getDefaultInstance()) return this; if (!other.key_.isEmpty()) { if (key_.isEmpty()) { key_ = other.key_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureKeyIsMutable(); key_.addAll(other.key_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public protos.KeyProto.Keys getDefaultInstanceForType() { return protos.KeyProto.Keys.getDefaultInstance(); }