/** * Sets the value of the 'owner' field. * * Email of owner that owns the stream * @param value The value of 'owner'. * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.AvroStream.Builder setOwner(java.lang.String value) { validate(fields()[4], value); this.owner = value; fieldSetFlags()[4] = true; return this; }
/** * Sets the value of the 'dest_cluster' field. * * Dest cluster for Region Replicator * @param value The value of 'dest_cluster'. * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.RegionReplicator.Builder setDestCluster(java.lang.String value) { validate(fields()[4], value); this.dest_cluster = value; fieldSetFlags()[4] = true; return this; }
/** * Sets the value of the 'type' field. * * type of cluster ex: producer, consumer * @param value The value of 'type'. * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.ClusterKey.Builder setType(java.lang.String value) { validate(fields()[3], value); this.type = value; fieldSetFlags()[3] = true; return this; }
/** * Clears the value of the 'latestKeySchema' field. * * Latest Key Schema * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.AvroStream.Builder clearLatestKeySchema() { latestKeySchema = null; latestKeySchemaBuilder = null; fieldSetFlags()[2] = false; return this; }
/** * Creates a new Producer RecordBuilder. * @return A new Producer RecordBuilder */ public static com.homeaway.digitalplatform.streamregistry.Producer.Builder newBuilder() { return new com.homeaway.digitalplatform.streamregistry.Producer.Builder(); }
/** * Checks whether the 'appName' field has been set. * * This is the application name of the region replicator deployment * @return True if the 'appName' field has been set, false otherwise. */ public boolean hasAppName() { return fieldSetFlags()[0]; }
/** * Checks whether the 'regionStreamConfigurations' field has been set. * * Stream configuration key/value map * @return True if the 'regionStreamConfigurations' field has been set, false otherwise. */ public boolean hasRegionStreamConfigurations() { return fieldSetFlags()[1]; }
/** * Sets the Builder instance for the 'latestValueSchema' field * * Latest Value Schema * @param value The builder instance that must be set. * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.AvroStream.Builder setLatestValueSchemaBuilder(com.homeaway.digitalplatform.streamregistry.Schema.Builder value) { clearLatestValueSchema(); latestValueSchemaBuilder = value; return this; }
/** * Creates a new AvroStreamKey RecordBuilder. * @return A new AvroStreamKey RecordBuilder */ public static com.homeaway.digitalplatform.streamregistry.AvroStreamKey.Builder newBuilder() { return new com.homeaway.digitalplatform.streamregistry.AvroStreamKey.Builder(); }
/** * Creates a new ClusterValue RecordBuilder by copying an existing Builder. * @param other The existing builder to copy. * @return A new ClusterValue RecordBuilder */ public static com.homeaway.digitalplatform.streamregistry.ClusterValue.Builder newBuilder(com.homeaway.digitalplatform.streamregistry.ClusterValue.Builder other) { return new com.homeaway.digitalplatform.streamregistry.ClusterValue.Builder(other); }
/** * Clears the value of the 'actor' field. * * Actor configuration for the producer * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.Producer.Builder clearActor() { actor = null; actorBuilder = null; fieldSetFlags()[0] = false; return this; }
/** * Creates a new ClusterKey RecordBuilder. * @return A new ClusterKey RecordBuilder */ public static com.homeaway.digitalplatform.streamregistry.ClusterKey.Builder newBuilder() { return new com.homeaway.digitalplatform.streamregistry.ClusterKey.Builder(); }
/** * Sets the value of the 'partitions' field. * * Number of Partitions * @param value The value of 'partitions'. * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.AvroStream.Builder setPartitions(int value) { validate(fields()[19], value); this.partitions = value; fieldSetFlags()[19] = true; return this; }
/** * Clears the value of the 'latestValueSchema' field. * * Latest Value Schema * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.AvroStream.Builder clearLatestValueSchema() { latestValueSchema = null; latestValueSchemaBuilder = null; fieldSetFlags()[3] = false; return this; }
/** * Creates a new Producer RecordBuilder by copying an existing Builder. * @param other The existing builder to copy. * @return A new Producer RecordBuilder */ public static com.homeaway.digitalplatform.streamregistry.Producer.Builder newBuilder(com.homeaway.digitalplatform.streamregistry.Producer.Builder other) { return new com.homeaway.digitalplatform.streamregistry.Producer.Builder(other); }
/** * Checks whether the 'topic' field has been set. * * Region Replicator Source Topic Name * @return True if the 'topic' field has been set, false otherwise. */ public boolean hasTopic() { return fieldSetFlags()[5]; }
/** * Checks whether the 'isDataNeededAtRest' field has been set. * * Is Data Needed At Rest? Example: Kafka Connect S3 * @return True if the 'isDataNeededAtRest' field has been set, false otherwise. */ public boolean hasIsDataNeededAtRest() { return fieldSetFlags()[11]; }
/** * Checks whether the 'isAutomationNeeded' field has been set. * * Is Automation Needed? Example: Does Mirror Maker need to be deployed * @return True if the 'isAutomationNeeded' field has been set, false otherwise. */ public boolean hasIsAutomationNeeded() { return fieldSetFlags()[12]; }
/** * Clears the value of the 'operationType' field. * * Operation Type * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.AvroStream.Builder clearOperationType() { operationType = null; fieldSetFlags()[15] = false; return this; }
/** * Checks whether the 'topicConfig' field has been set. * * Topic Configuration * @return True if the 'topicConfig' field has been set, false otherwise. */ public boolean hasTopicConfig() { return fieldSetFlags()[18]; }