public Builder mergeFrom(com.google.genomics.v1.ImportReadGroupSetsRequest other) { if (other == com.google.genomics.v1.ImportReadGroupSetsRequest.getDefaultInstance()) return this; if (!other.getDatasetId().isEmpty()) { datasetId_ = other.datasetId_; onChanged(); } if (!other.getReferenceSetId().isEmpty()) { referenceSetId_ = other.referenceSetId_; onChanged(); } if (!other.sourceUris_.isEmpty()) { if (sourceUris_.isEmpty()) { sourceUris_ = other.sourceUris_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureSourceUrisIsMutable(); sourceUris_.addAll(other.sourceUris_); } onChanged(); } if (other.partitionStrategy_ != 0) { setPartitionStrategyValue(other.getPartitionStrategyValue()); } onChanged(); return this; }
public com.google.genomics.v1.ImportReadGroupSetsRequest build() { com.google.genomics.v1.ImportReadGroupSetsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public com.google.genomics.v1.ImportReadGroupSetsRequest buildPartial() { com.google.genomics.v1.ImportReadGroupSetsRequest result = new com.google.genomics.v1.ImportReadGroupSetsRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.datasetId_ = datasetId_; result.referenceSetId_ = referenceSetId_; if (((bitField0_ & 0x00000004) == 0x00000004)) { sourceUris_ = sourceUris_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); } result.sourceUris_ = sourceUris_; result.partitionStrategy_ = partitionStrategy_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public com.google.genomics.v1.ImportReadGroupSetsRequest getDefaultInstanceForType() { return com.google.genomics.v1.ImportReadGroupSetsRequest.getDefaultInstance(); }
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.genomics.v1.ImportReadGroupSetsRequest.getDescriptor() .getEnumTypes() .get(0); }