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; }