public io.grpc.testing.ClientArgs build() { io.grpc.testing.ClientArgs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public Builder mergeFrom(io.grpc.testing.ClientArgs other) { if (other == io.grpc.testing.ClientArgs.getDefaultInstance()) return this; switch (other.getArgtypeCase()) { case SETUP: { mergeSetup(other.getSetup()); break; } case MARK: { mergeMark(other.getMark()); break; } case ARGTYPE_NOT_SET: { break; } } onChanged(); return this; }
public io.grpc.testing.ClientArgs buildPartial() { io.grpc.testing.ClientArgs result = new io.grpc.testing.ClientArgs(this); if (argtypeCase_ == 1) { if (setupBuilder_ == null) { result.argtype_ = argtype_; } else { result.argtype_ = setupBuilder_.build(); } } if (argtypeCase_ == 2) { if (markBuilder_ == null) { result.argtype_ = argtype_; } else { result.argtype_ = markBuilder_.build(); } } result.argtypeCase_ = argtypeCase_; onBuilt(); return result; }
public io.grpc.testing.ClientArgs getDefaultInstanceForType() { return io.grpc.testing.ClientArgs.getDefaultInstance(); }