public Builder mergeFrom( org.waveprotocol.box.server.persistence.protos.ProtoDeltaStoreData .ProtoTransformedWaveletDelta other) { if (other == org.waveprotocol.box.server.persistence.protos.ProtoDeltaStoreData .ProtoTransformedWaveletDelta.getDefaultInstance()) return this; if (other.hasAuthor()) { setAuthor(other.getAuthor()); } if (other.hasResultingVersion()) { mergeResultingVersion(other.getResultingVersion()); } if (other.hasApplicationTimestamp()) { setApplicationTimestamp(other.getApplicationTimestamp()); } if (!other.operation_.isEmpty()) { if (result.operation_.isEmpty()) { result.operation_ = new java.util.ArrayList< org.waveprotocol.wave.federation.Proto.ProtocolWaveletOperation>(); } result.operation_.addAll(other.operation_); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeResultingVersion( org.waveprotocol.wave.federation.Proto.ProtocolHashedVersion value) { if (result.hasResultingVersion() && result.resultingVersion_ != org.waveprotocol.wave.federation.Proto.ProtocolHashedVersion .getDefaultInstance()) { result.resultingVersion_ = org.waveprotocol.wave.federation.Proto.ProtocolHashedVersion.newBuilder( result.resultingVersion_) .mergeFrom(value) .buildPartial(); } else { result.resultingVersion_ = value; } result.hasResultingVersion = true; return this; }
public Builder setResultingVersion( org.waveprotocol.wave.federation.Proto.ProtocolHashedVersion value) { if (value == null) { throw new NullPointerException(); } result.hasResultingVersion = true; result.resultingVersion_ = value; return this; }
public Builder clearResultingVersion() { result.hasResultingVersion = false; result.resultingVersion_ = org.waveprotocol.wave.federation.Proto.ProtocolHashedVersion.getDefaultInstance(); return this; }
public Builder setResultingVersion( org.waveprotocol.wave.federation.Proto.ProtocolHashedVersion.Builder builderForValue) { result.hasResultingVersion = true; result.resultingVersion_ = builderForValue.build(); return this; }
// required .federation.ProtocolHashedVersion resulting_version = 2; public boolean hasResultingVersion() { return result.hasResultingVersion(); }