Lines Matching refs:Builder
36 * PreviewProgram previewProgram = new PreviewProgram.Builder()
61 * PreviewProgram updatedProgram = new PreviewProgram.Builder(previewProgram)
85 private PreviewProgram(Builder builder) {
154 Builder builder = new Builder();
177 * This Builder class simplifies the creation of a {@link PreviewProgram} object.
179 public static final class Builder extends BasePreviewProgram.Builder<Builder> {
182 * Creates a new Builder object.
184 public Builder() {
188 * Creates a new Builder object with values copied from another Program.
191 public Builder(PreviewProgram other) {
199 * @return This Builder object to allow for chaining of calls to builder methods.
201 public Builder setChannelId(long channelId) {
210 * @return This Builder object to allow for chaining of calls to builder methods.
212 public Builder setWeight(int weight) {
218 * @return A new Program with values supplied by the Builder.