/** <code>optional .grpc.testing.ClientConfig setup = 1;</code> */ public Builder setSetup(io.grpc.testing.ClientConfig.Builder builderForValue) { if (setupBuilder_ == null) { argtype_ = builderForValue.build(); onChanged(); } else { setupBuilder_.setMessage(builderForValue.build()); } argtypeCase_ = 1; return this; }
/** <code>optional .grpc.testing.Mark mark = 2;</code> */ public Builder setMark(io.grpc.testing.Mark.Builder builderForValue) { if (markBuilder_ == null) { argtype_ = builderForValue.build(); onChanged(); } else { markBuilder_.setMessage(builderForValue.build()); } argtypeCase_ = 2; return this; }
/** * <code>required .dossier.Resources resources = 2;</code> * * <pre> * The resources to include. * </pre> */ public Builder setResources(com.github.jsdossier.proto.Resources.Builder builderForValue) { if (resourcesBuilder_ == null) { resources_ = builderForValue.build(); onChanged(); } else { resourcesBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; }
/** * <code>required .dossier.Index index = 3;</code> * * <pre> * Navigation index. * </pre> */ public Builder setIndex(com.github.jsdossier.proto.Index.Builder builderForValue) { if (indexBuilder_ == null) { index_ = builderForValue.build(); onChanged(); } else { indexBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; }
/** <code>required .com.chaoslabgames.packet.MoverDataPkg moverData = 3;</code> */ public Builder setMoverData(com.chaoslabgames.packet.MoverDataPkg.Builder builderForValue) { if (moverDataBuilder_ == null) { moverData_ = builderForValue.build(); onChanged(); } else { moverDataBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; }
/** * <code>optional .dossier.Comment content = 3;</code> * * <pre> * The page content, if any. * </pre> */ public Builder setContent(com.github.jsdossier.proto.Comment.Builder builderForValue) { if (contentBuilder_ == null) { content_ = builderForValue.build(); onChanged(); } else { contentBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; }
/** <code>optional .EventDataFormat data = 3;</code> */ public Builder setData( akka.persistence.kafka.journal.EventFormats.EventDataFormat.Builder builderForValue) { if (dataBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { dataBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; }
/** <code>optional .grpc.testing.Mark mark = 2;</code> */ public Builder setMark(io.grpc.testing.Mark value) { if (markBuilder_ == null) { if (value == null) { throw new NullPointerException(); } argtype_ = value; onChanged(); } else { markBuilder_.setMessage(value); } argtypeCase_ = 2; return this; }
/** <code>optional .grpc.testing.ClientConfig setup = 1;</code> */ public Builder setSetup(io.grpc.testing.ClientConfig value) { if (setupBuilder_ == null) { if (value == null) { throw new NullPointerException(); } argtype_ = value; onChanged(); } else { setupBuilder_.setMessage(value); } argtypeCase_ = 1; return this; }
/** <code>optional .EventDataFormat data = 3;</code> */ public Builder setData(akka.persistence.kafka.journal.EventFormats.EventDataFormat value) { if (dataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { dataBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; }
/** * <code>required .dossier.Resources resources = 2;</code> * * <pre> * The resources to include. * </pre> */ public Builder setResources(com.github.jsdossier.proto.Resources value) { if (resourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } resources_ = value; onChanged(); } else { resourcesBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; }
/** * <code>required .dossier.Index index = 3;</code> * * <pre> * Navigation index. * </pre> */ public Builder setIndex(com.github.jsdossier.proto.Index value) { if (indexBuilder_ == null) { if (value == null) { throw new NullPointerException(); } index_ = value; onChanged(); } else { indexBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; }
/** <code>required .com.chaoslabgames.packet.MoverDataPkg moverData = 3;</code> */ public Builder setMoverData(com.chaoslabgames.packet.MoverDataPkg value) { if (moverDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } moverData_ = value; onChanged(); } else { moverDataBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; }
/** * <code>optional .dossier.Comment content = 3;</code> * * <pre> * The page content, if any. * </pre> */ public Builder setContent(com.github.jsdossier.proto.Comment value) { if (contentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } content_ = value; onChanged(); } else { contentBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; }
/** <code>optional .grpc.testing.Mark mark = 2;</code> */ public Builder mergeMark(io.grpc.testing.Mark value) { if (markBuilder_ == null) { if (argtypeCase_ == 2 && argtype_ != io.grpc.testing.Mark.getDefaultInstance()) { argtype_ = io.grpc.testing.Mark.newBuilder((io.grpc.testing.Mark) argtype_) .mergeFrom(value) .buildPartial(); } else { argtype_ = value; } onChanged(); } else { if (argtypeCase_ == 2) { markBuilder_.mergeFrom(value); } markBuilder_.setMessage(value); } argtypeCase_ = 2; return this; }
/** <code>optional .grpc.testing.ClientConfig setup = 1;</code> */ public Builder mergeSetup(io.grpc.testing.ClientConfig value) { if (setupBuilder_ == null) { if (argtypeCase_ == 1 && argtype_ != io.grpc.testing.ClientConfig.getDefaultInstance()) { argtype_ = io.grpc.testing.ClientConfig.newBuilder((io.grpc.testing.ClientConfig) argtype_) .mergeFrom(value) .buildPartial(); } else { argtype_ = value; } onChanged(); } else { if (argtypeCase_ == 1) { setupBuilder_.mergeFrom(value); } setupBuilder_.setMessage(value); } argtypeCase_ = 1; return this; }