/** * Merge the fields from {@code other} into this set. If a field number * exists in both sets, {@code other}'s values for that field will be * appended to the values in this set. */ public Builder mergeFrom(final UnknownFieldSet other) { if (other != getDefaultInstance()) { for (final Map.Entry<Integer, Field> entry : other.fields.entrySet()) { mergeField(entry.getKey(), entry.getValue()); } } return this; }
/** * Merge the fields from {@code other} into this set. If a field number * exists in both sets, {@code other}'s values for that field will be * appended to the values in this set. */ public Builder mergeFrom(final UnknownFieldSet other) { if (other != getDefaultInstance()) { for (final Map.Entry<Integer, Field> entry : other.fields.entrySet()) { mergeField(entry.getKey(), entry.getValue()); } } return this; }
} else { // We don't know how to parse this. Ignore it. if (rawBytes != null) { unknownFields.mergeField(typeId, UnknownFieldSet.Field.newBuilder() .addLengthDelimited(rawBytes).build());
} else { // We don't know how to parse this. Ignore it. if (rawBytes != null) { unknownFields.mergeField(typeId, UnknownFieldSet.Field.newBuilder() .addLengthDelimited(rawBytes).build());
} else { // We don't know how to parse this. Ignore it. if (rawBytes != null) { unknownFields.mergeField(typeId, UnknownFieldSet.Field.newBuilder() .addLengthDelimited(rawBytes).build());
/** * Merge the fields from {@code other} into this set. If a field number * exists in both sets, {@code other}'s values for that field will be * appended to the values in this set. */ public Builder mergeFrom(final UnknownFieldSet other) { if (other != getDefaultInstance()) { for (final Map.Entry<Integer, Field> entry : other.fields.entrySet()) { mergeField(entry.getKey(), entry.getValue()); } } return this; }
/** * Merge the fields from {@code other} into this set. If a field number * exists in both sets, {@code other}'s values for that field will be * appended to the values in this set. */ public Builder mergeFrom(final UnknownFieldSet other) { if (other != getDefaultInstance()) { for (final Map.Entry<Integer, Field> entry : other.fields.entrySet()) { mergeField(entry.getKey(), entry.getValue()); } } return this; }
} else { // We don't know how to parse this. Ignore it. if (rawBytes != null && unknownFields != null) { unknownFields.mergeField(typeId, UnknownFieldSet.Field.newBuilder() .addLengthDelimited(rawBytes).build());