@java.lang.Override public io.grafeas.v1beta1.BatchCreateOccurrencesRequest buildPartial() { io.grafeas.v1beta1.BatchCreateOccurrencesRequest result = new io.grafeas.v1beta1.BatchCreateOccurrencesRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.parent_ = parent_; if (occurrencesBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { occurrences_ = java.util.Collections.unmodifiableList(occurrences_); bitField0_ = (bitField0_ & ~0x00000002); } result.occurrences_ = occurrences_; } else { result.occurrences_ = occurrencesBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; }
@java.lang.Override public io.grafeas.v1beta1.BatchCreateOccurrencesRequest buildPartial() { io.grafeas.v1beta1.BatchCreateOccurrencesRequest result = new io.grafeas.v1beta1.BatchCreateOccurrencesRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.parent_ = parent_; if (occurrencesBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { occurrences_ = java.util.Collections.unmodifiableList(occurrences_); bitField0_ = (bitField0_ & ~0x00000002); } result.occurrences_ = occurrences_; } else { result.occurrences_ = occurrencesBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; }