示例#1
0
文件: FooBar.java 项目: pforhan/wire
 @Override
 public Builder newBuilder() {
   Builder builder = new Builder();
   builder.foo = foo;
   builder.bar = bar;
   builder.baz = baz;
   builder.qux = qux;
   builder.fred = WireInternal.copyOf("fred", fred);
   builder.daisy = daisy;
   builder.nested = WireInternal.copyOf("nested", nested);
   builder.ext = ext;
   builder.rep = WireInternal.copyOf("rep", rep);
   builder.addUnknownFields(unknownFields());
   return builder;
 }
示例#2
0
文件: FooBar.java 项目: pforhan/wire
 @Override
 public Builder newBuilder() {
   Builder builder = new Builder();
   builder.serial = WireInternal.copyOf("serial", serial);
   builder.addUnknownFields(unknownFields());
   return builder;
 }