/** * Creates a Builder by copying an existing Builder. * @param other The existing Builder to copy. */ private Builder(com.homeaway.digitalplatform.streamregistry.Consumer.Builder other) { super(other); if (isValidValue(fields()[0], other.actor)) { this.actor = data().deepCopy(fields()[0].schema(), other.actor); fieldSetFlags()[0] = true; } if (other.hasActorBuilder()) { this.actorBuilder = com.homeaway.digitalplatform.streamregistry.Actor.newBuilder(other.getActorBuilder()); } }