builder.protocolCur(json.protocolCur);
/** * Fill a builder with attribute values from the provided {@code Member} instance. * Regular attribute values will be replaced with those from the given instance. * Absent optional values will not replace present values. * Collection elements and entries will be added, not replaced. * @param instance The instance from which to copy values * @return {@code this} builder for use in a chained invocation */ public final Builder from(Member instance) { Preconditions.checkNotNull(instance, "instance"); name(instance.getName()); address(instance.getAddress()); port(instance.getPort()); putAllTags(instance.getTags()); status(instance.getStatus()); protocolMin(instance.getProtocolMin()); protocolMax(instance.getProtocolMax()); protocolCur(instance.getProtocolCur()); delegateMin(instance.getDelegateMin()); delegateMax(instance.getDelegateMax()); delegateCur(instance.getDelegateCur()); return this; }