public Builder mergeFrom(com.google.spanner.admin.instance.v1.Instance other) { if (other == com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getConfig().isEmpty()) { config_ = other.config_; onChanged(); } if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; onChanged(); } if (other.getNodeCount() != 0) { setNodeCount(other.getNodeCount()); } if (other.state_ != 0) { setStateValue(other.getStateValue()); } internalGetMutableLabels().mergeFrom(other.internalGetLabels()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(com.google.spanner.admin.instance.v1.Instance other) { if (other == com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getConfig().isEmpty()) { config_ = other.config_; onChanged(); } if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; onChanged(); } if (other.getNodeCount() != 0) { setNodeCount(other.getNodeCount()); } if (other.state_ != 0) { setStateValue(other.getStateValue()); } internalGetMutableLabels().mergeFrom(other.internalGetLabels()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }