public Builder mergeFrom(io.grafeas.v1beta1.Resource other) { if (other == io.grafeas.v1beta1.Resource.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getUri().isEmpty()) { uri_ = other.uri_; onChanged(); } if (other.hasContentHash()) { mergeContentHash(other.getContentHash()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(io.grafeas.v1beta1.Resource other) { if (other == io.grafeas.v1beta1.Resource.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getUri().isEmpty()) { uri_ = other.uri_; onChanged(); } if (other.hasContentHash()) { mergeContentHash(other.getContentHash()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }