diff --git a/dnet-openaire-data-protos/deploy.info b/dnet-openaire-data-protos/deploy.info
deleted file mode 100644
index b3c6d02a5..000000000
--- a/dnet-openaire-data-protos/deploy.info
+++ /dev/null
@@ -1,2 +0,0 @@
-{"type_source": "SVN", "goal": "package -U source:jar",
-"url": "http://svn-public.driver.research-infrastructures.eu/driver/dnet45/modules/dnet-openaire-data-protos/trunk/", "deploy_repository": "dnet45-snapshots", "version": "4", "mail": "sandro.labruzzo@isti.cnr.it,michele.artini@isti.cnr.it, claudio.atzori@isti.cnr.it, alessia.bardi@isti.cnr.it", "deploy_repository_url": "http://maven.research-infrastructures.eu/nexus/content/repositories/dnet45-snapshots", "name": "dnet-openaire-data-protos"}
\ No newline at end of file
diff --git a/dnet-openaire-data-protos/pom.xml b/dnet-openaire-data-protos/pom.xml
deleted file mode 100644
index f247374c9..000000000
--- a/dnet-openaire-data-protos/pom.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
- eu.dnetlib
- dnet45-parent
- 1.0.0
-
-
- 4.0.0
- eu.dnetlib
- dnet-openaire-data-protos
- jar
- 3.9.4-proto250
-
-
-
- 2.4.1
-
-
-
-
- dnet4-bootstrap-release
- http://maven.research-infrastructures.eu/nexus/content/repositories/dnet4-bootstrap-release/
-
-
-
-
-
-
- eu.dnetlib
- protoc-jar-maven-plugin
- 1.1.0
-
-
- generate-sources
-
- run
-
-
- ${google.protobuf.version}
-
- src/main/resources
-
- src/gen/java
-
-
-
-
-
-
-
-
- com.google.protobuf
- protobuf-java
- ${google.protobuf.version}
-
-
-
diff --git a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/DatasourceOrganizationProtos.java b/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/DatasourceOrganizationProtos.java
deleted file mode 100644
index 6ad51ee0f..000000000
--- a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/DatasourceOrganizationProtos.java
+++ /dev/null
@@ -1,1017 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: Datasource_Organization.proto
-
-package eu.dnetlib.data.proto;
-
-public final class DatasourceOrganizationProtos {
- private DatasourceOrganizationProtos() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- }
- public interface DatasourceOrganizationOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional .eu.dnetlib.data.proto.DatasourceOrganization.Provision provision = 1;
- boolean hasProvision();
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision getProvision();
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.ProvisionOrBuilder getProvisionOrBuilder();
- }
- public static final class DatasourceOrganization extends
- com.google.protobuf.GeneratedMessage
- implements DatasourceOrganizationOrBuilder {
- // Use DatasourceOrganization.newBuilder() to construct.
- private DatasourceOrganization(Builder builder) {
- super(builder);
- }
- private DatasourceOrganization(boolean noInit) {}
-
- private static final DatasourceOrganization defaultInstance;
- public static DatasourceOrganization getDefaultInstance() {
- return defaultInstance;
- }
-
- public DatasourceOrganization getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.DatasourceOrganizationProtos.internal_static_eu_dnetlib_data_proto_DatasourceOrganization_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.DatasourceOrganizationProtos.internal_static_eu_dnetlib_data_proto_DatasourceOrganization_fieldAccessorTable;
- }
-
- public interface ProvisionOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // required .eu.dnetlib.data.proto.RelMetadata relMetadata = 1;
- boolean hasRelMetadata();
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata getRelMetadata();
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder getRelMetadataOrBuilder();
- }
- public static final class Provision extends
- com.google.protobuf.GeneratedMessage
- implements ProvisionOrBuilder {
- // Use Provision.newBuilder() to construct.
- private Provision(Builder builder) {
- super(builder);
- }
- private Provision(boolean noInit) {}
-
- private static final Provision defaultInstance;
- public static Provision getDefaultInstance() {
- return defaultInstance;
- }
-
- public Provision getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.DatasourceOrganizationProtos.internal_static_eu_dnetlib_data_proto_DatasourceOrganization_Provision_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.DatasourceOrganizationProtos.internal_static_eu_dnetlib_data_proto_DatasourceOrganization_Provision_fieldAccessorTable;
- }
-
- public enum RelName
- implements com.google.protobuf.ProtocolMessageEnum {
- isProvidedBy(0, 1),
- provides(1, 2),
- ;
-
- public static final int isProvidedBy_VALUE = 1;
- public static final int provides_VALUE = 2;
-
-
- public final int getNumber() { return value; }
-
- public static RelName valueOf(int value) {
- switch (value) {
- case 1: return isProvidedBy;
- case 2: return provides;
- default: return null;
- }
- }
-
- public static com.google.protobuf.Internal.EnumLiteMap
- internalGetValueMap() {
- return internalValueMap;
- }
- private static com.google.protobuf.Internal.EnumLiteMap
- internalValueMap =
- new com.google.protobuf.Internal.EnumLiteMap() {
- public RelName findValueByNumber(int number) {
- return RelName.valueOf(number);
- }
- };
-
- public final com.google.protobuf.Descriptors.EnumValueDescriptor
- getValueDescriptor() {
- return getDescriptor().getValues().get(index);
- }
- public final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptorForType() {
- return getDescriptor();
- }
- public static final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision.getDescriptor().getEnumTypes().get(0);
- }
-
- private static final RelName[] VALUES = {
- isProvidedBy, provides,
- };
-
- public static RelName valueOf(
- com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
- if (desc.getType() != getDescriptor()) {
- throw new java.lang.IllegalArgumentException(
- "EnumValueDescriptor is not for this type.");
- }
- return VALUES[desc.getIndex()];
- }
-
- private final int index;
- private final int value;
-
- private RelName(int index, int value) {
- this.index = index;
- this.value = value;
- }
-
- // @@protoc_insertion_point(enum_scope:eu.dnetlib.data.proto.DatasourceOrganization.Provision.RelName)
- }
-
- private int bitField0_;
- // required .eu.dnetlib.data.proto.RelMetadata relMetadata = 1;
- public static final int RELMETADATA_FIELD_NUMBER = 1;
- private eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata relMetadata_;
- public boolean hasRelMetadata() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata getRelMetadata() {
- return relMetadata_;
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder getRelMetadataOrBuilder() {
- return relMetadata_;
- }
-
- private void initFields() {
- relMetadata_ = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasRelMetadata()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!getRelMetadata().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeMessage(1, relMetadata_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, relMetadata_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.ProvisionOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.DatasourceOrganizationProtos.internal_static_eu_dnetlib_data_proto_DatasourceOrganization_Provision_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.DatasourceOrganizationProtos.internal_static_eu_dnetlib_data_proto_DatasourceOrganization_Provision_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getRelMetadataFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- if (relMetadataBuilder_ == null) {
- relMetadata_ = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance();
- } else {
- relMetadataBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision build() {
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision buildPartial() {
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision result = new eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- if (relMetadataBuilder_ == null) {
- result.relMetadata_ = relMetadata_;
- } else {
- result.relMetadata_ = relMetadataBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision) {
- return mergeFrom((eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision other) {
- if (other == eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision.getDefaultInstance()) return this;
- if (other.hasRelMetadata()) {
- mergeRelMetadata(other.getRelMetadata());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasRelMetadata()) {
-
- return false;
- }
- if (!getRelMetadata().isInitialized()) {
-
- return false;
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 10: {
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder subBuilder = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.newBuilder();
- if (hasRelMetadata()) {
- subBuilder.mergeFrom(getRelMetadata());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setRelMetadata(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // required .eu.dnetlib.data.proto.RelMetadata relMetadata = 1;
- private eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata relMetadata_ = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder> relMetadataBuilder_;
- public boolean hasRelMetadata() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata getRelMetadata() {
- if (relMetadataBuilder_ == null) {
- return relMetadata_;
- } else {
- return relMetadataBuilder_.getMessage();
- }
- }
- public Builder setRelMetadata(eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata value) {
- if (relMetadataBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- relMetadata_ = value;
- onChanged();
- } else {
- relMetadataBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder setRelMetadata(
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder builderForValue) {
- if (relMetadataBuilder_ == null) {
- relMetadata_ = builderForValue.build();
- onChanged();
- } else {
- relMetadataBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder mergeRelMetadata(eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata value) {
- if (relMetadataBuilder_ == null) {
- if (((bitField0_ & 0x00000001) == 0x00000001) &&
- relMetadata_ != eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance()) {
- relMetadata_ =
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.newBuilder(relMetadata_).mergeFrom(value).buildPartial();
- } else {
- relMetadata_ = value;
- }
- onChanged();
- } else {
- relMetadataBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder clearRelMetadata() {
- if (relMetadataBuilder_ == null) {
- relMetadata_ = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance();
- onChanged();
- } else {
- relMetadataBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder getRelMetadataBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return getRelMetadataFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder getRelMetadataOrBuilder() {
- if (relMetadataBuilder_ != null) {
- return relMetadataBuilder_.getMessageOrBuilder();
- } else {
- return relMetadata_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder>
- getRelMetadataFieldBuilder() {
- if (relMetadataBuilder_ == null) {
- relMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder>(
- relMetadata_,
- getParentForChildren(),
- isClean());
- relMetadata_ = null;
- }
- return relMetadataBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.DatasourceOrganization.Provision)
- }
-
- static {
- defaultInstance = new Provision(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.DatasourceOrganization.Provision)
- }
-
- private int bitField0_;
- // optional .eu.dnetlib.data.proto.DatasourceOrganization.Provision provision = 1;
- public static final int PROVISION_FIELD_NUMBER = 1;
- private eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision provision_;
- public boolean hasProvision() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision getProvision() {
- return provision_;
- }
- public eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.ProvisionOrBuilder getProvisionOrBuilder() {
- return provision_;
- }
-
- private void initFields() {
- provision_ = eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (hasProvision()) {
- if (!getProvision().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeMessage(1, provision_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, provision_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganizationOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.DatasourceOrganizationProtos.internal_static_eu_dnetlib_data_proto_DatasourceOrganization_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.DatasourceOrganizationProtos.internal_static_eu_dnetlib_data_proto_DatasourceOrganization_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getProvisionFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- if (provisionBuilder_ == null) {
- provision_ = eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision.getDefaultInstance();
- } else {
- provisionBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization build() {
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization buildPartial() {
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization result = new eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- if (provisionBuilder_ == null) {
- result.provision_ = provision_;
- } else {
- result.provision_ = provisionBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization) {
- return mergeFrom((eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization other) {
- if (other == eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.getDefaultInstance()) return this;
- if (other.hasProvision()) {
- mergeProvision(other.getProvision());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (hasProvision()) {
- if (!getProvision().isInitialized()) {
-
- return false;
- }
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 10: {
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision.Builder subBuilder = eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision.newBuilder();
- if (hasProvision()) {
- subBuilder.mergeFrom(getProvision());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setProvision(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // optional .eu.dnetlib.data.proto.DatasourceOrganization.Provision provision = 1;
- private eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision provision_ = eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision, eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision.Builder, eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.ProvisionOrBuilder> provisionBuilder_;
- public boolean hasProvision() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision getProvision() {
- if (provisionBuilder_ == null) {
- return provision_;
- } else {
- return provisionBuilder_.getMessage();
- }
- }
- public Builder setProvision(eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision value) {
- if (provisionBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- provision_ = value;
- onChanged();
- } else {
- provisionBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder setProvision(
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision.Builder builderForValue) {
- if (provisionBuilder_ == null) {
- provision_ = builderForValue.build();
- onChanged();
- } else {
- provisionBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder mergeProvision(eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision value) {
- if (provisionBuilder_ == null) {
- if (((bitField0_ & 0x00000001) == 0x00000001) &&
- provision_ != eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision.getDefaultInstance()) {
- provision_ =
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision.newBuilder(provision_).mergeFrom(value).buildPartial();
- } else {
- provision_ = value;
- }
- onChanged();
- } else {
- provisionBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder clearProvision() {
- if (provisionBuilder_ == null) {
- provision_ = eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision.getDefaultInstance();
- onChanged();
- } else {
- provisionBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
- public eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision.Builder getProvisionBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return getProvisionFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.ProvisionOrBuilder getProvisionOrBuilder() {
- if (provisionBuilder_ != null) {
- return provisionBuilder_.getMessageOrBuilder();
- } else {
- return provision_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision, eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision.Builder, eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.ProvisionOrBuilder>
- getProvisionFieldBuilder() {
- if (provisionBuilder_ == null) {
- provisionBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision, eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision.Builder, eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.ProvisionOrBuilder>(
- provision_,
- getParentForChildren(),
- isClean());
- provision_ = null;
- }
- return provisionBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.DatasourceOrganization)
- }
-
- static {
- defaultInstance = new DatasourceOrganization(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.DatasourceOrganization)
- }
-
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_DatasourceOrganization_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_DatasourceOrganization_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_DatasourceOrganization_Provision_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_DatasourceOrganization_Provision_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
- return descriptor;
- }
- private static com.google.protobuf.Descriptors.FileDescriptor
- descriptor;
- static {
- java.lang.String[] descriptorData = {
- "\n\035Datasource_Organization.proto\022\025eu.dnet" +
- "lib.data.proto\032\021RelMetadata.proto\"\325\001\n\026Da" +
- "tasourceOrganization\022J\n\tprovision\030\001 \001(\0132" +
- "7.eu.dnetlib.data.proto.DatasourceOrgani" +
- "zation.Provision\032o\n\tProvision\0227\n\013relMeta" +
- "data\030\001 \002(\0132\".eu.dnetlib.data.proto.RelMe" +
- "tadata\")\n\007RelName\022\020\n\014isProvidedBy\020\001\022\014\n\010p" +
- "rovides\020\002B5\n\025eu.dnetlib.data.protoB\034Data" +
- "sourceOrganizationProtos"
- };
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- internal_static_eu_dnetlib_data_proto_DatasourceOrganization_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_eu_dnetlib_data_proto_DatasourceOrganization_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_DatasourceOrganization_descriptor,
- new java.lang.String[] { "Provision", },
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.class,
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Builder.class);
- internal_static_eu_dnetlib_data_proto_DatasourceOrganization_Provision_descriptor =
- internal_static_eu_dnetlib_data_proto_DatasourceOrganization_descriptor.getNestedTypes().get(0);
- internal_static_eu_dnetlib_data_proto_DatasourceOrganization_Provision_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_DatasourceOrganization_Provision_descriptor,
- new java.lang.String[] { "RelMetadata", },
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision.class,
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Provision.Builder.class);
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- eu.dnetlib.data.proto.RelMetadataProtos.getDescriptor(),
- }, assigner);
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/DatasourceProtos.java b/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/DatasourceProtos.java
deleted file mode 100644
index ced36fa73..000000000
--- a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/DatasourceProtos.java
+++ /dev/null
@@ -1,6758 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: Datasource.proto
-
-package eu.dnetlib.data.proto;
-
-public final class DatasourceProtos {
- private DatasourceProtos() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- }
- public interface DatasourceOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional .eu.dnetlib.data.proto.Datasource.Metadata metadata = 2;
- boolean hasMetadata();
- eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata getMetadata();
- eu.dnetlib.data.proto.DatasourceProtos.Datasource.MetadataOrBuilder getMetadataOrBuilder();
- }
- public static final class Datasource extends
- com.google.protobuf.GeneratedMessage
- implements DatasourceOrBuilder {
- // Use Datasource.newBuilder() to construct.
- private Datasource(Builder builder) {
- super(builder);
- }
- private Datasource(boolean noInit) {}
-
- private static final Datasource defaultInstance;
- public static Datasource getDefaultInstance() {
- return defaultInstance;
- }
-
- public Datasource getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.DatasourceProtos.internal_static_eu_dnetlib_data_proto_Datasource_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.DatasourceProtos.internal_static_eu_dnetlib_data_proto_Datasource_fieldAccessorTable;
- }
-
- public interface MetadataOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional .eu.dnetlib.data.proto.Qualifier datasourcetype = 15;
- boolean hasDatasourcetype();
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getDatasourcetype();
- eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getDatasourcetypeOrBuilder();
-
- // optional .eu.dnetlib.data.proto.Qualifier openairecompatibility = 17;
- boolean hasOpenairecompatibility();
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getOpenairecompatibility();
- eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getOpenairecompatibilityOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField officialname = 1;
- boolean hasOfficialname();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getOfficialname();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOfficialnameOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField englishname = 2;
- boolean hasEnglishname();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getEnglishname();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEnglishnameOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField websiteurl = 3;
- boolean hasWebsiteurl();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getWebsiteurl();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getWebsiteurlOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField logourl = 4;
- boolean hasLogourl();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getLogourl();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getLogourlOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField contactemail = 5;
- boolean hasContactemail();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getContactemail();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getContactemailOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField namespaceprefix = 7;
- boolean hasNamespaceprefix();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getNamespaceprefix();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getNamespaceprefixOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField latitude = 18;
- boolean hasLatitude();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getLatitude();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getLatitudeOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField longitude = 19;
- boolean hasLongitude();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getLongitude();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getLongitudeOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField dateofvalidation = 20;
- boolean hasDateofvalidation();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getDateofvalidation();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDateofvalidationOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField description = 21;
- boolean hasDescription();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getDescription();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDescriptionOrBuilder();
-
- // repeated .eu.dnetlib.data.proto.StructuredProperty subjects = 45;
- java.util.List
- getSubjectsList();
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty getSubjects(int index);
- int getSubjectsCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder>
- getSubjectsOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder getSubjectsOrBuilder(
- int index);
-
- // optional .eu.dnetlib.data.proto.StringField odnumberofitems = 9;
- boolean hasOdnumberofitems();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getOdnumberofitems();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOdnumberofitemsOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField odnumberofitemsdate = 10;
- boolean hasOdnumberofitemsdate();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getOdnumberofitemsdate();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOdnumberofitemsdateOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField odpolicies = 12;
- boolean hasOdpolicies();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getOdpolicies();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOdpoliciesOrBuilder();
-
- // repeated .eu.dnetlib.data.proto.StringField odlanguages = 13;
- java.util.List
- getOdlanguagesList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getOdlanguages(int index);
- int getOdlanguagesCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getOdlanguagesOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOdlanguagesOrBuilder(
- int index);
-
- // repeated .eu.dnetlib.data.proto.StringField odcontenttypes = 14;
- java.util.List
- getOdcontenttypesList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getOdcontenttypes(int index);
- int getOdcontenttypesCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getOdcontenttypesOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOdcontenttypesOrBuilder(
- int index);
-
- // repeated .eu.dnetlib.data.proto.StringField accessinfopackage = 6;
- java.util.List
- getAccessinfopackageList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getAccessinfopackage(int index);
- int getAccessinfopackageCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getAccessinfopackageOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getAccessinfopackageOrBuilder(
- int index);
-
- // optional .eu.dnetlib.data.proto.StringField releasestartdate = 31;
- boolean hasReleasestartdate();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getReleasestartdate();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getReleasestartdateOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField releaseenddate = 32;
- boolean hasReleaseenddate();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getReleaseenddate();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getReleaseenddateOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField missionstatementurl = 33;
- boolean hasMissionstatementurl();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getMissionstatementurl();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getMissionstatementurlOrBuilder();
-
- // optional .eu.dnetlib.data.proto.BoolField dataprovider = 34;
- boolean hasDataprovider();
- eu.dnetlib.data.proto.FieldTypeProtos.BoolField getDataprovider();
- eu.dnetlib.data.proto.FieldTypeProtos.BoolFieldOrBuilder getDataproviderOrBuilder();
-
- // optional .eu.dnetlib.data.proto.BoolField serviceprovider = 35;
- boolean hasServiceprovider();
- eu.dnetlib.data.proto.FieldTypeProtos.BoolField getServiceprovider();
- eu.dnetlib.data.proto.FieldTypeProtos.BoolFieldOrBuilder getServiceproviderOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField databaseaccesstype = 36;
- boolean hasDatabaseaccesstype();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getDatabaseaccesstype();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDatabaseaccesstypeOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField datauploadtype = 37;
- boolean hasDatauploadtype();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getDatauploadtype();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDatauploadtypeOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField databaseaccessrestriction = 38;
- boolean hasDatabaseaccessrestriction();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getDatabaseaccessrestriction();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDatabaseaccessrestrictionOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField datauploadrestriction = 39;
- boolean hasDatauploadrestriction();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getDatauploadrestriction();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDatauploadrestrictionOrBuilder();
-
- // optional .eu.dnetlib.data.proto.BoolField versioning = 40;
- boolean hasVersioning();
- eu.dnetlib.data.proto.FieldTypeProtos.BoolField getVersioning();
- eu.dnetlib.data.proto.FieldTypeProtos.BoolFieldOrBuilder getVersioningOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField citationguidelineurl = 41;
- boolean hasCitationguidelineurl();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getCitationguidelineurl();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getCitationguidelineurlOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField qualitymanagementkind = 42;
- boolean hasQualitymanagementkind();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getQualitymanagementkind();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getQualitymanagementkindOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField pidsystems = 43;
- boolean hasPidsystems();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getPidsystems();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getPidsystemsOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField certificates = 44;
- boolean hasCertificates();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getCertificates();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getCertificatesOrBuilder();
-
- // repeated .eu.dnetlib.data.proto.KeyValue policies = 46;
- java.util.List
- getPoliciesList();
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue getPolicies(int index);
- int getPoliciesCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder>
- getPoliciesOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder getPoliciesOrBuilder(
- int index);
- }
- public static final class Metadata extends
- com.google.protobuf.GeneratedMessage
- implements MetadataOrBuilder {
- // Use Metadata.newBuilder() to construct.
- private Metadata(Builder builder) {
- super(builder);
- }
- private Metadata(boolean noInit) {}
-
- private static final Metadata defaultInstance;
- public static Metadata getDefaultInstance() {
- return defaultInstance;
- }
-
- public Metadata getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.DatasourceProtos.internal_static_eu_dnetlib_data_proto_Datasource_Metadata_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.DatasourceProtos.internal_static_eu_dnetlib_data_proto_Datasource_Metadata_fieldAccessorTable;
- }
-
- private int bitField0_;
- // optional .eu.dnetlib.data.proto.Qualifier datasourcetype = 15;
- public static final int DATASOURCETYPE_FIELD_NUMBER = 15;
- private eu.dnetlib.data.proto.FieldTypeProtos.Qualifier datasourcetype_;
- public boolean hasDatasourcetype() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getDatasourcetype() {
- return datasourcetype_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getDatasourcetypeOrBuilder() {
- return datasourcetype_;
- }
-
- // optional .eu.dnetlib.data.proto.Qualifier openairecompatibility = 17;
- public static final int OPENAIRECOMPATIBILITY_FIELD_NUMBER = 17;
- private eu.dnetlib.data.proto.FieldTypeProtos.Qualifier openairecompatibility_;
- public boolean hasOpenairecompatibility() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getOpenairecompatibility() {
- return openairecompatibility_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getOpenairecompatibilityOrBuilder() {
- return openairecompatibility_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField officialname = 1;
- public static final int OFFICIALNAME_FIELD_NUMBER = 1;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField officialname_;
- public boolean hasOfficialname() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getOfficialname() {
- return officialname_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOfficialnameOrBuilder() {
- return officialname_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField englishname = 2;
- public static final int ENGLISHNAME_FIELD_NUMBER = 2;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField englishname_;
- public boolean hasEnglishname() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEnglishname() {
- return englishname_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEnglishnameOrBuilder() {
- return englishname_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField websiteurl = 3;
- public static final int WEBSITEURL_FIELD_NUMBER = 3;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField websiteurl_;
- public boolean hasWebsiteurl() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getWebsiteurl() {
- return websiteurl_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getWebsiteurlOrBuilder() {
- return websiteurl_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField logourl = 4;
- public static final int LOGOURL_FIELD_NUMBER = 4;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField logourl_;
- public boolean hasLogourl() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getLogourl() {
- return logourl_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getLogourlOrBuilder() {
- return logourl_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField contactemail = 5;
- public static final int CONTACTEMAIL_FIELD_NUMBER = 5;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField contactemail_;
- public boolean hasContactemail() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getContactemail() {
- return contactemail_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getContactemailOrBuilder() {
- return contactemail_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField namespaceprefix = 7;
- public static final int NAMESPACEPREFIX_FIELD_NUMBER = 7;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField namespaceprefix_;
- public boolean hasNamespaceprefix() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getNamespaceprefix() {
- return namespaceprefix_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getNamespaceprefixOrBuilder() {
- return namespaceprefix_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField latitude = 18;
- public static final int LATITUDE_FIELD_NUMBER = 18;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField latitude_;
- public boolean hasLatitude() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getLatitude() {
- return latitude_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getLatitudeOrBuilder() {
- return latitude_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField longitude = 19;
- public static final int LONGITUDE_FIELD_NUMBER = 19;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField longitude_;
- public boolean hasLongitude() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getLongitude() {
- return longitude_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getLongitudeOrBuilder() {
- return longitude_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField dateofvalidation = 20;
- public static final int DATEOFVALIDATION_FIELD_NUMBER = 20;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField dateofvalidation_;
- public boolean hasDateofvalidation() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getDateofvalidation() {
- return dateofvalidation_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDateofvalidationOrBuilder() {
- return dateofvalidation_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField description = 21;
- public static final int DESCRIPTION_FIELD_NUMBER = 21;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField description_;
- public boolean hasDescription() {
- return ((bitField0_ & 0x00000800) == 0x00000800);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getDescription() {
- return description_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDescriptionOrBuilder() {
- return description_;
- }
-
- // repeated .eu.dnetlib.data.proto.StructuredProperty subjects = 45;
- public static final int SUBJECTS_FIELD_NUMBER = 45;
- private java.util.List subjects_;
- public java.util.List getSubjectsList() {
- return subjects_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder>
- getSubjectsOrBuilderList() {
- return subjects_;
- }
- public int getSubjectsCount() {
- return subjects_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty getSubjects(int index) {
- return subjects_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder getSubjectsOrBuilder(
- int index) {
- return subjects_.get(index);
- }
-
- // optional .eu.dnetlib.data.proto.StringField odnumberofitems = 9;
- public static final int ODNUMBEROFITEMS_FIELD_NUMBER = 9;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField odnumberofitems_;
- public boolean hasOdnumberofitems() {
- return ((bitField0_ & 0x00001000) == 0x00001000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getOdnumberofitems() {
- return odnumberofitems_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOdnumberofitemsOrBuilder() {
- return odnumberofitems_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField odnumberofitemsdate = 10;
- public static final int ODNUMBEROFITEMSDATE_FIELD_NUMBER = 10;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField odnumberofitemsdate_;
- public boolean hasOdnumberofitemsdate() {
- return ((bitField0_ & 0x00002000) == 0x00002000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getOdnumberofitemsdate() {
- return odnumberofitemsdate_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOdnumberofitemsdateOrBuilder() {
- return odnumberofitemsdate_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField odpolicies = 12;
- public static final int ODPOLICIES_FIELD_NUMBER = 12;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField odpolicies_;
- public boolean hasOdpolicies() {
- return ((bitField0_ & 0x00004000) == 0x00004000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getOdpolicies() {
- return odpolicies_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOdpoliciesOrBuilder() {
- return odpolicies_;
- }
-
- // repeated .eu.dnetlib.data.proto.StringField odlanguages = 13;
- public static final int ODLANGUAGES_FIELD_NUMBER = 13;
- private java.util.List odlanguages_;
- public java.util.List getOdlanguagesList() {
- return odlanguages_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getOdlanguagesOrBuilderList() {
- return odlanguages_;
- }
- public int getOdlanguagesCount() {
- return odlanguages_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getOdlanguages(int index) {
- return odlanguages_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOdlanguagesOrBuilder(
- int index) {
- return odlanguages_.get(index);
- }
-
- // repeated .eu.dnetlib.data.proto.StringField odcontenttypes = 14;
- public static final int ODCONTENTTYPES_FIELD_NUMBER = 14;
- private java.util.List odcontenttypes_;
- public java.util.List getOdcontenttypesList() {
- return odcontenttypes_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getOdcontenttypesOrBuilderList() {
- return odcontenttypes_;
- }
- public int getOdcontenttypesCount() {
- return odcontenttypes_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getOdcontenttypes(int index) {
- return odcontenttypes_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOdcontenttypesOrBuilder(
- int index) {
- return odcontenttypes_.get(index);
- }
-
- // repeated .eu.dnetlib.data.proto.StringField accessinfopackage = 6;
- public static final int ACCESSINFOPACKAGE_FIELD_NUMBER = 6;
- private java.util.List accessinfopackage_;
- public java.util.List getAccessinfopackageList() {
- return accessinfopackage_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getAccessinfopackageOrBuilderList() {
- return accessinfopackage_;
- }
- public int getAccessinfopackageCount() {
- return accessinfopackage_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getAccessinfopackage(int index) {
- return accessinfopackage_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getAccessinfopackageOrBuilder(
- int index) {
- return accessinfopackage_.get(index);
- }
-
- // optional .eu.dnetlib.data.proto.StringField releasestartdate = 31;
- public static final int RELEASESTARTDATE_FIELD_NUMBER = 31;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField releasestartdate_;
- public boolean hasReleasestartdate() {
- return ((bitField0_ & 0x00008000) == 0x00008000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getReleasestartdate() {
- return releasestartdate_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getReleasestartdateOrBuilder() {
- return releasestartdate_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField releaseenddate = 32;
- public static final int RELEASEENDDATE_FIELD_NUMBER = 32;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField releaseenddate_;
- public boolean hasReleaseenddate() {
- return ((bitField0_ & 0x00010000) == 0x00010000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getReleaseenddate() {
- return releaseenddate_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getReleaseenddateOrBuilder() {
- return releaseenddate_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField missionstatementurl = 33;
- public static final int MISSIONSTATEMENTURL_FIELD_NUMBER = 33;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField missionstatementurl_;
- public boolean hasMissionstatementurl() {
- return ((bitField0_ & 0x00020000) == 0x00020000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getMissionstatementurl() {
- return missionstatementurl_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getMissionstatementurlOrBuilder() {
- return missionstatementurl_;
- }
-
- // optional .eu.dnetlib.data.proto.BoolField dataprovider = 34;
- public static final int DATAPROVIDER_FIELD_NUMBER = 34;
- private eu.dnetlib.data.proto.FieldTypeProtos.BoolField dataprovider_;
- public boolean hasDataprovider() {
- return ((bitField0_ & 0x00040000) == 0x00040000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.BoolField getDataprovider() {
- return dataprovider_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.BoolFieldOrBuilder getDataproviderOrBuilder() {
- return dataprovider_;
- }
-
- // optional .eu.dnetlib.data.proto.BoolField serviceprovider = 35;
- public static final int SERVICEPROVIDER_FIELD_NUMBER = 35;
- private eu.dnetlib.data.proto.FieldTypeProtos.BoolField serviceprovider_;
- public boolean hasServiceprovider() {
- return ((bitField0_ & 0x00080000) == 0x00080000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.BoolField getServiceprovider() {
- return serviceprovider_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.BoolFieldOrBuilder getServiceproviderOrBuilder() {
- return serviceprovider_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField databaseaccesstype = 36;
- public static final int DATABASEACCESSTYPE_FIELD_NUMBER = 36;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField databaseaccesstype_;
- public boolean hasDatabaseaccesstype() {
- return ((bitField0_ & 0x00100000) == 0x00100000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getDatabaseaccesstype() {
- return databaseaccesstype_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDatabaseaccesstypeOrBuilder() {
- return databaseaccesstype_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField datauploadtype = 37;
- public static final int DATAUPLOADTYPE_FIELD_NUMBER = 37;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField datauploadtype_;
- public boolean hasDatauploadtype() {
- return ((bitField0_ & 0x00200000) == 0x00200000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getDatauploadtype() {
- return datauploadtype_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDatauploadtypeOrBuilder() {
- return datauploadtype_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField databaseaccessrestriction = 38;
- public static final int DATABASEACCESSRESTRICTION_FIELD_NUMBER = 38;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField databaseaccessrestriction_;
- public boolean hasDatabaseaccessrestriction() {
- return ((bitField0_ & 0x00400000) == 0x00400000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getDatabaseaccessrestriction() {
- return databaseaccessrestriction_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDatabaseaccessrestrictionOrBuilder() {
- return databaseaccessrestriction_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField datauploadrestriction = 39;
- public static final int DATAUPLOADRESTRICTION_FIELD_NUMBER = 39;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField datauploadrestriction_;
- public boolean hasDatauploadrestriction() {
- return ((bitField0_ & 0x00800000) == 0x00800000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getDatauploadrestriction() {
- return datauploadrestriction_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDatauploadrestrictionOrBuilder() {
- return datauploadrestriction_;
- }
-
- // optional .eu.dnetlib.data.proto.BoolField versioning = 40;
- public static final int VERSIONING_FIELD_NUMBER = 40;
- private eu.dnetlib.data.proto.FieldTypeProtos.BoolField versioning_;
- public boolean hasVersioning() {
- return ((bitField0_ & 0x01000000) == 0x01000000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.BoolField getVersioning() {
- return versioning_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.BoolFieldOrBuilder getVersioningOrBuilder() {
- return versioning_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField citationguidelineurl = 41;
- public static final int CITATIONGUIDELINEURL_FIELD_NUMBER = 41;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField citationguidelineurl_;
- public boolean hasCitationguidelineurl() {
- return ((bitField0_ & 0x02000000) == 0x02000000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getCitationguidelineurl() {
- return citationguidelineurl_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getCitationguidelineurlOrBuilder() {
- return citationguidelineurl_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField qualitymanagementkind = 42;
- public static final int QUALITYMANAGEMENTKIND_FIELD_NUMBER = 42;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField qualitymanagementkind_;
- public boolean hasQualitymanagementkind() {
- return ((bitField0_ & 0x04000000) == 0x04000000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getQualitymanagementkind() {
- return qualitymanagementkind_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getQualitymanagementkindOrBuilder() {
- return qualitymanagementkind_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField pidsystems = 43;
- public static final int PIDSYSTEMS_FIELD_NUMBER = 43;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField pidsystems_;
- public boolean hasPidsystems() {
- return ((bitField0_ & 0x08000000) == 0x08000000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getPidsystems() {
- return pidsystems_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getPidsystemsOrBuilder() {
- return pidsystems_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField certificates = 44;
- public static final int CERTIFICATES_FIELD_NUMBER = 44;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField certificates_;
- public boolean hasCertificates() {
- return ((bitField0_ & 0x10000000) == 0x10000000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getCertificates() {
- return certificates_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getCertificatesOrBuilder() {
- return certificates_;
- }
-
- // repeated .eu.dnetlib.data.proto.KeyValue policies = 46;
- public static final int POLICIES_FIELD_NUMBER = 46;
- private java.util.List policies_;
- public java.util.List getPoliciesList() {
- return policies_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder>
- getPoliciesOrBuilderList() {
- return policies_;
- }
- public int getPoliciesCount() {
- return policies_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValue getPolicies(int index) {
- return policies_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder getPoliciesOrBuilder(
- int index) {
- return policies_.get(index);
- }
-
- private void initFields() {
- datasourcetype_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- openairecompatibility_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- officialname_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- englishname_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- websiteurl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- logourl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- contactemail_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- namespaceprefix_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- latitude_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- longitude_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- dateofvalidation_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- description_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- subjects_ = java.util.Collections.emptyList();
- odnumberofitems_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- odnumberofitemsdate_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- odpolicies_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- odlanguages_ = java.util.Collections.emptyList();
- odcontenttypes_ = java.util.Collections.emptyList();
- accessinfopackage_ = java.util.Collections.emptyList();
- releasestartdate_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- releaseenddate_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- missionstatementurl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- dataprovider_ = eu.dnetlib.data.proto.FieldTypeProtos.BoolField.getDefaultInstance();
- serviceprovider_ = eu.dnetlib.data.proto.FieldTypeProtos.BoolField.getDefaultInstance();
- databaseaccesstype_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- datauploadtype_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- databaseaccessrestriction_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- datauploadrestriction_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- versioning_ = eu.dnetlib.data.proto.FieldTypeProtos.BoolField.getDefaultInstance();
- citationguidelineurl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- qualitymanagementkind_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- pidsystems_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- certificates_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- policies_ = java.util.Collections.emptyList();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (hasDatasourcetype()) {
- if (!getDatasourcetype().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasOpenairecompatibility()) {
- if (!getOpenairecompatibility().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasOfficialname()) {
- if (!getOfficialname().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasEnglishname()) {
- if (!getEnglishname().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasWebsiteurl()) {
- if (!getWebsiteurl().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasLogourl()) {
- if (!getLogourl().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasContactemail()) {
- if (!getContactemail().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasNamespaceprefix()) {
- if (!getNamespaceprefix().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasLatitude()) {
- if (!getLatitude().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasLongitude()) {
- if (!getLongitude().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasDateofvalidation()) {
- if (!getDateofvalidation().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasDescription()) {
- if (!getDescription().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getSubjectsCount(); i++) {
- if (!getSubjects(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasOdnumberofitems()) {
- if (!getOdnumberofitems().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasOdnumberofitemsdate()) {
- if (!getOdnumberofitemsdate().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasOdpolicies()) {
- if (!getOdpolicies().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getOdlanguagesCount(); i++) {
- if (!getOdlanguages(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getOdcontenttypesCount(); i++) {
- if (!getOdcontenttypes(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getAccessinfopackageCount(); i++) {
- if (!getAccessinfopackage(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasReleasestartdate()) {
- if (!getReleasestartdate().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasReleaseenddate()) {
- if (!getReleaseenddate().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasMissionstatementurl()) {
- if (!getMissionstatementurl().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasDataprovider()) {
- if (!getDataprovider().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasServiceprovider()) {
- if (!getServiceprovider().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasDatabaseaccesstype()) {
- if (!getDatabaseaccesstype().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasDatauploadtype()) {
- if (!getDatauploadtype().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasDatabaseaccessrestriction()) {
- if (!getDatabaseaccessrestriction().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasDatauploadrestriction()) {
- if (!getDatauploadrestriction().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasVersioning()) {
- if (!getVersioning().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasCitationguidelineurl()) {
- if (!getCitationguidelineurl().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasQualitymanagementkind()) {
- if (!getQualitymanagementkind().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasPidsystems()) {
- if (!getPidsystems().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasCertificates()) {
- if (!getCertificates().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getPoliciesCount(); i++) {
- if (!getPolicies(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeMessage(1, officialname_);
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- output.writeMessage(2, englishname_);
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- output.writeMessage(3, websiteurl_);
- }
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- output.writeMessage(4, logourl_);
- }
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
- output.writeMessage(5, contactemail_);
- }
- for (int i = 0; i < accessinfopackage_.size(); i++) {
- output.writeMessage(6, accessinfopackage_.get(i));
- }
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
- output.writeMessage(7, namespaceprefix_);
- }
- if (((bitField0_ & 0x00001000) == 0x00001000)) {
- output.writeMessage(9, odnumberofitems_);
- }
- if (((bitField0_ & 0x00002000) == 0x00002000)) {
- output.writeMessage(10, odnumberofitemsdate_);
- }
- if (((bitField0_ & 0x00004000) == 0x00004000)) {
- output.writeMessage(12, odpolicies_);
- }
- for (int i = 0; i < odlanguages_.size(); i++) {
- output.writeMessage(13, odlanguages_.get(i));
- }
- for (int i = 0; i < odcontenttypes_.size(); i++) {
- output.writeMessage(14, odcontenttypes_.get(i));
- }
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeMessage(15, datasourcetype_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeMessage(17, openairecompatibility_);
- }
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
- output.writeMessage(18, latitude_);
- }
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
- output.writeMessage(19, longitude_);
- }
- if (((bitField0_ & 0x00000400) == 0x00000400)) {
- output.writeMessage(20, dateofvalidation_);
- }
- if (((bitField0_ & 0x00000800) == 0x00000800)) {
- output.writeMessage(21, description_);
- }
- if (((bitField0_ & 0x00008000) == 0x00008000)) {
- output.writeMessage(31, releasestartdate_);
- }
- if (((bitField0_ & 0x00010000) == 0x00010000)) {
- output.writeMessage(32, releaseenddate_);
- }
- if (((bitField0_ & 0x00020000) == 0x00020000)) {
- output.writeMessage(33, missionstatementurl_);
- }
- if (((bitField0_ & 0x00040000) == 0x00040000)) {
- output.writeMessage(34, dataprovider_);
- }
- if (((bitField0_ & 0x00080000) == 0x00080000)) {
- output.writeMessage(35, serviceprovider_);
- }
- if (((bitField0_ & 0x00100000) == 0x00100000)) {
- output.writeMessage(36, databaseaccesstype_);
- }
- if (((bitField0_ & 0x00200000) == 0x00200000)) {
- output.writeMessage(37, datauploadtype_);
- }
- if (((bitField0_ & 0x00400000) == 0x00400000)) {
- output.writeMessage(38, databaseaccessrestriction_);
- }
- if (((bitField0_ & 0x00800000) == 0x00800000)) {
- output.writeMessage(39, datauploadrestriction_);
- }
- if (((bitField0_ & 0x01000000) == 0x01000000)) {
- output.writeMessage(40, versioning_);
- }
- if (((bitField0_ & 0x02000000) == 0x02000000)) {
- output.writeMessage(41, citationguidelineurl_);
- }
- if (((bitField0_ & 0x04000000) == 0x04000000)) {
- output.writeMessage(42, qualitymanagementkind_);
- }
- if (((bitField0_ & 0x08000000) == 0x08000000)) {
- output.writeMessage(43, pidsystems_);
- }
- if (((bitField0_ & 0x10000000) == 0x10000000)) {
- output.writeMessage(44, certificates_);
- }
- for (int i = 0; i < subjects_.size(); i++) {
- output.writeMessage(45, subjects_.get(i));
- }
- for (int i = 0; i < policies_.size(); i++) {
- output.writeMessage(46, policies_.get(i));
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, officialname_);
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, englishname_);
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, websiteurl_);
- }
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(4, logourl_);
- }
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(5, contactemail_);
- }
- for (int i = 0; i < accessinfopackage_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(6, accessinfopackage_.get(i));
- }
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(7, namespaceprefix_);
- }
- if (((bitField0_ & 0x00001000) == 0x00001000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(9, odnumberofitems_);
- }
- if (((bitField0_ & 0x00002000) == 0x00002000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(10, odnumberofitemsdate_);
- }
- if (((bitField0_ & 0x00004000) == 0x00004000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(12, odpolicies_);
- }
- for (int i = 0; i < odlanguages_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(13, odlanguages_.get(i));
- }
- for (int i = 0; i < odcontenttypes_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(14, odcontenttypes_.get(i));
- }
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(15, datasourcetype_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(17, openairecompatibility_);
- }
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(18, latitude_);
- }
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(19, longitude_);
- }
- if (((bitField0_ & 0x00000400) == 0x00000400)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(20, dateofvalidation_);
- }
- if (((bitField0_ & 0x00000800) == 0x00000800)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(21, description_);
- }
- if (((bitField0_ & 0x00008000) == 0x00008000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(31, releasestartdate_);
- }
- if (((bitField0_ & 0x00010000) == 0x00010000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(32, releaseenddate_);
- }
- if (((bitField0_ & 0x00020000) == 0x00020000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(33, missionstatementurl_);
- }
- if (((bitField0_ & 0x00040000) == 0x00040000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(34, dataprovider_);
- }
- if (((bitField0_ & 0x00080000) == 0x00080000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(35, serviceprovider_);
- }
- if (((bitField0_ & 0x00100000) == 0x00100000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(36, databaseaccesstype_);
- }
- if (((bitField0_ & 0x00200000) == 0x00200000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(37, datauploadtype_);
- }
- if (((bitField0_ & 0x00400000) == 0x00400000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(38, databaseaccessrestriction_);
- }
- if (((bitField0_ & 0x00800000) == 0x00800000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(39, datauploadrestriction_);
- }
- if (((bitField0_ & 0x01000000) == 0x01000000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(40, versioning_);
- }
- if (((bitField0_ & 0x02000000) == 0x02000000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(41, citationguidelineurl_);
- }
- if (((bitField0_ & 0x04000000) == 0x04000000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(42, qualitymanagementkind_);
- }
- if (((bitField0_ & 0x08000000) == 0x08000000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(43, pidsystems_);
- }
- if (((bitField0_ & 0x10000000) == 0x10000000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(44, certificates_);
- }
- for (int i = 0; i < subjects_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(45, subjects_.get(i));
- }
- for (int i = 0; i < policies_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(46, policies_.get(i));
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.DatasourceProtos.Datasource.MetadataOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.DatasourceProtos.internal_static_eu_dnetlib_data_proto_Datasource_Metadata_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.DatasourceProtos.internal_static_eu_dnetlib_data_proto_Datasource_Metadata_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getDatasourcetypeFieldBuilder();
- getOpenairecompatibilityFieldBuilder();
- getOfficialnameFieldBuilder();
- getEnglishnameFieldBuilder();
- getWebsiteurlFieldBuilder();
- getLogourlFieldBuilder();
- getContactemailFieldBuilder();
- getNamespaceprefixFieldBuilder();
- getLatitudeFieldBuilder();
- getLongitudeFieldBuilder();
- getDateofvalidationFieldBuilder();
- getDescriptionFieldBuilder();
- getSubjectsFieldBuilder();
- getOdnumberofitemsFieldBuilder();
- getOdnumberofitemsdateFieldBuilder();
- getOdpoliciesFieldBuilder();
- getOdlanguagesFieldBuilder();
- getOdcontenttypesFieldBuilder();
- getAccessinfopackageFieldBuilder();
- getReleasestartdateFieldBuilder();
- getReleaseenddateFieldBuilder();
- getMissionstatementurlFieldBuilder();
- getDataproviderFieldBuilder();
- getServiceproviderFieldBuilder();
- getDatabaseaccesstypeFieldBuilder();
- getDatauploadtypeFieldBuilder();
- getDatabaseaccessrestrictionFieldBuilder();
- getDatauploadrestrictionFieldBuilder();
- getVersioningFieldBuilder();
- getCitationguidelineurlFieldBuilder();
- getQualitymanagementkindFieldBuilder();
- getPidsystemsFieldBuilder();
- getCertificatesFieldBuilder();
- getPoliciesFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- if (datasourcetypeBuilder_ == null) {
- datasourcetype_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- } else {
- datasourcetypeBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- if (openairecompatibilityBuilder_ == null) {
- openairecompatibility_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- } else {
- openairecompatibilityBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000002);
- if (officialnameBuilder_ == null) {
- officialname_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- officialnameBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000004);
- if (englishnameBuilder_ == null) {
- englishname_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- englishnameBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000008);
- if (websiteurlBuilder_ == null) {
- websiteurl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- websiteurlBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000010);
- if (logourlBuilder_ == null) {
- logourl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- logourlBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000020);
- if (contactemailBuilder_ == null) {
- contactemail_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- contactemailBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000040);
- if (namespaceprefixBuilder_ == null) {
- namespaceprefix_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- namespaceprefixBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000080);
- if (latitudeBuilder_ == null) {
- latitude_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- latitudeBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000100);
- if (longitudeBuilder_ == null) {
- longitude_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- longitudeBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000200);
- if (dateofvalidationBuilder_ == null) {
- dateofvalidation_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- dateofvalidationBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000400);
- if (descriptionBuilder_ == null) {
- description_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- descriptionBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000800);
- if (subjectsBuilder_ == null) {
- subjects_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00001000);
- } else {
- subjectsBuilder_.clear();
- }
- if (odnumberofitemsBuilder_ == null) {
- odnumberofitems_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- odnumberofitemsBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00002000);
- if (odnumberofitemsdateBuilder_ == null) {
- odnumberofitemsdate_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- odnumberofitemsdateBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00004000);
- if (odpoliciesBuilder_ == null) {
- odpolicies_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- odpoliciesBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00008000);
- if (odlanguagesBuilder_ == null) {
- odlanguages_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00010000);
- } else {
- odlanguagesBuilder_.clear();
- }
- if (odcontenttypesBuilder_ == null) {
- odcontenttypes_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00020000);
- } else {
- odcontenttypesBuilder_.clear();
- }
- if (accessinfopackageBuilder_ == null) {
- accessinfopackage_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00040000);
- } else {
- accessinfopackageBuilder_.clear();
- }
- if (releasestartdateBuilder_ == null) {
- releasestartdate_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- releasestartdateBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00080000);
- if (releaseenddateBuilder_ == null) {
- releaseenddate_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- releaseenddateBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00100000);
- if (missionstatementurlBuilder_ == null) {
- missionstatementurl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- missionstatementurlBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00200000);
- if (dataproviderBuilder_ == null) {
- dataprovider_ = eu.dnetlib.data.proto.FieldTypeProtos.BoolField.getDefaultInstance();
- } else {
- dataproviderBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00400000);
- if (serviceproviderBuilder_ == null) {
- serviceprovider_ = eu.dnetlib.data.proto.FieldTypeProtos.BoolField.getDefaultInstance();
- } else {
- serviceproviderBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00800000);
- if (databaseaccesstypeBuilder_ == null) {
- databaseaccesstype_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- databaseaccesstypeBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x01000000);
- if (datauploadtypeBuilder_ == null) {
- datauploadtype_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- datauploadtypeBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x02000000);
- if (databaseaccessrestrictionBuilder_ == null) {
- databaseaccessrestriction_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- databaseaccessrestrictionBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x04000000);
- if (datauploadrestrictionBuilder_ == null) {
- datauploadrestriction_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- datauploadrestrictionBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x08000000);
- if (versioningBuilder_ == null) {
- versioning_ = eu.dnetlib.data.proto.FieldTypeProtos.BoolField.getDefaultInstance();
- } else {
- versioningBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x10000000);
- if (citationguidelineurlBuilder_ == null) {
- citationguidelineurl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- citationguidelineurlBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x20000000);
- if (qualitymanagementkindBuilder_ == null) {
- qualitymanagementkind_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- qualitymanagementkindBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x40000000);
- if (pidsystemsBuilder_ == null) {
- pidsystems_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- pidsystemsBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x80000000);
- if (certificatesBuilder_ == null) {
- certificates_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- certificatesBuilder_.clear();
- }
- bitField1_ = (bitField1_ & ~0x00000001);
- if (policiesBuilder_ == null) {
- policies_ = java.util.Collections.emptyList();
- bitField1_ = (bitField1_ & ~0x00000002);
- } else {
- policiesBuilder_.clear();
- }
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata build() {
- eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata buildPartial() {
- eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata result = new eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata(this);
- int from_bitField0_ = bitField0_;
- int from_bitField1_ = bitField1_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- if (datasourcetypeBuilder_ == null) {
- result.datasourcetype_ = datasourcetype_;
- } else {
- result.datasourcetype_ = datasourcetypeBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- if (openairecompatibilityBuilder_ == null) {
- result.openairecompatibility_ = openairecompatibility_;
- } else {
- result.openairecompatibility_ = openairecompatibilityBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
- to_bitField0_ |= 0x00000004;
- }
- if (officialnameBuilder_ == null) {
- result.officialname_ = officialname_;
- } else {
- result.officialname_ = officialnameBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
- to_bitField0_ |= 0x00000008;
- }
- if (englishnameBuilder_ == null) {
- result.englishname_ = englishname_;
- } else {
- result.englishname_ = englishnameBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
- to_bitField0_ |= 0x00000010;
- }
- if (websiteurlBuilder_ == null) {
- result.websiteurl_ = websiteurl_;
- } else {
- result.websiteurl_ = websiteurlBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
- to_bitField0_ |= 0x00000020;
- }
- if (logourlBuilder_ == null) {
- result.logourl_ = logourl_;
- } else {
- result.logourl_ = logourlBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
- to_bitField0_ |= 0x00000040;
- }
- if (contactemailBuilder_ == null) {
- result.contactemail_ = contactemail_;
- } else {
- result.contactemail_ = contactemailBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
- to_bitField0_ |= 0x00000080;
- }
- if (namespaceprefixBuilder_ == null) {
- result.namespaceprefix_ = namespaceprefix_;
- } else {
- result.namespaceprefix_ = namespaceprefixBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
- to_bitField0_ |= 0x00000100;
- }
- if (latitudeBuilder_ == null) {
- result.latitude_ = latitude_;
- } else {
- result.latitude_ = latitudeBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
- to_bitField0_ |= 0x00000200;
- }
- if (longitudeBuilder_ == null) {
- result.longitude_ = longitude_;
- } else {
- result.longitude_ = longitudeBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
- to_bitField0_ |= 0x00000400;
- }
- if (dateofvalidationBuilder_ == null) {
- result.dateofvalidation_ = dateofvalidation_;
- } else {
- result.dateofvalidation_ = dateofvalidationBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
- to_bitField0_ |= 0x00000800;
- }
- if (descriptionBuilder_ == null) {
- result.description_ = description_;
- } else {
- result.description_ = descriptionBuilder_.build();
- }
- if (subjectsBuilder_ == null) {
- if (((bitField0_ & 0x00001000) == 0x00001000)) {
- subjects_ = java.util.Collections.unmodifiableList(subjects_);
- bitField0_ = (bitField0_ & ~0x00001000);
- }
- result.subjects_ = subjects_;
- } else {
- result.subjects_ = subjectsBuilder_.build();
- }
- if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
- to_bitField0_ |= 0x00001000;
- }
- if (odnumberofitemsBuilder_ == null) {
- result.odnumberofitems_ = odnumberofitems_;
- } else {
- result.odnumberofitems_ = odnumberofitemsBuilder_.build();
- }
- if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
- to_bitField0_ |= 0x00002000;
- }
- if (odnumberofitemsdateBuilder_ == null) {
- result.odnumberofitemsdate_ = odnumberofitemsdate_;
- } else {
- result.odnumberofitemsdate_ = odnumberofitemsdateBuilder_.build();
- }
- if (((from_bitField0_ & 0x00008000) == 0x00008000)) {
- to_bitField0_ |= 0x00004000;
- }
- if (odpoliciesBuilder_ == null) {
- result.odpolicies_ = odpolicies_;
- } else {
- result.odpolicies_ = odpoliciesBuilder_.build();
- }
- if (odlanguagesBuilder_ == null) {
- if (((bitField0_ & 0x00010000) == 0x00010000)) {
- odlanguages_ = java.util.Collections.unmodifiableList(odlanguages_);
- bitField0_ = (bitField0_ & ~0x00010000);
- }
- result.odlanguages_ = odlanguages_;
- } else {
- result.odlanguages_ = odlanguagesBuilder_.build();
- }
- if (odcontenttypesBuilder_ == null) {
- if (((bitField0_ & 0x00020000) == 0x00020000)) {
- odcontenttypes_ = java.util.Collections.unmodifiableList(odcontenttypes_);
- bitField0_ = (bitField0_ & ~0x00020000);
- }
- result.odcontenttypes_ = odcontenttypes_;
- } else {
- result.odcontenttypes_ = odcontenttypesBuilder_.build();
- }
- if (accessinfopackageBuilder_ == null) {
- if (((bitField0_ & 0x00040000) == 0x00040000)) {
- accessinfopackage_ = java.util.Collections.unmodifiableList(accessinfopackage_);
- bitField0_ = (bitField0_ & ~0x00040000);
- }
- result.accessinfopackage_ = accessinfopackage_;
- } else {
- result.accessinfopackage_ = accessinfopackageBuilder_.build();
- }
- if (((from_bitField0_ & 0x00080000) == 0x00080000)) {
- to_bitField0_ |= 0x00008000;
- }
- if (releasestartdateBuilder_ == null) {
- result.releasestartdate_ = releasestartdate_;
- } else {
- result.releasestartdate_ = releasestartdateBuilder_.build();
- }
- if (((from_bitField0_ & 0x00100000) == 0x00100000)) {
- to_bitField0_ |= 0x00010000;
- }
- if (releaseenddateBuilder_ == null) {
- result.releaseenddate_ = releaseenddate_;
- } else {
- result.releaseenddate_ = releaseenddateBuilder_.build();
- }
- if (((from_bitField0_ & 0x00200000) == 0x00200000)) {
- to_bitField0_ |= 0x00020000;
- }
- if (missionstatementurlBuilder_ == null) {
- result.missionstatementurl_ = missionstatementurl_;
- } else {
- result.missionstatementurl_ = missionstatementurlBuilder_.build();
- }
- if (((from_bitField0_ & 0x00400000) == 0x00400000)) {
- to_bitField0_ |= 0x00040000;
- }
- if (dataproviderBuilder_ == null) {
- result.dataprovider_ = dataprovider_;
- } else {
- result.dataprovider_ = dataproviderBuilder_.build();
- }
- if (((from_bitField0_ & 0x00800000) == 0x00800000)) {
- to_bitField0_ |= 0x00080000;
- }
- if (serviceproviderBuilder_ == null) {
- result.serviceprovider_ = serviceprovider_;
- } else {
- result.serviceprovider_ = serviceproviderBuilder_.build();
- }
- if (((from_bitField0_ & 0x01000000) == 0x01000000)) {
- to_bitField0_ |= 0x00100000;
- }
- if (databaseaccesstypeBuilder_ == null) {
- result.databaseaccesstype_ = databaseaccesstype_;
- } else {
- result.databaseaccesstype_ = databaseaccesstypeBuilder_.build();
- }
- if (((from_bitField0_ & 0x02000000) == 0x02000000)) {
- to_bitField0_ |= 0x00200000;
- }
- if (datauploadtypeBuilder_ == null) {
- result.datauploadtype_ = datauploadtype_;
- } else {
- result.datauploadtype_ = datauploadtypeBuilder_.build();
- }
- if (((from_bitField0_ & 0x04000000) == 0x04000000)) {
- to_bitField0_ |= 0x00400000;
- }
- if (databaseaccessrestrictionBuilder_ == null) {
- result.databaseaccessrestriction_ = databaseaccessrestriction_;
- } else {
- result.databaseaccessrestriction_ = databaseaccessrestrictionBuilder_.build();
- }
- if (((from_bitField0_ & 0x08000000) == 0x08000000)) {
- to_bitField0_ |= 0x00800000;
- }
- if (datauploadrestrictionBuilder_ == null) {
- result.datauploadrestriction_ = datauploadrestriction_;
- } else {
- result.datauploadrestriction_ = datauploadrestrictionBuilder_.build();
- }
- if (((from_bitField0_ & 0x10000000) == 0x10000000)) {
- to_bitField0_ |= 0x01000000;
- }
- if (versioningBuilder_ == null) {
- result.versioning_ = versioning_;
- } else {
- result.versioning_ = versioningBuilder_.build();
- }
- if (((from_bitField0_ & 0x20000000) == 0x20000000)) {
- to_bitField0_ |= 0x02000000;
- }
- if (citationguidelineurlBuilder_ == null) {
- result.citationguidelineurl_ = citationguidelineurl_;
- } else {
- result.citationguidelineurl_ = citationguidelineurlBuilder_.build();
- }
- if (((from_bitField0_ & 0x40000000) == 0x40000000)) {
- to_bitField0_ |= 0x04000000;
- }
- if (qualitymanagementkindBuilder_ == null) {
- result.qualitymanagementkind_ = qualitymanagementkind_;
- } else {
- result.qualitymanagementkind_ = qualitymanagementkindBuilder_.build();
- }
- if (((from_bitField0_ & 0x80000000) == 0x80000000)) {
- to_bitField0_ |= 0x08000000;
- }
- if (pidsystemsBuilder_ == null) {
- result.pidsystems_ = pidsystems_;
- } else {
- result.pidsystems_ = pidsystemsBuilder_.build();
- }
- if (((from_bitField1_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x10000000;
- }
- if (certificatesBuilder_ == null) {
- result.certificates_ = certificates_;
- } else {
- result.certificates_ = certificatesBuilder_.build();
- }
- if (policiesBuilder_ == null) {
- if (((bitField1_ & 0x00000002) == 0x00000002)) {
- policies_ = java.util.Collections.unmodifiableList(policies_);
- bitField1_ = (bitField1_ & ~0x00000002);
- }
- result.policies_ = policies_;
- } else {
- result.policies_ = policiesBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata) {
- return mergeFrom((eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata other) {
- if (other == eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata.getDefaultInstance()) return this;
- if (other.hasDatasourcetype()) {
- mergeDatasourcetype(other.getDatasourcetype());
- }
- if (other.hasOpenairecompatibility()) {
- mergeOpenairecompatibility(other.getOpenairecompatibility());
- }
- if (other.hasOfficialname()) {
- mergeOfficialname(other.getOfficialname());
- }
- if (other.hasEnglishname()) {
- mergeEnglishname(other.getEnglishname());
- }
- if (other.hasWebsiteurl()) {
- mergeWebsiteurl(other.getWebsiteurl());
- }
- if (other.hasLogourl()) {
- mergeLogourl(other.getLogourl());
- }
- if (other.hasContactemail()) {
- mergeContactemail(other.getContactemail());
- }
- if (other.hasNamespaceprefix()) {
- mergeNamespaceprefix(other.getNamespaceprefix());
- }
- if (other.hasLatitude()) {
- mergeLatitude(other.getLatitude());
- }
- if (other.hasLongitude()) {
- mergeLongitude(other.getLongitude());
- }
- if (other.hasDateofvalidation()) {
- mergeDateofvalidation(other.getDateofvalidation());
- }
- if (other.hasDescription()) {
- mergeDescription(other.getDescription());
- }
- if (subjectsBuilder_ == null) {
- if (!other.subjects_.isEmpty()) {
- if (subjects_.isEmpty()) {
- subjects_ = other.subjects_;
- bitField0_ = (bitField0_ & ~0x00001000);
- } else {
- ensureSubjectsIsMutable();
- subjects_.addAll(other.subjects_);
- }
- onChanged();
- }
- } else {
- if (!other.subjects_.isEmpty()) {
- if (subjectsBuilder_.isEmpty()) {
- subjectsBuilder_.dispose();
- subjectsBuilder_ = null;
- subjects_ = other.subjects_;
- bitField0_ = (bitField0_ & ~0x00001000);
- subjectsBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getSubjectsFieldBuilder() : null;
- } else {
- subjectsBuilder_.addAllMessages(other.subjects_);
- }
- }
- }
- if (other.hasOdnumberofitems()) {
- mergeOdnumberofitems(other.getOdnumberofitems());
- }
- if (other.hasOdnumberofitemsdate()) {
- mergeOdnumberofitemsdate(other.getOdnumberofitemsdate());
- }
- if (other.hasOdpolicies()) {
- mergeOdpolicies(other.getOdpolicies());
- }
- if (odlanguagesBuilder_ == null) {
- if (!other.odlanguages_.isEmpty()) {
- if (odlanguages_.isEmpty()) {
- odlanguages_ = other.odlanguages_;
- bitField0_ = (bitField0_ & ~0x00010000);
- } else {
- ensureOdlanguagesIsMutable();
- odlanguages_.addAll(other.odlanguages_);
- }
- onChanged();
- }
- } else {
- if (!other.odlanguages_.isEmpty()) {
- if (odlanguagesBuilder_.isEmpty()) {
- odlanguagesBuilder_.dispose();
- odlanguagesBuilder_ = null;
- odlanguages_ = other.odlanguages_;
- bitField0_ = (bitField0_ & ~0x00010000);
- odlanguagesBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getOdlanguagesFieldBuilder() : null;
- } else {
- odlanguagesBuilder_.addAllMessages(other.odlanguages_);
- }
- }
- }
- if (odcontenttypesBuilder_ == null) {
- if (!other.odcontenttypes_.isEmpty()) {
- if (odcontenttypes_.isEmpty()) {
- odcontenttypes_ = other.odcontenttypes_;
- bitField0_ = (bitField0_ & ~0x00020000);
- } else {
- ensureOdcontenttypesIsMutable();
- odcontenttypes_.addAll(other.odcontenttypes_);
- }
- onChanged();
- }
- } else {
- if (!other.odcontenttypes_.isEmpty()) {
- if (odcontenttypesBuilder_.isEmpty()) {
- odcontenttypesBuilder_.dispose();
- odcontenttypesBuilder_ = null;
- odcontenttypes_ = other.odcontenttypes_;
- bitField0_ = (bitField0_ & ~0x00020000);
- odcontenttypesBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getOdcontenttypesFieldBuilder() : null;
- } else {
- odcontenttypesBuilder_.addAllMessages(other.odcontenttypes_);
- }
- }
- }
- if (accessinfopackageBuilder_ == null) {
- if (!other.accessinfopackage_.isEmpty()) {
- if (accessinfopackage_.isEmpty()) {
- accessinfopackage_ = other.accessinfopackage_;
- bitField0_ = (bitField0_ & ~0x00040000);
- } else {
- ensureAccessinfopackageIsMutable();
- accessinfopackage_.addAll(other.accessinfopackage_);
- }
- onChanged();
- }
- } else {
- if (!other.accessinfopackage_.isEmpty()) {
- if (accessinfopackageBuilder_.isEmpty()) {
- accessinfopackageBuilder_.dispose();
- accessinfopackageBuilder_ = null;
- accessinfopackage_ = other.accessinfopackage_;
- bitField0_ = (bitField0_ & ~0x00040000);
- accessinfopackageBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getAccessinfopackageFieldBuilder() : null;
- } else {
- accessinfopackageBuilder_.addAllMessages(other.accessinfopackage_);
- }
- }
- }
- if (other.hasReleasestartdate()) {
- mergeReleasestartdate(other.getReleasestartdate());
- }
- if (other.hasReleaseenddate()) {
- mergeReleaseenddate(other.getReleaseenddate());
- }
- if (other.hasMissionstatementurl()) {
- mergeMissionstatementurl(other.getMissionstatementurl());
- }
- if (other.hasDataprovider()) {
- mergeDataprovider(other.getDataprovider());
- }
- if (other.hasServiceprovider()) {
- mergeServiceprovider(other.getServiceprovider());
- }
- if (other.hasDatabaseaccesstype()) {
- mergeDatabaseaccesstype(other.getDatabaseaccesstype());
- }
- if (other.hasDatauploadtype()) {
- mergeDatauploadtype(other.getDatauploadtype());
- }
- if (other.hasDatabaseaccessrestriction()) {
- mergeDatabaseaccessrestriction(other.getDatabaseaccessrestriction());
- }
- if (other.hasDatauploadrestriction()) {
- mergeDatauploadrestriction(other.getDatauploadrestriction());
- }
- if (other.hasVersioning()) {
- mergeVersioning(other.getVersioning());
- }
- if (other.hasCitationguidelineurl()) {
- mergeCitationguidelineurl(other.getCitationguidelineurl());
- }
- if (other.hasQualitymanagementkind()) {
- mergeQualitymanagementkind(other.getQualitymanagementkind());
- }
- if (other.hasPidsystems()) {
- mergePidsystems(other.getPidsystems());
- }
- if (other.hasCertificates()) {
- mergeCertificates(other.getCertificates());
- }
- if (policiesBuilder_ == null) {
- if (!other.policies_.isEmpty()) {
- if (policies_.isEmpty()) {
- policies_ = other.policies_;
- bitField1_ = (bitField1_ & ~0x00000002);
- } else {
- ensurePoliciesIsMutable();
- policies_.addAll(other.policies_);
- }
- onChanged();
- }
- } else {
- if (!other.policies_.isEmpty()) {
- if (policiesBuilder_.isEmpty()) {
- policiesBuilder_.dispose();
- policiesBuilder_ = null;
- policies_ = other.policies_;
- bitField1_ = (bitField1_ & ~0x00000002);
- policiesBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getPoliciesFieldBuilder() : null;
- } else {
- policiesBuilder_.addAllMessages(other.policies_);
- }
- }
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (hasDatasourcetype()) {
- if (!getDatasourcetype().isInitialized()) {
-
- return false;
- }
- }
- if (hasOpenairecompatibility()) {
- if (!getOpenairecompatibility().isInitialized()) {
-
- return false;
- }
- }
- if (hasOfficialname()) {
- if (!getOfficialname().isInitialized()) {
-
- return false;
- }
- }
- if (hasEnglishname()) {
- if (!getEnglishname().isInitialized()) {
-
- return false;
- }
- }
- if (hasWebsiteurl()) {
- if (!getWebsiteurl().isInitialized()) {
-
- return false;
- }
- }
- if (hasLogourl()) {
- if (!getLogourl().isInitialized()) {
-
- return false;
- }
- }
- if (hasContactemail()) {
- if (!getContactemail().isInitialized()) {
-
- return false;
- }
- }
- if (hasNamespaceprefix()) {
- if (!getNamespaceprefix().isInitialized()) {
-
- return false;
- }
- }
- if (hasLatitude()) {
- if (!getLatitude().isInitialized()) {
-
- return false;
- }
- }
- if (hasLongitude()) {
- if (!getLongitude().isInitialized()) {
-
- return false;
- }
- }
- if (hasDateofvalidation()) {
- if (!getDateofvalidation().isInitialized()) {
-
- return false;
- }
- }
- if (hasDescription()) {
- if (!getDescription().isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getSubjectsCount(); i++) {
- if (!getSubjects(i).isInitialized()) {
-
- return false;
- }
- }
- if (hasOdnumberofitems()) {
- if (!getOdnumberofitems().isInitialized()) {
-
- return false;
- }
- }
- if (hasOdnumberofitemsdate()) {
- if (!getOdnumberofitemsdate().isInitialized()) {
-
- return false;
- }
- }
- if (hasOdpolicies()) {
- if (!getOdpolicies().isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getOdlanguagesCount(); i++) {
- if (!getOdlanguages(i).isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getOdcontenttypesCount(); i++) {
- if (!getOdcontenttypes(i).isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getAccessinfopackageCount(); i++) {
- if (!getAccessinfopackage(i).isInitialized()) {
-
- return false;
- }
- }
- if (hasReleasestartdate()) {
- if (!getReleasestartdate().isInitialized()) {
-
- return false;
- }
- }
- if (hasReleaseenddate()) {
- if (!getReleaseenddate().isInitialized()) {
-
- return false;
- }
- }
- if (hasMissionstatementurl()) {
- if (!getMissionstatementurl().isInitialized()) {
-
- return false;
- }
- }
- if (hasDataprovider()) {
- if (!getDataprovider().isInitialized()) {
-
- return false;
- }
- }
- if (hasServiceprovider()) {
- if (!getServiceprovider().isInitialized()) {
-
- return false;
- }
- }
- if (hasDatabaseaccesstype()) {
- if (!getDatabaseaccesstype().isInitialized()) {
-
- return false;
- }
- }
- if (hasDatauploadtype()) {
- if (!getDatauploadtype().isInitialized()) {
-
- return false;
- }
- }
- if (hasDatabaseaccessrestriction()) {
- if (!getDatabaseaccessrestriction().isInitialized()) {
-
- return false;
- }
- }
- if (hasDatauploadrestriction()) {
- if (!getDatauploadrestriction().isInitialized()) {
-
- return false;
- }
- }
- if (hasVersioning()) {
- if (!getVersioning().isInitialized()) {
-
- return false;
- }
- }
- if (hasCitationguidelineurl()) {
- if (!getCitationguidelineurl().isInitialized()) {
-
- return false;
- }
- }
- if (hasQualitymanagementkind()) {
- if (!getQualitymanagementkind().isInitialized()) {
-
- return false;
- }
- }
- if (hasPidsystems()) {
- if (!getPidsystems().isInitialized()) {
-
- return false;
- }
- }
- if (hasCertificates()) {
- if (!getCertificates().isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getPoliciesCount(); i++) {
- if (!getPolicies(i).isInitialized()) {
-
- return false;
- }
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 10: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasOfficialname()) {
- subBuilder.mergeFrom(getOfficialname());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setOfficialname(subBuilder.buildPartial());
- break;
- }
- case 18: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasEnglishname()) {
- subBuilder.mergeFrom(getEnglishname());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setEnglishname(subBuilder.buildPartial());
- break;
- }
- case 26: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasWebsiteurl()) {
- subBuilder.mergeFrom(getWebsiteurl());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setWebsiteurl(subBuilder.buildPartial());
- break;
- }
- case 34: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasLogourl()) {
- subBuilder.mergeFrom(getLogourl());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setLogourl(subBuilder.buildPartial());
- break;
- }
- case 42: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasContactemail()) {
- subBuilder.mergeFrom(getContactemail());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setContactemail(subBuilder.buildPartial());
- break;
- }
- case 50: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addAccessinfopackage(subBuilder.buildPartial());
- break;
- }
- case 58: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasNamespaceprefix()) {
- subBuilder.mergeFrom(getNamespaceprefix());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setNamespaceprefix(subBuilder.buildPartial());
- break;
- }
- case 74: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasOdnumberofitems()) {
- subBuilder.mergeFrom(getOdnumberofitems());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setOdnumberofitems(subBuilder.buildPartial());
- break;
- }
- case 82: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasOdnumberofitemsdate()) {
- subBuilder.mergeFrom(getOdnumberofitemsdate());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setOdnumberofitemsdate(subBuilder.buildPartial());
- break;
- }
- case 98: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasOdpolicies()) {
- subBuilder.mergeFrom(getOdpolicies());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setOdpolicies(subBuilder.buildPartial());
- break;
- }
- case 106: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addOdlanguages(subBuilder.buildPartial());
- break;
- }
- case 114: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addOdcontenttypes(subBuilder.buildPartial());
- break;
- }
- case 122: {
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.newBuilder();
- if (hasDatasourcetype()) {
- subBuilder.mergeFrom(getDatasourcetype());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setDatasourcetype(subBuilder.buildPartial());
- break;
- }
- case 138: {
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.newBuilder();
- if (hasOpenairecompatibility()) {
- subBuilder.mergeFrom(getOpenairecompatibility());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setOpenairecompatibility(subBuilder.buildPartial());
- break;
- }
- case 146: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasLatitude()) {
- subBuilder.mergeFrom(getLatitude());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setLatitude(subBuilder.buildPartial());
- break;
- }
- case 154: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasLongitude()) {
- subBuilder.mergeFrom(getLongitude());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setLongitude(subBuilder.buildPartial());
- break;
- }
- case 162: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasDateofvalidation()) {
- subBuilder.mergeFrom(getDateofvalidation());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setDateofvalidation(subBuilder.buildPartial());
- break;
- }
- case 170: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasDescription()) {
- subBuilder.mergeFrom(getDescription());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setDescription(subBuilder.buildPartial());
- break;
- }
- case 250: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasReleasestartdate()) {
- subBuilder.mergeFrom(getReleasestartdate());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setReleasestartdate(subBuilder.buildPartial());
- break;
- }
- case 258: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasReleaseenddate()) {
- subBuilder.mergeFrom(getReleaseenddate());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setReleaseenddate(subBuilder.buildPartial());
- break;
- }
- case 266: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasMissionstatementurl()) {
- subBuilder.mergeFrom(getMissionstatementurl());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setMissionstatementurl(subBuilder.buildPartial());
- break;
- }
- case 274: {
- eu.dnetlib.data.proto.FieldTypeProtos.BoolField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.BoolField.newBuilder();
- if (hasDataprovider()) {
- subBuilder.mergeFrom(getDataprovider());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setDataprovider(subBuilder.buildPartial());
- break;
- }
- case 282: {
- eu.dnetlib.data.proto.FieldTypeProtos.BoolField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.BoolField.newBuilder();
- if (hasServiceprovider()) {
- subBuilder.mergeFrom(getServiceprovider());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setServiceprovider(subBuilder.buildPartial());
- break;
- }
- case 290: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasDatabaseaccesstype()) {
- subBuilder.mergeFrom(getDatabaseaccesstype());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setDatabaseaccesstype(subBuilder.buildPartial());
- break;
- }
- case 298: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasDatauploadtype()) {
- subBuilder.mergeFrom(getDatauploadtype());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setDatauploadtype(subBuilder.buildPartial());
- break;
- }
- case 306: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasDatabaseaccessrestriction()) {
- subBuilder.mergeFrom(getDatabaseaccessrestriction());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setDatabaseaccessrestriction(subBuilder.buildPartial());
- break;
- }
- case 314: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasDatauploadrestriction()) {
- subBuilder.mergeFrom(getDatauploadrestriction());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setDatauploadrestriction(subBuilder.buildPartial());
- break;
- }
- case 322: {
- eu.dnetlib.data.proto.FieldTypeProtos.BoolField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.BoolField.newBuilder();
- if (hasVersioning()) {
- subBuilder.mergeFrom(getVersioning());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setVersioning(subBuilder.buildPartial());
- break;
- }
- case 330: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasCitationguidelineurl()) {
- subBuilder.mergeFrom(getCitationguidelineurl());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setCitationguidelineurl(subBuilder.buildPartial());
- break;
- }
- case 338: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasQualitymanagementkind()) {
- subBuilder.mergeFrom(getQualitymanagementkind());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setQualitymanagementkind(subBuilder.buildPartial());
- break;
- }
- case 346: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasPidsystems()) {
- subBuilder.mergeFrom(getPidsystems());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setPidsystems(subBuilder.buildPartial());
- break;
- }
- case 354: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasCertificates()) {
- subBuilder.mergeFrom(getCertificates());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setCertificates(subBuilder.buildPartial());
- break;
- }
- case 362: {
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addSubjects(subBuilder.buildPartial());
- break;
- }
- case 370: {
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addPolicies(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
- private int bitField1_;
-
- // optional .eu.dnetlib.data.proto.Qualifier datasourcetype = 15;
- private eu.dnetlib.data.proto.FieldTypeProtos.Qualifier datasourcetype_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier, eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder, eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder> datasourcetypeBuilder_;
- public boolean hasDatasourcetype() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getDatasourcetype() {
- if (datasourcetypeBuilder_ == null) {
- return datasourcetype_;
- } else {
- return datasourcetypeBuilder_.getMessage();
- }
- }
- public Builder setDatasourcetype(eu.dnetlib.data.proto.FieldTypeProtos.Qualifier value) {
- if (datasourcetypeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- datasourcetype_ = value;
- onChanged();
- } else {
- datasourcetypeBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder setDatasourcetype(
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder builderForValue) {
- if (datasourcetypeBuilder_ == null) {
- datasourcetype_ = builderForValue.build();
- onChanged();
- } else {
- datasourcetypeBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder mergeDatasourcetype(eu.dnetlib.data.proto.FieldTypeProtos.Qualifier value) {
- if (datasourcetypeBuilder_ == null) {
- if (((bitField0_ & 0x00000001) == 0x00000001) &&
- datasourcetype_ != eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance()) {
- datasourcetype_ =
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.newBuilder(datasourcetype_).mergeFrom(value).buildPartial();
- } else {
- datasourcetype_ = value;
- }
- onChanged();
- } else {
- datasourcetypeBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder clearDatasourcetype() {
- if (datasourcetypeBuilder_ == null) {
- datasourcetype_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- onChanged();
- } else {
- datasourcetypeBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder getDatasourcetypeBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return getDatasourcetypeFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getDatasourcetypeOrBuilder() {
- if (datasourcetypeBuilder_ != null) {
- return datasourcetypeBuilder_.getMessageOrBuilder();
- } else {
- return datasourcetype_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier, eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder, eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder>
- getDatasourcetypeFieldBuilder() {
- if (datasourcetypeBuilder_ == null) {
- datasourcetypeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier, eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder, eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder>(
- datasourcetype_,
- getParentForChildren(),
- isClean());
- datasourcetype_ = null;
- }
- return datasourcetypeBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.Qualifier openairecompatibility = 17;
- private eu.dnetlib.data.proto.FieldTypeProtos.Qualifier openairecompatibility_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier, eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder, eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder> openairecompatibilityBuilder_;
- public boolean hasOpenairecompatibility() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getOpenairecompatibility() {
- if (openairecompatibilityBuilder_ == null) {
- return openairecompatibility_;
- } else {
- return openairecompatibilityBuilder_.getMessage();
- }
- }
- public Builder setOpenairecompatibility(eu.dnetlib.data.proto.FieldTypeProtos.Qualifier value) {
- if (openairecompatibilityBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- openairecompatibility_ = value;
- onChanged();
- } else {
- openairecompatibilityBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder setOpenairecompatibility(
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder builderForValue) {
- if (openairecompatibilityBuilder_ == null) {
- openairecompatibility_ = builderForValue.build();
- onChanged();
- } else {
- openairecompatibilityBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder mergeOpenairecompatibility(eu.dnetlib.data.proto.FieldTypeProtos.Qualifier value) {
- if (openairecompatibilityBuilder_ == null) {
- if (((bitField0_ & 0x00000002) == 0x00000002) &&
- openairecompatibility_ != eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance()) {
- openairecompatibility_ =
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.newBuilder(openairecompatibility_).mergeFrom(value).buildPartial();
- } else {
- openairecompatibility_ = value;
- }
- onChanged();
- } else {
- openairecompatibilityBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder clearOpenairecompatibility() {
- if (openairecompatibilityBuilder_ == null) {
- openairecompatibility_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- onChanged();
- } else {
- openairecompatibilityBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000002);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder getOpenairecompatibilityBuilder() {
- bitField0_ |= 0x00000002;
- onChanged();
- return getOpenairecompatibilityFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getOpenairecompatibilityOrBuilder() {
- if (openairecompatibilityBuilder_ != null) {
- return openairecompatibilityBuilder_.getMessageOrBuilder();
- } else {
- return openairecompatibility_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier, eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder, eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder>
- getOpenairecompatibilityFieldBuilder() {
- if (openairecompatibilityBuilder_ == null) {
- openairecompatibilityBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier, eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder, eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder>(
- openairecompatibility_,
- getParentForChildren(),
- isClean());
- openairecompatibility_ = null;
- }
- return openairecompatibilityBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField officialname = 1;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField officialname_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> officialnameBuilder_;
- public boolean hasOfficialname() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getOfficialname() {
- if (officialnameBuilder_ == null) {
- return officialname_;
- } else {
- return officialnameBuilder_.getMessage();
- }
- }
- public Builder setOfficialname(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (officialnameBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- officialname_ = value;
- onChanged();
- } else {
- officialnameBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000004;
- return this;
- }
- public Builder setOfficialname(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (officialnameBuilder_ == null) {
- officialname_ = builderForValue.build();
- onChanged();
- } else {
- officialnameBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000004;
- return this;
- }
- public Builder mergeOfficialname(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (officialnameBuilder_ == null) {
- if (((bitField0_ & 0x00000004) == 0x00000004) &&
- officialname_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- officialname_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(officialname_).mergeFrom(value).buildPartial();
- } else {
- officialname_ = value;
- }
- onChanged();
- } else {
- officialnameBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000004;
- return this;
- }
- public Builder clearOfficialname() {
- if (officialnameBuilder_ == null) {
- officialname_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- officialnameBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000004);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getOfficialnameBuilder() {
- bitField0_ |= 0x00000004;
- onChanged();
- return getOfficialnameFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOfficialnameOrBuilder() {
- if (officialnameBuilder_ != null) {
- return officialnameBuilder_.getMessageOrBuilder();
- } else {
- return officialname_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getOfficialnameFieldBuilder() {
- if (officialnameBuilder_ == null) {
- officialnameBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- officialname_,
- getParentForChildren(),
- isClean());
- officialname_ = null;
- }
- return officialnameBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField englishname = 2;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField englishname_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> englishnameBuilder_;
- public boolean hasEnglishname() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEnglishname() {
- if (englishnameBuilder_ == null) {
- return englishname_;
- } else {
- return englishnameBuilder_.getMessage();
- }
- }
- public Builder setEnglishname(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (englishnameBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- englishname_ = value;
- onChanged();
- } else {
- englishnameBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000008;
- return this;
- }
- public Builder setEnglishname(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (englishnameBuilder_ == null) {
- englishname_ = builderForValue.build();
- onChanged();
- } else {
- englishnameBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000008;
- return this;
- }
- public Builder mergeEnglishname(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (englishnameBuilder_ == null) {
- if (((bitField0_ & 0x00000008) == 0x00000008) &&
- englishname_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- englishname_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(englishname_).mergeFrom(value).buildPartial();
- } else {
- englishname_ = value;
- }
- onChanged();
- } else {
- englishnameBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000008;
- return this;
- }
- public Builder clearEnglishname() {
- if (englishnameBuilder_ == null) {
- englishname_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- englishnameBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000008);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getEnglishnameBuilder() {
- bitField0_ |= 0x00000008;
- onChanged();
- return getEnglishnameFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEnglishnameOrBuilder() {
- if (englishnameBuilder_ != null) {
- return englishnameBuilder_.getMessageOrBuilder();
- } else {
- return englishname_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getEnglishnameFieldBuilder() {
- if (englishnameBuilder_ == null) {
- englishnameBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- englishname_,
- getParentForChildren(),
- isClean());
- englishname_ = null;
- }
- return englishnameBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField websiteurl = 3;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField websiteurl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> websiteurlBuilder_;
- public boolean hasWebsiteurl() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getWebsiteurl() {
- if (websiteurlBuilder_ == null) {
- return websiteurl_;
- } else {
- return websiteurlBuilder_.getMessage();
- }
- }
- public Builder setWebsiteurl(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (websiteurlBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- websiteurl_ = value;
- onChanged();
- } else {
- websiteurlBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000010;
- return this;
- }
- public Builder setWebsiteurl(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (websiteurlBuilder_ == null) {
- websiteurl_ = builderForValue.build();
- onChanged();
- } else {
- websiteurlBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000010;
- return this;
- }
- public Builder mergeWebsiteurl(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (websiteurlBuilder_ == null) {
- if (((bitField0_ & 0x00000010) == 0x00000010) &&
- websiteurl_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- websiteurl_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(websiteurl_).mergeFrom(value).buildPartial();
- } else {
- websiteurl_ = value;
- }
- onChanged();
- } else {
- websiteurlBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000010;
- return this;
- }
- public Builder clearWebsiteurl() {
- if (websiteurlBuilder_ == null) {
- websiteurl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- websiteurlBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000010);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getWebsiteurlBuilder() {
- bitField0_ |= 0x00000010;
- onChanged();
- return getWebsiteurlFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getWebsiteurlOrBuilder() {
- if (websiteurlBuilder_ != null) {
- return websiteurlBuilder_.getMessageOrBuilder();
- } else {
- return websiteurl_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getWebsiteurlFieldBuilder() {
- if (websiteurlBuilder_ == null) {
- websiteurlBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- websiteurl_,
- getParentForChildren(),
- isClean());
- websiteurl_ = null;
- }
- return websiteurlBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField logourl = 4;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField logourl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> logourlBuilder_;
- public boolean hasLogourl() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getLogourl() {
- if (logourlBuilder_ == null) {
- return logourl_;
- } else {
- return logourlBuilder_.getMessage();
- }
- }
- public Builder setLogourl(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (logourlBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- logourl_ = value;
- onChanged();
- } else {
- logourlBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000020;
- return this;
- }
- public Builder setLogourl(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (logourlBuilder_ == null) {
- logourl_ = builderForValue.build();
- onChanged();
- } else {
- logourlBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000020;
- return this;
- }
- public Builder mergeLogourl(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (logourlBuilder_ == null) {
- if (((bitField0_ & 0x00000020) == 0x00000020) &&
- logourl_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- logourl_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(logourl_).mergeFrom(value).buildPartial();
- } else {
- logourl_ = value;
- }
- onChanged();
- } else {
- logourlBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000020;
- return this;
- }
- public Builder clearLogourl() {
- if (logourlBuilder_ == null) {
- logourl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- logourlBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000020);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getLogourlBuilder() {
- bitField0_ |= 0x00000020;
- onChanged();
- return getLogourlFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getLogourlOrBuilder() {
- if (logourlBuilder_ != null) {
- return logourlBuilder_.getMessageOrBuilder();
- } else {
- return logourl_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getLogourlFieldBuilder() {
- if (logourlBuilder_ == null) {
- logourlBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- logourl_,
- getParentForChildren(),
- isClean());
- logourl_ = null;
- }
- return logourlBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField contactemail = 5;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField contactemail_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> contactemailBuilder_;
- public boolean hasContactemail() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getContactemail() {
- if (contactemailBuilder_ == null) {
- return contactemail_;
- } else {
- return contactemailBuilder_.getMessage();
- }
- }
- public Builder setContactemail(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (contactemailBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- contactemail_ = value;
- onChanged();
- } else {
- contactemailBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000040;
- return this;
- }
- public Builder setContactemail(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (contactemailBuilder_ == null) {
- contactemail_ = builderForValue.build();
- onChanged();
- } else {
- contactemailBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000040;
- return this;
- }
- public Builder mergeContactemail(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (contactemailBuilder_ == null) {
- if (((bitField0_ & 0x00000040) == 0x00000040) &&
- contactemail_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- contactemail_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(contactemail_).mergeFrom(value).buildPartial();
- } else {
- contactemail_ = value;
- }
- onChanged();
- } else {
- contactemailBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000040;
- return this;
- }
- public Builder clearContactemail() {
- if (contactemailBuilder_ == null) {
- contactemail_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- contactemailBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000040);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getContactemailBuilder() {
- bitField0_ |= 0x00000040;
- onChanged();
- return getContactemailFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getContactemailOrBuilder() {
- if (contactemailBuilder_ != null) {
- return contactemailBuilder_.getMessageOrBuilder();
- } else {
- return contactemail_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getContactemailFieldBuilder() {
- if (contactemailBuilder_ == null) {
- contactemailBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- contactemail_,
- getParentForChildren(),
- isClean());
- contactemail_ = null;
- }
- return contactemailBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField namespaceprefix = 7;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField namespaceprefix_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> namespaceprefixBuilder_;
- public boolean hasNamespaceprefix() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getNamespaceprefix() {
- if (namespaceprefixBuilder_ == null) {
- return namespaceprefix_;
- } else {
- return namespaceprefixBuilder_.getMessage();
- }
- }
- public Builder setNamespaceprefix(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (namespaceprefixBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- namespaceprefix_ = value;
- onChanged();
- } else {
- namespaceprefixBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000080;
- return this;
- }
- public Builder setNamespaceprefix(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (namespaceprefixBuilder_ == null) {
- namespaceprefix_ = builderForValue.build();
- onChanged();
- } else {
- namespaceprefixBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000080;
- return this;
- }
- public Builder mergeNamespaceprefix(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (namespaceprefixBuilder_ == null) {
- if (((bitField0_ & 0x00000080) == 0x00000080) &&
- namespaceprefix_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- namespaceprefix_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(namespaceprefix_).mergeFrom(value).buildPartial();
- } else {
- namespaceprefix_ = value;
- }
- onChanged();
- } else {
- namespaceprefixBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000080;
- return this;
- }
- public Builder clearNamespaceprefix() {
- if (namespaceprefixBuilder_ == null) {
- namespaceprefix_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- namespaceprefixBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000080);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getNamespaceprefixBuilder() {
- bitField0_ |= 0x00000080;
- onChanged();
- return getNamespaceprefixFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getNamespaceprefixOrBuilder() {
- if (namespaceprefixBuilder_ != null) {
- return namespaceprefixBuilder_.getMessageOrBuilder();
- } else {
- return namespaceprefix_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getNamespaceprefixFieldBuilder() {
- if (namespaceprefixBuilder_ == null) {
- namespaceprefixBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- namespaceprefix_,
- getParentForChildren(),
- isClean());
- namespaceprefix_ = null;
- }
- return namespaceprefixBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField latitude = 18;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField latitude_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> latitudeBuilder_;
- public boolean hasLatitude() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getLatitude() {
- if (latitudeBuilder_ == null) {
- return latitude_;
- } else {
- return latitudeBuilder_.getMessage();
- }
- }
- public Builder setLatitude(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (latitudeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- latitude_ = value;
- onChanged();
- } else {
- latitudeBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000100;
- return this;
- }
- public Builder setLatitude(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (latitudeBuilder_ == null) {
- latitude_ = builderForValue.build();
- onChanged();
- } else {
- latitudeBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000100;
- return this;
- }
- public Builder mergeLatitude(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (latitudeBuilder_ == null) {
- if (((bitField0_ & 0x00000100) == 0x00000100) &&
- latitude_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- latitude_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(latitude_).mergeFrom(value).buildPartial();
- } else {
- latitude_ = value;
- }
- onChanged();
- } else {
- latitudeBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000100;
- return this;
- }
- public Builder clearLatitude() {
- if (latitudeBuilder_ == null) {
- latitude_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- latitudeBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000100);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getLatitudeBuilder() {
- bitField0_ |= 0x00000100;
- onChanged();
- return getLatitudeFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getLatitudeOrBuilder() {
- if (latitudeBuilder_ != null) {
- return latitudeBuilder_.getMessageOrBuilder();
- } else {
- return latitude_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getLatitudeFieldBuilder() {
- if (latitudeBuilder_ == null) {
- latitudeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- latitude_,
- getParentForChildren(),
- isClean());
- latitude_ = null;
- }
- return latitudeBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField longitude = 19;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField longitude_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> longitudeBuilder_;
- public boolean hasLongitude() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getLongitude() {
- if (longitudeBuilder_ == null) {
- return longitude_;
- } else {
- return longitudeBuilder_.getMessage();
- }
- }
- public Builder setLongitude(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (longitudeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- longitude_ = value;
- onChanged();
- } else {
- longitudeBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000200;
- return this;
- }
- public Builder setLongitude(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (longitudeBuilder_ == null) {
- longitude_ = builderForValue.build();
- onChanged();
- } else {
- longitudeBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000200;
- return this;
- }
- public Builder mergeLongitude(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (longitudeBuilder_ == null) {
- if (((bitField0_ & 0x00000200) == 0x00000200) &&
- longitude_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- longitude_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(longitude_).mergeFrom(value).buildPartial();
- } else {
- longitude_ = value;
- }
- onChanged();
- } else {
- longitudeBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000200;
- return this;
- }
- public Builder clearLongitude() {
- if (longitudeBuilder_ == null) {
- longitude_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- longitudeBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000200);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getLongitudeBuilder() {
- bitField0_ |= 0x00000200;
- onChanged();
- return getLongitudeFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getLongitudeOrBuilder() {
- if (longitudeBuilder_ != null) {
- return longitudeBuilder_.getMessageOrBuilder();
- } else {
- return longitude_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getLongitudeFieldBuilder() {
- if (longitudeBuilder_ == null) {
- longitudeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- longitude_,
- getParentForChildren(),
- isClean());
- longitude_ = null;
- }
- return longitudeBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField dateofvalidation = 20;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField dateofvalidation_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> dateofvalidationBuilder_;
- public boolean hasDateofvalidation() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getDateofvalidation() {
- if (dateofvalidationBuilder_ == null) {
- return dateofvalidation_;
- } else {
- return dateofvalidationBuilder_.getMessage();
- }
- }
- public Builder setDateofvalidation(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (dateofvalidationBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- dateofvalidation_ = value;
- onChanged();
- } else {
- dateofvalidationBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000400;
- return this;
- }
- public Builder setDateofvalidation(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (dateofvalidationBuilder_ == null) {
- dateofvalidation_ = builderForValue.build();
- onChanged();
- } else {
- dateofvalidationBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000400;
- return this;
- }
- public Builder mergeDateofvalidation(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (dateofvalidationBuilder_ == null) {
- if (((bitField0_ & 0x00000400) == 0x00000400) &&
- dateofvalidation_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- dateofvalidation_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(dateofvalidation_).mergeFrom(value).buildPartial();
- } else {
- dateofvalidation_ = value;
- }
- onChanged();
- } else {
- dateofvalidationBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000400;
- return this;
- }
- public Builder clearDateofvalidation() {
- if (dateofvalidationBuilder_ == null) {
- dateofvalidation_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- dateofvalidationBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000400);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getDateofvalidationBuilder() {
- bitField0_ |= 0x00000400;
- onChanged();
- return getDateofvalidationFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDateofvalidationOrBuilder() {
- if (dateofvalidationBuilder_ != null) {
- return dateofvalidationBuilder_.getMessageOrBuilder();
- } else {
- return dateofvalidation_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getDateofvalidationFieldBuilder() {
- if (dateofvalidationBuilder_ == null) {
- dateofvalidationBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- dateofvalidation_,
- getParentForChildren(),
- isClean());
- dateofvalidation_ = null;
- }
- return dateofvalidationBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField description = 21;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField description_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> descriptionBuilder_;
- public boolean hasDescription() {
- return ((bitField0_ & 0x00000800) == 0x00000800);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getDescription() {
- if (descriptionBuilder_ == null) {
- return description_;
- } else {
- return descriptionBuilder_.getMessage();
- }
- }
- public Builder setDescription(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (descriptionBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- description_ = value;
- onChanged();
- } else {
- descriptionBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000800;
- return this;
- }
- public Builder setDescription(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (descriptionBuilder_ == null) {
- description_ = builderForValue.build();
- onChanged();
- } else {
- descriptionBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000800;
- return this;
- }
- public Builder mergeDescription(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (descriptionBuilder_ == null) {
- if (((bitField0_ & 0x00000800) == 0x00000800) &&
- description_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- description_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(description_).mergeFrom(value).buildPartial();
- } else {
- description_ = value;
- }
- onChanged();
- } else {
- descriptionBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000800;
- return this;
- }
- public Builder clearDescription() {
- if (descriptionBuilder_ == null) {
- description_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- descriptionBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000800);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getDescriptionBuilder() {
- bitField0_ |= 0x00000800;
- onChanged();
- return getDescriptionFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDescriptionOrBuilder() {
- if (descriptionBuilder_ != null) {
- return descriptionBuilder_.getMessageOrBuilder();
- } else {
- return description_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getDescriptionFieldBuilder() {
- if (descriptionBuilder_ == null) {
- descriptionBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- description_,
- getParentForChildren(),
- isClean());
- description_ = null;
- }
- return descriptionBuilder_;
- }
-
- // repeated .eu.dnetlib.data.proto.StructuredProperty subjects = 45;
- private java.util.List subjects_ =
- java.util.Collections.emptyList();
- private void ensureSubjectsIsMutable() {
- if (!((bitField0_ & 0x00001000) == 0x00001000)) {
- subjects_ = new java.util.ArrayList(subjects_);
- bitField0_ |= 0x00001000;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty, eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder> subjectsBuilder_;
-
- public java.util.List getSubjectsList() {
- if (subjectsBuilder_ == null) {
- return java.util.Collections.unmodifiableList(subjects_);
- } else {
- return subjectsBuilder_.getMessageList();
- }
- }
- public int getSubjectsCount() {
- if (subjectsBuilder_ == null) {
- return subjects_.size();
- } else {
- return subjectsBuilder_.getCount();
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty getSubjects(int index) {
- if (subjectsBuilder_ == null) {
- return subjects_.get(index);
- } else {
- return subjectsBuilder_.getMessage(index);
- }
- }
- public Builder setSubjects(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty value) {
- if (subjectsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureSubjectsIsMutable();
- subjects_.set(index, value);
- onChanged();
- } else {
- subjectsBuilder_.setMessage(index, value);
- }
- return this;
- }
- public Builder setSubjects(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder builderForValue) {
- if (subjectsBuilder_ == null) {
- ensureSubjectsIsMutable();
- subjects_.set(index, builderForValue.build());
- onChanged();
- } else {
- subjectsBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addSubjects(eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty value) {
- if (subjectsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureSubjectsIsMutable();
- subjects_.add(value);
- onChanged();
- } else {
- subjectsBuilder_.addMessage(value);
- }
- return this;
- }
- public Builder addSubjects(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty value) {
- if (subjectsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureSubjectsIsMutable();
- subjects_.add(index, value);
- onChanged();
- } else {
- subjectsBuilder_.addMessage(index, value);
- }
- return this;
- }
- public Builder addSubjects(
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder builderForValue) {
- if (subjectsBuilder_ == null) {
- ensureSubjectsIsMutable();
- subjects_.add(builderForValue.build());
- onChanged();
- } else {
- subjectsBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- public Builder addSubjects(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder builderForValue) {
- if (subjectsBuilder_ == null) {
- ensureSubjectsIsMutable();
- subjects_.add(index, builderForValue.build());
- onChanged();
- } else {
- subjectsBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addAllSubjects(
- java.lang.Iterable extends eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty> values) {
- if (subjectsBuilder_ == null) {
- ensureSubjectsIsMutable();
- super.addAll(values, subjects_);
- onChanged();
- } else {
- subjectsBuilder_.addAllMessages(values);
- }
- return this;
- }
- public Builder clearSubjects() {
- if (subjectsBuilder_ == null) {
- subjects_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00001000);
- onChanged();
- } else {
- subjectsBuilder_.clear();
- }
- return this;
- }
- public Builder removeSubjects(int index) {
- if (subjectsBuilder_ == null) {
- ensureSubjectsIsMutable();
- subjects_.remove(index);
- onChanged();
- } else {
- subjectsBuilder_.remove(index);
- }
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder getSubjectsBuilder(
- int index) {
- return getSubjectsFieldBuilder().getBuilder(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder getSubjectsOrBuilder(
- int index) {
- if (subjectsBuilder_ == null) {
- return subjects_.get(index); } else {
- return subjectsBuilder_.getMessageOrBuilder(index);
- }
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder>
- getSubjectsOrBuilderList() {
- if (subjectsBuilder_ != null) {
- return subjectsBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(subjects_);
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder addSubjectsBuilder() {
- return getSubjectsFieldBuilder().addBuilder(
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.getDefaultInstance());
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder addSubjectsBuilder(
- int index) {
- return getSubjectsFieldBuilder().addBuilder(
- index, eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.getDefaultInstance());
- }
- public java.util.List
- getSubjectsBuilderList() {
- return getSubjectsFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty, eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder>
- getSubjectsFieldBuilder() {
- if (subjectsBuilder_ == null) {
- subjectsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty, eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder>(
- subjects_,
- ((bitField0_ & 0x00001000) == 0x00001000),
- getParentForChildren(),
- isClean());
- subjects_ = null;
- }
- return subjectsBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField odnumberofitems = 9;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField odnumberofitems_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> odnumberofitemsBuilder_;
- public boolean hasOdnumberofitems() {
- return ((bitField0_ & 0x00002000) == 0x00002000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getOdnumberofitems() {
- if (odnumberofitemsBuilder_ == null) {
- return odnumberofitems_;
- } else {
- return odnumberofitemsBuilder_.getMessage();
- }
- }
- public Builder setOdnumberofitems(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (odnumberofitemsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- odnumberofitems_ = value;
- onChanged();
- } else {
- odnumberofitemsBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00002000;
- return this;
- }
- public Builder setOdnumberofitems(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (odnumberofitemsBuilder_ == null) {
- odnumberofitems_ = builderForValue.build();
- onChanged();
- } else {
- odnumberofitemsBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00002000;
- return this;
- }
- public Builder mergeOdnumberofitems(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (odnumberofitemsBuilder_ == null) {
- if (((bitField0_ & 0x00002000) == 0x00002000) &&
- odnumberofitems_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- odnumberofitems_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(odnumberofitems_).mergeFrom(value).buildPartial();
- } else {
- odnumberofitems_ = value;
- }
- onChanged();
- } else {
- odnumberofitemsBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00002000;
- return this;
- }
- public Builder clearOdnumberofitems() {
- if (odnumberofitemsBuilder_ == null) {
- odnumberofitems_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- odnumberofitemsBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00002000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getOdnumberofitemsBuilder() {
- bitField0_ |= 0x00002000;
- onChanged();
- return getOdnumberofitemsFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOdnumberofitemsOrBuilder() {
- if (odnumberofitemsBuilder_ != null) {
- return odnumberofitemsBuilder_.getMessageOrBuilder();
- } else {
- return odnumberofitems_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getOdnumberofitemsFieldBuilder() {
- if (odnumberofitemsBuilder_ == null) {
- odnumberofitemsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- odnumberofitems_,
- getParentForChildren(),
- isClean());
- odnumberofitems_ = null;
- }
- return odnumberofitemsBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField odnumberofitemsdate = 10;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField odnumberofitemsdate_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> odnumberofitemsdateBuilder_;
- public boolean hasOdnumberofitemsdate() {
- return ((bitField0_ & 0x00004000) == 0x00004000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getOdnumberofitemsdate() {
- if (odnumberofitemsdateBuilder_ == null) {
- return odnumberofitemsdate_;
- } else {
- return odnumberofitemsdateBuilder_.getMessage();
- }
- }
- public Builder setOdnumberofitemsdate(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (odnumberofitemsdateBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- odnumberofitemsdate_ = value;
- onChanged();
- } else {
- odnumberofitemsdateBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00004000;
- return this;
- }
- public Builder setOdnumberofitemsdate(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (odnumberofitemsdateBuilder_ == null) {
- odnumberofitemsdate_ = builderForValue.build();
- onChanged();
- } else {
- odnumberofitemsdateBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00004000;
- return this;
- }
- public Builder mergeOdnumberofitemsdate(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (odnumberofitemsdateBuilder_ == null) {
- if (((bitField0_ & 0x00004000) == 0x00004000) &&
- odnumberofitemsdate_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- odnumberofitemsdate_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(odnumberofitemsdate_).mergeFrom(value).buildPartial();
- } else {
- odnumberofitemsdate_ = value;
- }
- onChanged();
- } else {
- odnumberofitemsdateBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00004000;
- return this;
- }
- public Builder clearOdnumberofitemsdate() {
- if (odnumberofitemsdateBuilder_ == null) {
- odnumberofitemsdate_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- odnumberofitemsdateBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00004000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getOdnumberofitemsdateBuilder() {
- bitField0_ |= 0x00004000;
- onChanged();
- return getOdnumberofitemsdateFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOdnumberofitemsdateOrBuilder() {
- if (odnumberofitemsdateBuilder_ != null) {
- return odnumberofitemsdateBuilder_.getMessageOrBuilder();
- } else {
- return odnumberofitemsdate_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getOdnumberofitemsdateFieldBuilder() {
- if (odnumberofitemsdateBuilder_ == null) {
- odnumberofitemsdateBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- odnumberofitemsdate_,
- getParentForChildren(),
- isClean());
- odnumberofitemsdate_ = null;
- }
- return odnumberofitemsdateBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField odpolicies = 12;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField odpolicies_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> odpoliciesBuilder_;
- public boolean hasOdpolicies() {
- return ((bitField0_ & 0x00008000) == 0x00008000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getOdpolicies() {
- if (odpoliciesBuilder_ == null) {
- return odpolicies_;
- } else {
- return odpoliciesBuilder_.getMessage();
- }
- }
- public Builder setOdpolicies(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (odpoliciesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- odpolicies_ = value;
- onChanged();
- } else {
- odpoliciesBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00008000;
- return this;
- }
- public Builder setOdpolicies(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (odpoliciesBuilder_ == null) {
- odpolicies_ = builderForValue.build();
- onChanged();
- } else {
- odpoliciesBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00008000;
- return this;
- }
- public Builder mergeOdpolicies(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (odpoliciesBuilder_ == null) {
- if (((bitField0_ & 0x00008000) == 0x00008000) &&
- odpolicies_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- odpolicies_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(odpolicies_).mergeFrom(value).buildPartial();
- } else {
- odpolicies_ = value;
- }
- onChanged();
- } else {
- odpoliciesBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00008000;
- return this;
- }
- public Builder clearOdpolicies() {
- if (odpoliciesBuilder_ == null) {
- odpolicies_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- odpoliciesBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00008000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getOdpoliciesBuilder() {
- bitField0_ |= 0x00008000;
- onChanged();
- return getOdpoliciesFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOdpoliciesOrBuilder() {
- if (odpoliciesBuilder_ != null) {
- return odpoliciesBuilder_.getMessageOrBuilder();
- } else {
- return odpolicies_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getOdpoliciesFieldBuilder() {
- if (odpoliciesBuilder_ == null) {
- odpoliciesBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- odpolicies_,
- getParentForChildren(),
- isClean());
- odpolicies_ = null;
- }
- return odpoliciesBuilder_;
- }
-
- // repeated .eu.dnetlib.data.proto.StringField odlanguages = 13;
- private java.util.List odlanguages_ =
- java.util.Collections.emptyList();
- private void ensureOdlanguagesIsMutable() {
- if (!((bitField0_ & 0x00010000) == 0x00010000)) {
- odlanguages_ = new java.util.ArrayList(odlanguages_);
- bitField0_ |= 0x00010000;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> odlanguagesBuilder_;
-
- public java.util.List getOdlanguagesList() {
- if (odlanguagesBuilder_ == null) {
- return java.util.Collections.unmodifiableList(odlanguages_);
- } else {
- return odlanguagesBuilder_.getMessageList();
- }
- }
- public int getOdlanguagesCount() {
- if (odlanguagesBuilder_ == null) {
- return odlanguages_.size();
- } else {
- return odlanguagesBuilder_.getCount();
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getOdlanguages(int index) {
- if (odlanguagesBuilder_ == null) {
- return odlanguages_.get(index);
- } else {
- return odlanguagesBuilder_.getMessage(index);
- }
- }
- public Builder setOdlanguages(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (odlanguagesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureOdlanguagesIsMutable();
- odlanguages_.set(index, value);
- onChanged();
- } else {
- odlanguagesBuilder_.setMessage(index, value);
- }
- return this;
- }
- public Builder setOdlanguages(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (odlanguagesBuilder_ == null) {
- ensureOdlanguagesIsMutable();
- odlanguages_.set(index, builderForValue.build());
- onChanged();
- } else {
- odlanguagesBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addOdlanguages(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (odlanguagesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureOdlanguagesIsMutable();
- odlanguages_.add(value);
- onChanged();
- } else {
- odlanguagesBuilder_.addMessage(value);
- }
- return this;
- }
- public Builder addOdlanguages(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (odlanguagesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureOdlanguagesIsMutable();
- odlanguages_.add(index, value);
- onChanged();
- } else {
- odlanguagesBuilder_.addMessage(index, value);
- }
- return this;
- }
- public Builder addOdlanguages(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (odlanguagesBuilder_ == null) {
- ensureOdlanguagesIsMutable();
- odlanguages_.add(builderForValue.build());
- onChanged();
- } else {
- odlanguagesBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- public Builder addOdlanguages(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (odlanguagesBuilder_ == null) {
- ensureOdlanguagesIsMutable();
- odlanguages_.add(index, builderForValue.build());
- onChanged();
- } else {
- odlanguagesBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addAllOdlanguages(
- java.lang.Iterable extends eu.dnetlib.data.proto.FieldTypeProtos.StringField> values) {
- if (odlanguagesBuilder_ == null) {
- ensureOdlanguagesIsMutable();
- super.addAll(values, odlanguages_);
- onChanged();
- } else {
- odlanguagesBuilder_.addAllMessages(values);
- }
- return this;
- }
- public Builder clearOdlanguages() {
- if (odlanguagesBuilder_ == null) {
- odlanguages_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00010000);
- onChanged();
- } else {
- odlanguagesBuilder_.clear();
- }
- return this;
- }
- public Builder removeOdlanguages(int index) {
- if (odlanguagesBuilder_ == null) {
- ensureOdlanguagesIsMutable();
- odlanguages_.remove(index);
- onChanged();
- } else {
- odlanguagesBuilder_.remove(index);
- }
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getOdlanguagesBuilder(
- int index) {
- return getOdlanguagesFieldBuilder().getBuilder(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOdlanguagesOrBuilder(
- int index) {
- if (odlanguagesBuilder_ == null) {
- return odlanguages_.get(index); } else {
- return odlanguagesBuilder_.getMessageOrBuilder(index);
- }
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getOdlanguagesOrBuilderList() {
- if (odlanguagesBuilder_ != null) {
- return odlanguagesBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(odlanguages_);
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder addOdlanguagesBuilder() {
- return getOdlanguagesFieldBuilder().addBuilder(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance());
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder addOdlanguagesBuilder(
- int index) {
- return getOdlanguagesFieldBuilder().addBuilder(
- index, eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance());
- }
- public java.util.List
- getOdlanguagesBuilderList() {
- return getOdlanguagesFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getOdlanguagesFieldBuilder() {
- if (odlanguagesBuilder_ == null) {
- odlanguagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- odlanguages_,
- ((bitField0_ & 0x00010000) == 0x00010000),
- getParentForChildren(),
- isClean());
- odlanguages_ = null;
- }
- return odlanguagesBuilder_;
- }
-
- // repeated .eu.dnetlib.data.proto.StringField odcontenttypes = 14;
- private java.util.List odcontenttypes_ =
- java.util.Collections.emptyList();
- private void ensureOdcontenttypesIsMutable() {
- if (!((bitField0_ & 0x00020000) == 0x00020000)) {
- odcontenttypes_ = new java.util.ArrayList(odcontenttypes_);
- bitField0_ |= 0x00020000;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> odcontenttypesBuilder_;
-
- public java.util.List getOdcontenttypesList() {
- if (odcontenttypesBuilder_ == null) {
- return java.util.Collections.unmodifiableList(odcontenttypes_);
- } else {
- return odcontenttypesBuilder_.getMessageList();
- }
- }
- public int getOdcontenttypesCount() {
- if (odcontenttypesBuilder_ == null) {
- return odcontenttypes_.size();
- } else {
- return odcontenttypesBuilder_.getCount();
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getOdcontenttypes(int index) {
- if (odcontenttypesBuilder_ == null) {
- return odcontenttypes_.get(index);
- } else {
- return odcontenttypesBuilder_.getMessage(index);
- }
- }
- public Builder setOdcontenttypes(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (odcontenttypesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureOdcontenttypesIsMutable();
- odcontenttypes_.set(index, value);
- onChanged();
- } else {
- odcontenttypesBuilder_.setMessage(index, value);
- }
- return this;
- }
- public Builder setOdcontenttypes(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (odcontenttypesBuilder_ == null) {
- ensureOdcontenttypesIsMutable();
- odcontenttypes_.set(index, builderForValue.build());
- onChanged();
- } else {
- odcontenttypesBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addOdcontenttypes(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (odcontenttypesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureOdcontenttypesIsMutable();
- odcontenttypes_.add(value);
- onChanged();
- } else {
- odcontenttypesBuilder_.addMessage(value);
- }
- return this;
- }
- public Builder addOdcontenttypes(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (odcontenttypesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureOdcontenttypesIsMutable();
- odcontenttypes_.add(index, value);
- onChanged();
- } else {
- odcontenttypesBuilder_.addMessage(index, value);
- }
- return this;
- }
- public Builder addOdcontenttypes(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (odcontenttypesBuilder_ == null) {
- ensureOdcontenttypesIsMutable();
- odcontenttypes_.add(builderForValue.build());
- onChanged();
- } else {
- odcontenttypesBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- public Builder addOdcontenttypes(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (odcontenttypesBuilder_ == null) {
- ensureOdcontenttypesIsMutable();
- odcontenttypes_.add(index, builderForValue.build());
- onChanged();
- } else {
- odcontenttypesBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addAllOdcontenttypes(
- java.lang.Iterable extends eu.dnetlib.data.proto.FieldTypeProtos.StringField> values) {
- if (odcontenttypesBuilder_ == null) {
- ensureOdcontenttypesIsMutable();
- super.addAll(values, odcontenttypes_);
- onChanged();
- } else {
- odcontenttypesBuilder_.addAllMessages(values);
- }
- return this;
- }
- public Builder clearOdcontenttypes() {
- if (odcontenttypesBuilder_ == null) {
- odcontenttypes_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00020000);
- onChanged();
- } else {
- odcontenttypesBuilder_.clear();
- }
- return this;
- }
- public Builder removeOdcontenttypes(int index) {
- if (odcontenttypesBuilder_ == null) {
- ensureOdcontenttypesIsMutable();
- odcontenttypes_.remove(index);
- onChanged();
- } else {
- odcontenttypesBuilder_.remove(index);
- }
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getOdcontenttypesBuilder(
- int index) {
- return getOdcontenttypesFieldBuilder().getBuilder(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOdcontenttypesOrBuilder(
- int index) {
- if (odcontenttypesBuilder_ == null) {
- return odcontenttypes_.get(index); } else {
- return odcontenttypesBuilder_.getMessageOrBuilder(index);
- }
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getOdcontenttypesOrBuilderList() {
- if (odcontenttypesBuilder_ != null) {
- return odcontenttypesBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(odcontenttypes_);
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder addOdcontenttypesBuilder() {
- return getOdcontenttypesFieldBuilder().addBuilder(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance());
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder addOdcontenttypesBuilder(
- int index) {
- return getOdcontenttypesFieldBuilder().addBuilder(
- index, eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance());
- }
- public java.util.List
- getOdcontenttypesBuilderList() {
- return getOdcontenttypesFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getOdcontenttypesFieldBuilder() {
- if (odcontenttypesBuilder_ == null) {
- odcontenttypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- odcontenttypes_,
- ((bitField0_ & 0x00020000) == 0x00020000),
- getParentForChildren(),
- isClean());
- odcontenttypes_ = null;
- }
- return odcontenttypesBuilder_;
- }
-
- // repeated .eu.dnetlib.data.proto.StringField accessinfopackage = 6;
- private java.util.List accessinfopackage_ =
- java.util.Collections.emptyList();
- private void ensureAccessinfopackageIsMutable() {
- if (!((bitField0_ & 0x00040000) == 0x00040000)) {
- accessinfopackage_ = new java.util.ArrayList(accessinfopackage_);
- bitField0_ |= 0x00040000;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> accessinfopackageBuilder_;
-
- public java.util.List getAccessinfopackageList() {
- if (accessinfopackageBuilder_ == null) {
- return java.util.Collections.unmodifiableList(accessinfopackage_);
- } else {
- return accessinfopackageBuilder_.getMessageList();
- }
- }
- public int getAccessinfopackageCount() {
- if (accessinfopackageBuilder_ == null) {
- return accessinfopackage_.size();
- } else {
- return accessinfopackageBuilder_.getCount();
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getAccessinfopackage(int index) {
- if (accessinfopackageBuilder_ == null) {
- return accessinfopackage_.get(index);
- } else {
- return accessinfopackageBuilder_.getMessage(index);
- }
- }
- public Builder setAccessinfopackage(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (accessinfopackageBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureAccessinfopackageIsMutable();
- accessinfopackage_.set(index, value);
- onChanged();
- } else {
- accessinfopackageBuilder_.setMessage(index, value);
- }
- return this;
- }
- public Builder setAccessinfopackage(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (accessinfopackageBuilder_ == null) {
- ensureAccessinfopackageIsMutable();
- accessinfopackage_.set(index, builderForValue.build());
- onChanged();
- } else {
- accessinfopackageBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addAccessinfopackage(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (accessinfopackageBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureAccessinfopackageIsMutable();
- accessinfopackage_.add(value);
- onChanged();
- } else {
- accessinfopackageBuilder_.addMessage(value);
- }
- return this;
- }
- public Builder addAccessinfopackage(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (accessinfopackageBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureAccessinfopackageIsMutable();
- accessinfopackage_.add(index, value);
- onChanged();
- } else {
- accessinfopackageBuilder_.addMessage(index, value);
- }
- return this;
- }
- public Builder addAccessinfopackage(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (accessinfopackageBuilder_ == null) {
- ensureAccessinfopackageIsMutable();
- accessinfopackage_.add(builderForValue.build());
- onChanged();
- } else {
- accessinfopackageBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- public Builder addAccessinfopackage(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (accessinfopackageBuilder_ == null) {
- ensureAccessinfopackageIsMutable();
- accessinfopackage_.add(index, builderForValue.build());
- onChanged();
- } else {
- accessinfopackageBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addAllAccessinfopackage(
- java.lang.Iterable extends eu.dnetlib.data.proto.FieldTypeProtos.StringField> values) {
- if (accessinfopackageBuilder_ == null) {
- ensureAccessinfopackageIsMutable();
- super.addAll(values, accessinfopackage_);
- onChanged();
- } else {
- accessinfopackageBuilder_.addAllMessages(values);
- }
- return this;
- }
- public Builder clearAccessinfopackage() {
- if (accessinfopackageBuilder_ == null) {
- accessinfopackage_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00040000);
- onChanged();
- } else {
- accessinfopackageBuilder_.clear();
- }
- return this;
- }
- public Builder removeAccessinfopackage(int index) {
- if (accessinfopackageBuilder_ == null) {
- ensureAccessinfopackageIsMutable();
- accessinfopackage_.remove(index);
- onChanged();
- } else {
- accessinfopackageBuilder_.remove(index);
- }
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getAccessinfopackageBuilder(
- int index) {
- return getAccessinfopackageFieldBuilder().getBuilder(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getAccessinfopackageOrBuilder(
- int index) {
- if (accessinfopackageBuilder_ == null) {
- return accessinfopackage_.get(index); } else {
- return accessinfopackageBuilder_.getMessageOrBuilder(index);
- }
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getAccessinfopackageOrBuilderList() {
- if (accessinfopackageBuilder_ != null) {
- return accessinfopackageBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(accessinfopackage_);
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder addAccessinfopackageBuilder() {
- return getAccessinfopackageFieldBuilder().addBuilder(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance());
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder addAccessinfopackageBuilder(
- int index) {
- return getAccessinfopackageFieldBuilder().addBuilder(
- index, eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance());
- }
- public java.util.List
- getAccessinfopackageBuilderList() {
- return getAccessinfopackageFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getAccessinfopackageFieldBuilder() {
- if (accessinfopackageBuilder_ == null) {
- accessinfopackageBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- accessinfopackage_,
- ((bitField0_ & 0x00040000) == 0x00040000),
- getParentForChildren(),
- isClean());
- accessinfopackage_ = null;
- }
- return accessinfopackageBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField releasestartdate = 31;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField releasestartdate_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> releasestartdateBuilder_;
- public boolean hasReleasestartdate() {
- return ((bitField0_ & 0x00080000) == 0x00080000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getReleasestartdate() {
- if (releasestartdateBuilder_ == null) {
- return releasestartdate_;
- } else {
- return releasestartdateBuilder_.getMessage();
- }
- }
- public Builder setReleasestartdate(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (releasestartdateBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- releasestartdate_ = value;
- onChanged();
- } else {
- releasestartdateBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00080000;
- return this;
- }
- public Builder setReleasestartdate(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (releasestartdateBuilder_ == null) {
- releasestartdate_ = builderForValue.build();
- onChanged();
- } else {
- releasestartdateBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00080000;
- return this;
- }
- public Builder mergeReleasestartdate(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (releasestartdateBuilder_ == null) {
- if (((bitField0_ & 0x00080000) == 0x00080000) &&
- releasestartdate_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- releasestartdate_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(releasestartdate_).mergeFrom(value).buildPartial();
- } else {
- releasestartdate_ = value;
- }
- onChanged();
- } else {
- releasestartdateBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00080000;
- return this;
- }
- public Builder clearReleasestartdate() {
- if (releasestartdateBuilder_ == null) {
- releasestartdate_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- releasestartdateBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00080000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getReleasestartdateBuilder() {
- bitField0_ |= 0x00080000;
- onChanged();
- return getReleasestartdateFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getReleasestartdateOrBuilder() {
- if (releasestartdateBuilder_ != null) {
- return releasestartdateBuilder_.getMessageOrBuilder();
- } else {
- return releasestartdate_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getReleasestartdateFieldBuilder() {
- if (releasestartdateBuilder_ == null) {
- releasestartdateBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- releasestartdate_,
- getParentForChildren(),
- isClean());
- releasestartdate_ = null;
- }
- return releasestartdateBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField releaseenddate = 32;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField releaseenddate_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> releaseenddateBuilder_;
- public boolean hasReleaseenddate() {
- return ((bitField0_ & 0x00100000) == 0x00100000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getReleaseenddate() {
- if (releaseenddateBuilder_ == null) {
- return releaseenddate_;
- } else {
- return releaseenddateBuilder_.getMessage();
- }
- }
- public Builder setReleaseenddate(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (releaseenddateBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- releaseenddate_ = value;
- onChanged();
- } else {
- releaseenddateBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00100000;
- return this;
- }
- public Builder setReleaseenddate(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (releaseenddateBuilder_ == null) {
- releaseenddate_ = builderForValue.build();
- onChanged();
- } else {
- releaseenddateBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00100000;
- return this;
- }
- public Builder mergeReleaseenddate(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (releaseenddateBuilder_ == null) {
- if (((bitField0_ & 0x00100000) == 0x00100000) &&
- releaseenddate_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- releaseenddate_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(releaseenddate_).mergeFrom(value).buildPartial();
- } else {
- releaseenddate_ = value;
- }
- onChanged();
- } else {
- releaseenddateBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00100000;
- return this;
- }
- public Builder clearReleaseenddate() {
- if (releaseenddateBuilder_ == null) {
- releaseenddate_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- releaseenddateBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00100000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getReleaseenddateBuilder() {
- bitField0_ |= 0x00100000;
- onChanged();
- return getReleaseenddateFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getReleaseenddateOrBuilder() {
- if (releaseenddateBuilder_ != null) {
- return releaseenddateBuilder_.getMessageOrBuilder();
- } else {
- return releaseenddate_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getReleaseenddateFieldBuilder() {
- if (releaseenddateBuilder_ == null) {
- releaseenddateBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- releaseenddate_,
- getParentForChildren(),
- isClean());
- releaseenddate_ = null;
- }
- return releaseenddateBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField missionstatementurl = 33;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField missionstatementurl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> missionstatementurlBuilder_;
- public boolean hasMissionstatementurl() {
- return ((bitField0_ & 0x00200000) == 0x00200000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getMissionstatementurl() {
- if (missionstatementurlBuilder_ == null) {
- return missionstatementurl_;
- } else {
- return missionstatementurlBuilder_.getMessage();
- }
- }
- public Builder setMissionstatementurl(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (missionstatementurlBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- missionstatementurl_ = value;
- onChanged();
- } else {
- missionstatementurlBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00200000;
- return this;
- }
- public Builder setMissionstatementurl(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (missionstatementurlBuilder_ == null) {
- missionstatementurl_ = builderForValue.build();
- onChanged();
- } else {
- missionstatementurlBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00200000;
- return this;
- }
- public Builder mergeMissionstatementurl(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (missionstatementurlBuilder_ == null) {
- if (((bitField0_ & 0x00200000) == 0x00200000) &&
- missionstatementurl_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- missionstatementurl_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(missionstatementurl_).mergeFrom(value).buildPartial();
- } else {
- missionstatementurl_ = value;
- }
- onChanged();
- } else {
- missionstatementurlBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00200000;
- return this;
- }
- public Builder clearMissionstatementurl() {
- if (missionstatementurlBuilder_ == null) {
- missionstatementurl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- missionstatementurlBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00200000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getMissionstatementurlBuilder() {
- bitField0_ |= 0x00200000;
- onChanged();
- return getMissionstatementurlFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getMissionstatementurlOrBuilder() {
- if (missionstatementurlBuilder_ != null) {
- return missionstatementurlBuilder_.getMessageOrBuilder();
- } else {
- return missionstatementurl_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getMissionstatementurlFieldBuilder() {
- if (missionstatementurlBuilder_ == null) {
- missionstatementurlBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- missionstatementurl_,
- getParentForChildren(),
- isClean());
- missionstatementurl_ = null;
- }
- return missionstatementurlBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.BoolField dataprovider = 34;
- private eu.dnetlib.data.proto.FieldTypeProtos.BoolField dataprovider_ = eu.dnetlib.data.proto.FieldTypeProtos.BoolField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.BoolField, eu.dnetlib.data.proto.FieldTypeProtos.BoolField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.BoolFieldOrBuilder> dataproviderBuilder_;
- public boolean hasDataprovider() {
- return ((bitField0_ & 0x00400000) == 0x00400000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.BoolField getDataprovider() {
- if (dataproviderBuilder_ == null) {
- return dataprovider_;
- } else {
- return dataproviderBuilder_.getMessage();
- }
- }
- public Builder setDataprovider(eu.dnetlib.data.proto.FieldTypeProtos.BoolField value) {
- if (dataproviderBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- dataprovider_ = value;
- onChanged();
- } else {
- dataproviderBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00400000;
- return this;
- }
- public Builder setDataprovider(
- eu.dnetlib.data.proto.FieldTypeProtos.BoolField.Builder builderForValue) {
- if (dataproviderBuilder_ == null) {
- dataprovider_ = builderForValue.build();
- onChanged();
- } else {
- dataproviderBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00400000;
- return this;
- }
- public Builder mergeDataprovider(eu.dnetlib.data.proto.FieldTypeProtos.BoolField value) {
- if (dataproviderBuilder_ == null) {
- if (((bitField0_ & 0x00400000) == 0x00400000) &&
- dataprovider_ != eu.dnetlib.data.proto.FieldTypeProtos.BoolField.getDefaultInstance()) {
- dataprovider_ =
- eu.dnetlib.data.proto.FieldTypeProtos.BoolField.newBuilder(dataprovider_).mergeFrom(value).buildPartial();
- } else {
- dataprovider_ = value;
- }
- onChanged();
- } else {
- dataproviderBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00400000;
- return this;
- }
- public Builder clearDataprovider() {
- if (dataproviderBuilder_ == null) {
- dataprovider_ = eu.dnetlib.data.proto.FieldTypeProtos.BoolField.getDefaultInstance();
- onChanged();
- } else {
- dataproviderBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00400000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.BoolField.Builder getDataproviderBuilder() {
- bitField0_ |= 0x00400000;
- onChanged();
- return getDataproviderFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.BoolFieldOrBuilder getDataproviderOrBuilder() {
- if (dataproviderBuilder_ != null) {
- return dataproviderBuilder_.getMessageOrBuilder();
- } else {
- return dataprovider_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.BoolField, eu.dnetlib.data.proto.FieldTypeProtos.BoolField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.BoolFieldOrBuilder>
- getDataproviderFieldBuilder() {
- if (dataproviderBuilder_ == null) {
- dataproviderBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.BoolField, eu.dnetlib.data.proto.FieldTypeProtos.BoolField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.BoolFieldOrBuilder>(
- dataprovider_,
- getParentForChildren(),
- isClean());
- dataprovider_ = null;
- }
- return dataproviderBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.BoolField serviceprovider = 35;
- private eu.dnetlib.data.proto.FieldTypeProtos.BoolField serviceprovider_ = eu.dnetlib.data.proto.FieldTypeProtos.BoolField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.BoolField, eu.dnetlib.data.proto.FieldTypeProtos.BoolField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.BoolFieldOrBuilder> serviceproviderBuilder_;
- public boolean hasServiceprovider() {
- return ((bitField0_ & 0x00800000) == 0x00800000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.BoolField getServiceprovider() {
- if (serviceproviderBuilder_ == null) {
- return serviceprovider_;
- } else {
- return serviceproviderBuilder_.getMessage();
- }
- }
- public Builder setServiceprovider(eu.dnetlib.data.proto.FieldTypeProtos.BoolField value) {
- if (serviceproviderBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- serviceprovider_ = value;
- onChanged();
- } else {
- serviceproviderBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00800000;
- return this;
- }
- public Builder setServiceprovider(
- eu.dnetlib.data.proto.FieldTypeProtos.BoolField.Builder builderForValue) {
- if (serviceproviderBuilder_ == null) {
- serviceprovider_ = builderForValue.build();
- onChanged();
- } else {
- serviceproviderBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00800000;
- return this;
- }
- public Builder mergeServiceprovider(eu.dnetlib.data.proto.FieldTypeProtos.BoolField value) {
- if (serviceproviderBuilder_ == null) {
- if (((bitField0_ & 0x00800000) == 0x00800000) &&
- serviceprovider_ != eu.dnetlib.data.proto.FieldTypeProtos.BoolField.getDefaultInstance()) {
- serviceprovider_ =
- eu.dnetlib.data.proto.FieldTypeProtos.BoolField.newBuilder(serviceprovider_).mergeFrom(value).buildPartial();
- } else {
- serviceprovider_ = value;
- }
- onChanged();
- } else {
- serviceproviderBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00800000;
- return this;
- }
- public Builder clearServiceprovider() {
- if (serviceproviderBuilder_ == null) {
- serviceprovider_ = eu.dnetlib.data.proto.FieldTypeProtos.BoolField.getDefaultInstance();
- onChanged();
- } else {
- serviceproviderBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00800000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.BoolField.Builder getServiceproviderBuilder() {
- bitField0_ |= 0x00800000;
- onChanged();
- return getServiceproviderFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.BoolFieldOrBuilder getServiceproviderOrBuilder() {
- if (serviceproviderBuilder_ != null) {
- return serviceproviderBuilder_.getMessageOrBuilder();
- } else {
- return serviceprovider_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.BoolField, eu.dnetlib.data.proto.FieldTypeProtos.BoolField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.BoolFieldOrBuilder>
- getServiceproviderFieldBuilder() {
- if (serviceproviderBuilder_ == null) {
- serviceproviderBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.BoolField, eu.dnetlib.data.proto.FieldTypeProtos.BoolField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.BoolFieldOrBuilder>(
- serviceprovider_,
- getParentForChildren(),
- isClean());
- serviceprovider_ = null;
- }
- return serviceproviderBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField databaseaccesstype = 36;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField databaseaccesstype_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> databaseaccesstypeBuilder_;
- public boolean hasDatabaseaccesstype() {
- return ((bitField0_ & 0x01000000) == 0x01000000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getDatabaseaccesstype() {
- if (databaseaccesstypeBuilder_ == null) {
- return databaseaccesstype_;
- } else {
- return databaseaccesstypeBuilder_.getMessage();
- }
- }
- public Builder setDatabaseaccesstype(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (databaseaccesstypeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- databaseaccesstype_ = value;
- onChanged();
- } else {
- databaseaccesstypeBuilder_.setMessage(value);
- }
- bitField0_ |= 0x01000000;
- return this;
- }
- public Builder setDatabaseaccesstype(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (databaseaccesstypeBuilder_ == null) {
- databaseaccesstype_ = builderForValue.build();
- onChanged();
- } else {
- databaseaccesstypeBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x01000000;
- return this;
- }
- public Builder mergeDatabaseaccesstype(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (databaseaccesstypeBuilder_ == null) {
- if (((bitField0_ & 0x01000000) == 0x01000000) &&
- databaseaccesstype_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- databaseaccesstype_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(databaseaccesstype_).mergeFrom(value).buildPartial();
- } else {
- databaseaccesstype_ = value;
- }
- onChanged();
- } else {
- databaseaccesstypeBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x01000000;
- return this;
- }
- public Builder clearDatabaseaccesstype() {
- if (databaseaccesstypeBuilder_ == null) {
- databaseaccesstype_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- databaseaccesstypeBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x01000000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getDatabaseaccesstypeBuilder() {
- bitField0_ |= 0x01000000;
- onChanged();
- return getDatabaseaccesstypeFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDatabaseaccesstypeOrBuilder() {
- if (databaseaccesstypeBuilder_ != null) {
- return databaseaccesstypeBuilder_.getMessageOrBuilder();
- } else {
- return databaseaccesstype_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getDatabaseaccesstypeFieldBuilder() {
- if (databaseaccesstypeBuilder_ == null) {
- databaseaccesstypeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- databaseaccesstype_,
- getParentForChildren(),
- isClean());
- databaseaccesstype_ = null;
- }
- return databaseaccesstypeBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField datauploadtype = 37;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField datauploadtype_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> datauploadtypeBuilder_;
- public boolean hasDatauploadtype() {
- return ((bitField0_ & 0x02000000) == 0x02000000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getDatauploadtype() {
- if (datauploadtypeBuilder_ == null) {
- return datauploadtype_;
- } else {
- return datauploadtypeBuilder_.getMessage();
- }
- }
- public Builder setDatauploadtype(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (datauploadtypeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- datauploadtype_ = value;
- onChanged();
- } else {
- datauploadtypeBuilder_.setMessage(value);
- }
- bitField0_ |= 0x02000000;
- return this;
- }
- public Builder setDatauploadtype(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (datauploadtypeBuilder_ == null) {
- datauploadtype_ = builderForValue.build();
- onChanged();
- } else {
- datauploadtypeBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x02000000;
- return this;
- }
- public Builder mergeDatauploadtype(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (datauploadtypeBuilder_ == null) {
- if (((bitField0_ & 0x02000000) == 0x02000000) &&
- datauploadtype_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- datauploadtype_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(datauploadtype_).mergeFrom(value).buildPartial();
- } else {
- datauploadtype_ = value;
- }
- onChanged();
- } else {
- datauploadtypeBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x02000000;
- return this;
- }
- public Builder clearDatauploadtype() {
- if (datauploadtypeBuilder_ == null) {
- datauploadtype_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- datauploadtypeBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x02000000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getDatauploadtypeBuilder() {
- bitField0_ |= 0x02000000;
- onChanged();
- return getDatauploadtypeFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDatauploadtypeOrBuilder() {
- if (datauploadtypeBuilder_ != null) {
- return datauploadtypeBuilder_.getMessageOrBuilder();
- } else {
- return datauploadtype_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getDatauploadtypeFieldBuilder() {
- if (datauploadtypeBuilder_ == null) {
- datauploadtypeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- datauploadtype_,
- getParentForChildren(),
- isClean());
- datauploadtype_ = null;
- }
- return datauploadtypeBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField databaseaccessrestriction = 38;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField databaseaccessrestriction_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> databaseaccessrestrictionBuilder_;
- public boolean hasDatabaseaccessrestriction() {
- return ((bitField0_ & 0x04000000) == 0x04000000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getDatabaseaccessrestriction() {
- if (databaseaccessrestrictionBuilder_ == null) {
- return databaseaccessrestriction_;
- } else {
- return databaseaccessrestrictionBuilder_.getMessage();
- }
- }
- public Builder setDatabaseaccessrestriction(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (databaseaccessrestrictionBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- databaseaccessrestriction_ = value;
- onChanged();
- } else {
- databaseaccessrestrictionBuilder_.setMessage(value);
- }
- bitField0_ |= 0x04000000;
- return this;
- }
- public Builder setDatabaseaccessrestriction(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (databaseaccessrestrictionBuilder_ == null) {
- databaseaccessrestriction_ = builderForValue.build();
- onChanged();
- } else {
- databaseaccessrestrictionBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x04000000;
- return this;
- }
- public Builder mergeDatabaseaccessrestriction(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (databaseaccessrestrictionBuilder_ == null) {
- if (((bitField0_ & 0x04000000) == 0x04000000) &&
- databaseaccessrestriction_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- databaseaccessrestriction_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(databaseaccessrestriction_).mergeFrom(value).buildPartial();
- } else {
- databaseaccessrestriction_ = value;
- }
- onChanged();
- } else {
- databaseaccessrestrictionBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x04000000;
- return this;
- }
- public Builder clearDatabaseaccessrestriction() {
- if (databaseaccessrestrictionBuilder_ == null) {
- databaseaccessrestriction_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- databaseaccessrestrictionBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x04000000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getDatabaseaccessrestrictionBuilder() {
- bitField0_ |= 0x04000000;
- onChanged();
- return getDatabaseaccessrestrictionFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDatabaseaccessrestrictionOrBuilder() {
- if (databaseaccessrestrictionBuilder_ != null) {
- return databaseaccessrestrictionBuilder_.getMessageOrBuilder();
- } else {
- return databaseaccessrestriction_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getDatabaseaccessrestrictionFieldBuilder() {
- if (databaseaccessrestrictionBuilder_ == null) {
- databaseaccessrestrictionBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- databaseaccessrestriction_,
- getParentForChildren(),
- isClean());
- databaseaccessrestriction_ = null;
- }
- return databaseaccessrestrictionBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField datauploadrestriction = 39;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField datauploadrestriction_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> datauploadrestrictionBuilder_;
- public boolean hasDatauploadrestriction() {
- return ((bitField0_ & 0x08000000) == 0x08000000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getDatauploadrestriction() {
- if (datauploadrestrictionBuilder_ == null) {
- return datauploadrestriction_;
- } else {
- return datauploadrestrictionBuilder_.getMessage();
- }
- }
- public Builder setDatauploadrestriction(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (datauploadrestrictionBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- datauploadrestriction_ = value;
- onChanged();
- } else {
- datauploadrestrictionBuilder_.setMessage(value);
- }
- bitField0_ |= 0x08000000;
- return this;
- }
- public Builder setDatauploadrestriction(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (datauploadrestrictionBuilder_ == null) {
- datauploadrestriction_ = builderForValue.build();
- onChanged();
- } else {
- datauploadrestrictionBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x08000000;
- return this;
- }
- public Builder mergeDatauploadrestriction(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (datauploadrestrictionBuilder_ == null) {
- if (((bitField0_ & 0x08000000) == 0x08000000) &&
- datauploadrestriction_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- datauploadrestriction_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(datauploadrestriction_).mergeFrom(value).buildPartial();
- } else {
- datauploadrestriction_ = value;
- }
- onChanged();
- } else {
- datauploadrestrictionBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x08000000;
- return this;
- }
- public Builder clearDatauploadrestriction() {
- if (datauploadrestrictionBuilder_ == null) {
- datauploadrestriction_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- datauploadrestrictionBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x08000000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getDatauploadrestrictionBuilder() {
- bitField0_ |= 0x08000000;
- onChanged();
- return getDatauploadrestrictionFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDatauploadrestrictionOrBuilder() {
- if (datauploadrestrictionBuilder_ != null) {
- return datauploadrestrictionBuilder_.getMessageOrBuilder();
- } else {
- return datauploadrestriction_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getDatauploadrestrictionFieldBuilder() {
- if (datauploadrestrictionBuilder_ == null) {
- datauploadrestrictionBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- datauploadrestriction_,
- getParentForChildren(),
- isClean());
- datauploadrestriction_ = null;
- }
- return datauploadrestrictionBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.BoolField versioning = 40;
- private eu.dnetlib.data.proto.FieldTypeProtos.BoolField versioning_ = eu.dnetlib.data.proto.FieldTypeProtos.BoolField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.BoolField, eu.dnetlib.data.proto.FieldTypeProtos.BoolField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.BoolFieldOrBuilder> versioningBuilder_;
- public boolean hasVersioning() {
- return ((bitField0_ & 0x10000000) == 0x10000000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.BoolField getVersioning() {
- if (versioningBuilder_ == null) {
- return versioning_;
- } else {
- return versioningBuilder_.getMessage();
- }
- }
- public Builder setVersioning(eu.dnetlib.data.proto.FieldTypeProtos.BoolField value) {
- if (versioningBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- versioning_ = value;
- onChanged();
- } else {
- versioningBuilder_.setMessage(value);
- }
- bitField0_ |= 0x10000000;
- return this;
- }
- public Builder setVersioning(
- eu.dnetlib.data.proto.FieldTypeProtos.BoolField.Builder builderForValue) {
- if (versioningBuilder_ == null) {
- versioning_ = builderForValue.build();
- onChanged();
- } else {
- versioningBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x10000000;
- return this;
- }
- public Builder mergeVersioning(eu.dnetlib.data.proto.FieldTypeProtos.BoolField value) {
- if (versioningBuilder_ == null) {
- if (((bitField0_ & 0x10000000) == 0x10000000) &&
- versioning_ != eu.dnetlib.data.proto.FieldTypeProtos.BoolField.getDefaultInstance()) {
- versioning_ =
- eu.dnetlib.data.proto.FieldTypeProtos.BoolField.newBuilder(versioning_).mergeFrom(value).buildPartial();
- } else {
- versioning_ = value;
- }
- onChanged();
- } else {
- versioningBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x10000000;
- return this;
- }
- public Builder clearVersioning() {
- if (versioningBuilder_ == null) {
- versioning_ = eu.dnetlib.data.proto.FieldTypeProtos.BoolField.getDefaultInstance();
- onChanged();
- } else {
- versioningBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x10000000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.BoolField.Builder getVersioningBuilder() {
- bitField0_ |= 0x10000000;
- onChanged();
- return getVersioningFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.BoolFieldOrBuilder getVersioningOrBuilder() {
- if (versioningBuilder_ != null) {
- return versioningBuilder_.getMessageOrBuilder();
- } else {
- return versioning_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.BoolField, eu.dnetlib.data.proto.FieldTypeProtos.BoolField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.BoolFieldOrBuilder>
- getVersioningFieldBuilder() {
- if (versioningBuilder_ == null) {
- versioningBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.BoolField, eu.dnetlib.data.proto.FieldTypeProtos.BoolField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.BoolFieldOrBuilder>(
- versioning_,
- getParentForChildren(),
- isClean());
- versioning_ = null;
- }
- return versioningBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField citationguidelineurl = 41;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField citationguidelineurl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> citationguidelineurlBuilder_;
- public boolean hasCitationguidelineurl() {
- return ((bitField0_ & 0x20000000) == 0x20000000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getCitationguidelineurl() {
- if (citationguidelineurlBuilder_ == null) {
- return citationguidelineurl_;
- } else {
- return citationguidelineurlBuilder_.getMessage();
- }
- }
- public Builder setCitationguidelineurl(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (citationguidelineurlBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- citationguidelineurl_ = value;
- onChanged();
- } else {
- citationguidelineurlBuilder_.setMessage(value);
- }
- bitField0_ |= 0x20000000;
- return this;
- }
- public Builder setCitationguidelineurl(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (citationguidelineurlBuilder_ == null) {
- citationguidelineurl_ = builderForValue.build();
- onChanged();
- } else {
- citationguidelineurlBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x20000000;
- return this;
- }
- public Builder mergeCitationguidelineurl(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (citationguidelineurlBuilder_ == null) {
- if (((bitField0_ & 0x20000000) == 0x20000000) &&
- citationguidelineurl_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- citationguidelineurl_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(citationguidelineurl_).mergeFrom(value).buildPartial();
- } else {
- citationguidelineurl_ = value;
- }
- onChanged();
- } else {
- citationguidelineurlBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x20000000;
- return this;
- }
- public Builder clearCitationguidelineurl() {
- if (citationguidelineurlBuilder_ == null) {
- citationguidelineurl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- citationguidelineurlBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x20000000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getCitationguidelineurlBuilder() {
- bitField0_ |= 0x20000000;
- onChanged();
- return getCitationguidelineurlFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getCitationguidelineurlOrBuilder() {
- if (citationguidelineurlBuilder_ != null) {
- return citationguidelineurlBuilder_.getMessageOrBuilder();
- } else {
- return citationguidelineurl_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getCitationguidelineurlFieldBuilder() {
- if (citationguidelineurlBuilder_ == null) {
- citationguidelineurlBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- citationguidelineurl_,
- getParentForChildren(),
- isClean());
- citationguidelineurl_ = null;
- }
- return citationguidelineurlBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField qualitymanagementkind = 42;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField qualitymanagementkind_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> qualitymanagementkindBuilder_;
- public boolean hasQualitymanagementkind() {
- return ((bitField0_ & 0x40000000) == 0x40000000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getQualitymanagementkind() {
- if (qualitymanagementkindBuilder_ == null) {
- return qualitymanagementkind_;
- } else {
- return qualitymanagementkindBuilder_.getMessage();
- }
- }
- public Builder setQualitymanagementkind(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (qualitymanagementkindBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- qualitymanagementkind_ = value;
- onChanged();
- } else {
- qualitymanagementkindBuilder_.setMessage(value);
- }
- bitField0_ |= 0x40000000;
- return this;
- }
- public Builder setQualitymanagementkind(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (qualitymanagementkindBuilder_ == null) {
- qualitymanagementkind_ = builderForValue.build();
- onChanged();
- } else {
- qualitymanagementkindBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x40000000;
- return this;
- }
- public Builder mergeQualitymanagementkind(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (qualitymanagementkindBuilder_ == null) {
- if (((bitField0_ & 0x40000000) == 0x40000000) &&
- qualitymanagementkind_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- qualitymanagementkind_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(qualitymanagementkind_).mergeFrom(value).buildPartial();
- } else {
- qualitymanagementkind_ = value;
- }
- onChanged();
- } else {
- qualitymanagementkindBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x40000000;
- return this;
- }
- public Builder clearQualitymanagementkind() {
- if (qualitymanagementkindBuilder_ == null) {
- qualitymanagementkind_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- qualitymanagementkindBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x40000000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getQualitymanagementkindBuilder() {
- bitField0_ |= 0x40000000;
- onChanged();
- return getQualitymanagementkindFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getQualitymanagementkindOrBuilder() {
- if (qualitymanagementkindBuilder_ != null) {
- return qualitymanagementkindBuilder_.getMessageOrBuilder();
- } else {
- return qualitymanagementkind_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getQualitymanagementkindFieldBuilder() {
- if (qualitymanagementkindBuilder_ == null) {
- qualitymanagementkindBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- qualitymanagementkind_,
- getParentForChildren(),
- isClean());
- qualitymanagementkind_ = null;
- }
- return qualitymanagementkindBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField pidsystems = 43;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField pidsystems_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> pidsystemsBuilder_;
- public boolean hasPidsystems() {
- return ((bitField0_ & 0x80000000) == 0x80000000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getPidsystems() {
- if (pidsystemsBuilder_ == null) {
- return pidsystems_;
- } else {
- return pidsystemsBuilder_.getMessage();
- }
- }
- public Builder setPidsystems(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (pidsystemsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- pidsystems_ = value;
- onChanged();
- } else {
- pidsystemsBuilder_.setMessage(value);
- }
- bitField0_ |= 0x80000000;
- return this;
- }
- public Builder setPidsystems(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (pidsystemsBuilder_ == null) {
- pidsystems_ = builderForValue.build();
- onChanged();
- } else {
- pidsystemsBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x80000000;
- return this;
- }
- public Builder mergePidsystems(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (pidsystemsBuilder_ == null) {
- if (((bitField0_ & 0x80000000) == 0x80000000) &&
- pidsystems_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- pidsystems_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(pidsystems_).mergeFrom(value).buildPartial();
- } else {
- pidsystems_ = value;
- }
- onChanged();
- } else {
- pidsystemsBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x80000000;
- return this;
- }
- public Builder clearPidsystems() {
- if (pidsystemsBuilder_ == null) {
- pidsystems_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- pidsystemsBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x80000000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getPidsystemsBuilder() {
- bitField0_ |= 0x80000000;
- onChanged();
- return getPidsystemsFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getPidsystemsOrBuilder() {
- if (pidsystemsBuilder_ != null) {
- return pidsystemsBuilder_.getMessageOrBuilder();
- } else {
- return pidsystems_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getPidsystemsFieldBuilder() {
- if (pidsystemsBuilder_ == null) {
- pidsystemsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- pidsystems_,
- getParentForChildren(),
- isClean());
- pidsystems_ = null;
- }
- return pidsystemsBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField certificates = 44;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField certificates_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> certificatesBuilder_;
- public boolean hasCertificates() {
- return ((bitField1_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getCertificates() {
- if (certificatesBuilder_ == null) {
- return certificates_;
- } else {
- return certificatesBuilder_.getMessage();
- }
- }
- public Builder setCertificates(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (certificatesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- certificates_ = value;
- onChanged();
- } else {
- certificatesBuilder_.setMessage(value);
- }
- bitField1_ |= 0x00000001;
- return this;
- }
- public Builder setCertificates(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (certificatesBuilder_ == null) {
- certificates_ = builderForValue.build();
- onChanged();
- } else {
- certificatesBuilder_.setMessage(builderForValue.build());
- }
- bitField1_ |= 0x00000001;
- return this;
- }
- public Builder mergeCertificates(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (certificatesBuilder_ == null) {
- if (((bitField1_ & 0x00000001) == 0x00000001) &&
- certificates_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- certificates_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(certificates_).mergeFrom(value).buildPartial();
- } else {
- certificates_ = value;
- }
- onChanged();
- } else {
- certificatesBuilder_.mergeFrom(value);
- }
- bitField1_ |= 0x00000001;
- return this;
- }
- public Builder clearCertificates() {
- if (certificatesBuilder_ == null) {
- certificates_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- certificatesBuilder_.clear();
- }
- bitField1_ = (bitField1_ & ~0x00000001);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getCertificatesBuilder() {
- bitField1_ |= 0x00000001;
- onChanged();
- return getCertificatesFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getCertificatesOrBuilder() {
- if (certificatesBuilder_ != null) {
- return certificatesBuilder_.getMessageOrBuilder();
- } else {
- return certificates_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getCertificatesFieldBuilder() {
- if (certificatesBuilder_ == null) {
- certificatesBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- certificates_,
- getParentForChildren(),
- isClean());
- certificates_ = null;
- }
- return certificatesBuilder_;
- }
-
- // repeated .eu.dnetlib.data.proto.KeyValue policies = 46;
- private java.util.List policies_ =
- java.util.Collections.emptyList();
- private void ensurePoliciesIsMutable() {
- if (!((bitField1_ & 0x00000002) == 0x00000002)) {
- policies_ = new java.util.ArrayList(policies_);
- bitField1_ |= 0x00000002;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder, eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder> policiesBuilder_;
-
- public java.util.List getPoliciesList() {
- if (policiesBuilder_ == null) {
- return java.util.Collections.unmodifiableList(policies_);
- } else {
- return policiesBuilder_.getMessageList();
- }
- }
- public int getPoliciesCount() {
- if (policiesBuilder_ == null) {
- return policies_.size();
- } else {
- return policiesBuilder_.getCount();
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValue getPolicies(int index) {
- if (policiesBuilder_ == null) {
- return policies_.get(index);
- } else {
- return policiesBuilder_.getMessage(index);
- }
- }
- public Builder setPolicies(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue value) {
- if (policiesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensurePoliciesIsMutable();
- policies_.set(index, value);
- onChanged();
- } else {
- policiesBuilder_.setMessage(index, value);
- }
- return this;
- }
- public Builder setPolicies(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder builderForValue) {
- if (policiesBuilder_ == null) {
- ensurePoliciesIsMutable();
- policies_.set(index, builderForValue.build());
- onChanged();
- } else {
- policiesBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addPolicies(eu.dnetlib.data.proto.FieldTypeProtos.KeyValue value) {
- if (policiesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensurePoliciesIsMutable();
- policies_.add(value);
- onChanged();
- } else {
- policiesBuilder_.addMessage(value);
- }
- return this;
- }
- public Builder addPolicies(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue value) {
- if (policiesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensurePoliciesIsMutable();
- policies_.add(index, value);
- onChanged();
- } else {
- policiesBuilder_.addMessage(index, value);
- }
- return this;
- }
- public Builder addPolicies(
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder builderForValue) {
- if (policiesBuilder_ == null) {
- ensurePoliciesIsMutable();
- policies_.add(builderForValue.build());
- onChanged();
- } else {
- policiesBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- public Builder addPolicies(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder builderForValue) {
- if (policiesBuilder_ == null) {
- ensurePoliciesIsMutable();
- policies_.add(index, builderForValue.build());
- onChanged();
- } else {
- policiesBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addAllPolicies(
- java.lang.Iterable extends eu.dnetlib.data.proto.FieldTypeProtos.KeyValue> values) {
- if (policiesBuilder_ == null) {
- ensurePoliciesIsMutable();
- super.addAll(values, policies_);
- onChanged();
- } else {
- policiesBuilder_.addAllMessages(values);
- }
- return this;
- }
- public Builder clearPolicies() {
- if (policiesBuilder_ == null) {
- policies_ = java.util.Collections.emptyList();
- bitField1_ = (bitField1_ & ~0x00000002);
- onChanged();
- } else {
- policiesBuilder_.clear();
- }
- return this;
- }
- public Builder removePolicies(int index) {
- if (policiesBuilder_ == null) {
- ensurePoliciesIsMutable();
- policies_.remove(index);
- onChanged();
- } else {
- policiesBuilder_.remove(index);
- }
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder getPoliciesBuilder(
- int index) {
- return getPoliciesFieldBuilder().getBuilder(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder getPoliciesOrBuilder(
- int index) {
- if (policiesBuilder_ == null) {
- return policies_.get(index); } else {
- return policiesBuilder_.getMessageOrBuilder(index);
- }
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder>
- getPoliciesOrBuilderList() {
- if (policiesBuilder_ != null) {
- return policiesBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(policies_);
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder addPoliciesBuilder() {
- return getPoliciesFieldBuilder().addBuilder(
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.getDefaultInstance());
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder addPoliciesBuilder(
- int index) {
- return getPoliciesFieldBuilder().addBuilder(
- index, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.getDefaultInstance());
- }
- public java.util.List
- getPoliciesBuilderList() {
- return getPoliciesFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder, eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder>
- getPoliciesFieldBuilder() {
- if (policiesBuilder_ == null) {
- policiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder, eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder>(
- policies_,
- ((bitField1_ & 0x00000002) == 0x00000002),
- getParentForChildren(),
- isClean());
- policies_ = null;
- }
- return policiesBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.Datasource.Metadata)
- }
-
- static {
- defaultInstance = new Metadata(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.Datasource.Metadata)
- }
-
- private int bitField0_;
- // optional .eu.dnetlib.data.proto.Datasource.Metadata metadata = 2;
- public static final int METADATA_FIELD_NUMBER = 2;
- private eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata metadata_;
- public boolean hasMetadata() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata getMetadata() {
- return metadata_;
- }
- public eu.dnetlib.data.proto.DatasourceProtos.Datasource.MetadataOrBuilder getMetadataOrBuilder() {
- return metadata_;
- }
-
- private void initFields() {
- metadata_ = eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (hasMetadata()) {
- if (!getMetadata().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeMessage(2, metadata_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, metadata_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.DatasourceProtos.Datasource parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceProtos.Datasource parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceProtos.Datasource parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceProtos.Datasource parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceProtos.Datasource parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceProtos.Datasource parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceProtos.Datasource parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.DatasourceProtos.Datasource parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.DatasourceProtos.Datasource parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.DatasourceProtos.Datasource parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.DatasourceProtos.Datasource prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.DatasourceProtos.DatasourceOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.DatasourceProtos.internal_static_eu_dnetlib_data_proto_Datasource_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.DatasourceProtos.internal_static_eu_dnetlib_data_proto_Datasource_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.DatasourceProtos.Datasource.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getMetadataFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- if (metadataBuilder_ == null) {
- metadata_ = eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata.getDefaultInstance();
- } else {
- metadataBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.DatasourceProtos.Datasource.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.DatasourceProtos.Datasource getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.DatasourceProtos.Datasource.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.DatasourceProtos.Datasource build() {
- eu.dnetlib.data.proto.DatasourceProtos.Datasource result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.DatasourceProtos.Datasource buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.DatasourceProtos.Datasource result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.DatasourceProtos.Datasource buildPartial() {
- eu.dnetlib.data.proto.DatasourceProtos.Datasource result = new eu.dnetlib.data.proto.DatasourceProtos.Datasource(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- if (metadataBuilder_ == null) {
- result.metadata_ = metadata_;
- } else {
- result.metadata_ = metadataBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.DatasourceProtos.Datasource) {
- return mergeFrom((eu.dnetlib.data.proto.DatasourceProtos.Datasource)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.DatasourceProtos.Datasource other) {
- if (other == eu.dnetlib.data.proto.DatasourceProtos.Datasource.getDefaultInstance()) return this;
- if (other.hasMetadata()) {
- mergeMetadata(other.getMetadata());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (hasMetadata()) {
- if (!getMetadata().isInitialized()) {
-
- return false;
- }
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 18: {
- eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata.Builder subBuilder = eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata.newBuilder();
- if (hasMetadata()) {
- subBuilder.mergeFrom(getMetadata());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setMetadata(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // optional .eu.dnetlib.data.proto.Datasource.Metadata metadata = 2;
- private eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata metadata_ = eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata, eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata.Builder, eu.dnetlib.data.proto.DatasourceProtos.Datasource.MetadataOrBuilder> metadataBuilder_;
- public boolean hasMetadata() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata getMetadata() {
- if (metadataBuilder_ == null) {
- return metadata_;
- } else {
- return metadataBuilder_.getMessage();
- }
- }
- public Builder setMetadata(eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata value) {
- if (metadataBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- metadata_ = value;
- onChanged();
- } else {
- metadataBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder setMetadata(
- eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata.Builder builderForValue) {
- if (metadataBuilder_ == null) {
- metadata_ = builderForValue.build();
- onChanged();
- } else {
- metadataBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder mergeMetadata(eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata value) {
- if (metadataBuilder_ == null) {
- if (((bitField0_ & 0x00000001) == 0x00000001) &&
- metadata_ != eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata.getDefaultInstance()) {
- metadata_ =
- eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
- } else {
- metadata_ = value;
- }
- onChanged();
- } else {
- metadataBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder clearMetadata() {
- if (metadataBuilder_ == null) {
- metadata_ = eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata.getDefaultInstance();
- onChanged();
- } else {
- metadataBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
- public eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata.Builder getMetadataBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return getMetadataFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.DatasourceProtos.Datasource.MetadataOrBuilder getMetadataOrBuilder() {
- if (metadataBuilder_ != null) {
- return metadataBuilder_.getMessageOrBuilder();
- } else {
- return metadata_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata, eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata.Builder, eu.dnetlib.data.proto.DatasourceProtos.Datasource.MetadataOrBuilder>
- getMetadataFieldBuilder() {
- if (metadataBuilder_ == null) {
- metadataBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata, eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata.Builder, eu.dnetlib.data.proto.DatasourceProtos.Datasource.MetadataOrBuilder>(
- metadata_,
- getParentForChildren(),
- isClean());
- metadata_ = null;
- }
- return metadataBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.Datasource)
- }
-
- static {
- defaultInstance = new Datasource(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.Datasource)
- }
-
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_Datasource_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_Datasource_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_Datasource_Metadata_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_Datasource_Metadata_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
- return descriptor;
- }
- private static com.google.protobuf.Descriptors.FileDescriptor
- descriptor;
- static {
- java.lang.String[] descriptorData = {
- "\n\020Datasource.proto\022\025eu.dnetlib.data.prot" +
- "o\032\017FieldType.proto\"\310\020\n\nDatasource\022<\n\010met" +
- "adata\030\002 \001(\0132*.eu.dnetlib.data.proto.Data" +
- "source.Metadata\032\373\017\n\010Metadata\0228\n\016datasour" +
- "cetype\030\017 \001(\0132 .eu.dnetlib.data.proto.Qua" +
- "lifier\022?\n\025openairecompatibility\030\021 \001(\0132 ." +
- "eu.dnetlib.data.proto.Qualifier\0228\n\014offic" +
- "ialname\030\001 \001(\0132\".eu.dnetlib.data.proto.St" +
- "ringField\0227\n\013englishname\030\002 \001(\0132\".eu.dnet" +
- "lib.data.proto.StringField\0226\n\nwebsiteurl",
- "\030\003 \001(\0132\".eu.dnetlib.data.proto.StringFie" +
- "ld\0223\n\007logourl\030\004 \001(\0132\".eu.dnetlib.data.pr" +
- "oto.StringField\0228\n\014contactemail\030\005 \001(\0132\"." +
- "eu.dnetlib.data.proto.StringField\022;\n\017nam" +
- "espaceprefix\030\007 \001(\0132\".eu.dnetlib.data.pro" +
- "to.StringField\0224\n\010latitude\030\022 \001(\0132\".eu.dn" +
- "etlib.data.proto.StringField\0225\n\tlongitud" +
- "e\030\023 \001(\0132\".eu.dnetlib.data.proto.StringFi" +
- "eld\022<\n\020dateofvalidation\030\024 \001(\0132\".eu.dnetl" +
- "ib.data.proto.StringField\0227\n\013description",
- "\030\025 \001(\0132\".eu.dnetlib.data.proto.StringFie" +
- "ld\022;\n\010subjects\030- \003(\0132).eu.dnetlib.data.p" +
- "roto.StructuredProperty\022;\n\017odnumberofite" +
- "ms\030\t \001(\0132\".eu.dnetlib.data.proto.StringF" +
- "ield\022?\n\023odnumberofitemsdate\030\n \001(\0132\".eu.d" +
- "netlib.data.proto.StringField\0226\n\nodpolic" +
- "ies\030\014 \001(\0132\".eu.dnetlib.data.proto.String" +
- "Field\0227\n\013odlanguages\030\r \003(\0132\".eu.dnetlib." +
- "data.proto.StringField\022:\n\016odcontenttypes" +
- "\030\016 \003(\0132\".eu.dnetlib.data.proto.StringFie",
- "ld\022=\n\021accessinfopackage\030\006 \003(\0132\".eu.dnetl" +
- "ib.data.proto.StringField\022<\n\020releasestar" +
- "tdate\030\037 \001(\0132\".eu.dnetlib.data.proto.Stri" +
- "ngField\022:\n\016releaseenddate\030 \001(\0132\".eu.dne" +
- "tlib.data.proto.StringField\022?\n\023missionst" +
- "atementurl\030! \001(\0132\".eu.dnetlib.data.proto" +
- ".StringField\0226\n\014dataprovider\030\" \001(\0132 .eu." +
- "dnetlib.data.proto.BoolField\0229\n\017servicep" +
- "rovider\030# \001(\0132 .eu.dnetlib.data.proto.Bo" +
- "olField\022>\n\022databaseaccesstype\030$ \001(\0132\".eu",
- ".dnetlib.data.proto.StringField\022:\n\016datau" +
- "ploadtype\030% \001(\0132\".eu.dnetlib.data.proto." +
- "StringField\022E\n\031databaseaccessrestriction" +
- "\030& \001(\0132\".eu.dnetlib.data.proto.StringFie" +
- "ld\022A\n\025datauploadrestriction\030\' \001(\0132\".eu.d" +
- "netlib.data.proto.StringField\0224\n\nversion" +
- "ing\030( \001(\0132 .eu.dnetlib.data.proto.BoolFi" +
- "eld\022@\n\024citationguidelineurl\030) \001(\0132\".eu.d" +
- "netlib.data.proto.StringField\022A\n\025quality" +
- "managementkind\030* \001(\0132\".eu.dnetlib.data.p",
- "roto.StringField\0226\n\npidsystems\030+ \001(\0132\".e" +
- "u.dnetlib.data.proto.StringField\0228\n\014cert" +
- "ificates\030, \001(\0132\".eu.dnetlib.data.proto.S" +
- "tringField\0221\n\010policies\030. \003(\0132\037.eu.dnetli" +
- "b.data.proto.KeyValueB)\n\025eu.dnetlib.data" +
- ".protoB\020DatasourceProtos"
- };
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- internal_static_eu_dnetlib_data_proto_Datasource_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_eu_dnetlib_data_proto_Datasource_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_Datasource_descriptor,
- new java.lang.String[] { "Metadata", },
- eu.dnetlib.data.proto.DatasourceProtos.Datasource.class,
- eu.dnetlib.data.proto.DatasourceProtos.Datasource.Builder.class);
- internal_static_eu_dnetlib_data_proto_Datasource_Metadata_descriptor =
- internal_static_eu_dnetlib_data_proto_Datasource_descriptor.getNestedTypes().get(0);
- internal_static_eu_dnetlib_data_proto_Datasource_Metadata_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_Datasource_Metadata_descriptor,
- new java.lang.String[] { "Datasourcetype", "Openairecompatibility", "Officialname", "Englishname", "Websiteurl", "Logourl", "Contactemail", "Namespaceprefix", "Latitude", "Longitude", "Dateofvalidation", "Description", "Subjects", "Odnumberofitems", "Odnumberofitemsdate", "Odpolicies", "Odlanguages", "Odcontenttypes", "Accessinfopackage", "Releasestartdate", "Releaseenddate", "Missionstatementurl", "Dataprovider", "Serviceprovider", "Databaseaccesstype", "Datauploadtype", "Databaseaccessrestriction", "Datauploadrestriction", "Versioning", "Citationguidelineurl", "Qualitymanagementkind", "Pidsystems", "Certificates", "Policies", },
- eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata.class,
- eu.dnetlib.data.proto.DatasourceProtos.Datasource.Metadata.Builder.class);
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- eu.dnetlib.data.proto.FieldTypeProtos.getDescriptor(),
- }, assigner);
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/DedupProtos.java b/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/DedupProtos.java
deleted file mode 100644
index 67eba7d15..000000000
--- a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/DedupProtos.java
+++ /dev/null
@@ -1,564 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: Dedup.proto
-
-package eu.dnetlib.data.proto;
-
-public final class DedupProtos {
- private DedupProtos() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- }
- public interface DedupOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // required .eu.dnetlib.data.proto.RelMetadata relMetadata = 1;
- boolean hasRelMetadata();
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata getRelMetadata();
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder getRelMetadataOrBuilder();
- }
- public static final class Dedup extends
- com.google.protobuf.GeneratedMessage
- implements DedupOrBuilder {
- // Use Dedup.newBuilder() to construct.
- private Dedup(Builder builder) {
- super(builder);
- }
- private Dedup(boolean noInit) {}
-
- private static final Dedup defaultInstance;
- public static Dedup getDefaultInstance() {
- return defaultInstance;
- }
-
- public Dedup getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.DedupProtos.internal_static_eu_dnetlib_data_proto_Dedup_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.DedupProtos.internal_static_eu_dnetlib_data_proto_Dedup_fieldAccessorTable;
- }
-
- public enum RelName
- implements com.google.protobuf.ProtocolMessageEnum {
- isMergedIn(0, 1),
- merges(1, 2),
- ;
-
- public static final int isMergedIn_VALUE = 1;
- public static final int merges_VALUE = 2;
-
-
- public final int getNumber() { return value; }
-
- public static RelName valueOf(int value) {
- switch (value) {
- case 1: return isMergedIn;
- case 2: return merges;
- default: return null;
- }
- }
-
- public static com.google.protobuf.Internal.EnumLiteMap
- internalGetValueMap() {
- return internalValueMap;
- }
- private static com.google.protobuf.Internal.EnumLiteMap
- internalValueMap =
- new com.google.protobuf.Internal.EnumLiteMap() {
- public RelName findValueByNumber(int number) {
- return RelName.valueOf(number);
- }
- };
-
- public final com.google.protobuf.Descriptors.EnumValueDescriptor
- getValueDescriptor() {
- return getDescriptor().getValues().get(index);
- }
- public final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptorForType() {
- return getDescriptor();
- }
- public static final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.DedupProtos.Dedup.getDescriptor().getEnumTypes().get(0);
- }
-
- private static final RelName[] VALUES = {
- isMergedIn, merges,
- };
-
- public static RelName valueOf(
- com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
- if (desc.getType() != getDescriptor()) {
- throw new java.lang.IllegalArgumentException(
- "EnumValueDescriptor is not for this type.");
- }
- return VALUES[desc.getIndex()];
- }
-
- private final int index;
- private final int value;
-
- private RelName(int index, int value) {
- this.index = index;
- this.value = value;
- }
-
- // @@protoc_insertion_point(enum_scope:eu.dnetlib.data.proto.Dedup.RelName)
- }
-
- private int bitField0_;
- // required .eu.dnetlib.data.proto.RelMetadata relMetadata = 1;
- public static final int RELMETADATA_FIELD_NUMBER = 1;
- private eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata relMetadata_;
- public boolean hasRelMetadata() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata getRelMetadata() {
- return relMetadata_;
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder getRelMetadataOrBuilder() {
- return relMetadata_;
- }
-
- private void initFields() {
- relMetadata_ = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasRelMetadata()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!getRelMetadata().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeMessage(1, relMetadata_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, relMetadata_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.DedupProtos.Dedup parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.DedupProtos.Dedup parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.DedupProtos.Dedup parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.DedupProtos.Dedup parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.DedupProtos.Dedup parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.DedupProtos.Dedup parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.DedupProtos.Dedup parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.DedupProtos.Dedup parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.DedupProtos.Dedup parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.DedupProtos.Dedup parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.DedupProtos.Dedup prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.DedupProtos.DedupOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.DedupProtos.internal_static_eu_dnetlib_data_proto_Dedup_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.DedupProtos.internal_static_eu_dnetlib_data_proto_Dedup_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.DedupProtos.Dedup.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getRelMetadataFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- if (relMetadataBuilder_ == null) {
- relMetadata_ = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance();
- } else {
- relMetadataBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.DedupProtos.Dedup.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.DedupProtos.Dedup getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.DedupProtos.Dedup.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.DedupProtos.Dedup build() {
- eu.dnetlib.data.proto.DedupProtos.Dedup result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.DedupProtos.Dedup buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.DedupProtos.Dedup result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.DedupProtos.Dedup buildPartial() {
- eu.dnetlib.data.proto.DedupProtos.Dedup result = new eu.dnetlib.data.proto.DedupProtos.Dedup(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- if (relMetadataBuilder_ == null) {
- result.relMetadata_ = relMetadata_;
- } else {
- result.relMetadata_ = relMetadataBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.DedupProtos.Dedup) {
- return mergeFrom((eu.dnetlib.data.proto.DedupProtos.Dedup)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.DedupProtos.Dedup other) {
- if (other == eu.dnetlib.data.proto.DedupProtos.Dedup.getDefaultInstance()) return this;
- if (other.hasRelMetadata()) {
- mergeRelMetadata(other.getRelMetadata());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasRelMetadata()) {
-
- return false;
- }
- if (!getRelMetadata().isInitialized()) {
-
- return false;
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 10: {
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder subBuilder = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.newBuilder();
- if (hasRelMetadata()) {
- subBuilder.mergeFrom(getRelMetadata());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setRelMetadata(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // required .eu.dnetlib.data.proto.RelMetadata relMetadata = 1;
- private eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata relMetadata_ = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder> relMetadataBuilder_;
- public boolean hasRelMetadata() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata getRelMetadata() {
- if (relMetadataBuilder_ == null) {
- return relMetadata_;
- } else {
- return relMetadataBuilder_.getMessage();
- }
- }
- public Builder setRelMetadata(eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata value) {
- if (relMetadataBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- relMetadata_ = value;
- onChanged();
- } else {
- relMetadataBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder setRelMetadata(
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder builderForValue) {
- if (relMetadataBuilder_ == null) {
- relMetadata_ = builderForValue.build();
- onChanged();
- } else {
- relMetadataBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder mergeRelMetadata(eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata value) {
- if (relMetadataBuilder_ == null) {
- if (((bitField0_ & 0x00000001) == 0x00000001) &&
- relMetadata_ != eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance()) {
- relMetadata_ =
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.newBuilder(relMetadata_).mergeFrom(value).buildPartial();
- } else {
- relMetadata_ = value;
- }
- onChanged();
- } else {
- relMetadataBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder clearRelMetadata() {
- if (relMetadataBuilder_ == null) {
- relMetadata_ = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance();
- onChanged();
- } else {
- relMetadataBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder getRelMetadataBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return getRelMetadataFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder getRelMetadataOrBuilder() {
- if (relMetadataBuilder_ != null) {
- return relMetadataBuilder_.getMessageOrBuilder();
- } else {
- return relMetadata_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder>
- getRelMetadataFieldBuilder() {
- if (relMetadataBuilder_ == null) {
- relMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder>(
- relMetadata_,
- getParentForChildren(),
- isClean());
- relMetadata_ = null;
- }
- return relMetadataBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.Dedup)
- }
-
- static {
- defaultInstance = new Dedup(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.Dedup)
- }
-
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_Dedup_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_Dedup_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
- return descriptor;
- }
- private static com.google.protobuf.Descriptors.FileDescriptor
- descriptor;
- static {
- java.lang.String[] descriptorData = {
- "\n\013Dedup.proto\022\025eu.dnetlib.data.proto\032\021Re" +
- "lMetadata.proto\"g\n\005Dedup\0227\n\013relMetadata\030" +
- "\001 \002(\0132\".eu.dnetlib.data.proto.RelMetadat" +
- "a\"%\n\007RelName\022\016\n\nisMergedIn\020\001\022\n\n\006merges\020\002" +
- "B$\n\025eu.dnetlib.data.protoB\013DedupProtos"
- };
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- internal_static_eu_dnetlib_data_proto_Dedup_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_eu_dnetlib_data_proto_Dedup_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_Dedup_descriptor,
- new java.lang.String[] { "RelMetadata", },
- eu.dnetlib.data.proto.DedupProtos.Dedup.class,
- eu.dnetlib.data.proto.DedupProtos.Dedup.Builder.class);
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- eu.dnetlib.data.proto.RelMetadataProtos.getDescriptor(),
- }, assigner);
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/DedupSimilarityProtos.java b/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/DedupSimilarityProtos.java
deleted file mode 100644
index ff080188f..000000000
--- a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/DedupSimilarityProtos.java
+++ /dev/null
@@ -1,562 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: DedupSimilarity.proto
-
-package eu.dnetlib.data.proto;
-
-public final class DedupSimilarityProtos {
- private DedupSimilarityProtos() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- }
- public interface DedupSimilarityOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // required .eu.dnetlib.data.proto.RelMetadata relMetadata = 1;
- boolean hasRelMetadata();
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata getRelMetadata();
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder getRelMetadataOrBuilder();
- }
- public static final class DedupSimilarity extends
- com.google.protobuf.GeneratedMessage
- implements DedupSimilarityOrBuilder {
- // Use DedupSimilarity.newBuilder() to construct.
- private DedupSimilarity(Builder builder) {
- super(builder);
- }
- private DedupSimilarity(boolean noInit) {}
-
- private static final DedupSimilarity defaultInstance;
- public static DedupSimilarity getDefaultInstance() {
- return defaultInstance;
- }
-
- public DedupSimilarity getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.DedupSimilarityProtos.internal_static_eu_dnetlib_data_proto_DedupSimilarity_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.DedupSimilarityProtos.internal_static_eu_dnetlib_data_proto_DedupSimilarity_fieldAccessorTable;
- }
-
- public enum RelName
- implements com.google.protobuf.ProtocolMessageEnum {
- isSimilarTo(0, 1),
- ;
-
- public static final int isSimilarTo_VALUE = 1;
-
-
- public final int getNumber() { return value; }
-
- public static RelName valueOf(int value) {
- switch (value) {
- case 1: return isSimilarTo;
- default: return null;
- }
- }
-
- public static com.google.protobuf.Internal.EnumLiteMap
- internalGetValueMap() {
- return internalValueMap;
- }
- private static com.google.protobuf.Internal.EnumLiteMap
- internalValueMap =
- new com.google.protobuf.Internal.EnumLiteMap() {
- public RelName findValueByNumber(int number) {
- return RelName.valueOf(number);
- }
- };
-
- public final com.google.protobuf.Descriptors.EnumValueDescriptor
- getValueDescriptor() {
- return getDescriptor().getValues().get(index);
- }
- public final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptorForType() {
- return getDescriptor();
- }
- public static final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity.getDescriptor().getEnumTypes().get(0);
- }
-
- private static final RelName[] VALUES = {
- isSimilarTo,
- };
-
- public static RelName valueOf(
- com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
- if (desc.getType() != getDescriptor()) {
- throw new java.lang.IllegalArgumentException(
- "EnumValueDescriptor is not for this type.");
- }
- return VALUES[desc.getIndex()];
- }
-
- private final int index;
- private final int value;
-
- private RelName(int index, int value) {
- this.index = index;
- this.value = value;
- }
-
- // @@protoc_insertion_point(enum_scope:eu.dnetlib.data.proto.DedupSimilarity.RelName)
- }
-
- private int bitField0_;
- // required .eu.dnetlib.data.proto.RelMetadata relMetadata = 1;
- public static final int RELMETADATA_FIELD_NUMBER = 1;
- private eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata relMetadata_;
- public boolean hasRelMetadata() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata getRelMetadata() {
- return relMetadata_;
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder getRelMetadataOrBuilder() {
- return relMetadata_;
- }
-
- private void initFields() {
- relMetadata_ = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasRelMetadata()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!getRelMetadata().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeMessage(1, relMetadata_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, relMetadata_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarityOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.DedupSimilarityProtos.internal_static_eu_dnetlib_data_proto_DedupSimilarity_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.DedupSimilarityProtos.internal_static_eu_dnetlib_data_proto_DedupSimilarity_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getRelMetadataFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- if (relMetadataBuilder_ == null) {
- relMetadata_ = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance();
- } else {
- relMetadataBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity build() {
- eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity buildPartial() {
- eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity result = new eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- if (relMetadataBuilder_ == null) {
- result.relMetadata_ = relMetadata_;
- } else {
- result.relMetadata_ = relMetadataBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity) {
- return mergeFrom((eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity other) {
- if (other == eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity.getDefaultInstance()) return this;
- if (other.hasRelMetadata()) {
- mergeRelMetadata(other.getRelMetadata());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasRelMetadata()) {
-
- return false;
- }
- if (!getRelMetadata().isInitialized()) {
-
- return false;
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 10: {
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder subBuilder = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.newBuilder();
- if (hasRelMetadata()) {
- subBuilder.mergeFrom(getRelMetadata());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setRelMetadata(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // required .eu.dnetlib.data.proto.RelMetadata relMetadata = 1;
- private eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata relMetadata_ = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder> relMetadataBuilder_;
- public boolean hasRelMetadata() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata getRelMetadata() {
- if (relMetadataBuilder_ == null) {
- return relMetadata_;
- } else {
- return relMetadataBuilder_.getMessage();
- }
- }
- public Builder setRelMetadata(eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata value) {
- if (relMetadataBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- relMetadata_ = value;
- onChanged();
- } else {
- relMetadataBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder setRelMetadata(
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder builderForValue) {
- if (relMetadataBuilder_ == null) {
- relMetadata_ = builderForValue.build();
- onChanged();
- } else {
- relMetadataBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder mergeRelMetadata(eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata value) {
- if (relMetadataBuilder_ == null) {
- if (((bitField0_ & 0x00000001) == 0x00000001) &&
- relMetadata_ != eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance()) {
- relMetadata_ =
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.newBuilder(relMetadata_).mergeFrom(value).buildPartial();
- } else {
- relMetadata_ = value;
- }
- onChanged();
- } else {
- relMetadataBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder clearRelMetadata() {
- if (relMetadataBuilder_ == null) {
- relMetadata_ = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance();
- onChanged();
- } else {
- relMetadataBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder getRelMetadataBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return getRelMetadataFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder getRelMetadataOrBuilder() {
- if (relMetadataBuilder_ != null) {
- return relMetadataBuilder_.getMessageOrBuilder();
- } else {
- return relMetadata_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder>
- getRelMetadataFieldBuilder() {
- if (relMetadataBuilder_ == null) {
- relMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder>(
- relMetadata_,
- getParentForChildren(),
- isClean());
- relMetadata_ = null;
- }
- return relMetadataBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.DedupSimilarity)
- }
-
- static {
- defaultInstance = new DedupSimilarity(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.DedupSimilarity)
- }
-
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_DedupSimilarity_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_DedupSimilarity_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
- return descriptor;
- }
- private static com.google.protobuf.Descriptors.FileDescriptor
- descriptor;
- static {
- java.lang.String[] descriptorData = {
- "\n\025DedupSimilarity.proto\022\025eu.dnetlib.data" +
- ".proto\032\021RelMetadata.proto\"f\n\017DedupSimila" +
- "rity\0227\n\013relMetadata\030\001 \002(\0132\".eu.dnetlib.d" +
- "ata.proto.RelMetadata\"\032\n\007RelName\022\017\n\013isSi" +
- "milarTo\020\001B.\n\025eu.dnetlib.data.protoB\025Dedu" +
- "pSimilarityProtos"
- };
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- internal_static_eu_dnetlib_data_proto_DedupSimilarity_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_eu_dnetlib_data_proto_DedupSimilarity_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_DedupSimilarity_descriptor,
- new java.lang.String[] { "RelMetadata", },
- eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity.class,
- eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity.Builder.class);
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- eu.dnetlib.data.proto.RelMetadataProtos.getDescriptor(),
- }, assigner);
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/FieldTypeProtos.java b/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/FieldTypeProtos.java
deleted file mode 100644
index 03ca7f45e..000000000
--- a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/FieldTypeProtos.java
+++ /dev/null
@@ -1,8049 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: FieldType.proto
-
-package eu.dnetlib.data.proto;
-
-public final class FieldTypeProtos {
- private FieldTypeProtos() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- }
- public interface StringFieldOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // required string value = 1;
- boolean hasValue();
- String getValue();
-
- // optional .eu.dnetlib.data.proto.DataInfo dataInfo = 2;
- boolean hasDataInfo();
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo getDataInfo();
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder getDataInfoOrBuilder();
- }
- public static final class StringField extends
- com.google.protobuf.GeneratedMessage
- implements StringFieldOrBuilder {
- // Use StringField.newBuilder() to construct.
- private StringField(Builder builder) {
- super(builder);
- }
- private StringField(boolean noInit) {}
-
- private static final StringField defaultInstance;
- public static StringField getDefaultInstance() {
- return defaultInstance;
- }
-
- public StringField getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_StringField_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_StringField_fieldAccessorTable;
- }
-
- private int bitField0_;
- // required string value = 1;
- public static final int VALUE_FIELD_NUMBER = 1;
- private java.lang.Object value_;
- public boolean hasValue() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public String getValue() {
- java.lang.Object ref = value_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- value_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getValueBytes() {
- java.lang.Object ref = value_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- value_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional .eu.dnetlib.data.proto.DataInfo dataInfo = 2;
- public static final int DATAINFO_FIELD_NUMBER = 2;
- private eu.dnetlib.data.proto.FieldTypeProtos.DataInfo dataInfo_;
- public boolean hasDataInfo() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfo getDataInfo() {
- return dataInfo_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder getDataInfoOrBuilder() {
- return dataInfo_;
- }
-
- private void initFields() {
- value_ = "";
- dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasValue()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (hasDataInfo()) {
- if (!getDataInfo().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeBytes(1, getValueBytes());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeMessage(2, dataInfo_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(1, getValueBytes());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, dataInfo_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.FieldTypeProtos.StringField parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.StringField parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.StringField parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.StringField parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.StringField parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.StringField parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.StringField parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.StringField parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.StringField parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.StringField parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.FieldTypeProtos.StringField prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_StringField_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_StringField_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getDataInfoFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- value_ = "";
- bitField0_ = (bitField0_ & ~0x00000001);
- if (dataInfoBuilder_ == null) {
- dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- } else {
- dataInfoBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000002);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField build() {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField buildPartial() {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField result = new eu.dnetlib.data.proto.FieldTypeProtos.StringField(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.value_ = value_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- if (dataInfoBuilder_ == null) {
- result.dataInfo_ = dataInfo_;
- } else {
- result.dataInfo_ = dataInfoBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.FieldTypeProtos.StringField) {
- return mergeFrom((eu.dnetlib.data.proto.FieldTypeProtos.StringField)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.FieldTypeProtos.StringField other) {
- if (other == eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) return this;
- if (other.hasValue()) {
- setValue(other.getValue());
- }
- if (other.hasDataInfo()) {
- mergeDataInfo(other.getDataInfo());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasValue()) {
-
- return false;
- }
- if (hasDataInfo()) {
- if (!getDataInfo().isInitialized()) {
-
- return false;
- }
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 10: {
- bitField0_ |= 0x00000001;
- value_ = input.readBytes();
- break;
- }
- case 18: {
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.newBuilder();
- if (hasDataInfo()) {
- subBuilder.mergeFrom(getDataInfo());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setDataInfo(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // required string value = 1;
- private java.lang.Object value_ = "";
- public boolean hasValue() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public String getValue() {
- java.lang.Object ref = value_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- value_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setValue(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- value_ = value;
- onChanged();
- return this;
- }
- public Builder clearValue() {
- bitField0_ = (bitField0_ & ~0x00000001);
- value_ = getDefaultInstance().getValue();
- onChanged();
- return this;
- }
- void setValue(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000001;
- value_ = value;
- onChanged();
- }
-
- // optional .eu.dnetlib.data.proto.DataInfo dataInfo = 2;
- private eu.dnetlib.data.proto.FieldTypeProtos.DataInfo dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo, eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder, eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder> dataInfoBuilder_;
- public boolean hasDataInfo() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfo getDataInfo() {
- if (dataInfoBuilder_ == null) {
- return dataInfo_;
- } else {
- return dataInfoBuilder_.getMessage();
- }
- }
- public Builder setDataInfo(eu.dnetlib.data.proto.FieldTypeProtos.DataInfo value) {
- if (dataInfoBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- dataInfo_ = value;
- onChanged();
- } else {
- dataInfoBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder setDataInfo(
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder builderForValue) {
- if (dataInfoBuilder_ == null) {
- dataInfo_ = builderForValue.build();
- onChanged();
- } else {
- dataInfoBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder mergeDataInfo(eu.dnetlib.data.proto.FieldTypeProtos.DataInfo value) {
- if (dataInfoBuilder_ == null) {
- if (((bitField0_ & 0x00000002) == 0x00000002) &&
- dataInfo_ != eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance()) {
- dataInfo_ =
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.newBuilder(dataInfo_).mergeFrom(value).buildPartial();
- } else {
- dataInfo_ = value;
- }
- onChanged();
- } else {
- dataInfoBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder clearDataInfo() {
- if (dataInfoBuilder_ == null) {
- dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- onChanged();
- } else {
- dataInfoBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000002);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder getDataInfoBuilder() {
- bitField0_ |= 0x00000002;
- onChanged();
- return getDataInfoFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder getDataInfoOrBuilder() {
- if (dataInfoBuilder_ != null) {
- return dataInfoBuilder_.getMessageOrBuilder();
- } else {
- return dataInfo_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo, eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder, eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder>
- getDataInfoFieldBuilder() {
- if (dataInfoBuilder_ == null) {
- dataInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo, eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder, eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder>(
- dataInfo_,
- getParentForChildren(),
- isClean());
- dataInfo_ = null;
- }
- return dataInfoBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.StringField)
- }
-
- static {
- defaultInstance = new StringField(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.StringField)
- }
-
- public interface BoolFieldOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // required bool value = 1;
- boolean hasValue();
- boolean getValue();
-
- // optional .eu.dnetlib.data.proto.DataInfo dataInfo = 2;
- boolean hasDataInfo();
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo getDataInfo();
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder getDataInfoOrBuilder();
- }
- public static final class BoolField extends
- com.google.protobuf.GeneratedMessage
- implements BoolFieldOrBuilder {
- // Use BoolField.newBuilder() to construct.
- private BoolField(Builder builder) {
- super(builder);
- }
- private BoolField(boolean noInit) {}
-
- private static final BoolField defaultInstance;
- public static BoolField getDefaultInstance() {
- return defaultInstance;
- }
-
- public BoolField getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_BoolField_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_BoolField_fieldAccessorTable;
- }
-
- private int bitField0_;
- // required bool value = 1;
- public static final int VALUE_FIELD_NUMBER = 1;
- private boolean value_;
- public boolean hasValue() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public boolean getValue() {
- return value_;
- }
-
- // optional .eu.dnetlib.data.proto.DataInfo dataInfo = 2;
- public static final int DATAINFO_FIELD_NUMBER = 2;
- private eu.dnetlib.data.proto.FieldTypeProtos.DataInfo dataInfo_;
- public boolean hasDataInfo() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfo getDataInfo() {
- return dataInfo_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder getDataInfoOrBuilder() {
- return dataInfo_;
- }
-
- private void initFields() {
- value_ = false;
- dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasValue()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (hasDataInfo()) {
- if (!getDataInfo().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeBool(1, value_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeMessage(2, dataInfo_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(1, value_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, dataInfo_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.FieldTypeProtos.BoolField parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.BoolField parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.BoolField parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.BoolField parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.BoolField parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.BoolField parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.BoolField parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.BoolField parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.BoolField parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.BoolField parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.FieldTypeProtos.BoolField prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.FieldTypeProtos.BoolFieldOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_BoolField_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_BoolField_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.FieldTypeProtos.BoolField.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getDataInfoFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- value_ = false;
- bitField0_ = (bitField0_ & ~0x00000001);
- if (dataInfoBuilder_ == null) {
- dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- } else {
- dataInfoBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000002);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.FieldTypeProtos.BoolField.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.BoolField getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.FieldTypeProtos.BoolField.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.BoolField build() {
- eu.dnetlib.data.proto.FieldTypeProtos.BoolField result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.FieldTypeProtos.BoolField buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.FieldTypeProtos.BoolField result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.BoolField buildPartial() {
- eu.dnetlib.data.proto.FieldTypeProtos.BoolField result = new eu.dnetlib.data.proto.FieldTypeProtos.BoolField(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.value_ = value_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- if (dataInfoBuilder_ == null) {
- result.dataInfo_ = dataInfo_;
- } else {
- result.dataInfo_ = dataInfoBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.FieldTypeProtos.BoolField) {
- return mergeFrom((eu.dnetlib.data.proto.FieldTypeProtos.BoolField)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.FieldTypeProtos.BoolField other) {
- if (other == eu.dnetlib.data.proto.FieldTypeProtos.BoolField.getDefaultInstance()) return this;
- if (other.hasValue()) {
- setValue(other.getValue());
- }
- if (other.hasDataInfo()) {
- mergeDataInfo(other.getDataInfo());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasValue()) {
-
- return false;
- }
- if (hasDataInfo()) {
- if (!getDataInfo().isInitialized()) {
-
- return false;
- }
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 8: {
- bitField0_ |= 0x00000001;
- value_ = input.readBool();
- break;
- }
- case 18: {
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.newBuilder();
- if (hasDataInfo()) {
- subBuilder.mergeFrom(getDataInfo());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setDataInfo(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // required bool value = 1;
- private boolean value_ ;
- public boolean hasValue() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public boolean getValue() {
- return value_;
- }
- public Builder setValue(boolean value) {
- bitField0_ |= 0x00000001;
- value_ = value;
- onChanged();
- return this;
- }
- public Builder clearValue() {
- bitField0_ = (bitField0_ & ~0x00000001);
- value_ = false;
- onChanged();
- return this;
- }
-
- // optional .eu.dnetlib.data.proto.DataInfo dataInfo = 2;
- private eu.dnetlib.data.proto.FieldTypeProtos.DataInfo dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo, eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder, eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder> dataInfoBuilder_;
- public boolean hasDataInfo() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfo getDataInfo() {
- if (dataInfoBuilder_ == null) {
- return dataInfo_;
- } else {
- return dataInfoBuilder_.getMessage();
- }
- }
- public Builder setDataInfo(eu.dnetlib.data.proto.FieldTypeProtos.DataInfo value) {
- if (dataInfoBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- dataInfo_ = value;
- onChanged();
- } else {
- dataInfoBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder setDataInfo(
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder builderForValue) {
- if (dataInfoBuilder_ == null) {
- dataInfo_ = builderForValue.build();
- onChanged();
- } else {
- dataInfoBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder mergeDataInfo(eu.dnetlib.data.proto.FieldTypeProtos.DataInfo value) {
- if (dataInfoBuilder_ == null) {
- if (((bitField0_ & 0x00000002) == 0x00000002) &&
- dataInfo_ != eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance()) {
- dataInfo_ =
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.newBuilder(dataInfo_).mergeFrom(value).buildPartial();
- } else {
- dataInfo_ = value;
- }
- onChanged();
- } else {
- dataInfoBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder clearDataInfo() {
- if (dataInfoBuilder_ == null) {
- dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- onChanged();
- } else {
- dataInfoBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000002);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder getDataInfoBuilder() {
- bitField0_ |= 0x00000002;
- onChanged();
- return getDataInfoFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder getDataInfoOrBuilder() {
- if (dataInfoBuilder_ != null) {
- return dataInfoBuilder_.getMessageOrBuilder();
- } else {
- return dataInfo_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo, eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder, eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder>
- getDataInfoFieldBuilder() {
- if (dataInfoBuilder_ == null) {
- dataInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo, eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder, eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder>(
- dataInfo_,
- getParentForChildren(),
- isClean());
- dataInfo_ = null;
- }
- return dataInfoBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.BoolField)
- }
-
- static {
- defaultInstance = new BoolField(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.BoolField)
- }
-
- public interface IntFieldOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // required int32 value = 1;
- boolean hasValue();
- int getValue();
-
- // optional .eu.dnetlib.data.proto.DataInfo dataInfo = 2;
- boolean hasDataInfo();
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo getDataInfo();
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder getDataInfoOrBuilder();
- }
- public static final class IntField extends
- com.google.protobuf.GeneratedMessage
- implements IntFieldOrBuilder {
- // Use IntField.newBuilder() to construct.
- private IntField(Builder builder) {
- super(builder);
- }
- private IntField(boolean noInit) {}
-
- private static final IntField defaultInstance;
- public static IntField getDefaultInstance() {
- return defaultInstance;
- }
-
- public IntField getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_IntField_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_IntField_fieldAccessorTable;
- }
-
- private int bitField0_;
- // required int32 value = 1;
- public static final int VALUE_FIELD_NUMBER = 1;
- private int value_;
- public boolean hasValue() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public int getValue() {
- return value_;
- }
-
- // optional .eu.dnetlib.data.proto.DataInfo dataInfo = 2;
- public static final int DATAINFO_FIELD_NUMBER = 2;
- private eu.dnetlib.data.proto.FieldTypeProtos.DataInfo dataInfo_;
- public boolean hasDataInfo() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfo getDataInfo() {
- return dataInfo_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder getDataInfoOrBuilder() {
- return dataInfo_;
- }
-
- private void initFields() {
- value_ = 0;
- dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasValue()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (hasDataInfo()) {
- if (!getDataInfo().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeInt32(1, value_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeMessage(2, dataInfo_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(1, value_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, dataInfo_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.FieldTypeProtos.IntField parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.IntField parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.IntField parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.IntField parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.IntField parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.IntField parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.IntField parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.IntField parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.IntField parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.IntField parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.FieldTypeProtos.IntField prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.FieldTypeProtos.IntFieldOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_IntField_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_IntField_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.FieldTypeProtos.IntField.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getDataInfoFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- value_ = 0;
- bitField0_ = (bitField0_ & ~0x00000001);
- if (dataInfoBuilder_ == null) {
- dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- } else {
- dataInfoBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000002);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.FieldTypeProtos.IntField.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.IntField getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.FieldTypeProtos.IntField.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.IntField build() {
- eu.dnetlib.data.proto.FieldTypeProtos.IntField result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.FieldTypeProtos.IntField buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.FieldTypeProtos.IntField result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.IntField buildPartial() {
- eu.dnetlib.data.proto.FieldTypeProtos.IntField result = new eu.dnetlib.data.proto.FieldTypeProtos.IntField(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.value_ = value_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- if (dataInfoBuilder_ == null) {
- result.dataInfo_ = dataInfo_;
- } else {
- result.dataInfo_ = dataInfoBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.FieldTypeProtos.IntField) {
- return mergeFrom((eu.dnetlib.data.proto.FieldTypeProtos.IntField)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.FieldTypeProtos.IntField other) {
- if (other == eu.dnetlib.data.proto.FieldTypeProtos.IntField.getDefaultInstance()) return this;
- if (other.hasValue()) {
- setValue(other.getValue());
- }
- if (other.hasDataInfo()) {
- mergeDataInfo(other.getDataInfo());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasValue()) {
-
- return false;
- }
- if (hasDataInfo()) {
- if (!getDataInfo().isInitialized()) {
-
- return false;
- }
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 8: {
- bitField0_ |= 0x00000001;
- value_ = input.readInt32();
- break;
- }
- case 18: {
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.newBuilder();
- if (hasDataInfo()) {
- subBuilder.mergeFrom(getDataInfo());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setDataInfo(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // required int32 value = 1;
- private int value_ ;
- public boolean hasValue() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public int getValue() {
- return value_;
- }
- public Builder setValue(int value) {
- bitField0_ |= 0x00000001;
- value_ = value;
- onChanged();
- return this;
- }
- public Builder clearValue() {
- bitField0_ = (bitField0_ & ~0x00000001);
- value_ = 0;
- onChanged();
- return this;
- }
-
- // optional .eu.dnetlib.data.proto.DataInfo dataInfo = 2;
- private eu.dnetlib.data.proto.FieldTypeProtos.DataInfo dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo, eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder, eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder> dataInfoBuilder_;
- public boolean hasDataInfo() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfo getDataInfo() {
- if (dataInfoBuilder_ == null) {
- return dataInfo_;
- } else {
- return dataInfoBuilder_.getMessage();
- }
- }
- public Builder setDataInfo(eu.dnetlib.data.proto.FieldTypeProtos.DataInfo value) {
- if (dataInfoBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- dataInfo_ = value;
- onChanged();
- } else {
- dataInfoBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder setDataInfo(
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder builderForValue) {
- if (dataInfoBuilder_ == null) {
- dataInfo_ = builderForValue.build();
- onChanged();
- } else {
- dataInfoBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder mergeDataInfo(eu.dnetlib.data.proto.FieldTypeProtos.DataInfo value) {
- if (dataInfoBuilder_ == null) {
- if (((bitField0_ & 0x00000002) == 0x00000002) &&
- dataInfo_ != eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance()) {
- dataInfo_ =
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.newBuilder(dataInfo_).mergeFrom(value).buildPartial();
- } else {
- dataInfo_ = value;
- }
- onChanged();
- } else {
- dataInfoBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder clearDataInfo() {
- if (dataInfoBuilder_ == null) {
- dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- onChanged();
- } else {
- dataInfoBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000002);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder getDataInfoBuilder() {
- bitField0_ |= 0x00000002;
- onChanged();
- return getDataInfoFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder getDataInfoOrBuilder() {
- if (dataInfoBuilder_ != null) {
- return dataInfoBuilder_.getMessageOrBuilder();
- } else {
- return dataInfo_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo, eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder, eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder>
- getDataInfoFieldBuilder() {
- if (dataInfoBuilder_ == null) {
- dataInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo, eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder, eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder>(
- dataInfo_,
- getParentForChildren(),
- isClean());
- dataInfo_ = null;
- }
- return dataInfoBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.IntField)
- }
-
- static {
- defaultInstance = new IntField(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.IntField)
- }
-
- public interface StructuredPropertyOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // required string value = 1;
- boolean hasValue();
- String getValue();
-
- // optional .eu.dnetlib.data.proto.Qualifier qualifier = 2;
- boolean hasQualifier();
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getQualifier();
- eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getQualifierOrBuilder();
-
- // optional .eu.dnetlib.data.proto.DataInfo dataInfo = 3;
- boolean hasDataInfo();
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo getDataInfo();
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder getDataInfoOrBuilder();
- }
- public static final class StructuredProperty extends
- com.google.protobuf.GeneratedMessage
- implements StructuredPropertyOrBuilder {
- // Use StructuredProperty.newBuilder() to construct.
- private StructuredProperty(Builder builder) {
- super(builder);
- }
- private StructuredProperty(boolean noInit) {}
-
- private static final StructuredProperty defaultInstance;
- public static StructuredProperty getDefaultInstance() {
- return defaultInstance;
- }
-
- public StructuredProperty getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_StructuredProperty_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_StructuredProperty_fieldAccessorTable;
- }
-
- private int bitField0_;
- // required string value = 1;
- public static final int VALUE_FIELD_NUMBER = 1;
- private java.lang.Object value_;
- public boolean hasValue() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public String getValue() {
- java.lang.Object ref = value_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- value_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getValueBytes() {
- java.lang.Object ref = value_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- value_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional .eu.dnetlib.data.proto.Qualifier qualifier = 2;
- public static final int QUALIFIER_FIELD_NUMBER = 2;
- private eu.dnetlib.data.proto.FieldTypeProtos.Qualifier qualifier_;
- public boolean hasQualifier() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getQualifier() {
- return qualifier_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getQualifierOrBuilder() {
- return qualifier_;
- }
-
- // optional .eu.dnetlib.data.proto.DataInfo dataInfo = 3;
- public static final int DATAINFO_FIELD_NUMBER = 3;
- private eu.dnetlib.data.proto.FieldTypeProtos.DataInfo dataInfo_;
- public boolean hasDataInfo() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfo getDataInfo() {
- return dataInfo_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder getDataInfoOrBuilder() {
- return dataInfo_;
- }
-
- private void initFields() {
- value_ = "";
- qualifier_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasValue()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (hasQualifier()) {
- if (!getQualifier().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasDataInfo()) {
- if (!getDataInfo().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeBytes(1, getValueBytes());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeMessage(2, qualifier_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeMessage(3, dataInfo_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(1, getValueBytes());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, qualifier_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, dataInfo_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_StructuredProperty_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_StructuredProperty_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getQualifierFieldBuilder();
- getDataInfoFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- value_ = "";
- bitField0_ = (bitField0_ & ~0x00000001);
- if (qualifierBuilder_ == null) {
- qualifier_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- } else {
- qualifierBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000002);
- if (dataInfoBuilder_ == null) {
- dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- } else {
- dataInfoBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000004);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty build() {
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty buildPartial() {
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty result = new eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.value_ = value_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- if (qualifierBuilder_ == null) {
- result.qualifier_ = qualifier_;
- } else {
- result.qualifier_ = qualifierBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
- to_bitField0_ |= 0x00000004;
- }
- if (dataInfoBuilder_ == null) {
- result.dataInfo_ = dataInfo_;
- } else {
- result.dataInfo_ = dataInfoBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty) {
- return mergeFrom((eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty other) {
- if (other == eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.getDefaultInstance()) return this;
- if (other.hasValue()) {
- setValue(other.getValue());
- }
- if (other.hasQualifier()) {
- mergeQualifier(other.getQualifier());
- }
- if (other.hasDataInfo()) {
- mergeDataInfo(other.getDataInfo());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasValue()) {
-
- return false;
- }
- if (hasQualifier()) {
- if (!getQualifier().isInitialized()) {
-
- return false;
- }
- }
- if (hasDataInfo()) {
- if (!getDataInfo().isInitialized()) {
-
- return false;
- }
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 10: {
- bitField0_ |= 0x00000001;
- value_ = input.readBytes();
- break;
- }
- case 18: {
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.newBuilder();
- if (hasQualifier()) {
- subBuilder.mergeFrom(getQualifier());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setQualifier(subBuilder.buildPartial());
- break;
- }
- case 26: {
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.newBuilder();
- if (hasDataInfo()) {
- subBuilder.mergeFrom(getDataInfo());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setDataInfo(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // required string value = 1;
- private java.lang.Object value_ = "";
- public boolean hasValue() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public String getValue() {
- java.lang.Object ref = value_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- value_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setValue(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- value_ = value;
- onChanged();
- return this;
- }
- public Builder clearValue() {
- bitField0_ = (bitField0_ & ~0x00000001);
- value_ = getDefaultInstance().getValue();
- onChanged();
- return this;
- }
- void setValue(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000001;
- value_ = value;
- onChanged();
- }
-
- // optional .eu.dnetlib.data.proto.Qualifier qualifier = 2;
- private eu.dnetlib.data.proto.FieldTypeProtos.Qualifier qualifier_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier, eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder, eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder> qualifierBuilder_;
- public boolean hasQualifier() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getQualifier() {
- if (qualifierBuilder_ == null) {
- return qualifier_;
- } else {
- return qualifierBuilder_.getMessage();
- }
- }
- public Builder setQualifier(eu.dnetlib.data.proto.FieldTypeProtos.Qualifier value) {
- if (qualifierBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- qualifier_ = value;
- onChanged();
- } else {
- qualifierBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder setQualifier(
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder builderForValue) {
- if (qualifierBuilder_ == null) {
- qualifier_ = builderForValue.build();
- onChanged();
- } else {
- qualifierBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder mergeQualifier(eu.dnetlib.data.proto.FieldTypeProtos.Qualifier value) {
- if (qualifierBuilder_ == null) {
- if (((bitField0_ & 0x00000002) == 0x00000002) &&
- qualifier_ != eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance()) {
- qualifier_ =
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.newBuilder(qualifier_).mergeFrom(value).buildPartial();
- } else {
- qualifier_ = value;
- }
- onChanged();
- } else {
- qualifierBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder clearQualifier() {
- if (qualifierBuilder_ == null) {
- qualifier_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- onChanged();
- } else {
- qualifierBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000002);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder getQualifierBuilder() {
- bitField0_ |= 0x00000002;
- onChanged();
- return getQualifierFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getQualifierOrBuilder() {
- if (qualifierBuilder_ != null) {
- return qualifierBuilder_.getMessageOrBuilder();
- } else {
- return qualifier_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier, eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder, eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder>
- getQualifierFieldBuilder() {
- if (qualifierBuilder_ == null) {
- qualifierBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier, eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder, eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder>(
- qualifier_,
- getParentForChildren(),
- isClean());
- qualifier_ = null;
- }
- return qualifierBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.DataInfo dataInfo = 3;
- private eu.dnetlib.data.proto.FieldTypeProtos.DataInfo dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo, eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder, eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder> dataInfoBuilder_;
- public boolean hasDataInfo() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfo getDataInfo() {
- if (dataInfoBuilder_ == null) {
- return dataInfo_;
- } else {
- return dataInfoBuilder_.getMessage();
- }
- }
- public Builder setDataInfo(eu.dnetlib.data.proto.FieldTypeProtos.DataInfo value) {
- if (dataInfoBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- dataInfo_ = value;
- onChanged();
- } else {
- dataInfoBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000004;
- return this;
- }
- public Builder setDataInfo(
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder builderForValue) {
- if (dataInfoBuilder_ == null) {
- dataInfo_ = builderForValue.build();
- onChanged();
- } else {
- dataInfoBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000004;
- return this;
- }
- public Builder mergeDataInfo(eu.dnetlib.data.proto.FieldTypeProtos.DataInfo value) {
- if (dataInfoBuilder_ == null) {
- if (((bitField0_ & 0x00000004) == 0x00000004) &&
- dataInfo_ != eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance()) {
- dataInfo_ =
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.newBuilder(dataInfo_).mergeFrom(value).buildPartial();
- } else {
- dataInfo_ = value;
- }
- onChanged();
- } else {
- dataInfoBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000004;
- return this;
- }
- public Builder clearDataInfo() {
- if (dataInfoBuilder_ == null) {
- dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- onChanged();
- } else {
- dataInfoBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000004);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder getDataInfoBuilder() {
- bitField0_ |= 0x00000004;
- onChanged();
- return getDataInfoFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder getDataInfoOrBuilder() {
- if (dataInfoBuilder_ != null) {
- return dataInfoBuilder_.getMessageOrBuilder();
- } else {
- return dataInfo_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo, eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder, eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder>
- getDataInfoFieldBuilder() {
- if (dataInfoBuilder_ == null) {
- dataInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo, eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder, eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder>(
- dataInfo_,
- getParentForChildren(),
- isClean());
- dataInfo_ = null;
- }
- return dataInfoBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.StructuredProperty)
- }
-
- static {
- defaultInstance = new StructuredProperty(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.StructuredProperty)
- }
-
- public interface KeyValueOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // required string key = 1;
- boolean hasKey();
- String getKey();
-
- // optional string value = 2;
- boolean hasValue();
- String getValue();
-
- // optional .eu.dnetlib.data.proto.DataInfo dataInfo = 3;
- boolean hasDataInfo();
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo getDataInfo();
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder getDataInfoOrBuilder();
- }
- public static final class KeyValue extends
- com.google.protobuf.GeneratedMessage
- implements KeyValueOrBuilder {
- // Use KeyValue.newBuilder() to construct.
- private KeyValue(Builder builder) {
- super(builder);
- }
- private KeyValue(boolean noInit) {}
-
- private static final KeyValue defaultInstance;
- public static KeyValue getDefaultInstance() {
- return defaultInstance;
- }
-
- public KeyValue getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_KeyValue_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_KeyValue_fieldAccessorTable;
- }
-
- private int bitField0_;
- // required string key = 1;
- public static final int KEY_FIELD_NUMBER = 1;
- private java.lang.Object key_;
- public boolean hasKey() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public String getKey() {
- java.lang.Object ref = key_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- key_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getKeyBytes() {
- java.lang.Object ref = key_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- key_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional string value = 2;
- public static final int VALUE_FIELD_NUMBER = 2;
- private java.lang.Object value_;
- public boolean hasValue() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public String getValue() {
- java.lang.Object ref = value_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- value_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getValueBytes() {
- java.lang.Object ref = value_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- value_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional .eu.dnetlib.data.proto.DataInfo dataInfo = 3;
- public static final int DATAINFO_FIELD_NUMBER = 3;
- private eu.dnetlib.data.proto.FieldTypeProtos.DataInfo dataInfo_;
- public boolean hasDataInfo() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfo getDataInfo() {
- return dataInfo_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder getDataInfoOrBuilder() {
- return dataInfo_;
- }
-
- private void initFields() {
- key_ = "";
- value_ = "";
- dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasKey()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (hasDataInfo()) {
- if (!getDataInfo().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeBytes(1, getKeyBytes());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeBytes(2, getValueBytes());
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeMessage(3, dataInfo_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(1, getKeyBytes());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(2, getValueBytes());
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, dataInfo_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.FieldTypeProtos.KeyValue parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.KeyValue parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.KeyValue parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.KeyValue parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.KeyValue parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.KeyValue parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.KeyValue parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.KeyValue parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.KeyValue parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.KeyValue parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.FieldTypeProtos.KeyValue prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_KeyValue_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_KeyValue_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getDataInfoFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- key_ = "";
- bitField0_ = (bitField0_ & ~0x00000001);
- value_ = "";
- bitField0_ = (bitField0_ & ~0x00000002);
- if (dataInfoBuilder_ == null) {
- dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- } else {
- dataInfoBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000004);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValue getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValue build() {
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.FieldTypeProtos.KeyValue buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValue buildPartial() {
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue result = new eu.dnetlib.data.proto.FieldTypeProtos.KeyValue(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.key_ = key_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- result.value_ = value_;
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
- to_bitField0_ |= 0x00000004;
- }
- if (dataInfoBuilder_ == null) {
- result.dataInfo_ = dataInfo_;
- } else {
- result.dataInfo_ = dataInfoBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.FieldTypeProtos.KeyValue) {
- return mergeFrom((eu.dnetlib.data.proto.FieldTypeProtos.KeyValue)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.FieldTypeProtos.KeyValue other) {
- if (other == eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.getDefaultInstance()) return this;
- if (other.hasKey()) {
- setKey(other.getKey());
- }
- if (other.hasValue()) {
- setValue(other.getValue());
- }
- if (other.hasDataInfo()) {
- mergeDataInfo(other.getDataInfo());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasKey()) {
-
- return false;
- }
- if (hasDataInfo()) {
- if (!getDataInfo().isInitialized()) {
-
- return false;
- }
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 10: {
- bitField0_ |= 0x00000001;
- key_ = input.readBytes();
- break;
- }
- case 18: {
- bitField0_ |= 0x00000002;
- value_ = input.readBytes();
- break;
- }
- case 26: {
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.newBuilder();
- if (hasDataInfo()) {
- subBuilder.mergeFrom(getDataInfo());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setDataInfo(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // required string key = 1;
- private java.lang.Object key_ = "";
- public boolean hasKey() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public String getKey() {
- java.lang.Object ref = key_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- key_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setKey(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- key_ = value;
- onChanged();
- return this;
- }
- public Builder clearKey() {
- bitField0_ = (bitField0_ & ~0x00000001);
- key_ = getDefaultInstance().getKey();
- onChanged();
- return this;
- }
- void setKey(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000001;
- key_ = value;
- onChanged();
- }
-
- // optional string value = 2;
- private java.lang.Object value_ = "";
- public boolean hasValue() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public String getValue() {
- java.lang.Object ref = value_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- value_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setValue(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- value_ = value;
- onChanged();
- return this;
- }
- public Builder clearValue() {
- bitField0_ = (bitField0_ & ~0x00000002);
- value_ = getDefaultInstance().getValue();
- onChanged();
- return this;
- }
- void setValue(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000002;
- value_ = value;
- onChanged();
- }
-
- // optional .eu.dnetlib.data.proto.DataInfo dataInfo = 3;
- private eu.dnetlib.data.proto.FieldTypeProtos.DataInfo dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo, eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder, eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder> dataInfoBuilder_;
- public boolean hasDataInfo() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfo getDataInfo() {
- if (dataInfoBuilder_ == null) {
- return dataInfo_;
- } else {
- return dataInfoBuilder_.getMessage();
- }
- }
- public Builder setDataInfo(eu.dnetlib.data.proto.FieldTypeProtos.DataInfo value) {
- if (dataInfoBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- dataInfo_ = value;
- onChanged();
- } else {
- dataInfoBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000004;
- return this;
- }
- public Builder setDataInfo(
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder builderForValue) {
- if (dataInfoBuilder_ == null) {
- dataInfo_ = builderForValue.build();
- onChanged();
- } else {
- dataInfoBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000004;
- return this;
- }
- public Builder mergeDataInfo(eu.dnetlib.data.proto.FieldTypeProtos.DataInfo value) {
- if (dataInfoBuilder_ == null) {
- if (((bitField0_ & 0x00000004) == 0x00000004) &&
- dataInfo_ != eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance()) {
- dataInfo_ =
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.newBuilder(dataInfo_).mergeFrom(value).buildPartial();
- } else {
- dataInfo_ = value;
- }
- onChanged();
- } else {
- dataInfoBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000004;
- return this;
- }
- public Builder clearDataInfo() {
- if (dataInfoBuilder_ == null) {
- dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- onChanged();
- } else {
- dataInfoBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000004);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder getDataInfoBuilder() {
- bitField0_ |= 0x00000004;
- onChanged();
- return getDataInfoFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder getDataInfoOrBuilder() {
- if (dataInfoBuilder_ != null) {
- return dataInfoBuilder_.getMessageOrBuilder();
- } else {
- return dataInfo_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo, eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder, eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder>
- getDataInfoFieldBuilder() {
- if (dataInfoBuilder_ == null) {
- dataInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo, eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder, eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder>(
- dataInfo_,
- getParentForChildren(),
- isClean());
- dataInfo_ = null;
- }
- return dataInfoBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.KeyValue)
- }
-
- static {
- defaultInstance = new KeyValue(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.KeyValue)
- }
-
- public interface QualifierOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional string classid = 1;
- boolean hasClassid();
- String getClassid();
-
- // optional string classname = 2;
- boolean hasClassname();
- String getClassname();
-
- // optional string schemeid = 3;
- boolean hasSchemeid();
- String getSchemeid();
-
- // optional string schemename = 4;
- boolean hasSchemename();
- String getSchemename();
-
- // optional .eu.dnetlib.data.proto.DataInfo dataInfo = 5;
- boolean hasDataInfo();
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo getDataInfo();
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder getDataInfoOrBuilder();
- }
- public static final class Qualifier extends
- com.google.protobuf.GeneratedMessage
- implements QualifierOrBuilder {
- // Use Qualifier.newBuilder() to construct.
- private Qualifier(Builder builder) {
- super(builder);
- }
- private Qualifier(boolean noInit) {}
-
- private static final Qualifier defaultInstance;
- public static Qualifier getDefaultInstance() {
- return defaultInstance;
- }
-
- public Qualifier getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_Qualifier_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_Qualifier_fieldAccessorTable;
- }
-
- private int bitField0_;
- // optional string classid = 1;
- public static final int CLASSID_FIELD_NUMBER = 1;
- private java.lang.Object classid_;
- public boolean hasClassid() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public String getClassid() {
- java.lang.Object ref = classid_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- classid_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getClassidBytes() {
- java.lang.Object ref = classid_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- classid_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional string classname = 2;
- public static final int CLASSNAME_FIELD_NUMBER = 2;
- private java.lang.Object classname_;
- public boolean hasClassname() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public String getClassname() {
- java.lang.Object ref = classname_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- classname_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getClassnameBytes() {
- java.lang.Object ref = classname_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- classname_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional string schemeid = 3;
- public static final int SCHEMEID_FIELD_NUMBER = 3;
- private java.lang.Object schemeid_;
- public boolean hasSchemeid() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public String getSchemeid() {
- java.lang.Object ref = schemeid_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- schemeid_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getSchemeidBytes() {
- java.lang.Object ref = schemeid_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- schemeid_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional string schemename = 4;
- public static final int SCHEMENAME_FIELD_NUMBER = 4;
- private java.lang.Object schemename_;
- public boolean hasSchemename() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- public String getSchemename() {
- java.lang.Object ref = schemename_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- schemename_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getSchemenameBytes() {
- java.lang.Object ref = schemename_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- schemename_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional .eu.dnetlib.data.proto.DataInfo dataInfo = 5;
- public static final int DATAINFO_FIELD_NUMBER = 5;
- private eu.dnetlib.data.proto.FieldTypeProtos.DataInfo dataInfo_;
- public boolean hasDataInfo() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfo getDataInfo() {
- return dataInfo_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder getDataInfoOrBuilder() {
- return dataInfo_;
- }
-
- private void initFields() {
- classid_ = "";
- classname_ = "";
- schemeid_ = "";
- schemename_ = "";
- dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (hasDataInfo()) {
- if (!getDataInfo().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeBytes(1, getClassidBytes());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeBytes(2, getClassnameBytes());
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeBytes(3, getSchemeidBytes());
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- output.writeBytes(4, getSchemenameBytes());
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- output.writeMessage(5, dataInfo_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(1, getClassidBytes());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(2, getClassnameBytes());
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(3, getSchemeidBytes());
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(4, getSchemenameBytes());
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(5, dataInfo_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.FieldTypeProtos.Qualifier parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.Qualifier parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.Qualifier parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.Qualifier parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.Qualifier parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.Qualifier parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.Qualifier parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.Qualifier parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.Qualifier parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.Qualifier parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.FieldTypeProtos.Qualifier prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_Qualifier_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_Qualifier_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getDataInfoFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- classid_ = "";
- bitField0_ = (bitField0_ & ~0x00000001);
- classname_ = "";
- bitField0_ = (bitField0_ & ~0x00000002);
- schemeid_ = "";
- bitField0_ = (bitField0_ & ~0x00000004);
- schemename_ = "";
- bitField0_ = (bitField0_ & ~0x00000008);
- if (dataInfoBuilder_ == null) {
- dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- } else {
- dataInfoBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000010);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier build() {
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.FieldTypeProtos.Qualifier buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier buildPartial() {
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier result = new eu.dnetlib.data.proto.FieldTypeProtos.Qualifier(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.classid_ = classid_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- result.classname_ = classname_;
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
- to_bitField0_ |= 0x00000004;
- }
- result.schemeid_ = schemeid_;
- if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
- to_bitField0_ |= 0x00000008;
- }
- result.schemename_ = schemename_;
- if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
- to_bitField0_ |= 0x00000010;
- }
- if (dataInfoBuilder_ == null) {
- result.dataInfo_ = dataInfo_;
- } else {
- result.dataInfo_ = dataInfoBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.FieldTypeProtos.Qualifier) {
- return mergeFrom((eu.dnetlib.data.proto.FieldTypeProtos.Qualifier)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.FieldTypeProtos.Qualifier other) {
- if (other == eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance()) return this;
- if (other.hasClassid()) {
- setClassid(other.getClassid());
- }
- if (other.hasClassname()) {
- setClassname(other.getClassname());
- }
- if (other.hasSchemeid()) {
- setSchemeid(other.getSchemeid());
- }
- if (other.hasSchemename()) {
- setSchemename(other.getSchemename());
- }
- if (other.hasDataInfo()) {
- mergeDataInfo(other.getDataInfo());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (hasDataInfo()) {
- if (!getDataInfo().isInitialized()) {
-
- return false;
- }
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 10: {
- bitField0_ |= 0x00000001;
- classid_ = input.readBytes();
- break;
- }
- case 18: {
- bitField0_ |= 0x00000002;
- classname_ = input.readBytes();
- break;
- }
- case 26: {
- bitField0_ |= 0x00000004;
- schemeid_ = input.readBytes();
- break;
- }
- case 34: {
- bitField0_ |= 0x00000008;
- schemename_ = input.readBytes();
- break;
- }
- case 42: {
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.newBuilder();
- if (hasDataInfo()) {
- subBuilder.mergeFrom(getDataInfo());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setDataInfo(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // optional string classid = 1;
- private java.lang.Object classid_ = "";
- public boolean hasClassid() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public String getClassid() {
- java.lang.Object ref = classid_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- classid_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setClassid(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- classid_ = value;
- onChanged();
- return this;
- }
- public Builder clearClassid() {
- bitField0_ = (bitField0_ & ~0x00000001);
- classid_ = getDefaultInstance().getClassid();
- onChanged();
- return this;
- }
- void setClassid(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000001;
- classid_ = value;
- onChanged();
- }
-
- // optional string classname = 2;
- private java.lang.Object classname_ = "";
- public boolean hasClassname() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public String getClassname() {
- java.lang.Object ref = classname_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- classname_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setClassname(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- classname_ = value;
- onChanged();
- return this;
- }
- public Builder clearClassname() {
- bitField0_ = (bitField0_ & ~0x00000002);
- classname_ = getDefaultInstance().getClassname();
- onChanged();
- return this;
- }
- void setClassname(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000002;
- classname_ = value;
- onChanged();
- }
-
- // optional string schemeid = 3;
- private java.lang.Object schemeid_ = "";
- public boolean hasSchemeid() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public String getSchemeid() {
- java.lang.Object ref = schemeid_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- schemeid_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setSchemeid(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- schemeid_ = value;
- onChanged();
- return this;
- }
- public Builder clearSchemeid() {
- bitField0_ = (bitField0_ & ~0x00000004);
- schemeid_ = getDefaultInstance().getSchemeid();
- onChanged();
- return this;
- }
- void setSchemeid(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000004;
- schemeid_ = value;
- onChanged();
- }
-
- // optional string schemename = 4;
- private java.lang.Object schemename_ = "";
- public boolean hasSchemename() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- public String getSchemename() {
- java.lang.Object ref = schemename_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- schemename_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setSchemename(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000008;
- schemename_ = value;
- onChanged();
- return this;
- }
- public Builder clearSchemename() {
- bitField0_ = (bitField0_ & ~0x00000008);
- schemename_ = getDefaultInstance().getSchemename();
- onChanged();
- return this;
- }
- void setSchemename(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000008;
- schemename_ = value;
- onChanged();
- }
-
- // optional .eu.dnetlib.data.proto.DataInfo dataInfo = 5;
- private eu.dnetlib.data.proto.FieldTypeProtos.DataInfo dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo, eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder, eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder> dataInfoBuilder_;
- public boolean hasDataInfo() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfo getDataInfo() {
- if (dataInfoBuilder_ == null) {
- return dataInfo_;
- } else {
- return dataInfoBuilder_.getMessage();
- }
- }
- public Builder setDataInfo(eu.dnetlib.data.proto.FieldTypeProtos.DataInfo value) {
- if (dataInfoBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- dataInfo_ = value;
- onChanged();
- } else {
- dataInfoBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000010;
- return this;
- }
- public Builder setDataInfo(
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder builderForValue) {
- if (dataInfoBuilder_ == null) {
- dataInfo_ = builderForValue.build();
- onChanged();
- } else {
- dataInfoBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000010;
- return this;
- }
- public Builder mergeDataInfo(eu.dnetlib.data.proto.FieldTypeProtos.DataInfo value) {
- if (dataInfoBuilder_ == null) {
- if (((bitField0_ & 0x00000010) == 0x00000010) &&
- dataInfo_ != eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance()) {
- dataInfo_ =
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.newBuilder(dataInfo_).mergeFrom(value).buildPartial();
- } else {
- dataInfo_ = value;
- }
- onChanged();
- } else {
- dataInfoBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000010;
- return this;
- }
- public Builder clearDataInfo() {
- if (dataInfoBuilder_ == null) {
- dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- onChanged();
- } else {
- dataInfoBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000010);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder getDataInfoBuilder() {
- bitField0_ |= 0x00000010;
- onChanged();
- return getDataInfoFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder getDataInfoOrBuilder() {
- if (dataInfoBuilder_ != null) {
- return dataInfoBuilder_.getMessageOrBuilder();
- } else {
- return dataInfo_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo, eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder, eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder>
- getDataInfoFieldBuilder() {
- if (dataInfoBuilder_ == null) {
- dataInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo, eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder, eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder>(
- dataInfo_,
- getParentForChildren(),
- isClean());
- dataInfo_ = null;
- }
- return dataInfoBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.Qualifier)
- }
-
- static {
- defaultInstance = new Qualifier(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.Qualifier)
- }
-
- public interface DataInfoOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional bool invisible = 6 [default = false];
- boolean hasInvisible();
- boolean getInvisible();
-
- // optional bool inferred = 1;
- boolean hasInferred();
- boolean getInferred();
-
- // optional bool deletedbyinference = 2;
- boolean hasDeletedbyinference();
- boolean getDeletedbyinference();
-
- // optional string trust = 3;
- boolean hasTrust();
- String getTrust();
-
- // optional string inferenceprovenance = 4;
- boolean hasInferenceprovenance();
- String getInferenceprovenance();
-
- // required .eu.dnetlib.data.proto.Qualifier provenanceaction = 5;
- boolean hasProvenanceaction();
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getProvenanceaction();
- eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getProvenanceactionOrBuilder();
- }
- public static final class DataInfo extends
- com.google.protobuf.GeneratedMessage
- implements DataInfoOrBuilder {
- // Use DataInfo.newBuilder() to construct.
- private DataInfo(Builder builder) {
- super(builder);
- }
- private DataInfo(boolean noInit) {}
-
- private static final DataInfo defaultInstance;
- public static DataInfo getDefaultInstance() {
- return defaultInstance;
- }
-
- public DataInfo getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_DataInfo_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_DataInfo_fieldAccessorTable;
- }
-
- private int bitField0_;
- // optional bool invisible = 6 [default = false];
- public static final int INVISIBLE_FIELD_NUMBER = 6;
- private boolean invisible_;
- public boolean hasInvisible() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public boolean getInvisible() {
- return invisible_;
- }
-
- // optional bool inferred = 1;
- public static final int INFERRED_FIELD_NUMBER = 1;
- private boolean inferred_;
- public boolean hasInferred() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public boolean getInferred() {
- return inferred_;
- }
-
- // optional bool deletedbyinference = 2;
- public static final int DELETEDBYINFERENCE_FIELD_NUMBER = 2;
- private boolean deletedbyinference_;
- public boolean hasDeletedbyinference() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public boolean getDeletedbyinference() {
- return deletedbyinference_;
- }
-
- // optional string trust = 3;
- public static final int TRUST_FIELD_NUMBER = 3;
- private java.lang.Object trust_;
- public boolean hasTrust() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- public String getTrust() {
- java.lang.Object ref = trust_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- trust_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getTrustBytes() {
- java.lang.Object ref = trust_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- trust_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional string inferenceprovenance = 4;
- public static final int INFERENCEPROVENANCE_FIELD_NUMBER = 4;
- private java.lang.Object inferenceprovenance_;
- public boolean hasInferenceprovenance() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- public String getInferenceprovenance() {
- java.lang.Object ref = inferenceprovenance_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- inferenceprovenance_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getInferenceprovenanceBytes() {
- java.lang.Object ref = inferenceprovenance_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- inferenceprovenance_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // required .eu.dnetlib.data.proto.Qualifier provenanceaction = 5;
- public static final int PROVENANCEACTION_FIELD_NUMBER = 5;
- private eu.dnetlib.data.proto.FieldTypeProtos.Qualifier provenanceaction_;
- public boolean hasProvenanceaction() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getProvenanceaction() {
- return provenanceaction_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getProvenanceactionOrBuilder() {
- return provenanceaction_;
- }
-
- private void initFields() {
- invisible_ = false;
- inferred_ = false;
- deletedbyinference_ = false;
- trust_ = "";
- inferenceprovenance_ = "";
- provenanceaction_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasProvenanceaction()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!getProvenanceaction().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeBool(1, inferred_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeBool(2, deletedbyinference_);
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- output.writeBytes(3, getTrustBytes());
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- output.writeBytes(4, getInferenceprovenanceBytes());
- }
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- output.writeMessage(5, provenanceaction_);
- }
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeBool(6, invisible_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(1, inferred_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(2, deletedbyinference_);
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(3, getTrustBytes());
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(4, getInferenceprovenanceBytes());
- }
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(5, provenanceaction_);
- }
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(6, invisible_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.FieldTypeProtos.DataInfo parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.DataInfo parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.DataInfo parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.DataInfo parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.DataInfo parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.DataInfo parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.DataInfo parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.DataInfo parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.DataInfo parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.DataInfo parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.FieldTypeProtos.DataInfo prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_DataInfo_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_DataInfo_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getProvenanceactionFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- invisible_ = false;
- bitField0_ = (bitField0_ & ~0x00000001);
- inferred_ = false;
- bitField0_ = (bitField0_ & ~0x00000002);
- deletedbyinference_ = false;
- bitField0_ = (bitField0_ & ~0x00000004);
- trust_ = "";
- bitField0_ = (bitField0_ & ~0x00000008);
- inferenceprovenance_ = "";
- bitField0_ = (bitField0_ & ~0x00000010);
- if (provenanceactionBuilder_ == null) {
- provenanceaction_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- } else {
- provenanceactionBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000020);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfo getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfo build() {
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.FieldTypeProtos.DataInfo buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfo buildPartial() {
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo result = new eu.dnetlib.data.proto.FieldTypeProtos.DataInfo(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.invisible_ = invisible_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- result.inferred_ = inferred_;
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
- to_bitField0_ |= 0x00000004;
- }
- result.deletedbyinference_ = deletedbyinference_;
- if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
- to_bitField0_ |= 0x00000008;
- }
- result.trust_ = trust_;
- if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
- to_bitField0_ |= 0x00000010;
- }
- result.inferenceprovenance_ = inferenceprovenance_;
- if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
- to_bitField0_ |= 0x00000020;
- }
- if (provenanceactionBuilder_ == null) {
- result.provenanceaction_ = provenanceaction_;
- } else {
- result.provenanceaction_ = provenanceactionBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.FieldTypeProtos.DataInfo) {
- return mergeFrom((eu.dnetlib.data.proto.FieldTypeProtos.DataInfo)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.FieldTypeProtos.DataInfo other) {
- if (other == eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance()) return this;
- if (other.hasInvisible()) {
- setInvisible(other.getInvisible());
- }
- if (other.hasInferred()) {
- setInferred(other.getInferred());
- }
- if (other.hasDeletedbyinference()) {
- setDeletedbyinference(other.getDeletedbyinference());
- }
- if (other.hasTrust()) {
- setTrust(other.getTrust());
- }
- if (other.hasInferenceprovenance()) {
- setInferenceprovenance(other.getInferenceprovenance());
- }
- if (other.hasProvenanceaction()) {
- mergeProvenanceaction(other.getProvenanceaction());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasProvenanceaction()) {
-
- return false;
- }
- if (!getProvenanceaction().isInitialized()) {
-
- return false;
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 8: {
- bitField0_ |= 0x00000002;
- inferred_ = input.readBool();
- break;
- }
- case 16: {
- bitField0_ |= 0x00000004;
- deletedbyinference_ = input.readBool();
- break;
- }
- case 26: {
- bitField0_ |= 0x00000008;
- trust_ = input.readBytes();
- break;
- }
- case 34: {
- bitField0_ |= 0x00000010;
- inferenceprovenance_ = input.readBytes();
- break;
- }
- case 42: {
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.newBuilder();
- if (hasProvenanceaction()) {
- subBuilder.mergeFrom(getProvenanceaction());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setProvenanceaction(subBuilder.buildPartial());
- break;
- }
- case 48: {
- bitField0_ |= 0x00000001;
- invisible_ = input.readBool();
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // optional bool invisible = 6 [default = false];
- private boolean invisible_ ;
- public boolean hasInvisible() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public boolean getInvisible() {
- return invisible_;
- }
- public Builder setInvisible(boolean value) {
- bitField0_ |= 0x00000001;
- invisible_ = value;
- onChanged();
- return this;
- }
- public Builder clearInvisible() {
- bitField0_ = (bitField0_ & ~0x00000001);
- invisible_ = false;
- onChanged();
- return this;
- }
-
- // optional bool inferred = 1;
- private boolean inferred_ ;
- public boolean hasInferred() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public boolean getInferred() {
- return inferred_;
- }
- public Builder setInferred(boolean value) {
- bitField0_ |= 0x00000002;
- inferred_ = value;
- onChanged();
- return this;
- }
- public Builder clearInferred() {
- bitField0_ = (bitField0_ & ~0x00000002);
- inferred_ = false;
- onChanged();
- return this;
- }
-
- // optional bool deletedbyinference = 2;
- private boolean deletedbyinference_ ;
- public boolean hasDeletedbyinference() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public boolean getDeletedbyinference() {
- return deletedbyinference_;
- }
- public Builder setDeletedbyinference(boolean value) {
- bitField0_ |= 0x00000004;
- deletedbyinference_ = value;
- onChanged();
- return this;
- }
- public Builder clearDeletedbyinference() {
- bitField0_ = (bitField0_ & ~0x00000004);
- deletedbyinference_ = false;
- onChanged();
- return this;
- }
-
- // optional string trust = 3;
- private java.lang.Object trust_ = "";
- public boolean hasTrust() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- public String getTrust() {
- java.lang.Object ref = trust_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- trust_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setTrust(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000008;
- trust_ = value;
- onChanged();
- return this;
- }
- public Builder clearTrust() {
- bitField0_ = (bitField0_ & ~0x00000008);
- trust_ = getDefaultInstance().getTrust();
- onChanged();
- return this;
- }
- void setTrust(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000008;
- trust_ = value;
- onChanged();
- }
-
- // optional string inferenceprovenance = 4;
- private java.lang.Object inferenceprovenance_ = "";
- public boolean hasInferenceprovenance() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- public String getInferenceprovenance() {
- java.lang.Object ref = inferenceprovenance_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- inferenceprovenance_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setInferenceprovenance(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000010;
- inferenceprovenance_ = value;
- onChanged();
- return this;
- }
- public Builder clearInferenceprovenance() {
- bitField0_ = (bitField0_ & ~0x00000010);
- inferenceprovenance_ = getDefaultInstance().getInferenceprovenance();
- onChanged();
- return this;
- }
- void setInferenceprovenance(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000010;
- inferenceprovenance_ = value;
- onChanged();
- }
-
- // required .eu.dnetlib.data.proto.Qualifier provenanceaction = 5;
- private eu.dnetlib.data.proto.FieldTypeProtos.Qualifier provenanceaction_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier, eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder, eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder> provenanceactionBuilder_;
- public boolean hasProvenanceaction() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getProvenanceaction() {
- if (provenanceactionBuilder_ == null) {
- return provenanceaction_;
- } else {
- return provenanceactionBuilder_.getMessage();
- }
- }
- public Builder setProvenanceaction(eu.dnetlib.data.proto.FieldTypeProtos.Qualifier value) {
- if (provenanceactionBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- provenanceaction_ = value;
- onChanged();
- } else {
- provenanceactionBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000020;
- return this;
- }
- public Builder setProvenanceaction(
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder builderForValue) {
- if (provenanceactionBuilder_ == null) {
- provenanceaction_ = builderForValue.build();
- onChanged();
- } else {
- provenanceactionBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000020;
- return this;
- }
- public Builder mergeProvenanceaction(eu.dnetlib.data.proto.FieldTypeProtos.Qualifier value) {
- if (provenanceactionBuilder_ == null) {
- if (((bitField0_ & 0x00000020) == 0x00000020) &&
- provenanceaction_ != eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance()) {
- provenanceaction_ =
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.newBuilder(provenanceaction_).mergeFrom(value).buildPartial();
- } else {
- provenanceaction_ = value;
- }
- onChanged();
- } else {
- provenanceactionBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000020;
- return this;
- }
- public Builder clearProvenanceaction() {
- if (provenanceactionBuilder_ == null) {
- provenanceaction_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- onChanged();
- } else {
- provenanceactionBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000020);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder getProvenanceactionBuilder() {
- bitField0_ |= 0x00000020;
- onChanged();
- return getProvenanceactionFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getProvenanceactionOrBuilder() {
- if (provenanceactionBuilder_ != null) {
- return provenanceactionBuilder_.getMessageOrBuilder();
- } else {
- return provenanceaction_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier, eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder, eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder>
- getProvenanceactionFieldBuilder() {
- if (provenanceactionBuilder_ == null) {
- provenanceactionBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier, eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder, eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder>(
- provenanceaction_,
- getParentForChildren(),
- isClean());
- provenanceaction_ = null;
- }
- return provenanceactionBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.DataInfo)
- }
-
- static {
- defaultInstance = new DataInfo(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.DataInfo)
- }
-
- public interface OAIProvenanceOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional .eu.dnetlib.data.proto.OAIProvenance.OriginDescription originDescription = 1;
- boolean hasOriginDescription();
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription getOriginDescription();
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescriptionOrBuilder getOriginDescriptionOrBuilder();
- }
- public static final class OAIProvenance extends
- com.google.protobuf.GeneratedMessage
- implements OAIProvenanceOrBuilder {
- // Use OAIProvenance.newBuilder() to construct.
- private OAIProvenance(Builder builder) {
- super(builder);
- }
- private OAIProvenance(boolean noInit) {}
-
- private static final OAIProvenance defaultInstance;
- public static OAIProvenance getDefaultInstance() {
- return defaultInstance;
- }
-
- public OAIProvenance getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_OAIProvenance_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_OAIProvenance_fieldAccessorTable;
- }
-
- public interface OriginDescriptionOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional string harvestDate = 1;
- boolean hasHarvestDate();
- String getHarvestDate();
-
- // optional bool altered = 2 [default = true];
- boolean hasAltered();
- boolean getAltered();
-
- // optional string baseURL = 3;
- boolean hasBaseURL();
- String getBaseURL();
-
- // optional string identifier = 4;
- boolean hasIdentifier();
- String getIdentifier();
-
- // optional string datestamp = 5;
- boolean hasDatestamp();
- String getDatestamp();
-
- // optional string metadataNamespace = 6;
- boolean hasMetadataNamespace();
- String getMetadataNamespace();
-
- // optional .eu.dnetlib.data.proto.OAIProvenance.OriginDescription originDescription = 7;
- boolean hasOriginDescription();
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription getOriginDescription();
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescriptionOrBuilder getOriginDescriptionOrBuilder();
- }
- public static final class OriginDescription extends
- com.google.protobuf.GeneratedMessage
- implements OriginDescriptionOrBuilder {
- // Use OriginDescription.newBuilder() to construct.
- private OriginDescription(Builder builder) {
- super(builder);
- }
- private OriginDescription(boolean noInit) {}
-
- private static final OriginDescription defaultInstance;
- public static OriginDescription getDefaultInstance() {
- return defaultInstance;
- }
-
- public OriginDescription getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_OAIProvenance_OriginDescription_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_OAIProvenance_OriginDescription_fieldAccessorTable;
- }
-
- private int bitField0_;
- // optional string harvestDate = 1;
- public static final int HARVESTDATE_FIELD_NUMBER = 1;
- private java.lang.Object harvestDate_;
- public boolean hasHarvestDate() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public String getHarvestDate() {
- java.lang.Object ref = harvestDate_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- harvestDate_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getHarvestDateBytes() {
- java.lang.Object ref = harvestDate_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- harvestDate_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional bool altered = 2 [default = true];
- public static final int ALTERED_FIELD_NUMBER = 2;
- private boolean altered_;
- public boolean hasAltered() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public boolean getAltered() {
- return altered_;
- }
-
- // optional string baseURL = 3;
- public static final int BASEURL_FIELD_NUMBER = 3;
- private java.lang.Object baseURL_;
- public boolean hasBaseURL() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public String getBaseURL() {
- java.lang.Object ref = baseURL_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- baseURL_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getBaseURLBytes() {
- java.lang.Object ref = baseURL_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- baseURL_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional string identifier = 4;
- public static final int IDENTIFIER_FIELD_NUMBER = 4;
- private java.lang.Object identifier_;
- public boolean hasIdentifier() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- public String getIdentifier() {
- java.lang.Object ref = identifier_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- identifier_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getIdentifierBytes() {
- java.lang.Object ref = identifier_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- identifier_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional string datestamp = 5;
- public static final int DATESTAMP_FIELD_NUMBER = 5;
- private java.lang.Object datestamp_;
- public boolean hasDatestamp() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- public String getDatestamp() {
- java.lang.Object ref = datestamp_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- datestamp_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getDatestampBytes() {
- java.lang.Object ref = datestamp_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- datestamp_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional string metadataNamespace = 6;
- public static final int METADATANAMESPACE_FIELD_NUMBER = 6;
- private java.lang.Object metadataNamespace_;
- public boolean hasMetadataNamespace() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
- }
- public String getMetadataNamespace() {
- java.lang.Object ref = metadataNamespace_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- metadataNamespace_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getMetadataNamespaceBytes() {
- java.lang.Object ref = metadataNamespace_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- metadataNamespace_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional .eu.dnetlib.data.proto.OAIProvenance.OriginDescription originDescription = 7;
- public static final int ORIGINDESCRIPTION_FIELD_NUMBER = 7;
- private eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription originDescription_;
- public boolean hasOriginDescription() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription getOriginDescription() {
- return originDescription_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescriptionOrBuilder getOriginDescriptionOrBuilder() {
- return originDescription_;
- }
-
- private void initFields() {
- harvestDate_ = "";
- altered_ = true;
- baseURL_ = "";
- identifier_ = "";
- datestamp_ = "";
- metadataNamespace_ = "";
- originDescription_ = eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeBytes(1, getHarvestDateBytes());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeBool(2, altered_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeBytes(3, getBaseURLBytes());
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- output.writeBytes(4, getIdentifierBytes());
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- output.writeBytes(5, getDatestampBytes());
- }
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- output.writeBytes(6, getMetadataNamespaceBytes());
- }
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
- output.writeMessage(7, originDescription_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(1, getHarvestDateBytes());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(2, altered_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(3, getBaseURLBytes());
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(4, getIdentifierBytes());
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(5, getDatestampBytes());
- }
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(6, getMetadataNamespaceBytes());
- }
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(7, originDescription_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescriptionOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_OAIProvenance_OriginDescription_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_OAIProvenance_OriginDescription_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getOriginDescriptionFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- harvestDate_ = "";
- bitField0_ = (bitField0_ & ~0x00000001);
- altered_ = true;
- bitField0_ = (bitField0_ & ~0x00000002);
- baseURL_ = "";
- bitField0_ = (bitField0_ & ~0x00000004);
- identifier_ = "";
- bitField0_ = (bitField0_ & ~0x00000008);
- datestamp_ = "";
- bitField0_ = (bitField0_ & ~0x00000010);
- metadataNamespace_ = "";
- bitField0_ = (bitField0_ & ~0x00000020);
- if (originDescriptionBuilder_ == null) {
- originDescription_ = eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.getDefaultInstance();
- } else {
- originDescriptionBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000040);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription build() {
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription buildPartial() {
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription result = new eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.harvestDate_ = harvestDate_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- result.altered_ = altered_;
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
- to_bitField0_ |= 0x00000004;
- }
- result.baseURL_ = baseURL_;
- if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
- to_bitField0_ |= 0x00000008;
- }
- result.identifier_ = identifier_;
- if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
- to_bitField0_ |= 0x00000010;
- }
- result.datestamp_ = datestamp_;
- if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
- to_bitField0_ |= 0x00000020;
- }
- result.metadataNamespace_ = metadataNamespace_;
- if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
- to_bitField0_ |= 0x00000040;
- }
- if (originDescriptionBuilder_ == null) {
- result.originDescription_ = originDescription_;
- } else {
- result.originDescription_ = originDescriptionBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription) {
- return mergeFrom((eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription other) {
- if (other == eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.getDefaultInstance()) return this;
- if (other.hasHarvestDate()) {
- setHarvestDate(other.getHarvestDate());
- }
- if (other.hasAltered()) {
- setAltered(other.getAltered());
- }
- if (other.hasBaseURL()) {
- setBaseURL(other.getBaseURL());
- }
- if (other.hasIdentifier()) {
- setIdentifier(other.getIdentifier());
- }
- if (other.hasDatestamp()) {
- setDatestamp(other.getDatestamp());
- }
- if (other.hasMetadataNamespace()) {
- setMetadataNamespace(other.getMetadataNamespace());
- }
- if (other.hasOriginDescription()) {
- mergeOriginDescription(other.getOriginDescription());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 10: {
- bitField0_ |= 0x00000001;
- harvestDate_ = input.readBytes();
- break;
- }
- case 16: {
- bitField0_ |= 0x00000002;
- altered_ = input.readBool();
- break;
- }
- case 26: {
- bitField0_ |= 0x00000004;
- baseURL_ = input.readBytes();
- break;
- }
- case 34: {
- bitField0_ |= 0x00000008;
- identifier_ = input.readBytes();
- break;
- }
- case 42: {
- bitField0_ |= 0x00000010;
- datestamp_ = input.readBytes();
- break;
- }
- case 50: {
- bitField0_ |= 0x00000020;
- metadataNamespace_ = input.readBytes();
- break;
- }
- case 58: {
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.newBuilder();
- if (hasOriginDescription()) {
- subBuilder.mergeFrom(getOriginDescription());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setOriginDescription(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // optional string harvestDate = 1;
- private java.lang.Object harvestDate_ = "";
- public boolean hasHarvestDate() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public String getHarvestDate() {
- java.lang.Object ref = harvestDate_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- harvestDate_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setHarvestDate(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- harvestDate_ = value;
- onChanged();
- return this;
- }
- public Builder clearHarvestDate() {
- bitField0_ = (bitField0_ & ~0x00000001);
- harvestDate_ = getDefaultInstance().getHarvestDate();
- onChanged();
- return this;
- }
- void setHarvestDate(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000001;
- harvestDate_ = value;
- onChanged();
- }
-
- // optional bool altered = 2 [default = true];
- private boolean altered_ = true;
- public boolean hasAltered() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public boolean getAltered() {
- return altered_;
- }
- public Builder setAltered(boolean value) {
- bitField0_ |= 0x00000002;
- altered_ = value;
- onChanged();
- return this;
- }
- public Builder clearAltered() {
- bitField0_ = (bitField0_ & ~0x00000002);
- altered_ = true;
- onChanged();
- return this;
- }
-
- // optional string baseURL = 3;
- private java.lang.Object baseURL_ = "";
- public boolean hasBaseURL() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public String getBaseURL() {
- java.lang.Object ref = baseURL_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- baseURL_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setBaseURL(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- baseURL_ = value;
- onChanged();
- return this;
- }
- public Builder clearBaseURL() {
- bitField0_ = (bitField0_ & ~0x00000004);
- baseURL_ = getDefaultInstance().getBaseURL();
- onChanged();
- return this;
- }
- void setBaseURL(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000004;
- baseURL_ = value;
- onChanged();
- }
-
- // optional string identifier = 4;
- private java.lang.Object identifier_ = "";
- public boolean hasIdentifier() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- public String getIdentifier() {
- java.lang.Object ref = identifier_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- identifier_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setIdentifier(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000008;
- identifier_ = value;
- onChanged();
- return this;
- }
- public Builder clearIdentifier() {
- bitField0_ = (bitField0_ & ~0x00000008);
- identifier_ = getDefaultInstance().getIdentifier();
- onChanged();
- return this;
- }
- void setIdentifier(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000008;
- identifier_ = value;
- onChanged();
- }
-
- // optional string datestamp = 5;
- private java.lang.Object datestamp_ = "";
- public boolean hasDatestamp() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- public String getDatestamp() {
- java.lang.Object ref = datestamp_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- datestamp_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setDatestamp(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000010;
- datestamp_ = value;
- onChanged();
- return this;
- }
- public Builder clearDatestamp() {
- bitField0_ = (bitField0_ & ~0x00000010);
- datestamp_ = getDefaultInstance().getDatestamp();
- onChanged();
- return this;
- }
- void setDatestamp(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000010;
- datestamp_ = value;
- onChanged();
- }
-
- // optional string metadataNamespace = 6;
- private java.lang.Object metadataNamespace_ = "";
- public boolean hasMetadataNamespace() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
- }
- public String getMetadataNamespace() {
- java.lang.Object ref = metadataNamespace_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- metadataNamespace_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setMetadataNamespace(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000020;
- metadataNamespace_ = value;
- onChanged();
- return this;
- }
- public Builder clearMetadataNamespace() {
- bitField0_ = (bitField0_ & ~0x00000020);
- metadataNamespace_ = getDefaultInstance().getMetadataNamespace();
- onChanged();
- return this;
- }
- void setMetadataNamespace(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000020;
- metadataNamespace_ = value;
- onChanged();
- }
-
- // optional .eu.dnetlib.data.proto.OAIProvenance.OriginDescription originDescription = 7;
- private eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription originDescription_ = eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription, eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.Builder, eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescriptionOrBuilder> originDescriptionBuilder_;
- public boolean hasOriginDescription() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription getOriginDescription() {
- if (originDescriptionBuilder_ == null) {
- return originDescription_;
- } else {
- return originDescriptionBuilder_.getMessage();
- }
- }
- public Builder setOriginDescription(eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription value) {
- if (originDescriptionBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- originDescription_ = value;
- onChanged();
- } else {
- originDescriptionBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000040;
- return this;
- }
- public Builder setOriginDescription(
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.Builder builderForValue) {
- if (originDescriptionBuilder_ == null) {
- originDescription_ = builderForValue.build();
- onChanged();
- } else {
- originDescriptionBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000040;
- return this;
- }
- public Builder mergeOriginDescription(eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription value) {
- if (originDescriptionBuilder_ == null) {
- if (((bitField0_ & 0x00000040) == 0x00000040) &&
- originDescription_ != eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.getDefaultInstance()) {
- originDescription_ =
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.newBuilder(originDescription_).mergeFrom(value).buildPartial();
- } else {
- originDescription_ = value;
- }
- onChanged();
- } else {
- originDescriptionBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000040;
- return this;
- }
- public Builder clearOriginDescription() {
- if (originDescriptionBuilder_ == null) {
- originDescription_ = eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.getDefaultInstance();
- onChanged();
- } else {
- originDescriptionBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000040);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.Builder getOriginDescriptionBuilder() {
- bitField0_ |= 0x00000040;
- onChanged();
- return getOriginDescriptionFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescriptionOrBuilder getOriginDescriptionOrBuilder() {
- if (originDescriptionBuilder_ != null) {
- return originDescriptionBuilder_.getMessageOrBuilder();
- } else {
- return originDescription_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription, eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.Builder, eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescriptionOrBuilder>
- getOriginDescriptionFieldBuilder() {
- if (originDescriptionBuilder_ == null) {
- originDescriptionBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription, eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.Builder, eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescriptionOrBuilder>(
- originDescription_,
- getParentForChildren(),
- isClean());
- originDescription_ = null;
- }
- return originDescriptionBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.OAIProvenance.OriginDescription)
- }
-
- static {
- defaultInstance = new OriginDescription(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.OAIProvenance.OriginDescription)
- }
-
- private int bitField0_;
- // optional .eu.dnetlib.data.proto.OAIProvenance.OriginDescription originDescription = 1;
- public static final int ORIGINDESCRIPTION_FIELD_NUMBER = 1;
- private eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription originDescription_;
- public boolean hasOriginDescription() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription getOriginDescription() {
- return originDescription_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescriptionOrBuilder getOriginDescriptionOrBuilder() {
- return originDescription_;
- }
-
- private void initFields() {
- originDescription_ = eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeMessage(1, originDescription_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, originDescription_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenanceOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_OAIProvenance_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_OAIProvenance_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getOriginDescriptionFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- if (originDescriptionBuilder_ == null) {
- originDescription_ = eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.getDefaultInstance();
- } else {
- originDescriptionBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance build() {
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance buildPartial() {
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance result = new eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- if (originDescriptionBuilder_ == null) {
- result.originDescription_ = originDescription_;
- } else {
- result.originDescription_ = originDescriptionBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance) {
- return mergeFrom((eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance other) {
- if (other == eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.getDefaultInstance()) return this;
- if (other.hasOriginDescription()) {
- mergeOriginDescription(other.getOriginDescription());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 10: {
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.newBuilder();
- if (hasOriginDescription()) {
- subBuilder.mergeFrom(getOriginDescription());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setOriginDescription(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // optional .eu.dnetlib.data.proto.OAIProvenance.OriginDescription originDescription = 1;
- private eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription originDescription_ = eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription, eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.Builder, eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescriptionOrBuilder> originDescriptionBuilder_;
- public boolean hasOriginDescription() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription getOriginDescription() {
- if (originDescriptionBuilder_ == null) {
- return originDescription_;
- } else {
- return originDescriptionBuilder_.getMessage();
- }
- }
- public Builder setOriginDescription(eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription value) {
- if (originDescriptionBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- originDescription_ = value;
- onChanged();
- } else {
- originDescriptionBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder setOriginDescription(
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.Builder builderForValue) {
- if (originDescriptionBuilder_ == null) {
- originDescription_ = builderForValue.build();
- onChanged();
- } else {
- originDescriptionBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder mergeOriginDescription(eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription value) {
- if (originDescriptionBuilder_ == null) {
- if (((bitField0_ & 0x00000001) == 0x00000001) &&
- originDescription_ != eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.getDefaultInstance()) {
- originDescription_ =
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.newBuilder(originDescription_).mergeFrom(value).buildPartial();
- } else {
- originDescription_ = value;
- }
- onChanged();
- } else {
- originDescriptionBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder clearOriginDescription() {
- if (originDescriptionBuilder_ == null) {
- originDescription_ = eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.getDefaultInstance();
- onChanged();
- } else {
- originDescriptionBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.Builder getOriginDescriptionBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return getOriginDescriptionFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescriptionOrBuilder getOriginDescriptionOrBuilder() {
- if (originDescriptionBuilder_ != null) {
- return originDescriptionBuilder_.getMessageOrBuilder();
- } else {
- return originDescription_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription, eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.Builder, eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescriptionOrBuilder>
- getOriginDescriptionFieldBuilder() {
- if (originDescriptionBuilder_ == null) {
- originDescriptionBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription, eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.Builder, eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescriptionOrBuilder>(
- originDescription_,
- getParentForChildren(),
- isClean());
- originDescription_ = null;
- }
- return originDescriptionBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.OAIProvenance)
- }
-
- static {
- defaultInstance = new OAIProvenance(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.OAIProvenance)
- }
-
- public interface ExtraInfoOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // required string name = 1;
- boolean hasName();
- String getName();
-
- // required string typology = 2;
- boolean hasTypology();
- String getTypology();
-
- // required string provenance = 3;
- boolean hasProvenance();
- String getProvenance();
-
- // optional string trust = 4;
- boolean hasTrust();
- String getTrust();
-
- // optional string value = 5;
- boolean hasValue();
- String getValue();
- }
- public static final class ExtraInfo extends
- com.google.protobuf.GeneratedMessage
- implements ExtraInfoOrBuilder {
- // Use ExtraInfo.newBuilder() to construct.
- private ExtraInfo(Builder builder) {
- super(builder);
- }
- private ExtraInfo(boolean noInit) {}
-
- private static final ExtraInfo defaultInstance;
- public static ExtraInfo getDefaultInstance() {
- return defaultInstance;
- }
-
- public ExtraInfo getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_ExtraInfo_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_ExtraInfo_fieldAccessorTable;
- }
-
- private int bitField0_;
- // required string name = 1;
- public static final int NAME_FIELD_NUMBER = 1;
- private java.lang.Object name_;
- public boolean hasName() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public String getName() {
- java.lang.Object ref = name_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- name_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getNameBytes() {
- java.lang.Object ref = name_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- name_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // required string typology = 2;
- public static final int TYPOLOGY_FIELD_NUMBER = 2;
- private java.lang.Object typology_;
- public boolean hasTypology() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public String getTypology() {
- java.lang.Object ref = typology_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- typology_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getTypologyBytes() {
- java.lang.Object ref = typology_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- typology_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // required string provenance = 3;
- public static final int PROVENANCE_FIELD_NUMBER = 3;
- private java.lang.Object provenance_;
- public boolean hasProvenance() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public String getProvenance() {
- java.lang.Object ref = provenance_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- provenance_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getProvenanceBytes() {
- java.lang.Object ref = provenance_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- provenance_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional string trust = 4;
- public static final int TRUST_FIELD_NUMBER = 4;
- private java.lang.Object trust_;
- public boolean hasTrust() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- public String getTrust() {
- java.lang.Object ref = trust_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- trust_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getTrustBytes() {
- java.lang.Object ref = trust_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- trust_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional string value = 5;
- public static final int VALUE_FIELD_NUMBER = 5;
- private java.lang.Object value_;
- public boolean hasValue() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- public String getValue() {
- java.lang.Object ref = value_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- value_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getValueBytes() {
- java.lang.Object ref = value_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- value_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- private void initFields() {
- name_ = "";
- typology_ = "";
- provenance_ = "";
- trust_ = "";
- value_ = "";
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasName()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasTypology()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasProvenance()) {
- memoizedIsInitialized = 0;
- return false;
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeBytes(1, getNameBytes());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeBytes(2, getTypologyBytes());
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeBytes(3, getProvenanceBytes());
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- output.writeBytes(4, getTrustBytes());
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- output.writeBytes(5, getValueBytes());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(1, getNameBytes());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(2, getTypologyBytes());
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(3, getProvenanceBytes());
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(4, getTrustBytes());
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(5, getValueBytes());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfoOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_ExtraInfo_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_ExtraInfo_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- name_ = "";
- bitField0_ = (bitField0_ & ~0x00000001);
- typology_ = "";
- bitField0_ = (bitField0_ & ~0x00000002);
- provenance_ = "";
- bitField0_ = (bitField0_ & ~0x00000004);
- trust_ = "";
- bitField0_ = (bitField0_ & ~0x00000008);
- value_ = "";
- bitField0_ = (bitField0_ & ~0x00000010);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo build() {
- eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo buildPartial() {
- eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo result = new eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.name_ = name_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- result.typology_ = typology_;
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
- to_bitField0_ |= 0x00000004;
- }
- result.provenance_ = provenance_;
- if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
- to_bitField0_ |= 0x00000008;
- }
- result.trust_ = trust_;
- if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
- to_bitField0_ |= 0x00000010;
- }
- result.value_ = value_;
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo) {
- return mergeFrom((eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo other) {
- if (other == eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo.getDefaultInstance()) return this;
- if (other.hasName()) {
- setName(other.getName());
- }
- if (other.hasTypology()) {
- setTypology(other.getTypology());
- }
- if (other.hasProvenance()) {
- setProvenance(other.getProvenance());
- }
- if (other.hasTrust()) {
- setTrust(other.getTrust());
- }
- if (other.hasValue()) {
- setValue(other.getValue());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasName()) {
-
- return false;
- }
- if (!hasTypology()) {
-
- return false;
- }
- if (!hasProvenance()) {
-
- return false;
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 10: {
- bitField0_ |= 0x00000001;
- name_ = input.readBytes();
- break;
- }
- case 18: {
- bitField0_ |= 0x00000002;
- typology_ = input.readBytes();
- break;
- }
- case 26: {
- bitField0_ |= 0x00000004;
- provenance_ = input.readBytes();
- break;
- }
- case 34: {
- bitField0_ |= 0x00000008;
- trust_ = input.readBytes();
- break;
- }
- case 42: {
- bitField0_ |= 0x00000010;
- value_ = input.readBytes();
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // required string name = 1;
- private java.lang.Object name_ = "";
- public boolean hasName() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public String getName() {
- java.lang.Object ref = name_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- name_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setName(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- name_ = value;
- onChanged();
- return this;
- }
- public Builder clearName() {
- bitField0_ = (bitField0_ & ~0x00000001);
- name_ = getDefaultInstance().getName();
- onChanged();
- return this;
- }
- void setName(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000001;
- name_ = value;
- onChanged();
- }
-
- // required string typology = 2;
- private java.lang.Object typology_ = "";
- public boolean hasTypology() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public String getTypology() {
- java.lang.Object ref = typology_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- typology_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setTypology(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- typology_ = value;
- onChanged();
- return this;
- }
- public Builder clearTypology() {
- bitField0_ = (bitField0_ & ~0x00000002);
- typology_ = getDefaultInstance().getTypology();
- onChanged();
- return this;
- }
- void setTypology(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000002;
- typology_ = value;
- onChanged();
- }
-
- // required string provenance = 3;
- private java.lang.Object provenance_ = "";
- public boolean hasProvenance() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public String getProvenance() {
- java.lang.Object ref = provenance_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- provenance_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setProvenance(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- provenance_ = value;
- onChanged();
- return this;
- }
- public Builder clearProvenance() {
- bitField0_ = (bitField0_ & ~0x00000004);
- provenance_ = getDefaultInstance().getProvenance();
- onChanged();
- return this;
- }
- void setProvenance(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000004;
- provenance_ = value;
- onChanged();
- }
-
- // optional string trust = 4;
- private java.lang.Object trust_ = "";
- public boolean hasTrust() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- public String getTrust() {
- java.lang.Object ref = trust_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- trust_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setTrust(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000008;
- trust_ = value;
- onChanged();
- return this;
- }
- public Builder clearTrust() {
- bitField0_ = (bitField0_ & ~0x00000008);
- trust_ = getDefaultInstance().getTrust();
- onChanged();
- return this;
- }
- void setTrust(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000008;
- trust_ = value;
- onChanged();
- }
-
- // optional string value = 5;
- private java.lang.Object value_ = "";
- public boolean hasValue() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- public String getValue() {
- java.lang.Object ref = value_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- value_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setValue(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000010;
- value_ = value;
- onChanged();
- return this;
- }
- public Builder clearValue() {
- bitField0_ = (bitField0_ & ~0x00000010);
- value_ = getDefaultInstance().getValue();
- onChanged();
- return this;
- }
- void setValue(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000010;
- value_ = value;
- onChanged();
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.ExtraInfo)
- }
-
- static {
- defaultInstance = new ExtraInfo(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.ExtraInfo)
- }
-
- public interface AuthorOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // required string fullname = 1;
- boolean hasFullname();
- String getFullname();
-
- // optional string name = 2;
- boolean hasName();
- String getName();
-
- // optional string surname = 3;
- boolean hasSurname();
- String getSurname();
-
- // required int32 rank = 4;
- boolean hasRank();
- int getRank();
-
- // repeated .eu.dnetlib.data.proto.KeyValue pid = 5;
- java.util.List
- getPidList();
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue getPid(int index);
- int getPidCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder>
- getPidOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder getPidOrBuilder(
- int index);
-
- // repeated .eu.dnetlib.data.proto.StringField affiliation = 6;
- java.util.List
- getAffiliationList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getAffiliation(int index);
- int getAffiliationCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getAffiliationOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getAffiliationOrBuilder(
- int index);
- }
- public static final class Author extends
- com.google.protobuf.GeneratedMessage
- implements AuthorOrBuilder {
- // Use Author.newBuilder() to construct.
- private Author(Builder builder) {
- super(builder);
- }
- private Author(boolean noInit) {}
-
- private static final Author defaultInstance;
- public static Author getDefaultInstance() {
- return defaultInstance;
- }
-
- public Author getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_Author_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_Author_fieldAccessorTable;
- }
-
- private int bitField0_;
- // required string fullname = 1;
- public static final int FULLNAME_FIELD_NUMBER = 1;
- private java.lang.Object fullname_;
- public boolean hasFullname() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public String getFullname() {
- java.lang.Object ref = fullname_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- fullname_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getFullnameBytes() {
- java.lang.Object ref = fullname_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- fullname_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional string name = 2;
- public static final int NAME_FIELD_NUMBER = 2;
- private java.lang.Object name_;
- public boolean hasName() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public String getName() {
- java.lang.Object ref = name_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- name_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getNameBytes() {
- java.lang.Object ref = name_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- name_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional string surname = 3;
- public static final int SURNAME_FIELD_NUMBER = 3;
- private java.lang.Object surname_;
- public boolean hasSurname() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public String getSurname() {
- java.lang.Object ref = surname_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- surname_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getSurnameBytes() {
- java.lang.Object ref = surname_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- surname_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // required int32 rank = 4;
- public static final int RANK_FIELD_NUMBER = 4;
- private int rank_;
- public boolean hasRank() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- public int getRank() {
- return rank_;
- }
-
- // repeated .eu.dnetlib.data.proto.KeyValue pid = 5;
- public static final int PID_FIELD_NUMBER = 5;
- private java.util.List pid_;
- public java.util.List getPidList() {
- return pid_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder>
- getPidOrBuilderList() {
- return pid_;
- }
- public int getPidCount() {
- return pid_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValue getPid(int index) {
- return pid_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder getPidOrBuilder(
- int index) {
- return pid_.get(index);
- }
-
- // repeated .eu.dnetlib.data.proto.StringField affiliation = 6;
- public static final int AFFILIATION_FIELD_NUMBER = 6;
- private java.util.List affiliation_;
- public java.util.List getAffiliationList() {
- return affiliation_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getAffiliationOrBuilderList() {
- return affiliation_;
- }
- public int getAffiliationCount() {
- return affiliation_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getAffiliation(int index) {
- return affiliation_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getAffiliationOrBuilder(
- int index) {
- return affiliation_.get(index);
- }
-
- private void initFields() {
- fullname_ = "";
- name_ = "";
- surname_ = "";
- rank_ = 0;
- pid_ = java.util.Collections.emptyList();
- affiliation_ = java.util.Collections.emptyList();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasFullname()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasRank()) {
- memoizedIsInitialized = 0;
- return false;
- }
- for (int i = 0; i < getPidCount(); i++) {
- if (!getPid(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getAffiliationCount(); i++) {
- if (!getAffiliation(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeBytes(1, getFullnameBytes());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeBytes(2, getNameBytes());
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeBytes(3, getSurnameBytes());
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- output.writeInt32(4, rank_);
- }
- for (int i = 0; i < pid_.size(); i++) {
- output.writeMessage(5, pid_.get(i));
- }
- for (int i = 0; i < affiliation_.size(); i++) {
- output.writeMessage(6, affiliation_.get(i));
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(1, getFullnameBytes());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(2, getNameBytes());
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(3, getSurnameBytes());
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(4, rank_);
- }
- for (int i = 0; i < pid_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(5, pid_.get(i));
- }
- for (int i = 0; i < affiliation_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(6, affiliation_.get(i));
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.FieldTypeProtos.Author parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.Author parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.Author parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.Author parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.Author parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.Author parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.Author parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.Author parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.Author parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.FieldTypeProtos.Author parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.FieldTypeProtos.Author prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.FieldTypeProtos.AuthorOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_Author_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.FieldTypeProtos.internal_static_eu_dnetlib_data_proto_Author_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.FieldTypeProtos.Author.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getPidFieldBuilder();
- getAffiliationFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- fullname_ = "";
- bitField0_ = (bitField0_ & ~0x00000001);
- name_ = "";
- bitField0_ = (bitField0_ & ~0x00000002);
- surname_ = "";
- bitField0_ = (bitField0_ & ~0x00000004);
- rank_ = 0;
- bitField0_ = (bitField0_ & ~0x00000008);
- if (pidBuilder_ == null) {
- pid_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000010);
- } else {
- pidBuilder_.clear();
- }
- if (affiliationBuilder_ == null) {
- affiliation_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000020);
- } else {
- affiliationBuilder_.clear();
- }
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.FieldTypeProtos.Author.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.Author getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.FieldTypeProtos.Author.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.Author build() {
- eu.dnetlib.data.proto.FieldTypeProtos.Author result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.FieldTypeProtos.Author buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.FieldTypeProtos.Author result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.FieldTypeProtos.Author buildPartial() {
- eu.dnetlib.data.proto.FieldTypeProtos.Author result = new eu.dnetlib.data.proto.FieldTypeProtos.Author(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.fullname_ = fullname_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- result.name_ = name_;
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
- to_bitField0_ |= 0x00000004;
- }
- result.surname_ = surname_;
- if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
- to_bitField0_ |= 0x00000008;
- }
- result.rank_ = rank_;
- if (pidBuilder_ == null) {
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- pid_ = java.util.Collections.unmodifiableList(pid_);
- bitField0_ = (bitField0_ & ~0x00000010);
- }
- result.pid_ = pid_;
- } else {
- result.pid_ = pidBuilder_.build();
- }
- if (affiliationBuilder_ == null) {
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- affiliation_ = java.util.Collections.unmodifiableList(affiliation_);
- bitField0_ = (bitField0_ & ~0x00000020);
- }
- result.affiliation_ = affiliation_;
- } else {
- result.affiliation_ = affiliationBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.FieldTypeProtos.Author) {
- return mergeFrom((eu.dnetlib.data.proto.FieldTypeProtos.Author)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.FieldTypeProtos.Author other) {
- if (other == eu.dnetlib.data.proto.FieldTypeProtos.Author.getDefaultInstance()) return this;
- if (other.hasFullname()) {
- setFullname(other.getFullname());
- }
- if (other.hasName()) {
- setName(other.getName());
- }
- if (other.hasSurname()) {
- setSurname(other.getSurname());
- }
- if (other.hasRank()) {
- setRank(other.getRank());
- }
- if (pidBuilder_ == null) {
- if (!other.pid_.isEmpty()) {
- if (pid_.isEmpty()) {
- pid_ = other.pid_;
- bitField0_ = (bitField0_ & ~0x00000010);
- } else {
- ensurePidIsMutable();
- pid_.addAll(other.pid_);
- }
- onChanged();
- }
- } else {
- if (!other.pid_.isEmpty()) {
- if (pidBuilder_.isEmpty()) {
- pidBuilder_.dispose();
- pidBuilder_ = null;
- pid_ = other.pid_;
- bitField0_ = (bitField0_ & ~0x00000010);
- pidBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getPidFieldBuilder() : null;
- } else {
- pidBuilder_.addAllMessages(other.pid_);
- }
- }
- }
- if (affiliationBuilder_ == null) {
- if (!other.affiliation_.isEmpty()) {
- if (affiliation_.isEmpty()) {
- affiliation_ = other.affiliation_;
- bitField0_ = (bitField0_ & ~0x00000020);
- } else {
- ensureAffiliationIsMutable();
- affiliation_.addAll(other.affiliation_);
- }
- onChanged();
- }
- } else {
- if (!other.affiliation_.isEmpty()) {
- if (affiliationBuilder_.isEmpty()) {
- affiliationBuilder_.dispose();
- affiliationBuilder_ = null;
- affiliation_ = other.affiliation_;
- bitField0_ = (bitField0_ & ~0x00000020);
- affiliationBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getAffiliationFieldBuilder() : null;
- } else {
- affiliationBuilder_.addAllMessages(other.affiliation_);
- }
- }
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasFullname()) {
-
- return false;
- }
- if (!hasRank()) {
-
- return false;
- }
- for (int i = 0; i < getPidCount(); i++) {
- if (!getPid(i).isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getAffiliationCount(); i++) {
- if (!getAffiliation(i).isInitialized()) {
-
- return false;
- }
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 10: {
- bitField0_ |= 0x00000001;
- fullname_ = input.readBytes();
- break;
- }
- case 18: {
- bitField0_ |= 0x00000002;
- name_ = input.readBytes();
- break;
- }
- case 26: {
- bitField0_ |= 0x00000004;
- surname_ = input.readBytes();
- break;
- }
- case 32: {
- bitField0_ |= 0x00000008;
- rank_ = input.readInt32();
- break;
- }
- case 42: {
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addPid(subBuilder.buildPartial());
- break;
- }
- case 50: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addAffiliation(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // required string fullname = 1;
- private java.lang.Object fullname_ = "";
- public boolean hasFullname() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public String getFullname() {
- java.lang.Object ref = fullname_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- fullname_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setFullname(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- fullname_ = value;
- onChanged();
- return this;
- }
- public Builder clearFullname() {
- bitField0_ = (bitField0_ & ~0x00000001);
- fullname_ = getDefaultInstance().getFullname();
- onChanged();
- return this;
- }
- void setFullname(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000001;
- fullname_ = value;
- onChanged();
- }
-
- // optional string name = 2;
- private java.lang.Object name_ = "";
- public boolean hasName() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public String getName() {
- java.lang.Object ref = name_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- name_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setName(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- name_ = value;
- onChanged();
- return this;
- }
- public Builder clearName() {
- bitField0_ = (bitField0_ & ~0x00000002);
- name_ = getDefaultInstance().getName();
- onChanged();
- return this;
- }
- void setName(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000002;
- name_ = value;
- onChanged();
- }
-
- // optional string surname = 3;
- private java.lang.Object surname_ = "";
- public boolean hasSurname() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public String getSurname() {
- java.lang.Object ref = surname_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- surname_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setSurname(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- surname_ = value;
- onChanged();
- return this;
- }
- public Builder clearSurname() {
- bitField0_ = (bitField0_ & ~0x00000004);
- surname_ = getDefaultInstance().getSurname();
- onChanged();
- return this;
- }
- void setSurname(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000004;
- surname_ = value;
- onChanged();
- }
-
- // required int32 rank = 4;
- private int rank_ ;
- public boolean hasRank() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- public int getRank() {
- return rank_;
- }
- public Builder setRank(int value) {
- bitField0_ |= 0x00000008;
- rank_ = value;
- onChanged();
- return this;
- }
- public Builder clearRank() {
- bitField0_ = (bitField0_ & ~0x00000008);
- rank_ = 0;
- onChanged();
- return this;
- }
-
- // repeated .eu.dnetlib.data.proto.KeyValue pid = 5;
- private java.util.List pid_ =
- java.util.Collections.emptyList();
- private void ensurePidIsMutable() {
- if (!((bitField0_ & 0x00000010) == 0x00000010)) {
- pid_ = new java.util.ArrayList(pid_);
- bitField0_ |= 0x00000010;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder, eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder> pidBuilder_;
-
- public java.util.List getPidList() {
- if (pidBuilder_ == null) {
- return java.util.Collections.unmodifiableList(pid_);
- } else {
- return pidBuilder_.getMessageList();
- }
- }
- public int getPidCount() {
- if (pidBuilder_ == null) {
- return pid_.size();
- } else {
- return pidBuilder_.getCount();
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValue getPid(int index) {
- if (pidBuilder_ == null) {
- return pid_.get(index);
- } else {
- return pidBuilder_.getMessage(index);
- }
- }
- public Builder setPid(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue value) {
- if (pidBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensurePidIsMutable();
- pid_.set(index, value);
- onChanged();
- } else {
- pidBuilder_.setMessage(index, value);
- }
- return this;
- }
- public Builder setPid(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder builderForValue) {
- if (pidBuilder_ == null) {
- ensurePidIsMutable();
- pid_.set(index, builderForValue.build());
- onChanged();
- } else {
- pidBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addPid(eu.dnetlib.data.proto.FieldTypeProtos.KeyValue value) {
- if (pidBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensurePidIsMutable();
- pid_.add(value);
- onChanged();
- } else {
- pidBuilder_.addMessage(value);
- }
- return this;
- }
- public Builder addPid(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue value) {
- if (pidBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensurePidIsMutable();
- pid_.add(index, value);
- onChanged();
- } else {
- pidBuilder_.addMessage(index, value);
- }
- return this;
- }
- public Builder addPid(
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder builderForValue) {
- if (pidBuilder_ == null) {
- ensurePidIsMutable();
- pid_.add(builderForValue.build());
- onChanged();
- } else {
- pidBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- public Builder addPid(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder builderForValue) {
- if (pidBuilder_ == null) {
- ensurePidIsMutable();
- pid_.add(index, builderForValue.build());
- onChanged();
- } else {
- pidBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addAllPid(
- java.lang.Iterable extends eu.dnetlib.data.proto.FieldTypeProtos.KeyValue> values) {
- if (pidBuilder_ == null) {
- ensurePidIsMutable();
- super.addAll(values, pid_);
- onChanged();
- } else {
- pidBuilder_.addAllMessages(values);
- }
- return this;
- }
- public Builder clearPid() {
- if (pidBuilder_ == null) {
- pid_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000010);
- onChanged();
- } else {
- pidBuilder_.clear();
- }
- return this;
- }
- public Builder removePid(int index) {
- if (pidBuilder_ == null) {
- ensurePidIsMutable();
- pid_.remove(index);
- onChanged();
- } else {
- pidBuilder_.remove(index);
- }
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder getPidBuilder(
- int index) {
- return getPidFieldBuilder().getBuilder(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder getPidOrBuilder(
- int index) {
- if (pidBuilder_ == null) {
- return pid_.get(index); } else {
- return pidBuilder_.getMessageOrBuilder(index);
- }
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder>
- getPidOrBuilderList() {
- if (pidBuilder_ != null) {
- return pidBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(pid_);
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder addPidBuilder() {
- return getPidFieldBuilder().addBuilder(
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.getDefaultInstance());
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder addPidBuilder(
- int index) {
- return getPidFieldBuilder().addBuilder(
- index, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.getDefaultInstance());
- }
- public java.util.List
- getPidBuilderList() {
- return getPidFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder, eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder>
- getPidFieldBuilder() {
- if (pidBuilder_ == null) {
- pidBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder, eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder>(
- pid_,
- ((bitField0_ & 0x00000010) == 0x00000010),
- getParentForChildren(),
- isClean());
- pid_ = null;
- }
- return pidBuilder_;
- }
-
- // repeated .eu.dnetlib.data.proto.StringField affiliation = 6;
- private java.util.List affiliation_ =
- java.util.Collections.emptyList();
- private void ensureAffiliationIsMutable() {
- if (!((bitField0_ & 0x00000020) == 0x00000020)) {
- affiliation_ = new java.util.ArrayList(affiliation_);
- bitField0_ |= 0x00000020;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> affiliationBuilder_;
-
- public java.util.List getAffiliationList() {
- if (affiliationBuilder_ == null) {
- return java.util.Collections.unmodifiableList(affiliation_);
- } else {
- return affiliationBuilder_.getMessageList();
- }
- }
- public int getAffiliationCount() {
- if (affiliationBuilder_ == null) {
- return affiliation_.size();
- } else {
- return affiliationBuilder_.getCount();
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getAffiliation(int index) {
- if (affiliationBuilder_ == null) {
- return affiliation_.get(index);
- } else {
- return affiliationBuilder_.getMessage(index);
- }
- }
- public Builder setAffiliation(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (affiliationBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureAffiliationIsMutable();
- affiliation_.set(index, value);
- onChanged();
- } else {
- affiliationBuilder_.setMessage(index, value);
- }
- return this;
- }
- public Builder setAffiliation(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (affiliationBuilder_ == null) {
- ensureAffiliationIsMutable();
- affiliation_.set(index, builderForValue.build());
- onChanged();
- } else {
- affiliationBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addAffiliation(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (affiliationBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureAffiliationIsMutable();
- affiliation_.add(value);
- onChanged();
- } else {
- affiliationBuilder_.addMessage(value);
- }
- return this;
- }
- public Builder addAffiliation(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (affiliationBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureAffiliationIsMutable();
- affiliation_.add(index, value);
- onChanged();
- } else {
- affiliationBuilder_.addMessage(index, value);
- }
- return this;
- }
- public Builder addAffiliation(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (affiliationBuilder_ == null) {
- ensureAffiliationIsMutable();
- affiliation_.add(builderForValue.build());
- onChanged();
- } else {
- affiliationBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- public Builder addAffiliation(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (affiliationBuilder_ == null) {
- ensureAffiliationIsMutable();
- affiliation_.add(index, builderForValue.build());
- onChanged();
- } else {
- affiliationBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addAllAffiliation(
- java.lang.Iterable extends eu.dnetlib.data.proto.FieldTypeProtos.StringField> values) {
- if (affiliationBuilder_ == null) {
- ensureAffiliationIsMutable();
- super.addAll(values, affiliation_);
- onChanged();
- } else {
- affiliationBuilder_.addAllMessages(values);
- }
- return this;
- }
- public Builder clearAffiliation() {
- if (affiliationBuilder_ == null) {
- affiliation_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000020);
- onChanged();
- } else {
- affiliationBuilder_.clear();
- }
- return this;
- }
- public Builder removeAffiliation(int index) {
- if (affiliationBuilder_ == null) {
- ensureAffiliationIsMutable();
- affiliation_.remove(index);
- onChanged();
- } else {
- affiliationBuilder_.remove(index);
- }
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getAffiliationBuilder(
- int index) {
- return getAffiliationFieldBuilder().getBuilder(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getAffiliationOrBuilder(
- int index) {
- if (affiliationBuilder_ == null) {
- return affiliation_.get(index); } else {
- return affiliationBuilder_.getMessageOrBuilder(index);
- }
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getAffiliationOrBuilderList() {
- if (affiliationBuilder_ != null) {
- return affiliationBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(affiliation_);
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder addAffiliationBuilder() {
- return getAffiliationFieldBuilder().addBuilder(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance());
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder addAffiliationBuilder(
- int index) {
- return getAffiliationFieldBuilder().addBuilder(
- index, eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance());
- }
- public java.util.List
- getAffiliationBuilderList() {
- return getAffiliationFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getAffiliationFieldBuilder() {
- if (affiliationBuilder_ == null) {
- affiliationBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- affiliation_,
- ((bitField0_ & 0x00000020) == 0x00000020),
- getParentForChildren(),
- isClean());
- affiliation_ = null;
- }
- return affiliationBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.Author)
- }
-
- static {
- defaultInstance = new Author(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.Author)
- }
-
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_StringField_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_StringField_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_BoolField_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_BoolField_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_IntField_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_IntField_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_StructuredProperty_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_StructuredProperty_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_KeyValue_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_KeyValue_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_Qualifier_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_Qualifier_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_DataInfo_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_DataInfo_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_OAIProvenance_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_OAIProvenance_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_OAIProvenance_OriginDescription_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_OAIProvenance_OriginDescription_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_ExtraInfo_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_ExtraInfo_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_Author_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_Author_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
- return descriptor;
- }
- private static com.google.protobuf.Descriptors.FileDescriptor
- descriptor;
- static {
- java.lang.String[] descriptorData = {
- "\n\017FieldType.proto\022\025eu.dnetlib.data.proto" +
- "\"O\n\013StringField\022\r\n\005value\030\001 \002(\t\0221\n\010dataIn" +
- "fo\030\002 \001(\0132\037.eu.dnetlib.data.proto.DataInf" +
- "o\"M\n\tBoolField\022\r\n\005value\030\001 \002(\010\0221\n\010dataInf" +
- "o\030\002 \001(\0132\037.eu.dnetlib.data.proto.DataInfo" +
- "\"L\n\010IntField\022\r\n\005value\030\001 \002(\005\0221\n\010dataInfo\030" +
- "\002 \001(\0132\037.eu.dnetlib.data.proto.DataInfo\"\213" +
- "\001\n\022StructuredProperty\022\r\n\005value\030\001 \002(\t\0223\n\t" +
- "qualifier\030\002 \001(\0132 .eu.dnetlib.data.proto." +
- "Qualifier\0221\n\010dataInfo\030\003 \001(\0132\037.eu.dnetlib",
- ".data.proto.DataInfo\"Y\n\010KeyValue\022\013\n\003key\030" +
- "\001 \002(\t\022\r\n\005value\030\002 \001(\t\0221\n\010dataInfo\030\003 \001(\0132\037" +
- ".eu.dnetlib.data.proto.DataInfo\"\210\001\n\tQual" +
- "ifier\022\017\n\007classid\030\001 \001(\t\022\021\n\tclassname\030\002 \001(" +
- "\t\022\020\n\010schemeid\030\003 \001(\t\022\022\n\nschemename\030\004 \001(\t\022" +
- "1\n\010dataInfo\030\005 \001(\0132\037.eu.dnetlib.data.prot" +
- "o.DataInfo\"\272\001\n\010DataInfo\022\030\n\tinvisible\030\006 \001" +
- "(\010:\005false\022\020\n\010inferred\030\001 \001(\010\022\032\n\022deletedby" +
- "inference\030\002 \001(\010\022\r\n\005trust\030\003 \001(\t\022\033\n\023infere" +
- "nceprovenance\030\004 \001(\t\022:\n\020provenanceaction\030",
- "\005 \002(\0132 .eu.dnetlib.data.proto.Qualifier\"" +
- "\312\002\n\rOAIProvenance\022Q\n\021originDescription\030\001" +
- " \001(\01326.eu.dnetlib.data.proto.OAIProvenan" +
- "ce.OriginDescription\032\345\001\n\021OriginDescripti" +
- "on\022\023\n\013harvestDate\030\001 \001(\t\022\025\n\007altered\030\002 \001(\010" +
- ":\004true\022\017\n\007baseURL\030\003 \001(\t\022\022\n\nidentifier\030\004 " +
- "\001(\t\022\021\n\tdatestamp\030\005 \001(\t\022\031\n\021metadataNamesp" +
- "ace\030\006 \001(\t\022Q\n\021originDescription\030\007 \001(\01326.e" +
- "u.dnetlib.data.proto.OAIProvenance.Origi" +
- "nDescription\"]\n\tExtraInfo\022\014\n\004name\030\001 \002(\t\022",
- "\020\n\010typology\030\002 \002(\t\022\022\n\nprovenance\030\003 \002(\t\022\r\n" +
- "\005trust\030\004 \001(\t\022\r\n\005value\030\005 \001(\t\"\256\001\n\006Author\022\020" +
- "\n\010fullname\030\001 \002(\t\022\014\n\004name\030\002 \001(\t\022\017\n\007surnam" +
- "e\030\003 \001(\t\022\014\n\004rank\030\004 \002(\005\022,\n\003pid\030\005 \003(\0132\037.eu." +
- "dnetlib.data.proto.KeyValue\0227\n\013affiliati" +
- "on\030\006 \003(\0132\".eu.dnetlib.data.proto.StringF" +
- "ieldB(\n\025eu.dnetlib.data.protoB\017FieldType" +
- "Protos"
- };
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- internal_static_eu_dnetlib_data_proto_StringField_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_eu_dnetlib_data_proto_StringField_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_StringField_descriptor,
- new java.lang.String[] { "Value", "DataInfo", },
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.class,
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder.class);
- internal_static_eu_dnetlib_data_proto_BoolField_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_eu_dnetlib_data_proto_BoolField_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_BoolField_descriptor,
- new java.lang.String[] { "Value", "DataInfo", },
- eu.dnetlib.data.proto.FieldTypeProtos.BoolField.class,
- eu.dnetlib.data.proto.FieldTypeProtos.BoolField.Builder.class);
- internal_static_eu_dnetlib_data_proto_IntField_descriptor =
- getDescriptor().getMessageTypes().get(2);
- internal_static_eu_dnetlib_data_proto_IntField_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_IntField_descriptor,
- new java.lang.String[] { "Value", "DataInfo", },
- eu.dnetlib.data.proto.FieldTypeProtos.IntField.class,
- eu.dnetlib.data.proto.FieldTypeProtos.IntField.Builder.class);
- internal_static_eu_dnetlib_data_proto_StructuredProperty_descriptor =
- getDescriptor().getMessageTypes().get(3);
- internal_static_eu_dnetlib_data_proto_StructuredProperty_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_StructuredProperty_descriptor,
- new java.lang.String[] { "Value", "Qualifier", "DataInfo", },
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.class,
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder.class);
- internal_static_eu_dnetlib_data_proto_KeyValue_descriptor =
- getDescriptor().getMessageTypes().get(4);
- internal_static_eu_dnetlib_data_proto_KeyValue_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_KeyValue_descriptor,
- new java.lang.String[] { "Key", "Value", "DataInfo", },
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.class,
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder.class);
- internal_static_eu_dnetlib_data_proto_Qualifier_descriptor =
- getDescriptor().getMessageTypes().get(5);
- internal_static_eu_dnetlib_data_proto_Qualifier_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_Qualifier_descriptor,
- new java.lang.String[] { "Classid", "Classname", "Schemeid", "Schemename", "DataInfo", },
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.class,
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder.class);
- internal_static_eu_dnetlib_data_proto_DataInfo_descriptor =
- getDescriptor().getMessageTypes().get(6);
- internal_static_eu_dnetlib_data_proto_DataInfo_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_DataInfo_descriptor,
- new java.lang.String[] { "Invisible", "Inferred", "Deletedbyinference", "Trust", "Inferenceprovenance", "Provenanceaction", },
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.class,
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder.class);
- internal_static_eu_dnetlib_data_proto_OAIProvenance_descriptor =
- getDescriptor().getMessageTypes().get(7);
- internal_static_eu_dnetlib_data_proto_OAIProvenance_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_OAIProvenance_descriptor,
- new java.lang.String[] { "OriginDescription", },
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.class,
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.Builder.class);
- internal_static_eu_dnetlib_data_proto_OAIProvenance_OriginDescription_descriptor =
- internal_static_eu_dnetlib_data_proto_OAIProvenance_descriptor.getNestedTypes().get(0);
- internal_static_eu_dnetlib_data_proto_OAIProvenance_OriginDescription_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_OAIProvenance_OriginDescription_descriptor,
- new java.lang.String[] { "HarvestDate", "Altered", "BaseURL", "Identifier", "Datestamp", "MetadataNamespace", "OriginDescription", },
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.class,
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.OriginDescription.Builder.class);
- internal_static_eu_dnetlib_data_proto_ExtraInfo_descriptor =
- getDescriptor().getMessageTypes().get(8);
- internal_static_eu_dnetlib_data_proto_ExtraInfo_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_ExtraInfo_descriptor,
- new java.lang.String[] { "Name", "Typology", "Provenance", "Trust", "Value", },
- eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo.class,
- eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo.Builder.class);
- internal_static_eu_dnetlib_data_proto_Author_descriptor =
- getDescriptor().getMessageTypes().get(9);
- internal_static_eu_dnetlib_data_proto_Author_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_Author_descriptor,
- new java.lang.String[] { "Fullname", "Name", "Surname", "Rank", "Pid", "Affiliation", },
- eu.dnetlib.data.proto.FieldTypeProtos.Author.class,
- eu.dnetlib.data.proto.FieldTypeProtos.Author.Builder.class);
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- }, assigner);
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/KindProtos.java b/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/KindProtos.java
deleted file mode 100644
index ccd35de15..000000000
--- a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/KindProtos.java
+++ /dev/null
@@ -1,108 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: Kind.proto
-
-package eu.dnetlib.data.proto;
-
-public final class KindProtos {
- private KindProtos() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- }
- public enum Kind
- implements com.google.protobuf.ProtocolMessageEnum {
- entity(0, 1),
- relation(1, 2),
- ;
-
- public static final int entity_VALUE = 1;
- public static final int relation_VALUE = 2;
-
-
- public final int getNumber() { return value; }
-
- public static Kind valueOf(int value) {
- switch (value) {
- case 1: return entity;
- case 2: return relation;
- default: return null;
- }
- }
-
- public static com.google.protobuf.Internal.EnumLiteMap
- internalGetValueMap() {
- return internalValueMap;
- }
- private static com.google.protobuf.Internal.EnumLiteMap
- internalValueMap =
- new com.google.protobuf.Internal.EnumLiteMap() {
- public Kind findValueByNumber(int number) {
- return Kind.valueOf(number);
- }
- };
-
- public final com.google.protobuf.Descriptors.EnumValueDescriptor
- getValueDescriptor() {
- return getDescriptor().getValues().get(index);
- }
- public final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptorForType() {
- return getDescriptor();
- }
- public static final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.KindProtos.getDescriptor().getEnumTypes().get(0);
- }
-
- private static final Kind[] VALUES = {
- entity, relation,
- };
-
- public static Kind valueOf(
- com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
- if (desc.getType() != getDescriptor()) {
- throw new java.lang.IllegalArgumentException(
- "EnumValueDescriptor is not for this type.");
- }
- return VALUES[desc.getIndex()];
- }
-
- private final int index;
- private final int value;
-
- private Kind(int index, int value) {
- this.index = index;
- this.value = value;
- }
-
- // @@protoc_insertion_point(enum_scope:eu.dnetlib.data.proto.Kind)
- }
-
-
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
- return descriptor;
- }
- private static com.google.protobuf.Descriptors.FileDescriptor
- descriptor;
- static {
- java.lang.String[] descriptorData = {
- "\n\nKind.proto\022\025eu.dnetlib.data.proto* \n\004K" +
- "ind\022\n\n\006entity\020\001\022\014\n\010relation\020\002B#\n\025eu.dnet" +
- "lib.data.protoB\nKindProtos"
- };
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- }, assigner);
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/OafProtos.java b/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/OafProtos.java
deleted file mode 100644
index d9e370b83..000000000
--- a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/OafProtos.java
+++ /dev/null
@@ -1,6730 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: OafParent.proto
-
-package eu.dnetlib.data.proto;
-
-public final class OafProtos {
- private OafProtos() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- }
- public interface OafOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // required .eu.dnetlib.data.proto.Kind kind = 1;
- boolean hasKind();
- eu.dnetlib.data.proto.KindProtos.Kind getKind();
-
- // optional .eu.dnetlib.data.proto.OafEntity entity = 2;
- boolean hasEntity();
- eu.dnetlib.data.proto.OafProtos.OafEntity getEntity();
- eu.dnetlib.data.proto.OafProtos.OafEntityOrBuilder getEntityOrBuilder();
-
- // optional .eu.dnetlib.data.proto.OafRel rel = 3;
- boolean hasRel();
- eu.dnetlib.data.proto.OafProtos.OafRel getRel();
- eu.dnetlib.data.proto.OafProtos.OafRelOrBuilder getRelOrBuilder();
-
- // optional .eu.dnetlib.data.proto.DataInfo dataInfo = 4;
- boolean hasDataInfo();
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo getDataInfo();
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder getDataInfoOrBuilder();
-
- // optional sfixed64 lastupdatetimestamp = 5;
- boolean hasLastupdatetimestamp();
- long getLastupdatetimestamp();
- }
- public static final class Oaf extends
- com.google.protobuf.GeneratedMessage
- implements OafOrBuilder {
- // Use Oaf.newBuilder() to construct.
- private Oaf(Builder builder) {
- super(builder);
- }
- private Oaf(boolean noInit) {}
-
- private static final Oaf defaultInstance;
- public static Oaf getDefaultInstance() {
- return defaultInstance;
- }
-
- public Oaf getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.OafProtos.internal_static_eu_dnetlib_data_proto_Oaf_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.OafProtos.internal_static_eu_dnetlib_data_proto_Oaf_fieldAccessorTable;
- }
-
- private int bitField0_;
- // required .eu.dnetlib.data.proto.Kind kind = 1;
- public static final int KIND_FIELD_NUMBER = 1;
- private eu.dnetlib.data.proto.KindProtos.Kind kind_;
- public boolean hasKind() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.KindProtos.Kind getKind() {
- return kind_;
- }
-
- // optional .eu.dnetlib.data.proto.OafEntity entity = 2;
- public static final int ENTITY_FIELD_NUMBER = 2;
- private eu.dnetlib.data.proto.OafProtos.OafEntity entity_;
- public boolean hasEntity() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public eu.dnetlib.data.proto.OafProtos.OafEntity getEntity() {
- return entity_;
- }
- public eu.dnetlib.data.proto.OafProtos.OafEntityOrBuilder getEntityOrBuilder() {
- return entity_;
- }
-
- // optional .eu.dnetlib.data.proto.OafRel rel = 3;
- public static final int REL_FIELD_NUMBER = 3;
- private eu.dnetlib.data.proto.OafProtos.OafRel rel_;
- public boolean hasRel() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public eu.dnetlib.data.proto.OafProtos.OafRel getRel() {
- return rel_;
- }
- public eu.dnetlib.data.proto.OafProtos.OafRelOrBuilder getRelOrBuilder() {
- return rel_;
- }
-
- // optional .eu.dnetlib.data.proto.DataInfo dataInfo = 4;
- public static final int DATAINFO_FIELD_NUMBER = 4;
- private eu.dnetlib.data.proto.FieldTypeProtos.DataInfo dataInfo_;
- public boolean hasDataInfo() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfo getDataInfo() {
- return dataInfo_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder getDataInfoOrBuilder() {
- return dataInfo_;
- }
-
- // optional sfixed64 lastupdatetimestamp = 5;
- public static final int LASTUPDATETIMESTAMP_FIELD_NUMBER = 5;
- private long lastupdatetimestamp_;
- public boolean hasLastupdatetimestamp() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- public long getLastupdatetimestamp() {
- return lastupdatetimestamp_;
- }
-
- private void initFields() {
- kind_ = eu.dnetlib.data.proto.KindProtos.Kind.entity;
- entity_ = eu.dnetlib.data.proto.OafProtos.OafEntity.getDefaultInstance();
- rel_ = eu.dnetlib.data.proto.OafProtos.OafRel.getDefaultInstance();
- dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- lastupdatetimestamp_ = 0L;
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasKind()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (hasEntity()) {
- if (!getEntity().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasRel()) {
- if (!getRel().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasDataInfo()) {
- if (!getDataInfo().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeEnum(1, kind_.getNumber());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeMessage(2, entity_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeMessage(3, rel_);
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- output.writeMessage(4, dataInfo_);
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- output.writeSFixed64(5, lastupdatetimestamp_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(1, kind_.getNumber());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, entity_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, rel_);
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(4, dataInfo_);
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- size += com.google.protobuf.CodedOutputStream
- .computeSFixed64Size(5, lastupdatetimestamp_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.OafProtos.Oaf parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.OafProtos.Oaf parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.OafProtos.Oaf parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.OafProtos.Oaf parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.OafProtos.Oaf parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.OafProtos.Oaf parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.OafProtos.Oaf parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.OafProtos.Oaf parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.OafProtos.Oaf parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.OafProtos.Oaf parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.OafProtos.Oaf prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.OafProtos.OafOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.OafProtos.internal_static_eu_dnetlib_data_proto_Oaf_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.OafProtos.internal_static_eu_dnetlib_data_proto_Oaf_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.OafProtos.Oaf.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getEntityFieldBuilder();
- getRelFieldBuilder();
- getDataInfoFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- kind_ = eu.dnetlib.data.proto.KindProtos.Kind.entity;
- bitField0_ = (bitField0_ & ~0x00000001);
- if (entityBuilder_ == null) {
- entity_ = eu.dnetlib.data.proto.OafProtos.OafEntity.getDefaultInstance();
- } else {
- entityBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000002);
- if (relBuilder_ == null) {
- rel_ = eu.dnetlib.data.proto.OafProtos.OafRel.getDefaultInstance();
- } else {
- relBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000004);
- if (dataInfoBuilder_ == null) {
- dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- } else {
- dataInfoBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000008);
- lastupdatetimestamp_ = 0L;
- bitField0_ = (bitField0_ & ~0x00000010);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.OafProtos.Oaf.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.OafProtos.Oaf getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.OafProtos.Oaf.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.OafProtos.Oaf build() {
- eu.dnetlib.data.proto.OafProtos.Oaf result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.OafProtos.Oaf buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.OafProtos.Oaf result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.OafProtos.Oaf buildPartial() {
- eu.dnetlib.data.proto.OafProtos.Oaf result = new eu.dnetlib.data.proto.OafProtos.Oaf(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.kind_ = kind_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- if (entityBuilder_ == null) {
- result.entity_ = entity_;
- } else {
- result.entity_ = entityBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
- to_bitField0_ |= 0x00000004;
- }
- if (relBuilder_ == null) {
- result.rel_ = rel_;
- } else {
- result.rel_ = relBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
- to_bitField0_ |= 0x00000008;
- }
- if (dataInfoBuilder_ == null) {
- result.dataInfo_ = dataInfo_;
- } else {
- result.dataInfo_ = dataInfoBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
- to_bitField0_ |= 0x00000010;
- }
- result.lastupdatetimestamp_ = lastupdatetimestamp_;
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.OafProtos.Oaf) {
- return mergeFrom((eu.dnetlib.data.proto.OafProtos.Oaf)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.OafProtos.Oaf other) {
- if (other == eu.dnetlib.data.proto.OafProtos.Oaf.getDefaultInstance()) return this;
- if (other.hasKind()) {
- setKind(other.getKind());
- }
- if (other.hasEntity()) {
- mergeEntity(other.getEntity());
- }
- if (other.hasRel()) {
- mergeRel(other.getRel());
- }
- if (other.hasDataInfo()) {
- mergeDataInfo(other.getDataInfo());
- }
- if (other.hasLastupdatetimestamp()) {
- setLastupdatetimestamp(other.getLastupdatetimestamp());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasKind()) {
-
- return false;
- }
- if (hasEntity()) {
- if (!getEntity().isInitialized()) {
-
- return false;
- }
- }
- if (hasRel()) {
- if (!getRel().isInitialized()) {
-
- return false;
- }
- }
- if (hasDataInfo()) {
- if (!getDataInfo().isInitialized()) {
-
- return false;
- }
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 8: {
- int rawValue = input.readEnum();
- eu.dnetlib.data.proto.KindProtos.Kind value = eu.dnetlib.data.proto.KindProtos.Kind.valueOf(rawValue);
- if (value == null) {
- unknownFields.mergeVarintField(1, rawValue);
- } else {
- bitField0_ |= 0x00000001;
- kind_ = value;
- }
- break;
- }
- case 18: {
- eu.dnetlib.data.proto.OafProtos.OafEntity.Builder subBuilder = eu.dnetlib.data.proto.OafProtos.OafEntity.newBuilder();
- if (hasEntity()) {
- subBuilder.mergeFrom(getEntity());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setEntity(subBuilder.buildPartial());
- break;
- }
- case 26: {
- eu.dnetlib.data.proto.OafProtos.OafRel.Builder subBuilder = eu.dnetlib.data.proto.OafProtos.OafRel.newBuilder();
- if (hasRel()) {
- subBuilder.mergeFrom(getRel());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setRel(subBuilder.buildPartial());
- break;
- }
- case 34: {
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.newBuilder();
- if (hasDataInfo()) {
- subBuilder.mergeFrom(getDataInfo());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setDataInfo(subBuilder.buildPartial());
- break;
- }
- case 41: {
- bitField0_ |= 0x00000010;
- lastupdatetimestamp_ = input.readSFixed64();
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // required .eu.dnetlib.data.proto.Kind kind = 1;
- private eu.dnetlib.data.proto.KindProtos.Kind kind_ = eu.dnetlib.data.proto.KindProtos.Kind.entity;
- public boolean hasKind() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.KindProtos.Kind getKind() {
- return kind_;
- }
- public Builder setKind(eu.dnetlib.data.proto.KindProtos.Kind value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- kind_ = value;
- onChanged();
- return this;
- }
- public Builder clearKind() {
- bitField0_ = (bitField0_ & ~0x00000001);
- kind_ = eu.dnetlib.data.proto.KindProtos.Kind.entity;
- onChanged();
- return this;
- }
-
- // optional .eu.dnetlib.data.proto.OafEntity entity = 2;
- private eu.dnetlib.data.proto.OafProtos.OafEntity entity_ = eu.dnetlib.data.proto.OafProtos.OafEntity.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.OafProtos.OafEntity, eu.dnetlib.data.proto.OafProtos.OafEntity.Builder, eu.dnetlib.data.proto.OafProtos.OafEntityOrBuilder> entityBuilder_;
- public boolean hasEntity() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public eu.dnetlib.data.proto.OafProtos.OafEntity getEntity() {
- if (entityBuilder_ == null) {
- return entity_;
- } else {
- return entityBuilder_.getMessage();
- }
- }
- public Builder setEntity(eu.dnetlib.data.proto.OafProtos.OafEntity value) {
- if (entityBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- entity_ = value;
- onChanged();
- } else {
- entityBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder setEntity(
- eu.dnetlib.data.proto.OafProtos.OafEntity.Builder builderForValue) {
- if (entityBuilder_ == null) {
- entity_ = builderForValue.build();
- onChanged();
- } else {
- entityBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder mergeEntity(eu.dnetlib.data.proto.OafProtos.OafEntity value) {
- if (entityBuilder_ == null) {
- if (((bitField0_ & 0x00000002) == 0x00000002) &&
- entity_ != eu.dnetlib.data.proto.OafProtos.OafEntity.getDefaultInstance()) {
- entity_ =
- eu.dnetlib.data.proto.OafProtos.OafEntity.newBuilder(entity_).mergeFrom(value).buildPartial();
- } else {
- entity_ = value;
- }
- onChanged();
- } else {
- entityBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder clearEntity() {
- if (entityBuilder_ == null) {
- entity_ = eu.dnetlib.data.proto.OafProtos.OafEntity.getDefaultInstance();
- onChanged();
- } else {
- entityBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000002);
- return this;
- }
- public eu.dnetlib.data.proto.OafProtos.OafEntity.Builder getEntityBuilder() {
- bitField0_ |= 0x00000002;
- onChanged();
- return getEntityFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.OafProtos.OafEntityOrBuilder getEntityOrBuilder() {
- if (entityBuilder_ != null) {
- return entityBuilder_.getMessageOrBuilder();
- } else {
- return entity_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.OafProtos.OafEntity, eu.dnetlib.data.proto.OafProtos.OafEntity.Builder, eu.dnetlib.data.proto.OafProtos.OafEntityOrBuilder>
- getEntityFieldBuilder() {
- if (entityBuilder_ == null) {
- entityBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.OafProtos.OafEntity, eu.dnetlib.data.proto.OafProtos.OafEntity.Builder, eu.dnetlib.data.proto.OafProtos.OafEntityOrBuilder>(
- entity_,
- getParentForChildren(),
- isClean());
- entity_ = null;
- }
- return entityBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.OafRel rel = 3;
- private eu.dnetlib.data.proto.OafProtos.OafRel rel_ = eu.dnetlib.data.proto.OafProtos.OafRel.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.OafProtos.OafRel, eu.dnetlib.data.proto.OafProtos.OafRel.Builder, eu.dnetlib.data.proto.OafProtos.OafRelOrBuilder> relBuilder_;
- public boolean hasRel() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public eu.dnetlib.data.proto.OafProtos.OafRel getRel() {
- if (relBuilder_ == null) {
- return rel_;
- } else {
- return relBuilder_.getMessage();
- }
- }
- public Builder setRel(eu.dnetlib.data.proto.OafProtos.OafRel value) {
- if (relBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- rel_ = value;
- onChanged();
- } else {
- relBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000004;
- return this;
- }
- public Builder setRel(
- eu.dnetlib.data.proto.OafProtos.OafRel.Builder builderForValue) {
- if (relBuilder_ == null) {
- rel_ = builderForValue.build();
- onChanged();
- } else {
- relBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000004;
- return this;
- }
- public Builder mergeRel(eu.dnetlib.data.proto.OafProtos.OafRel value) {
- if (relBuilder_ == null) {
- if (((bitField0_ & 0x00000004) == 0x00000004) &&
- rel_ != eu.dnetlib.data.proto.OafProtos.OafRel.getDefaultInstance()) {
- rel_ =
- eu.dnetlib.data.proto.OafProtos.OafRel.newBuilder(rel_).mergeFrom(value).buildPartial();
- } else {
- rel_ = value;
- }
- onChanged();
- } else {
- relBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000004;
- return this;
- }
- public Builder clearRel() {
- if (relBuilder_ == null) {
- rel_ = eu.dnetlib.data.proto.OafProtos.OafRel.getDefaultInstance();
- onChanged();
- } else {
- relBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000004);
- return this;
- }
- public eu.dnetlib.data.proto.OafProtos.OafRel.Builder getRelBuilder() {
- bitField0_ |= 0x00000004;
- onChanged();
- return getRelFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.OafProtos.OafRelOrBuilder getRelOrBuilder() {
- if (relBuilder_ != null) {
- return relBuilder_.getMessageOrBuilder();
- } else {
- return rel_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.OafProtos.OafRel, eu.dnetlib.data.proto.OafProtos.OafRel.Builder, eu.dnetlib.data.proto.OafProtos.OafRelOrBuilder>
- getRelFieldBuilder() {
- if (relBuilder_ == null) {
- relBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.OafProtos.OafRel, eu.dnetlib.data.proto.OafProtos.OafRel.Builder, eu.dnetlib.data.proto.OafProtos.OafRelOrBuilder>(
- rel_,
- getParentForChildren(),
- isClean());
- rel_ = null;
- }
- return relBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.DataInfo dataInfo = 4;
- private eu.dnetlib.data.proto.FieldTypeProtos.DataInfo dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo, eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder, eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder> dataInfoBuilder_;
- public boolean hasDataInfo() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfo getDataInfo() {
- if (dataInfoBuilder_ == null) {
- return dataInfo_;
- } else {
- return dataInfoBuilder_.getMessage();
- }
- }
- public Builder setDataInfo(eu.dnetlib.data.proto.FieldTypeProtos.DataInfo value) {
- if (dataInfoBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- dataInfo_ = value;
- onChanged();
- } else {
- dataInfoBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000008;
- return this;
- }
- public Builder setDataInfo(
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder builderForValue) {
- if (dataInfoBuilder_ == null) {
- dataInfo_ = builderForValue.build();
- onChanged();
- } else {
- dataInfoBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000008;
- return this;
- }
- public Builder mergeDataInfo(eu.dnetlib.data.proto.FieldTypeProtos.DataInfo value) {
- if (dataInfoBuilder_ == null) {
- if (((bitField0_ & 0x00000008) == 0x00000008) &&
- dataInfo_ != eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance()) {
- dataInfo_ =
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.newBuilder(dataInfo_).mergeFrom(value).buildPartial();
- } else {
- dataInfo_ = value;
- }
- onChanged();
- } else {
- dataInfoBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000008;
- return this;
- }
- public Builder clearDataInfo() {
- if (dataInfoBuilder_ == null) {
- dataInfo_ = eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.getDefaultInstance();
- onChanged();
- } else {
- dataInfoBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000008);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder getDataInfoBuilder() {
- bitField0_ |= 0x00000008;
- onChanged();
- return getDataInfoFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder getDataInfoOrBuilder() {
- if (dataInfoBuilder_ != null) {
- return dataInfoBuilder_.getMessageOrBuilder();
- } else {
- return dataInfo_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo, eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder, eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder>
- getDataInfoFieldBuilder() {
- if (dataInfoBuilder_ == null) {
- dataInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.DataInfo, eu.dnetlib.data.proto.FieldTypeProtos.DataInfo.Builder, eu.dnetlib.data.proto.FieldTypeProtos.DataInfoOrBuilder>(
- dataInfo_,
- getParentForChildren(),
- isClean());
- dataInfo_ = null;
- }
- return dataInfoBuilder_;
- }
-
- // optional sfixed64 lastupdatetimestamp = 5;
- private long lastupdatetimestamp_ ;
- public boolean hasLastupdatetimestamp() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- public long getLastupdatetimestamp() {
- return lastupdatetimestamp_;
- }
- public Builder setLastupdatetimestamp(long value) {
- bitField0_ |= 0x00000010;
- lastupdatetimestamp_ = value;
- onChanged();
- return this;
- }
- public Builder clearLastupdatetimestamp() {
- bitField0_ = (bitField0_ & ~0x00000010);
- lastupdatetimestamp_ = 0L;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.Oaf)
- }
-
- static {
- defaultInstance = new Oaf(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.Oaf)
- }
-
- public interface OafEntityOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // required .eu.dnetlib.data.proto.Type type = 1;
- boolean hasType();
- eu.dnetlib.data.proto.TypeProtos.Type getType();
-
- // required string id = 12;
- boolean hasId();
- String getId();
-
- // repeated string originalId = 8;
- java.util.List getOriginalIdList();
- int getOriginalIdCount();
- String getOriginalId(int index);
-
- // repeated .eu.dnetlib.data.proto.KeyValue collectedfrom = 9;
- java.util.List
- getCollectedfromList();
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue getCollectedfrom(int index);
- int getCollectedfromCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder>
- getCollectedfromOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder getCollectedfromOrBuilder(
- int index);
-
- // repeated .eu.dnetlib.data.proto.StructuredProperty pid = 10;
- java.util.List
- getPidList();
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty getPid(int index);
- int getPidCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder>
- getPidOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder getPidOrBuilder(
- int index);
-
- // optional string dateofcollection = 11;
- boolean hasDateofcollection();
- String getDateofcollection();
-
- // optional string dateoftransformation = 13;
- boolean hasDateoftransformation();
- String getDateoftransformation();
-
- // repeated .eu.dnetlib.data.proto.OafRel cachedRel = 2;
- java.util.List
- getCachedRelList();
- eu.dnetlib.data.proto.OafProtos.OafRel getCachedRel(int index);
- int getCachedRelCount();
- java.util.List extends eu.dnetlib.data.proto.OafProtos.OafRelOrBuilder>
- getCachedRelOrBuilderList();
- eu.dnetlib.data.proto.OafProtos.OafRelOrBuilder getCachedRelOrBuilder(
- int index);
-
- // repeated .eu.dnetlib.data.proto.Oaf cachedOafRel = 18;
- java.util.List
- getCachedOafRelList();
- eu.dnetlib.data.proto.OafProtos.Oaf getCachedOafRel(int index);
- int getCachedOafRelCount();
- java.util.List extends eu.dnetlib.data.proto.OafProtos.OafOrBuilder>
- getCachedOafRelOrBuilderList();
- eu.dnetlib.data.proto.OafProtos.OafOrBuilder getCachedOafRelOrBuilder(
- int index);
-
- // optional .eu.dnetlib.data.proto.Datasource datasource = 3;
- boolean hasDatasource();
- eu.dnetlib.data.proto.DatasourceProtos.Datasource getDatasource();
- eu.dnetlib.data.proto.DatasourceProtos.DatasourceOrBuilder getDatasourceOrBuilder();
-
- // optional .eu.dnetlib.data.proto.Organization organization = 4;
- boolean hasOrganization();
- eu.dnetlib.data.proto.OrganizationProtos.Organization getOrganization();
- eu.dnetlib.data.proto.OrganizationProtos.OrganizationOrBuilder getOrganizationOrBuilder();
-
- // optional .eu.dnetlib.data.proto.Project project = 6;
- boolean hasProject();
- eu.dnetlib.data.proto.ProjectProtos.Project getProject();
- eu.dnetlib.data.proto.ProjectProtos.ProjectOrBuilder getProjectOrBuilder();
-
- // optional .eu.dnetlib.data.proto.Result result = 7;
- boolean hasResult();
- eu.dnetlib.data.proto.ResultProtos.Result getResult();
- eu.dnetlib.data.proto.ResultProtos.ResultOrBuilder getResultOrBuilder();
-
- // optional .eu.dnetlib.data.proto.Person person = 5;
- boolean hasPerson();
- eu.dnetlib.data.proto.PersonProtos.Person getPerson();
- eu.dnetlib.data.proto.PersonProtos.PersonOrBuilder getPersonOrBuilder();
-
- // repeated .eu.dnetlib.data.proto.OafEntity children = 16;
- java.util.List
- getChildrenList();
- eu.dnetlib.data.proto.OafProtos.OafEntity getChildren(int index);
- int getChildrenCount();
- java.util.List extends eu.dnetlib.data.proto.OafProtos.OafEntityOrBuilder>
- getChildrenOrBuilderList();
- eu.dnetlib.data.proto.OafProtos.OafEntityOrBuilder getChildrenOrBuilder(
- int index);
-
- // repeated .eu.dnetlib.data.proto.ExtraInfo extraInfo = 15;
- java.util.List
- getExtraInfoList();
- eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo getExtraInfo(int index);
- int getExtraInfoCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfoOrBuilder>
- getExtraInfoOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfoOrBuilder getExtraInfoOrBuilder(
- int index);
-
- // optional .eu.dnetlib.data.proto.OAIProvenance oaiprovenance = 17;
- boolean hasOaiprovenance();
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance getOaiprovenance();
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenanceOrBuilder getOaiprovenanceOrBuilder();
- }
- public static final class OafEntity extends
- com.google.protobuf.GeneratedMessage
- implements OafEntityOrBuilder {
- // Use OafEntity.newBuilder() to construct.
- private OafEntity(Builder builder) {
- super(builder);
- }
- private OafEntity(boolean noInit) {}
-
- private static final OafEntity defaultInstance;
- public static OafEntity getDefaultInstance() {
- return defaultInstance;
- }
-
- public OafEntity getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.OafProtos.internal_static_eu_dnetlib_data_proto_OafEntity_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.OafProtos.internal_static_eu_dnetlib_data_proto_OafEntity_fieldAccessorTable;
- }
-
- private int bitField0_;
- // required .eu.dnetlib.data.proto.Type type = 1;
- public static final int TYPE_FIELD_NUMBER = 1;
- private eu.dnetlib.data.proto.TypeProtos.Type type_;
- public boolean hasType() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.TypeProtos.Type getType() {
- return type_;
- }
-
- // required string id = 12;
- public static final int ID_FIELD_NUMBER = 12;
- private java.lang.Object id_;
- public boolean hasId() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public String getId() {
- java.lang.Object ref = id_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- id_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getIdBytes() {
- java.lang.Object ref = id_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- id_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // repeated string originalId = 8;
- public static final int ORIGINALID_FIELD_NUMBER = 8;
- private com.google.protobuf.LazyStringList originalId_;
- public java.util.List
- getOriginalIdList() {
- return originalId_;
- }
- public int getOriginalIdCount() {
- return originalId_.size();
- }
- public String getOriginalId(int index) {
- return originalId_.get(index);
- }
-
- // repeated .eu.dnetlib.data.proto.KeyValue collectedfrom = 9;
- public static final int COLLECTEDFROM_FIELD_NUMBER = 9;
- private java.util.List collectedfrom_;
- public java.util.List getCollectedfromList() {
- return collectedfrom_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder>
- getCollectedfromOrBuilderList() {
- return collectedfrom_;
- }
- public int getCollectedfromCount() {
- return collectedfrom_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValue getCollectedfrom(int index) {
- return collectedfrom_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder getCollectedfromOrBuilder(
- int index) {
- return collectedfrom_.get(index);
- }
-
- // repeated .eu.dnetlib.data.proto.StructuredProperty pid = 10;
- public static final int PID_FIELD_NUMBER = 10;
- private java.util.List pid_;
- public java.util.List getPidList() {
- return pid_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder>
- getPidOrBuilderList() {
- return pid_;
- }
- public int getPidCount() {
- return pid_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty getPid(int index) {
- return pid_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder getPidOrBuilder(
- int index) {
- return pid_.get(index);
- }
-
- // optional string dateofcollection = 11;
- public static final int DATEOFCOLLECTION_FIELD_NUMBER = 11;
- private java.lang.Object dateofcollection_;
- public boolean hasDateofcollection() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public String getDateofcollection() {
- java.lang.Object ref = dateofcollection_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- dateofcollection_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getDateofcollectionBytes() {
- java.lang.Object ref = dateofcollection_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- dateofcollection_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional string dateoftransformation = 13;
- public static final int DATEOFTRANSFORMATION_FIELD_NUMBER = 13;
- private java.lang.Object dateoftransformation_;
- public boolean hasDateoftransformation() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- public String getDateoftransformation() {
- java.lang.Object ref = dateoftransformation_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- dateoftransformation_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getDateoftransformationBytes() {
- java.lang.Object ref = dateoftransformation_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- dateoftransformation_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // repeated .eu.dnetlib.data.proto.OafRel cachedRel = 2;
- public static final int CACHEDREL_FIELD_NUMBER = 2;
- private java.util.List cachedRel_;
- public java.util.List getCachedRelList() {
- return cachedRel_;
- }
- public java.util.List extends eu.dnetlib.data.proto.OafProtos.OafRelOrBuilder>
- getCachedRelOrBuilderList() {
- return cachedRel_;
- }
- public int getCachedRelCount() {
- return cachedRel_.size();
- }
- public eu.dnetlib.data.proto.OafProtos.OafRel getCachedRel(int index) {
- return cachedRel_.get(index);
- }
- public eu.dnetlib.data.proto.OafProtos.OafRelOrBuilder getCachedRelOrBuilder(
- int index) {
- return cachedRel_.get(index);
- }
-
- // repeated .eu.dnetlib.data.proto.Oaf cachedOafRel = 18;
- public static final int CACHEDOAFREL_FIELD_NUMBER = 18;
- private java.util.List cachedOafRel_;
- public java.util.List getCachedOafRelList() {
- return cachedOafRel_;
- }
- public java.util.List extends eu.dnetlib.data.proto.OafProtos.OafOrBuilder>
- getCachedOafRelOrBuilderList() {
- return cachedOafRel_;
- }
- public int getCachedOafRelCount() {
- return cachedOafRel_.size();
- }
- public eu.dnetlib.data.proto.OafProtos.Oaf getCachedOafRel(int index) {
- return cachedOafRel_.get(index);
- }
- public eu.dnetlib.data.proto.OafProtos.OafOrBuilder getCachedOafRelOrBuilder(
- int index) {
- return cachedOafRel_.get(index);
- }
-
- // optional .eu.dnetlib.data.proto.Datasource datasource = 3;
- public static final int DATASOURCE_FIELD_NUMBER = 3;
- private eu.dnetlib.data.proto.DatasourceProtos.Datasource datasource_;
- public boolean hasDatasource() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- public eu.dnetlib.data.proto.DatasourceProtos.Datasource getDatasource() {
- return datasource_;
- }
- public eu.dnetlib.data.proto.DatasourceProtos.DatasourceOrBuilder getDatasourceOrBuilder() {
- return datasource_;
- }
-
- // optional .eu.dnetlib.data.proto.Organization organization = 4;
- public static final int ORGANIZATION_FIELD_NUMBER = 4;
- private eu.dnetlib.data.proto.OrganizationProtos.Organization organization_;
- public boolean hasOrganization() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
- }
- public eu.dnetlib.data.proto.OrganizationProtos.Organization getOrganization() {
- return organization_;
- }
- public eu.dnetlib.data.proto.OrganizationProtos.OrganizationOrBuilder getOrganizationOrBuilder() {
- return organization_;
- }
-
- // optional .eu.dnetlib.data.proto.Project project = 6;
- public static final int PROJECT_FIELD_NUMBER = 6;
- private eu.dnetlib.data.proto.ProjectProtos.Project project_;
- public boolean hasProject() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
- }
- public eu.dnetlib.data.proto.ProjectProtos.Project getProject() {
- return project_;
- }
- public eu.dnetlib.data.proto.ProjectProtos.ProjectOrBuilder getProjectOrBuilder() {
- return project_;
- }
-
- // optional .eu.dnetlib.data.proto.Result result = 7;
- public static final int RESULT_FIELD_NUMBER = 7;
- private eu.dnetlib.data.proto.ResultProtos.Result result_;
- public boolean hasResult() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
- }
- public eu.dnetlib.data.proto.ResultProtos.Result getResult() {
- return result_;
- }
- public eu.dnetlib.data.proto.ResultProtos.ResultOrBuilder getResultOrBuilder() {
- return result_;
- }
-
- // optional .eu.dnetlib.data.proto.Person person = 5;
- public static final int PERSON_FIELD_NUMBER = 5;
- private eu.dnetlib.data.proto.PersonProtos.Person person_;
- public boolean hasPerson() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
- }
- public eu.dnetlib.data.proto.PersonProtos.Person getPerson() {
- return person_;
- }
- public eu.dnetlib.data.proto.PersonProtos.PersonOrBuilder getPersonOrBuilder() {
- return person_;
- }
-
- // repeated .eu.dnetlib.data.proto.OafEntity children = 16;
- public static final int CHILDREN_FIELD_NUMBER = 16;
- private java.util.List children_;
- public java.util.List getChildrenList() {
- return children_;
- }
- public java.util.List extends eu.dnetlib.data.proto.OafProtos.OafEntityOrBuilder>
- getChildrenOrBuilderList() {
- return children_;
- }
- public int getChildrenCount() {
- return children_.size();
- }
- public eu.dnetlib.data.proto.OafProtos.OafEntity getChildren(int index) {
- return children_.get(index);
- }
- public eu.dnetlib.data.proto.OafProtos.OafEntityOrBuilder getChildrenOrBuilder(
- int index) {
- return children_.get(index);
- }
-
- // repeated .eu.dnetlib.data.proto.ExtraInfo extraInfo = 15;
- public static final int EXTRAINFO_FIELD_NUMBER = 15;
- private java.util.List extraInfo_;
- public java.util.List getExtraInfoList() {
- return extraInfo_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfoOrBuilder>
- getExtraInfoOrBuilderList() {
- return extraInfo_;
- }
- public int getExtraInfoCount() {
- return extraInfo_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo getExtraInfo(int index) {
- return extraInfo_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfoOrBuilder getExtraInfoOrBuilder(
- int index) {
- return extraInfo_.get(index);
- }
-
- // optional .eu.dnetlib.data.proto.OAIProvenance oaiprovenance = 17;
- public static final int OAIPROVENANCE_FIELD_NUMBER = 17;
- private eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance oaiprovenance_;
- public boolean hasOaiprovenance() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance getOaiprovenance() {
- return oaiprovenance_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenanceOrBuilder getOaiprovenanceOrBuilder() {
- return oaiprovenance_;
- }
-
- private void initFields() {
- type_ = eu.dnetlib.data.proto.TypeProtos.Type.datasource;
- id_ = "";
- originalId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- collectedfrom_ = java.util.Collections.emptyList();
- pid_ = java.util.Collections.emptyList();
- dateofcollection_ = "";
- dateoftransformation_ = "";
- cachedRel_ = java.util.Collections.emptyList();
- cachedOafRel_ = java.util.Collections.emptyList();
- datasource_ = eu.dnetlib.data.proto.DatasourceProtos.Datasource.getDefaultInstance();
- organization_ = eu.dnetlib.data.proto.OrganizationProtos.Organization.getDefaultInstance();
- project_ = eu.dnetlib.data.proto.ProjectProtos.Project.getDefaultInstance();
- result_ = eu.dnetlib.data.proto.ResultProtos.Result.getDefaultInstance();
- person_ = eu.dnetlib.data.proto.PersonProtos.Person.getDefaultInstance();
- children_ = java.util.Collections.emptyList();
- extraInfo_ = java.util.Collections.emptyList();
- oaiprovenance_ = eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasType()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasId()) {
- memoizedIsInitialized = 0;
- return false;
- }
- for (int i = 0; i < getCollectedfromCount(); i++) {
- if (!getCollectedfrom(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getPidCount(); i++) {
- if (!getPid(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getCachedRelCount(); i++) {
- if (!getCachedRel(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getCachedOafRelCount(); i++) {
- if (!getCachedOafRel(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasDatasource()) {
- if (!getDatasource().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasOrganization()) {
- if (!getOrganization().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasProject()) {
- if (!getProject().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasResult()) {
- if (!getResult().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasPerson()) {
- if (!getPerson().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getChildrenCount(); i++) {
- if (!getChildren(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getExtraInfoCount(); i++) {
- if (!getExtraInfo(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeEnum(1, type_.getNumber());
- }
- for (int i = 0; i < cachedRel_.size(); i++) {
- output.writeMessage(2, cachedRel_.get(i));
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- output.writeMessage(3, datasource_);
- }
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- output.writeMessage(4, organization_);
- }
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
- output.writeMessage(5, person_);
- }
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
- output.writeMessage(6, project_);
- }
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
- output.writeMessage(7, result_);
- }
- for (int i = 0; i < originalId_.size(); i++) {
- output.writeBytes(8, originalId_.getByteString(i));
- }
- for (int i = 0; i < collectedfrom_.size(); i++) {
- output.writeMessage(9, collectedfrom_.get(i));
- }
- for (int i = 0; i < pid_.size(); i++) {
- output.writeMessage(10, pid_.get(i));
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeBytes(11, getDateofcollectionBytes());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeBytes(12, getIdBytes());
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- output.writeBytes(13, getDateoftransformationBytes());
- }
- for (int i = 0; i < extraInfo_.size(); i++) {
- output.writeMessage(15, extraInfo_.get(i));
- }
- for (int i = 0; i < children_.size(); i++) {
- output.writeMessage(16, children_.get(i));
- }
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
- output.writeMessage(17, oaiprovenance_);
- }
- for (int i = 0; i < cachedOafRel_.size(); i++) {
- output.writeMessage(18, cachedOafRel_.get(i));
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(1, type_.getNumber());
- }
- for (int i = 0; i < cachedRel_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, cachedRel_.get(i));
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, datasource_);
- }
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(4, organization_);
- }
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(5, person_);
- }
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(6, project_);
- }
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(7, result_);
- }
- {
- int dataSize = 0;
- for (int i = 0; i < originalId_.size(); i++) {
- dataSize += com.google.protobuf.CodedOutputStream
- .computeBytesSizeNoTag(originalId_.getByteString(i));
- }
- size += dataSize;
- size += 1 * getOriginalIdList().size();
- }
- for (int i = 0; i < collectedfrom_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(9, collectedfrom_.get(i));
- }
- for (int i = 0; i < pid_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(10, pid_.get(i));
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(11, getDateofcollectionBytes());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(12, getIdBytes());
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(13, getDateoftransformationBytes());
- }
- for (int i = 0; i < extraInfo_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(15, extraInfo_.get(i));
- }
- for (int i = 0; i < children_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(16, children_.get(i));
- }
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(17, oaiprovenance_);
- }
- for (int i = 0; i < cachedOafRel_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(18, cachedOafRel_.get(i));
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.OafProtos.OafEntity parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.OafProtos.OafEntity parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.OafProtos.OafEntity parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.OafProtos.OafEntity parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.OafProtos.OafEntity parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.OafProtos.OafEntity parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.OafProtos.OafEntity parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.OafProtos.OafEntity parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.OafProtos.OafEntity parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.OafProtos.OafEntity parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.OafProtos.OafEntity prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.OafProtos.OafEntityOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.OafProtos.internal_static_eu_dnetlib_data_proto_OafEntity_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.OafProtos.internal_static_eu_dnetlib_data_proto_OafEntity_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.OafProtos.OafEntity.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getCollectedfromFieldBuilder();
- getPidFieldBuilder();
- getCachedRelFieldBuilder();
- getCachedOafRelFieldBuilder();
- getDatasourceFieldBuilder();
- getOrganizationFieldBuilder();
- getProjectFieldBuilder();
- getResultFieldBuilder();
- getPersonFieldBuilder();
- getChildrenFieldBuilder();
- getExtraInfoFieldBuilder();
- getOaiprovenanceFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- type_ = eu.dnetlib.data.proto.TypeProtos.Type.datasource;
- bitField0_ = (bitField0_ & ~0x00000001);
- id_ = "";
- bitField0_ = (bitField0_ & ~0x00000002);
- originalId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
- if (collectedfromBuilder_ == null) {
- collectedfrom_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
- } else {
- collectedfromBuilder_.clear();
- }
- if (pidBuilder_ == null) {
- pid_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000010);
- } else {
- pidBuilder_.clear();
- }
- dateofcollection_ = "";
- bitField0_ = (bitField0_ & ~0x00000020);
- dateoftransformation_ = "";
- bitField0_ = (bitField0_ & ~0x00000040);
- if (cachedRelBuilder_ == null) {
- cachedRel_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000080);
- } else {
- cachedRelBuilder_.clear();
- }
- if (cachedOafRelBuilder_ == null) {
- cachedOafRel_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000100);
- } else {
- cachedOafRelBuilder_.clear();
- }
- if (datasourceBuilder_ == null) {
- datasource_ = eu.dnetlib.data.proto.DatasourceProtos.Datasource.getDefaultInstance();
- } else {
- datasourceBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000200);
- if (organizationBuilder_ == null) {
- organization_ = eu.dnetlib.data.proto.OrganizationProtos.Organization.getDefaultInstance();
- } else {
- organizationBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000400);
- if (projectBuilder_ == null) {
- project_ = eu.dnetlib.data.proto.ProjectProtos.Project.getDefaultInstance();
- } else {
- projectBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000800);
- if (resultBuilder_ == null) {
- result_ = eu.dnetlib.data.proto.ResultProtos.Result.getDefaultInstance();
- } else {
- resultBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00001000);
- if (personBuilder_ == null) {
- person_ = eu.dnetlib.data.proto.PersonProtos.Person.getDefaultInstance();
- } else {
- personBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00002000);
- if (childrenBuilder_ == null) {
- children_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00004000);
- } else {
- childrenBuilder_.clear();
- }
- if (extraInfoBuilder_ == null) {
- extraInfo_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00008000);
- } else {
- extraInfoBuilder_.clear();
- }
- if (oaiprovenanceBuilder_ == null) {
- oaiprovenance_ = eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.getDefaultInstance();
- } else {
- oaiprovenanceBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00010000);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.OafProtos.OafEntity.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.OafProtos.OafEntity getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.OafProtos.OafEntity.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.OafProtos.OafEntity build() {
- eu.dnetlib.data.proto.OafProtos.OafEntity result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.OafProtos.OafEntity buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.OafProtos.OafEntity result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.OafProtos.OafEntity buildPartial() {
- eu.dnetlib.data.proto.OafProtos.OafEntity result = new eu.dnetlib.data.proto.OafProtos.OafEntity(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.type_ = type_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- result.id_ = id_;
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- originalId_ = new com.google.protobuf.UnmodifiableLazyStringList(
- originalId_);
- bitField0_ = (bitField0_ & ~0x00000004);
- }
- result.originalId_ = originalId_;
- if (collectedfromBuilder_ == null) {
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- collectedfrom_ = java.util.Collections.unmodifiableList(collectedfrom_);
- bitField0_ = (bitField0_ & ~0x00000008);
- }
- result.collectedfrom_ = collectedfrom_;
- } else {
- result.collectedfrom_ = collectedfromBuilder_.build();
- }
- if (pidBuilder_ == null) {
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- pid_ = java.util.Collections.unmodifiableList(pid_);
- bitField0_ = (bitField0_ & ~0x00000010);
- }
- result.pid_ = pid_;
- } else {
- result.pid_ = pidBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
- to_bitField0_ |= 0x00000004;
- }
- result.dateofcollection_ = dateofcollection_;
- if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
- to_bitField0_ |= 0x00000008;
- }
- result.dateoftransformation_ = dateoftransformation_;
- if (cachedRelBuilder_ == null) {
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
- cachedRel_ = java.util.Collections.unmodifiableList(cachedRel_);
- bitField0_ = (bitField0_ & ~0x00000080);
- }
- result.cachedRel_ = cachedRel_;
- } else {
- result.cachedRel_ = cachedRelBuilder_.build();
- }
- if (cachedOafRelBuilder_ == null) {
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
- cachedOafRel_ = java.util.Collections.unmodifiableList(cachedOafRel_);
- bitField0_ = (bitField0_ & ~0x00000100);
- }
- result.cachedOafRel_ = cachedOafRel_;
- } else {
- result.cachedOafRel_ = cachedOafRelBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
- to_bitField0_ |= 0x00000010;
- }
- if (datasourceBuilder_ == null) {
- result.datasource_ = datasource_;
- } else {
- result.datasource_ = datasourceBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
- to_bitField0_ |= 0x00000020;
- }
- if (organizationBuilder_ == null) {
- result.organization_ = organization_;
- } else {
- result.organization_ = organizationBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
- to_bitField0_ |= 0x00000040;
- }
- if (projectBuilder_ == null) {
- result.project_ = project_;
- } else {
- result.project_ = projectBuilder_.build();
- }
- if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
- to_bitField0_ |= 0x00000080;
- }
- if (resultBuilder_ == null) {
- result.result_ = result_;
- } else {
- result.result_ = resultBuilder_.build();
- }
- if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
- to_bitField0_ |= 0x00000100;
- }
- if (personBuilder_ == null) {
- result.person_ = person_;
- } else {
- result.person_ = personBuilder_.build();
- }
- if (childrenBuilder_ == null) {
- if (((bitField0_ & 0x00004000) == 0x00004000)) {
- children_ = java.util.Collections.unmodifiableList(children_);
- bitField0_ = (bitField0_ & ~0x00004000);
- }
- result.children_ = children_;
- } else {
- result.children_ = childrenBuilder_.build();
- }
- if (extraInfoBuilder_ == null) {
- if (((bitField0_ & 0x00008000) == 0x00008000)) {
- extraInfo_ = java.util.Collections.unmodifiableList(extraInfo_);
- bitField0_ = (bitField0_ & ~0x00008000);
- }
- result.extraInfo_ = extraInfo_;
- } else {
- result.extraInfo_ = extraInfoBuilder_.build();
- }
- if (((from_bitField0_ & 0x00010000) == 0x00010000)) {
- to_bitField0_ |= 0x00000200;
- }
- if (oaiprovenanceBuilder_ == null) {
- result.oaiprovenance_ = oaiprovenance_;
- } else {
- result.oaiprovenance_ = oaiprovenanceBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.OafProtos.OafEntity) {
- return mergeFrom((eu.dnetlib.data.proto.OafProtos.OafEntity)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.OafProtos.OafEntity other) {
- if (other == eu.dnetlib.data.proto.OafProtos.OafEntity.getDefaultInstance()) return this;
- if (other.hasType()) {
- setType(other.getType());
- }
- if (other.hasId()) {
- setId(other.getId());
- }
- if (!other.originalId_.isEmpty()) {
- if (originalId_.isEmpty()) {
- originalId_ = other.originalId_;
- bitField0_ = (bitField0_ & ~0x00000004);
- } else {
- ensureOriginalIdIsMutable();
- originalId_.addAll(other.originalId_);
- }
- onChanged();
- }
- if (collectedfromBuilder_ == null) {
- if (!other.collectedfrom_.isEmpty()) {
- if (collectedfrom_.isEmpty()) {
- collectedfrom_ = other.collectedfrom_;
- bitField0_ = (bitField0_ & ~0x00000008);
- } else {
- ensureCollectedfromIsMutable();
- collectedfrom_.addAll(other.collectedfrom_);
- }
- onChanged();
- }
- } else {
- if (!other.collectedfrom_.isEmpty()) {
- if (collectedfromBuilder_.isEmpty()) {
- collectedfromBuilder_.dispose();
- collectedfromBuilder_ = null;
- collectedfrom_ = other.collectedfrom_;
- bitField0_ = (bitField0_ & ~0x00000008);
- collectedfromBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getCollectedfromFieldBuilder() : null;
- } else {
- collectedfromBuilder_.addAllMessages(other.collectedfrom_);
- }
- }
- }
- if (pidBuilder_ == null) {
- if (!other.pid_.isEmpty()) {
- if (pid_.isEmpty()) {
- pid_ = other.pid_;
- bitField0_ = (bitField0_ & ~0x00000010);
- } else {
- ensurePidIsMutable();
- pid_.addAll(other.pid_);
- }
- onChanged();
- }
- } else {
- if (!other.pid_.isEmpty()) {
- if (pidBuilder_.isEmpty()) {
- pidBuilder_.dispose();
- pidBuilder_ = null;
- pid_ = other.pid_;
- bitField0_ = (bitField0_ & ~0x00000010);
- pidBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getPidFieldBuilder() : null;
- } else {
- pidBuilder_.addAllMessages(other.pid_);
- }
- }
- }
- if (other.hasDateofcollection()) {
- setDateofcollection(other.getDateofcollection());
- }
- if (other.hasDateoftransformation()) {
- setDateoftransformation(other.getDateoftransformation());
- }
- if (cachedRelBuilder_ == null) {
- if (!other.cachedRel_.isEmpty()) {
- if (cachedRel_.isEmpty()) {
- cachedRel_ = other.cachedRel_;
- bitField0_ = (bitField0_ & ~0x00000080);
- } else {
- ensureCachedRelIsMutable();
- cachedRel_.addAll(other.cachedRel_);
- }
- onChanged();
- }
- } else {
- if (!other.cachedRel_.isEmpty()) {
- if (cachedRelBuilder_.isEmpty()) {
- cachedRelBuilder_.dispose();
- cachedRelBuilder_ = null;
- cachedRel_ = other.cachedRel_;
- bitField0_ = (bitField0_ & ~0x00000080);
- cachedRelBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getCachedRelFieldBuilder() : null;
- } else {
- cachedRelBuilder_.addAllMessages(other.cachedRel_);
- }
- }
- }
- if (cachedOafRelBuilder_ == null) {
- if (!other.cachedOafRel_.isEmpty()) {
- if (cachedOafRel_.isEmpty()) {
- cachedOafRel_ = other.cachedOafRel_;
- bitField0_ = (bitField0_ & ~0x00000100);
- } else {
- ensureCachedOafRelIsMutable();
- cachedOafRel_.addAll(other.cachedOafRel_);
- }
- onChanged();
- }
- } else {
- if (!other.cachedOafRel_.isEmpty()) {
- if (cachedOafRelBuilder_.isEmpty()) {
- cachedOafRelBuilder_.dispose();
- cachedOafRelBuilder_ = null;
- cachedOafRel_ = other.cachedOafRel_;
- bitField0_ = (bitField0_ & ~0x00000100);
- cachedOafRelBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getCachedOafRelFieldBuilder() : null;
- } else {
- cachedOafRelBuilder_.addAllMessages(other.cachedOafRel_);
- }
- }
- }
- if (other.hasDatasource()) {
- mergeDatasource(other.getDatasource());
- }
- if (other.hasOrganization()) {
- mergeOrganization(other.getOrganization());
- }
- if (other.hasProject()) {
- mergeProject(other.getProject());
- }
- if (other.hasResult()) {
- mergeResult(other.getResult());
- }
- if (other.hasPerson()) {
- mergePerson(other.getPerson());
- }
- if (childrenBuilder_ == null) {
- if (!other.children_.isEmpty()) {
- if (children_.isEmpty()) {
- children_ = other.children_;
- bitField0_ = (bitField0_ & ~0x00004000);
- } else {
- ensureChildrenIsMutable();
- children_.addAll(other.children_);
- }
- onChanged();
- }
- } else {
- if (!other.children_.isEmpty()) {
- if (childrenBuilder_.isEmpty()) {
- childrenBuilder_.dispose();
- childrenBuilder_ = null;
- children_ = other.children_;
- bitField0_ = (bitField0_ & ~0x00004000);
- childrenBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getChildrenFieldBuilder() : null;
- } else {
- childrenBuilder_.addAllMessages(other.children_);
- }
- }
- }
- if (extraInfoBuilder_ == null) {
- if (!other.extraInfo_.isEmpty()) {
- if (extraInfo_.isEmpty()) {
- extraInfo_ = other.extraInfo_;
- bitField0_ = (bitField0_ & ~0x00008000);
- } else {
- ensureExtraInfoIsMutable();
- extraInfo_.addAll(other.extraInfo_);
- }
- onChanged();
- }
- } else {
- if (!other.extraInfo_.isEmpty()) {
- if (extraInfoBuilder_.isEmpty()) {
- extraInfoBuilder_.dispose();
- extraInfoBuilder_ = null;
- extraInfo_ = other.extraInfo_;
- bitField0_ = (bitField0_ & ~0x00008000);
- extraInfoBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getExtraInfoFieldBuilder() : null;
- } else {
- extraInfoBuilder_.addAllMessages(other.extraInfo_);
- }
- }
- }
- if (other.hasOaiprovenance()) {
- mergeOaiprovenance(other.getOaiprovenance());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasType()) {
-
- return false;
- }
- if (!hasId()) {
-
- return false;
- }
- for (int i = 0; i < getCollectedfromCount(); i++) {
- if (!getCollectedfrom(i).isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getPidCount(); i++) {
- if (!getPid(i).isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getCachedRelCount(); i++) {
- if (!getCachedRel(i).isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getCachedOafRelCount(); i++) {
- if (!getCachedOafRel(i).isInitialized()) {
-
- return false;
- }
- }
- if (hasDatasource()) {
- if (!getDatasource().isInitialized()) {
-
- return false;
- }
- }
- if (hasOrganization()) {
- if (!getOrganization().isInitialized()) {
-
- return false;
- }
- }
- if (hasProject()) {
- if (!getProject().isInitialized()) {
-
- return false;
- }
- }
- if (hasResult()) {
- if (!getResult().isInitialized()) {
-
- return false;
- }
- }
- if (hasPerson()) {
- if (!getPerson().isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getChildrenCount(); i++) {
- if (!getChildren(i).isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getExtraInfoCount(); i++) {
- if (!getExtraInfo(i).isInitialized()) {
-
- return false;
- }
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 8: {
- int rawValue = input.readEnum();
- eu.dnetlib.data.proto.TypeProtos.Type value = eu.dnetlib.data.proto.TypeProtos.Type.valueOf(rawValue);
- if (value == null) {
- unknownFields.mergeVarintField(1, rawValue);
- } else {
- bitField0_ |= 0x00000001;
- type_ = value;
- }
- break;
- }
- case 18: {
- eu.dnetlib.data.proto.OafProtos.OafRel.Builder subBuilder = eu.dnetlib.data.proto.OafProtos.OafRel.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addCachedRel(subBuilder.buildPartial());
- break;
- }
- case 26: {
- eu.dnetlib.data.proto.DatasourceProtos.Datasource.Builder subBuilder = eu.dnetlib.data.proto.DatasourceProtos.Datasource.newBuilder();
- if (hasDatasource()) {
- subBuilder.mergeFrom(getDatasource());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setDatasource(subBuilder.buildPartial());
- break;
- }
- case 34: {
- eu.dnetlib.data.proto.OrganizationProtos.Organization.Builder subBuilder = eu.dnetlib.data.proto.OrganizationProtos.Organization.newBuilder();
- if (hasOrganization()) {
- subBuilder.mergeFrom(getOrganization());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setOrganization(subBuilder.buildPartial());
- break;
- }
- case 42: {
- eu.dnetlib.data.proto.PersonProtos.Person.Builder subBuilder = eu.dnetlib.data.proto.PersonProtos.Person.newBuilder();
- if (hasPerson()) {
- subBuilder.mergeFrom(getPerson());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setPerson(subBuilder.buildPartial());
- break;
- }
- case 50: {
- eu.dnetlib.data.proto.ProjectProtos.Project.Builder subBuilder = eu.dnetlib.data.proto.ProjectProtos.Project.newBuilder();
- if (hasProject()) {
- subBuilder.mergeFrom(getProject());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setProject(subBuilder.buildPartial());
- break;
- }
- case 58: {
- eu.dnetlib.data.proto.ResultProtos.Result.Builder subBuilder = eu.dnetlib.data.proto.ResultProtos.Result.newBuilder();
- if (hasResult()) {
- subBuilder.mergeFrom(getResult());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setResult(subBuilder.buildPartial());
- break;
- }
- case 66: {
- ensureOriginalIdIsMutable();
- originalId_.add(input.readBytes());
- break;
- }
- case 74: {
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addCollectedfrom(subBuilder.buildPartial());
- break;
- }
- case 82: {
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addPid(subBuilder.buildPartial());
- break;
- }
- case 90: {
- bitField0_ |= 0x00000020;
- dateofcollection_ = input.readBytes();
- break;
- }
- case 98: {
- bitField0_ |= 0x00000002;
- id_ = input.readBytes();
- break;
- }
- case 106: {
- bitField0_ |= 0x00000040;
- dateoftransformation_ = input.readBytes();
- break;
- }
- case 122: {
- eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addExtraInfo(subBuilder.buildPartial());
- break;
- }
- case 130: {
- eu.dnetlib.data.proto.OafProtos.OafEntity.Builder subBuilder = eu.dnetlib.data.proto.OafProtos.OafEntity.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addChildren(subBuilder.buildPartial());
- break;
- }
- case 138: {
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.newBuilder();
- if (hasOaiprovenance()) {
- subBuilder.mergeFrom(getOaiprovenance());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setOaiprovenance(subBuilder.buildPartial());
- break;
- }
- case 146: {
- eu.dnetlib.data.proto.OafProtos.Oaf.Builder subBuilder = eu.dnetlib.data.proto.OafProtos.Oaf.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addCachedOafRel(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // required .eu.dnetlib.data.proto.Type type = 1;
- private eu.dnetlib.data.proto.TypeProtos.Type type_ = eu.dnetlib.data.proto.TypeProtos.Type.datasource;
- public boolean hasType() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.TypeProtos.Type getType() {
- return type_;
- }
- public Builder setType(eu.dnetlib.data.proto.TypeProtos.Type value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- type_ = value;
- onChanged();
- return this;
- }
- public Builder clearType() {
- bitField0_ = (bitField0_ & ~0x00000001);
- type_ = eu.dnetlib.data.proto.TypeProtos.Type.datasource;
- onChanged();
- return this;
- }
-
- // required string id = 12;
- private java.lang.Object id_ = "";
- public boolean hasId() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public String getId() {
- java.lang.Object ref = id_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- id_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setId(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- id_ = value;
- onChanged();
- return this;
- }
- public Builder clearId() {
- bitField0_ = (bitField0_ & ~0x00000002);
- id_ = getDefaultInstance().getId();
- onChanged();
- return this;
- }
- void setId(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000002;
- id_ = value;
- onChanged();
- }
-
- // repeated string originalId = 8;
- private com.google.protobuf.LazyStringList originalId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- private void ensureOriginalIdIsMutable() {
- if (!((bitField0_ & 0x00000004) == 0x00000004)) {
- originalId_ = new com.google.protobuf.LazyStringArrayList(originalId_);
- bitField0_ |= 0x00000004;
- }
- }
- public java.util.List
- getOriginalIdList() {
- return java.util.Collections.unmodifiableList(originalId_);
- }
- public int getOriginalIdCount() {
- return originalId_.size();
- }
- public String getOriginalId(int index) {
- return originalId_.get(index);
- }
- public Builder setOriginalId(
- int index, String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureOriginalIdIsMutable();
- originalId_.set(index, value);
- onChanged();
- return this;
- }
- public Builder addOriginalId(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureOriginalIdIsMutable();
- originalId_.add(value);
- onChanged();
- return this;
- }
- public Builder addAllOriginalId(
- java.lang.Iterable values) {
- ensureOriginalIdIsMutable();
- super.addAll(values, originalId_);
- onChanged();
- return this;
- }
- public Builder clearOriginalId() {
- originalId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
- onChanged();
- return this;
- }
- void addOriginalId(com.google.protobuf.ByteString value) {
- ensureOriginalIdIsMutable();
- originalId_.add(value);
- onChanged();
- }
-
- // repeated .eu.dnetlib.data.proto.KeyValue collectedfrom = 9;
- private java.util.List collectedfrom_ =
- java.util.Collections.emptyList();
- private void ensureCollectedfromIsMutable() {
- if (!((bitField0_ & 0x00000008) == 0x00000008)) {
- collectedfrom_ = new java.util.ArrayList(collectedfrom_);
- bitField0_ |= 0x00000008;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder, eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder> collectedfromBuilder_;
-
- public java.util.List getCollectedfromList() {
- if (collectedfromBuilder_ == null) {
- return java.util.Collections.unmodifiableList(collectedfrom_);
- } else {
- return collectedfromBuilder_.getMessageList();
- }
- }
- public int getCollectedfromCount() {
- if (collectedfromBuilder_ == null) {
- return collectedfrom_.size();
- } else {
- return collectedfromBuilder_.getCount();
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValue getCollectedfrom(int index) {
- if (collectedfromBuilder_ == null) {
- return collectedfrom_.get(index);
- } else {
- return collectedfromBuilder_.getMessage(index);
- }
- }
- public Builder setCollectedfrom(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue value) {
- if (collectedfromBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureCollectedfromIsMutable();
- collectedfrom_.set(index, value);
- onChanged();
- } else {
- collectedfromBuilder_.setMessage(index, value);
- }
- return this;
- }
- public Builder setCollectedfrom(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder builderForValue) {
- if (collectedfromBuilder_ == null) {
- ensureCollectedfromIsMutable();
- collectedfrom_.set(index, builderForValue.build());
- onChanged();
- } else {
- collectedfromBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addCollectedfrom(eu.dnetlib.data.proto.FieldTypeProtos.KeyValue value) {
- if (collectedfromBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureCollectedfromIsMutable();
- collectedfrom_.add(value);
- onChanged();
- } else {
- collectedfromBuilder_.addMessage(value);
- }
- return this;
- }
- public Builder addCollectedfrom(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue value) {
- if (collectedfromBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureCollectedfromIsMutable();
- collectedfrom_.add(index, value);
- onChanged();
- } else {
- collectedfromBuilder_.addMessage(index, value);
- }
- return this;
- }
- public Builder addCollectedfrom(
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder builderForValue) {
- if (collectedfromBuilder_ == null) {
- ensureCollectedfromIsMutable();
- collectedfrom_.add(builderForValue.build());
- onChanged();
- } else {
- collectedfromBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- public Builder addCollectedfrom(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder builderForValue) {
- if (collectedfromBuilder_ == null) {
- ensureCollectedfromIsMutable();
- collectedfrom_.add(index, builderForValue.build());
- onChanged();
- } else {
- collectedfromBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addAllCollectedfrom(
- java.lang.Iterable extends eu.dnetlib.data.proto.FieldTypeProtos.KeyValue> values) {
- if (collectedfromBuilder_ == null) {
- ensureCollectedfromIsMutable();
- super.addAll(values, collectedfrom_);
- onChanged();
- } else {
- collectedfromBuilder_.addAllMessages(values);
- }
- return this;
- }
- public Builder clearCollectedfrom() {
- if (collectedfromBuilder_ == null) {
- collectedfrom_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
- onChanged();
- } else {
- collectedfromBuilder_.clear();
- }
- return this;
- }
- public Builder removeCollectedfrom(int index) {
- if (collectedfromBuilder_ == null) {
- ensureCollectedfromIsMutable();
- collectedfrom_.remove(index);
- onChanged();
- } else {
- collectedfromBuilder_.remove(index);
- }
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder getCollectedfromBuilder(
- int index) {
- return getCollectedfromFieldBuilder().getBuilder(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder getCollectedfromOrBuilder(
- int index) {
- if (collectedfromBuilder_ == null) {
- return collectedfrom_.get(index); } else {
- return collectedfromBuilder_.getMessageOrBuilder(index);
- }
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder>
- getCollectedfromOrBuilderList() {
- if (collectedfromBuilder_ != null) {
- return collectedfromBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(collectedfrom_);
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder addCollectedfromBuilder() {
- return getCollectedfromFieldBuilder().addBuilder(
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.getDefaultInstance());
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder addCollectedfromBuilder(
- int index) {
- return getCollectedfromFieldBuilder().addBuilder(
- index, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.getDefaultInstance());
- }
- public java.util.List
- getCollectedfromBuilderList() {
- return getCollectedfromFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder, eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder>
- getCollectedfromFieldBuilder() {
- if (collectedfromBuilder_ == null) {
- collectedfromBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder, eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder>(
- collectedfrom_,
- ((bitField0_ & 0x00000008) == 0x00000008),
- getParentForChildren(),
- isClean());
- collectedfrom_ = null;
- }
- return collectedfromBuilder_;
- }
-
- // repeated .eu.dnetlib.data.proto.StructuredProperty pid = 10;
- private java.util.List pid_ =
- java.util.Collections.emptyList();
- private void ensurePidIsMutable() {
- if (!((bitField0_ & 0x00000010) == 0x00000010)) {
- pid_ = new java.util.ArrayList(pid_);
- bitField0_ |= 0x00000010;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty, eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder> pidBuilder_;
-
- public java.util.List getPidList() {
- if (pidBuilder_ == null) {
- return java.util.Collections.unmodifiableList(pid_);
- } else {
- return pidBuilder_.getMessageList();
- }
- }
- public int getPidCount() {
- if (pidBuilder_ == null) {
- return pid_.size();
- } else {
- return pidBuilder_.getCount();
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty getPid(int index) {
- if (pidBuilder_ == null) {
- return pid_.get(index);
- } else {
- return pidBuilder_.getMessage(index);
- }
- }
- public Builder setPid(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty value) {
- if (pidBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensurePidIsMutable();
- pid_.set(index, value);
- onChanged();
- } else {
- pidBuilder_.setMessage(index, value);
- }
- return this;
- }
- public Builder setPid(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder builderForValue) {
- if (pidBuilder_ == null) {
- ensurePidIsMutable();
- pid_.set(index, builderForValue.build());
- onChanged();
- } else {
- pidBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addPid(eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty value) {
- if (pidBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensurePidIsMutable();
- pid_.add(value);
- onChanged();
- } else {
- pidBuilder_.addMessage(value);
- }
- return this;
- }
- public Builder addPid(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty value) {
- if (pidBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensurePidIsMutable();
- pid_.add(index, value);
- onChanged();
- } else {
- pidBuilder_.addMessage(index, value);
- }
- return this;
- }
- public Builder addPid(
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder builderForValue) {
- if (pidBuilder_ == null) {
- ensurePidIsMutable();
- pid_.add(builderForValue.build());
- onChanged();
- } else {
- pidBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- public Builder addPid(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder builderForValue) {
- if (pidBuilder_ == null) {
- ensurePidIsMutable();
- pid_.add(index, builderForValue.build());
- onChanged();
- } else {
- pidBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addAllPid(
- java.lang.Iterable extends eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty> values) {
- if (pidBuilder_ == null) {
- ensurePidIsMutable();
- super.addAll(values, pid_);
- onChanged();
- } else {
- pidBuilder_.addAllMessages(values);
- }
- return this;
- }
- public Builder clearPid() {
- if (pidBuilder_ == null) {
- pid_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000010);
- onChanged();
- } else {
- pidBuilder_.clear();
- }
- return this;
- }
- public Builder removePid(int index) {
- if (pidBuilder_ == null) {
- ensurePidIsMutable();
- pid_.remove(index);
- onChanged();
- } else {
- pidBuilder_.remove(index);
- }
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder getPidBuilder(
- int index) {
- return getPidFieldBuilder().getBuilder(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder getPidOrBuilder(
- int index) {
- if (pidBuilder_ == null) {
- return pid_.get(index); } else {
- return pidBuilder_.getMessageOrBuilder(index);
- }
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder>
- getPidOrBuilderList() {
- if (pidBuilder_ != null) {
- return pidBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(pid_);
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder addPidBuilder() {
- return getPidFieldBuilder().addBuilder(
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.getDefaultInstance());
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder addPidBuilder(
- int index) {
- return getPidFieldBuilder().addBuilder(
- index, eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.getDefaultInstance());
- }
- public java.util.List
- getPidBuilderList() {
- return getPidFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty, eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder>
- getPidFieldBuilder() {
- if (pidBuilder_ == null) {
- pidBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty, eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder>(
- pid_,
- ((bitField0_ & 0x00000010) == 0x00000010),
- getParentForChildren(),
- isClean());
- pid_ = null;
- }
- return pidBuilder_;
- }
-
- // optional string dateofcollection = 11;
- private java.lang.Object dateofcollection_ = "";
- public boolean hasDateofcollection() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
- }
- public String getDateofcollection() {
- java.lang.Object ref = dateofcollection_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- dateofcollection_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setDateofcollection(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000020;
- dateofcollection_ = value;
- onChanged();
- return this;
- }
- public Builder clearDateofcollection() {
- bitField0_ = (bitField0_ & ~0x00000020);
- dateofcollection_ = getDefaultInstance().getDateofcollection();
- onChanged();
- return this;
- }
- void setDateofcollection(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000020;
- dateofcollection_ = value;
- onChanged();
- }
-
- // optional string dateoftransformation = 13;
- private java.lang.Object dateoftransformation_ = "";
- public boolean hasDateoftransformation() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
- }
- public String getDateoftransformation() {
- java.lang.Object ref = dateoftransformation_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- dateoftransformation_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setDateoftransformation(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000040;
- dateoftransformation_ = value;
- onChanged();
- return this;
- }
- public Builder clearDateoftransformation() {
- bitField0_ = (bitField0_ & ~0x00000040);
- dateoftransformation_ = getDefaultInstance().getDateoftransformation();
- onChanged();
- return this;
- }
- void setDateoftransformation(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000040;
- dateoftransformation_ = value;
- onChanged();
- }
-
- // repeated .eu.dnetlib.data.proto.OafRel cachedRel = 2;
- private java.util.List cachedRel_ =
- java.util.Collections.emptyList();
- private void ensureCachedRelIsMutable() {
- if (!((bitField0_ & 0x00000080) == 0x00000080)) {
- cachedRel_ = new java.util.ArrayList(cachedRel_);
- bitField0_ |= 0x00000080;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.OafProtos.OafRel, eu.dnetlib.data.proto.OafProtos.OafRel.Builder, eu.dnetlib.data.proto.OafProtos.OafRelOrBuilder> cachedRelBuilder_;
-
- public java.util.List getCachedRelList() {
- if (cachedRelBuilder_ == null) {
- return java.util.Collections.unmodifiableList(cachedRel_);
- } else {
- return cachedRelBuilder_.getMessageList();
- }
- }
- public int getCachedRelCount() {
- if (cachedRelBuilder_ == null) {
- return cachedRel_.size();
- } else {
- return cachedRelBuilder_.getCount();
- }
- }
- public eu.dnetlib.data.proto.OafProtos.OafRel getCachedRel(int index) {
- if (cachedRelBuilder_ == null) {
- return cachedRel_.get(index);
- } else {
- return cachedRelBuilder_.getMessage(index);
- }
- }
- public Builder setCachedRel(
- int index, eu.dnetlib.data.proto.OafProtos.OafRel value) {
- if (cachedRelBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureCachedRelIsMutable();
- cachedRel_.set(index, value);
- onChanged();
- } else {
- cachedRelBuilder_.setMessage(index, value);
- }
- return this;
- }
- public Builder setCachedRel(
- int index, eu.dnetlib.data.proto.OafProtos.OafRel.Builder builderForValue) {
- if (cachedRelBuilder_ == null) {
- ensureCachedRelIsMutable();
- cachedRel_.set(index, builderForValue.build());
- onChanged();
- } else {
- cachedRelBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addCachedRel(eu.dnetlib.data.proto.OafProtos.OafRel value) {
- if (cachedRelBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureCachedRelIsMutable();
- cachedRel_.add(value);
- onChanged();
- } else {
- cachedRelBuilder_.addMessage(value);
- }
- return this;
- }
- public Builder addCachedRel(
- int index, eu.dnetlib.data.proto.OafProtos.OafRel value) {
- if (cachedRelBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureCachedRelIsMutable();
- cachedRel_.add(index, value);
- onChanged();
- } else {
- cachedRelBuilder_.addMessage(index, value);
- }
- return this;
- }
- public Builder addCachedRel(
- eu.dnetlib.data.proto.OafProtos.OafRel.Builder builderForValue) {
- if (cachedRelBuilder_ == null) {
- ensureCachedRelIsMutable();
- cachedRel_.add(builderForValue.build());
- onChanged();
- } else {
- cachedRelBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- public Builder addCachedRel(
- int index, eu.dnetlib.data.proto.OafProtos.OafRel.Builder builderForValue) {
- if (cachedRelBuilder_ == null) {
- ensureCachedRelIsMutable();
- cachedRel_.add(index, builderForValue.build());
- onChanged();
- } else {
- cachedRelBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addAllCachedRel(
- java.lang.Iterable extends eu.dnetlib.data.proto.OafProtos.OafRel> values) {
- if (cachedRelBuilder_ == null) {
- ensureCachedRelIsMutable();
- super.addAll(values, cachedRel_);
- onChanged();
- } else {
- cachedRelBuilder_.addAllMessages(values);
- }
- return this;
- }
- public Builder clearCachedRel() {
- if (cachedRelBuilder_ == null) {
- cachedRel_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000080);
- onChanged();
- } else {
- cachedRelBuilder_.clear();
- }
- return this;
- }
- public Builder removeCachedRel(int index) {
- if (cachedRelBuilder_ == null) {
- ensureCachedRelIsMutable();
- cachedRel_.remove(index);
- onChanged();
- } else {
- cachedRelBuilder_.remove(index);
- }
- return this;
- }
- public eu.dnetlib.data.proto.OafProtos.OafRel.Builder getCachedRelBuilder(
- int index) {
- return getCachedRelFieldBuilder().getBuilder(index);
- }
- public eu.dnetlib.data.proto.OafProtos.OafRelOrBuilder getCachedRelOrBuilder(
- int index) {
- if (cachedRelBuilder_ == null) {
- return cachedRel_.get(index); } else {
- return cachedRelBuilder_.getMessageOrBuilder(index);
- }
- }
- public java.util.List extends eu.dnetlib.data.proto.OafProtos.OafRelOrBuilder>
- getCachedRelOrBuilderList() {
- if (cachedRelBuilder_ != null) {
- return cachedRelBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(cachedRel_);
- }
- }
- public eu.dnetlib.data.proto.OafProtos.OafRel.Builder addCachedRelBuilder() {
- return getCachedRelFieldBuilder().addBuilder(
- eu.dnetlib.data.proto.OafProtos.OafRel.getDefaultInstance());
- }
- public eu.dnetlib.data.proto.OafProtos.OafRel.Builder addCachedRelBuilder(
- int index) {
- return getCachedRelFieldBuilder().addBuilder(
- index, eu.dnetlib.data.proto.OafProtos.OafRel.getDefaultInstance());
- }
- public java.util.List
- getCachedRelBuilderList() {
- return getCachedRelFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.OafProtos.OafRel, eu.dnetlib.data.proto.OafProtos.OafRel.Builder, eu.dnetlib.data.proto.OafProtos.OafRelOrBuilder>
- getCachedRelFieldBuilder() {
- if (cachedRelBuilder_ == null) {
- cachedRelBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.OafProtos.OafRel, eu.dnetlib.data.proto.OafProtos.OafRel.Builder, eu.dnetlib.data.proto.OafProtos.OafRelOrBuilder>(
- cachedRel_,
- ((bitField0_ & 0x00000080) == 0x00000080),
- getParentForChildren(),
- isClean());
- cachedRel_ = null;
- }
- return cachedRelBuilder_;
- }
-
- // repeated .eu.dnetlib.data.proto.Oaf cachedOafRel = 18;
- private java.util.List cachedOafRel_ =
- java.util.Collections.emptyList();
- private void ensureCachedOafRelIsMutable() {
- if (!((bitField0_ & 0x00000100) == 0x00000100)) {
- cachedOafRel_ = new java.util.ArrayList(cachedOafRel_);
- bitField0_ |= 0x00000100;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.OafProtos.Oaf, eu.dnetlib.data.proto.OafProtos.Oaf.Builder, eu.dnetlib.data.proto.OafProtos.OafOrBuilder> cachedOafRelBuilder_;
-
- public java.util.List getCachedOafRelList() {
- if (cachedOafRelBuilder_ == null) {
- return java.util.Collections.unmodifiableList(cachedOafRel_);
- } else {
- return cachedOafRelBuilder_.getMessageList();
- }
- }
- public int getCachedOafRelCount() {
- if (cachedOafRelBuilder_ == null) {
- return cachedOafRel_.size();
- } else {
- return cachedOafRelBuilder_.getCount();
- }
- }
- public eu.dnetlib.data.proto.OafProtos.Oaf getCachedOafRel(int index) {
- if (cachedOafRelBuilder_ == null) {
- return cachedOafRel_.get(index);
- } else {
- return cachedOafRelBuilder_.getMessage(index);
- }
- }
- public Builder setCachedOafRel(
- int index, eu.dnetlib.data.proto.OafProtos.Oaf value) {
- if (cachedOafRelBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureCachedOafRelIsMutable();
- cachedOafRel_.set(index, value);
- onChanged();
- } else {
- cachedOafRelBuilder_.setMessage(index, value);
- }
- return this;
- }
- public Builder setCachedOafRel(
- int index, eu.dnetlib.data.proto.OafProtos.Oaf.Builder builderForValue) {
- if (cachedOafRelBuilder_ == null) {
- ensureCachedOafRelIsMutable();
- cachedOafRel_.set(index, builderForValue.build());
- onChanged();
- } else {
- cachedOafRelBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addCachedOafRel(eu.dnetlib.data.proto.OafProtos.Oaf value) {
- if (cachedOafRelBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureCachedOafRelIsMutable();
- cachedOafRel_.add(value);
- onChanged();
- } else {
- cachedOafRelBuilder_.addMessage(value);
- }
- return this;
- }
- public Builder addCachedOafRel(
- int index, eu.dnetlib.data.proto.OafProtos.Oaf value) {
- if (cachedOafRelBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureCachedOafRelIsMutable();
- cachedOafRel_.add(index, value);
- onChanged();
- } else {
- cachedOafRelBuilder_.addMessage(index, value);
- }
- return this;
- }
- public Builder addCachedOafRel(
- eu.dnetlib.data.proto.OafProtos.Oaf.Builder builderForValue) {
- if (cachedOafRelBuilder_ == null) {
- ensureCachedOafRelIsMutable();
- cachedOafRel_.add(builderForValue.build());
- onChanged();
- } else {
- cachedOafRelBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- public Builder addCachedOafRel(
- int index, eu.dnetlib.data.proto.OafProtos.Oaf.Builder builderForValue) {
- if (cachedOafRelBuilder_ == null) {
- ensureCachedOafRelIsMutable();
- cachedOafRel_.add(index, builderForValue.build());
- onChanged();
- } else {
- cachedOafRelBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addAllCachedOafRel(
- java.lang.Iterable extends eu.dnetlib.data.proto.OafProtos.Oaf> values) {
- if (cachedOafRelBuilder_ == null) {
- ensureCachedOafRelIsMutable();
- super.addAll(values, cachedOafRel_);
- onChanged();
- } else {
- cachedOafRelBuilder_.addAllMessages(values);
- }
- return this;
- }
- public Builder clearCachedOafRel() {
- if (cachedOafRelBuilder_ == null) {
- cachedOafRel_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000100);
- onChanged();
- } else {
- cachedOafRelBuilder_.clear();
- }
- return this;
- }
- public Builder removeCachedOafRel(int index) {
- if (cachedOafRelBuilder_ == null) {
- ensureCachedOafRelIsMutable();
- cachedOafRel_.remove(index);
- onChanged();
- } else {
- cachedOafRelBuilder_.remove(index);
- }
- return this;
- }
- public eu.dnetlib.data.proto.OafProtos.Oaf.Builder getCachedOafRelBuilder(
- int index) {
- return getCachedOafRelFieldBuilder().getBuilder(index);
- }
- public eu.dnetlib.data.proto.OafProtos.OafOrBuilder getCachedOafRelOrBuilder(
- int index) {
- if (cachedOafRelBuilder_ == null) {
- return cachedOafRel_.get(index); } else {
- return cachedOafRelBuilder_.getMessageOrBuilder(index);
- }
- }
- public java.util.List extends eu.dnetlib.data.proto.OafProtos.OafOrBuilder>
- getCachedOafRelOrBuilderList() {
- if (cachedOafRelBuilder_ != null) {
- return cachedOafRelBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(cachedOafRel_);
- }
- }
- public eu.dnetlib.data.proto.OafProtos.Oaf.Builder addCachedOafRelBuilder() {
- return getCachedOafRelFieldBuilder().addBuilder(
- eu.dnetlib.data.proto.OafProtos.Oaf.getDefaultInstance());
- }
- public eu.dnetlib.data.proto.OafProtos.Oaf.Builder addCachedOafRelBuilder(
- int index) {
- return getCachedOafRelFieldBuilder().addBuilder(
- index, eu.dnetlib.data.proto.OafProtos.Oaf.getDefaultInstance());
- }
- public java.util.List
- getCachedOafRelBuilderList() {
- return getCachedOafRelFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.OafProtos.Oaf, eu.dnetlib.data.proto.OafProtos.Oaf.Builder, eu.dnetlib.data.proto.OafProtos.OafOrBuilder>
- getCachedOafRelFieldBuilder() {
- if (cachedOafRelBuilder_ == null) {
- cachedOafRelBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.OafProtos.Oaf, eu.dnetlib.data.proto.OafProtos.Oaf.Builder, eu.dnetlib.data.proto.OafProtos.OafOrBuilder>(
- cachedOafRel_,
- ((bitField0_ & 0x00000100) == 0x00000100),
- getParentForChildren(),
- isClean());
- cachedOafRel_ = null;
- }
- return cachedOafRelBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.Datasource datasource = 3;
- private eu.dnetlib.data.proto.DatasourceProtos.Datasource datasource_ = eu.dnetlib.data.proto.DatasourceProtos.Datasource.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.DatasourceProtos.Datasource, eu.dnetlib.data.proto.DatasourceProtos.Datasource.Builder, eu.dnetlib.data.proto.DatasourceProtos.DatasourceOrBuilder> datasourceBuilder_;
- public boolean hasDatasource() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
- }
- public eu.dnetlib.data.proto.DatasourceProtos.Datasource getDatasource() {
- if (datasourceBuilder_ == null) {
- return datasource_;
- } else {
- return datasourceBuilder_.getMessage();
- }
- }
- public Builder setDatasource(eu.dnetlib.data.proto.DatasourceProtos.Datasource value) {
- if (datasourceBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- datasource_ = value;
- onChanged();
- } else {
- datasourceBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000200;
- return this;
- }
- public Builder setDatasource(
- eu.dnetlib.data.proto.DatasourceProtos.Datasource.Builder builderForValue) {
- if (datasourceBuilder_ == null) {
- datasource_ = builderForValue.build();
- onChanged();
- } else {
- datasourceBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000200;
- return this;
- }
- public Builder mergeDatasource(eu.dnetlib.data.proto.DatasourceProtos.Datasource value) {
- if (datasourceBuilder_ == null) {
- if (((bitField0_ & 0x00000200) == 0x00000200) &&
- datasource_ != eu.dnetlib.data.proto.DatasourceProtos.Datasource.getDefaultInstance()) {
- datasource_ =
- eu.dnetlib.data.proto.DatasourceProtos.Datasource.newBuilder(datasource_).mergeFrom(value).buildPartial();
- } else {
- datasource_ = value;
- }
- onChanged();
- } else {
- datasourceBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000200;
- return this;
- }
- public Builder clearDatasource() {
- if (datasourceBuilder_ == null) {
- datasource_ = eu.dnetlib.data.proto.DatasourceProtos.Datasource.getDefaultInstance();
- onChanged();
- } else {
- datasourceBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000200);
- return this;
- }
- public eu.dnetlib.data.proto.DatasourceProtos.Datasource.Builder getDatasourceBuilder() {
- bitField0_ |= 0x00000200;
- onChanged();
- return getDatasourceFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.DatasourceProtos.DatasourceOrBuilder getDatasourceOrBuilder() {
- if (datasourceBuilder_ != null) {
- return datasourceBuilder_.getMessageOrBuilder();
- } else {
- return datasource_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.DatasourceProtos.Datasource, eu.dnetlib.data.proto.DatasourceProtos.Datasource.Builder, eu.dnetlib.data.proto.DatasourceProtos.DatasourceOrBuilder>
- getDatasourceFieldBuilder() {
- if (datasourceBuilder_ == null) {
- datasourceBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.DatasourceProtos.Datasource, eu.dnetlib.data.proto.DatasourceProtos.Datasource.Builder, eu.dnetlib.data.proto.DatasourceProtos.DatasourceOrBuilder>(
- datasource_,
- getParentForChildren(),
- isClean());
- datasource_ = null;
- }
- return datasourceBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.Organization organization = 4;
- private eu.dnetlib.data.proto.OrganizationProtos.Organization organization_ = eu.dnetlib.data.proto.OrganizationProtos.Organization.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.OrganizationProtos.Organization, eu.dnetlib.data.proto.OrganizationProtos.Organization.Builder, eu.dnetlib.data.proto.OrganizationProtos.OrganizationOrBuilder> organizationBuilder_;
- public boolean hasOrganization() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
- }
- public eu.dnetlib.data.proto.OrganizationProtos.Organization getOrganization() {
- if (organizationBuilder_ == null) {
- return organization_;
- } else {
- return organizationBuilder_.getMessage();
- }
- }
- public Builder setOrganization(eu.dnetlib.data.proto.OrganizationProtos.Organization value) {
- if (organizationBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- organization_ = value;
- onChanged();
- } else {
- organizationBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000400;
- return this;
- }
- public Builder setOrganization(
- eu.dnetlib.data.proto.OrganizationProtos.Organization.Builder builderForValue) {
- if (organizationBuilder_ == null) {
- organization_ = builderForValue.build();
- onChanged();
- } else {
- organizationBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000400;
- return this;
- }
- public Builder mergeOrganization(eu.dnetlib.data.proto.OrganizationProtos.Organization value) {
- if (organizationBuilder_ == null) {
- if (((bitField0_ & 0x00000400) == 0x00000400) &&
- organization_ != eu.dnetlib.data.proto.OrganizationProtos.Organization.getDefaultInstance()) {
- organization_ =
- eu.dnetlib.data.proto.OrganizationProtos.Organization.newBuilder(organization_).mergeFrom(value).buildPartial();
- } else {
- organization_ = value;
- }
- onChanged();
- } else {
- organizationBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000400;
- return this;
- }
- public Builder clearOrganization() {
- if (organizationBuilder_ == null) {
- organization_ = eu.dnetlib.data.proto.OrganizationProtos.Organization.getDefaultInstance();
- onChanged();
- } else {
- organizationBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000400);
- return this;
- }
- public eu.dnetlib.data.proto.OrganizationProtos.Organization.Builder getOrganizationBuilder() {
- bitField0_ |= 0x00000400;
- onChanged();
- return getOrganizationFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.OrganizationProtos.OrganizationOrBuilder getOrganizationOrBuilder() {
- if (organizationBuilder_ != null) {
- return organizationBuilder_.getMessageOrBuilder();
- } else {
- return organization_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.OrganizationProtos.Organization, eu.dnetlib.data.proto.OrganizationProtos.Organization.Builder, eu.dnetlib.data.proto.OrganizationProtos.OrganizationOrBuilder>
- getOrganizationFieldBuilder() {
- if (organizationBuilder_ == null) {
- organizationBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.OrganizationProtos.Organization, eu.dnetlib.data.proto.OrganizationProtos.Organization.Builder, eu.dnetlib.data.proto.OrganizationProtos.OrganizationOrBuilder>(
- organization_,
- getParentForChildren(),
- isClean());
- organization_ = null;
- }
- return organizationBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.Project project = 6;
- private eu.dnetlib.data.proto.ProjectProtos.Project project_ = eu.dnetlib.data.proto.ProjectProtos.Project.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ProjectProtos.Project, eu.dnetlib.data.proto.ProjectProtos.Project.Builder, eu.dnetlib.data.proto.ProjectProtos.ProjectOrBuilder> projectBuilder_;
- public boolean hasProject() {
- return ((bitField0_ & 0x00000800) == 0x00000800);
- }
- public eu.dnetlib.data.proto.ProjectProtos.Project getProject() {
- if (projectBuilder_ == null) {
- return project_;
- } else {
- return projectBuilder_.getMessage();
- }
- }
- public Builder setProject(eu.dnetlib.data.proto.ProjectProtos.Project value) {
- if (projectBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- project_ = value;
- onChanged();
- } else {
- projectBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000800;
- return this;
- }
- public Builder setProject(
- eu.dnetlib.data.proto.ProjectProtos.Project.Builder builderForValue) {
- if (projectBuilder_ == null) {
- project_ = builderForValue.build();
- onChanged();
- } else {
- projectBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000800;
- return this;
- }
- public Builder mergeProject(eu.dnetlib.data.proto.ProjectProtos.Project value) {
- if (projectBuilder_ == null) {
- if (((bitField0_ & 0x00000800) == 0x00000800) &&
- project_ != eu.dnetlib.data.proto.ProjectProtos.Project.getDefaultInstance()) {
- project_ =
- eu.dnetlib.data.proto.ProjectProtos.Project.newBuilder(project_).mergeFrom(value).buildPartial();
- } else {
- project_ = value;
- }
- onChanged();
- } else {
- projectBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000800;
- return this;
- }
- public Builder clearProject() {
- if (projectBuilder_ == null) {
- project_ = eu.dnetlib.data.proto.ProjectProtos.Project.getDefaultInstance();
- onChanged();
- } else {
- projectBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000800);
- return this;
- }
- public eu.dnetlib.data.proto.ProjectProtos.Project.Builder getProjectBuilder() {
- bitField0_ |= 0x00000800;
- onChanged();
- return getProjectFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.ProjectProtos.ProjectOrBuilder getProjectOrBuilder() {
- if (projectBuilder_ != null) {
- return projectBuilder_.getMessageOrBuilder();
- } else {
- return project_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ProjectProtos.Project, eu.dnetlib.data.proto.ProjectProtos.Project.Builder, eu.dnetlib.data.proto.ProjectProtos.ProjectOrBuilder>
- getProjectFieldBuilder() {
- if (projectBuilder_ == null) {
- projectBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ProjectProtos.Project, eu.dnetlib.data.proto.ProjectProtos.Project.Builder, eu.dnetlib.data.proto.ProjectProtos.ProjectOrBuilder>(
- project_,
- getParentForChildren(),
- isClean());
- project_ = null;
- }
- return projectBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.Result result = 7;
- private eu.dnetlib.data.proto.ResultProtos.Result result_ = eu.dnetlib.data.proto.ResultProtos.Result.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ResultProtos.Result, eu.dnetlib.data.proto.ResultProtos.Result.Builder, eu.dnetlib.data.proto.ResultProtos.ResultOrBuilder> resultBuilder_;
- public boolean hasResult() {
- return ((bitField0_ & 0x00001000) == 0x00001000);
- }
- public eu.dnetlib.data.proto.ResultProtos.Result getResult() {
- if (resultBuilder_ == null) {
- return result_;
- } else {
- return resultBuilder_.getMessage();
- }
- }
- public Builder setResult(eu.dnetlib.data.proto.ResultProtos.Result value) {
- if (resultBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- result_ = value;
- onChanged();
- } else {
- resultBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00001000;
- return this;
- }
- public Builder setResult(
- eu.dnetlib.data.proto.ResultProtos.Result.Builder builderForValue) {
- if (resultBuilder_ == null) {
- result_ = builderForValue.build();
- onChanged();
- } else {
- resultBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00001000;
- return this;
- }
- public Builder mergeResult(eu.dnetlib.data.proto.ResultProtos.Result value) {
- if (resultBuilder_ == null) {
- if (((bitField0_ & 0x00001000) == 0x00001000) &&
- result_ != eu.dnetlib.data.proto.ResultProtos.Result.getDefaultInstance()) {
- result_ =
- eu.dnetlib.data.proto.ResultProtos.Result.newBuilder(result_).mergeFrom(value).buildPartial();
- } else {
- result_ = value;
- }
- onChanged();
- } else {
- resultBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00001000;
- return this;
- }
- public Builder clearResult() {
- if (resultBuilder_ == null) {
- result_ = eu.dnetlib.data.proto.ResultProtos.Result.getDefaultInstance();
- onChanged();
- } else {
- resultBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00001000);
- return this;
- }
- public eu.dnetlib.data.proto.ResultProtos.Result.Builder getResultBuilder() {
- bitField0_ |= 0x00001000;
- onChanged();
- return getResultFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.ResultProtos.ResultOrBuilder getResultOrBuilder() {
- if (resultBuilder_ != null) {
- return resultBuilder_.getMessageOrBuilder();
- } else {
- return result_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ResultProtos.Result, eu.dnetlib.data.proto.ResultProtos.Result.Builder, eu.dnetlib.data.proto.ResultProtos.ResultOrBuilder>
- getResultFieldBuilder() {
- if (resultBuilder_ == null) {
- resultBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ResultProtos.Result, eu.dnetlib.data.proto.ResultProtos.Result.Builder, eu.dnetlib.data.proto.ResultProtos.ResultOrBuilder>(
- result_,
- getParentForChildren(),
- isClean());
- result_ = null;
- }
- return resultBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.Person person = 5;
- private eu.dnetlib.data.proto.PersonProtos.Person person_ = eu.dnetlib.data.proto.PersonProtos.Person.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.PersonProtos.Person, eu.dnetlib.data.proto.PersonProtos.Person.Builder, eu.dnetlib.data.proto.PersonProtos.PersonOrBuilder> personBuilder_;
- public boolean hasPerson() {
- return ((bitField0_ & 0x00002000) == 0x00002000);
- }
- public eu.dnetlib.data.proto.PersonProtos.Person getPerson() {
- if (personBuilder_ == null) {
- return person_;
- } else {
- return personBuilder_.getMessage();
- }
- }
- public Builder setPerson(eu.dnetlib.data.proto.PersonProtos.Person value) {
- if (personBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- person_ = value;
- onChanged();
- } else {
- personBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00002000;
- return this;
- }
- public Builder setPerson(
- eu.dnetlib.data.proto.PersonProtos.Person.Builder builderForValue) {
- if (personBuilder_ == null) {
- person_ = builderForValue.build();
- onChanged();
- } else {
- personBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00002000;
- return this;
- }
- public Builder mergePerson(eu.dnetlib.data.proto.PersonProtos.Person value) {
- if (personBuilder_ == null) {
- if (((bitField0_ & 0x00002000) == 0x00002000) &&
- person_ != eu.dnetlib.data.proto.PersonProtos.Person.getDefaultInstance()) {
- person_ =
- eu.dnetlib.data.proto.PersonProtos.Person.newBuilder(person_).mergeFrom(value).buildPartial();
- } else {
- person_ = value;
- }
- onChanged();
- } else {
- personBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00002000;
- return this;
- }
- public Builder clearPerson() {
- if (personBuilder_ == null) {
- person_ = eu.dnetlib.data.proto.PersonProtos.Person.getDefaultInstance();
- onChanged();
- } else {
- personBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00002000);
- return this;
- }
- public eu.dnetlib.data.proto.PersonProtos.Person.Builder getPersonBuilder() {
- bitField0_ |= 0x00002000;
- onChanged();
- return getPersonFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.PersonProtos.PersonOrBuilder getPersonOrBuilder() {
- if (personBuilder_ != null) {
- return personBuilder_.getMessageOrBuilder();
- } else {
- return person_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.PersonProtos.Person, eu.dnetlib.data.proto.PersonProtos.Person.Builder, eu.dnetlib.data.proto.PersonProtos.PersonOrBuilder>
- getPersonFieldBuilder() {
- if (personBuilder_ == null) {
- personBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.PersonProtos.Person, eu.dnetlib.data.proto.PersonProtos.Person.Builder, eu.dnetlib.data.proto.PersonProtos.PersonOrBuilder>(
- person_,
- getParentForChildren(),
- isClean());
- person_ = null;
- }
- return personBuilder_;
- }
-
- // repeated .eu.dnetlib.data.proto.OafEntity children = 16;
- private java.util.List children_ =
- java.util.Collections.emptyList();
- private void ensureChildrenIsMutable() {
- if (!((bitField0_ & 0x00004000) == 0x00004000)) {
- children_ = new java.util.ArrayList(children_);
- bitField0_ |= 0x00004000;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.OafProtos.OafEntity, eu.dnetlib.data.proto.OafProtos.OafEntity.Builder, eu.dnetlib.data.proto.OafProtos.OafEntityOrBuilder> childrenBuilder_;
-
- public java.util.List getChildrenList() {
- if (childrenBuilder_ == null) {
- return java.util.Collections.unmodifiableList(children_);
- } else {
- return childrenBuilder_.getMessageList();
- }
- }
- public int getChildrenCount() {
- if (childrenBuilder_ == null) {
- return children_.size();
- } else {
- return childrenBuilder_.getCount();
- }
- }
- public eu.dnetlib.data.proto.OafProtos.OafEntity getChildren(int index) {
- if (childrenBuilder_ == null) {
- return children_.get(index);
- } else {
- return childrenBuilder_.getMessage(index);
- }
- }
- public Builder setChildren(
- int index, eu.dnetlib.data.proto.OafProtos.OafEntity value) {
- if (childrenBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureChildrenIsMutable();
- children_.set(index, value);
- onChanged();
- } else {
- childrenBuilder_.setMessage(index, value);
- }
- return this;
- }
- public Builder setChildren(
- int index, eu.dnetlib.data.proto.OafProtos.OafEntity.Builder builderForValue) {
- if (childrenBuilder_ == null) {
- ensureChildrenIsMutable();
- children_.set(index, builderForValue.build());
- onChanged();
- } else {
- childrenBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addChildren(eu.dnetlib.data.proto.OafProtos.OafEntity value) {
- if (childrenBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureChildrenIsMutable();
- children_.add(value);
- onChanged();
- } else {
- childrenBuilder_.addMessage(value);
- }
- return this;
- }
- public Builder addChildren(
- int index, eu.dnetlib.data.proto.OafProtos.OafEntity value) {
- if (childrenBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureChildrenIsMutable();
- children_.add(index, value);
- onChanged();
- } else {
- childrenBuilder_.addMessage(index, value);
- }
- return this;
- }
- public Builder addChildren(
- eu.dnetlib.data.proto.OafProtos.OafEntity.Builder builderForValue) {
- if (childrenBuilder_ == null) {
- ensureChildrenIsMutable();
- children_.add(builderForValue.build());
- onChanged();
- } else {
- childrenBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- public Builder addChildren(
- int index, eu.dnetlib.data.proto.OafProtos.OafEntity.Builder builderForValue) {
- if (childrenBuilder_ == null) {
- ensureChildrenIsMutable();
- children_.add(index, builderForValue.build());
- onChanged();
- } else {
- childrenBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addAllChildren(
- java.lang.Iterable extends eu.dnetlib.data.proto.OafProtos.OafEntity> values) {
- if (childrenBuilder_ == null) {
- ensureChildrenIsMutable();
- super.addAll(values, children_);
- onChanged();
- } else {
- childrenBuilder_.addAllMessages(values);
- }
- return this;
- }
- public Builder clearChildren() {
- if (childrenBuilder_ == null) {
- children_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00004000);
- onChanged();
- } else {
- childrenBuilder_.clear();
- }
- return this;
- }
- public Builder removeChildren(int index) {
- if (childrenBuilder_ == null) {
- ensureChildrenIsMutable();
- children_.remove(index);
- onChanged();
- } else {
- childrenBuilder_.remove(index);
- }
- return this;
- }
- public eu.dnetlib.data.proto.OafProtos.OafEntity.Builder getChildrenBuilder(
- int index) {
- return getChildrenFieldBuilder().getBuilder(index);
- }
- public eu.dnetlib.data.proto.OafProtos.OafEntityOrBuilder getChildrenOrBuilder(
- int index) {
- if (childrenBuilder_ == null) {
- return children_.get(index); } else {
- return childrenBuilder_.getMessageOrBuilder(index);
- }
- }
- public java.util.List extends eu.dnetlib.data.proto.OafProtos.OafEntityOrBuilder>
- getChildrenOrBuilderList() {
- if (childrenBuilder_ != null) {
- return childrenBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(children_);
- }
- }
- public eu.dnetlib.data.proto.OafProtos.OafEntity.Builder addChildrenBuilder() {
- return getChildrenFieldBuilder().addBuilder(
- eu.dnetlib.data.proto.OafProtos.OafEntity.getDefaultInstance());
- }
- public eu.dnetlib.data.proto.OafProtos.OafEntity.Builder addChildrenBuilder(
- int index) {
- return getChildrenFieldBuilder().addBuilder(
- index, eu.dnetlib.data.proto.OafProtos.OafEntity.getDefaultInstance());
- }
- public java.util.List
- getChildrenBuilderList() {
- return getChildrenFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.OafProtos.OafEntity, eu.dnetlib.data.proto.OafProtos.OafEntity.Builder, eu.dnetlib.data.proto.OafProtos.OafEntityOrBuilder>
- getChildrenFieldBuilder() {
- if (childrenBuilder_ == null) {
- childrenBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.OafProtos.OafEntity, eu.dnetlib.data.proto.OafProtos.OafEntity.Builder, eu.dnetlib.data.proto.OafProtos.OafEntityOrBuilder>(
- children_,
- ((bitField0_ & 0x00004000) == 0x00004000),
- getParentForChildren(),
- isClean());
- children_ = null;
- }
- return childrenBuilder_;
- }
-
- // repeated .eu.dnetlib.data.proto.ExtraInfo extraInfo = 15;
- private java.util.List extraInfo_ =
- java.util.Collections.emptyList();
- private void ensureExtraInfoIsMutable() {
- if (!((bitField0_ & 0x00008000) == 0x00008000)) {
- extraInfo_ = new java.util.ArrayList(extraInfo_);
- bitField0_ |= 0x00008000;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo, eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo.Builder, eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfoOrBuilder> extraInfoBuilder_;
-
- public java.util.List getExtraInfoList() {
- if (extraInfoBuilder_ == null) {
- return java.util.Collections.unmodifiableList(extraInfo_);
- } else {
- return extraInfoBuilder_.getMessageList();
- }
- }
- public int getExtraInfoCount() {
- if (extraInfoBuilder_ == null) {
- return extraInfo_.size();
- } else {
- return extraInfoBuilder_.getCount();
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo getExtraInfo(int index) {
- if (extraInfoBuilder_ == null) {
- return extraInfo_.get(index);
- } else {
- return extraInfoBuilder_.getMessage(index);
- }
- }
- public Builder setExtraInfo(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo value) {
- if (extraInfoBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureExtraInfoIsMutable();
- extraInfo_.set(index, value);
- onChanged();
- } else {
- extraInfoBuilder_.setMessage(index, value);
- }
- return this;
- }
- public Builder setExtraInfo(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo.Builder builderForValue) {
- if (extraInfoBuilder_ == null) {
- ensureExtraInfoIsMutable();
- extraInfo_.set(index, builderForValue.build());
- onChanged();
- } else {
- extraInfoBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addExtraInfo(eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo value) {
- if (extraInfoBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureExtraInfoIsMutable();
- extraInfo_.add(value);
- onChanged();
- } else {
- extraInfoBuilder_.addMessage(value);
- }
- return this;
- }
- public Builder addExtraInfo(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo value) {
- if (extraInfoBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureExtraInfoIsMutable();
- extraInfo_.add(index, value);
- onChanged();
- } else {
- extraInfoBuilder_.addMessage(index, value);
- }
- return this;
- }
- public Builder addExtraInfo(
- eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo.Builder builderForValue) {
- if (extraInfoBuilder_ == null) {
- ensureExtraInfoIsMutable();
- extraInfo_.add(builderForValue.build());
- onChanged();
- } else {
- extraInfoBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- public Builder addExtraInfo(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo.Builder builderForValue) {
- if (extraInfoBuilder_ == null) {
- ensureExtraInfoIsMutable();
- extraInfo_.add(index, builderForValue.build());
- onChanged();
- } else {
- extraInfoBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addAllExtraInfo(
- java.lang.Iterable extends eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo> values) {
- if (extraInfoBuilder_ == null) {
- ensureExtraInfoIsMutable();
- super.addAll(values, extraInfo_);
- onChanged();
- } else {
- extraInfoBuilder_.addAllMessages(values);
- }
- return this;
- }
- public Builder clearExtraInfo() {
- if (extraInfoBuilder_ == null) {
- extraInfo_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00008000);
- onChanged();
- } else {
- extraInfoBuilder_.clear();
- }
- return this;
- }
- public Builder removeExtraInfo(int index) {
- if (extraInfoBuilder_ == null) {
- ensureExtraInfoIsMutable();
- extraInfo_.remove(index);
- onChanged();
- } else {
- extraInfoBuilder_.remove(index);
- }
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo.Builder getExtraInfoBuilder(
- int index) {
- return getExtraInfoFieldBuilder().getBuilder(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfoOrBuilder getExtraInfoOrBuilder(
- int index) {
- if (extraInfoBuilder_ == null) {
- return extraInfo_.get(index); } else {
- return extraInfoBuilder_.getMessageOrBuilder(index);
- }
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfoOrBuilder>
- getExtraInfoOrBuilderList() {
- if (extraInfoBuilder_ != null) {
- return extraInfoBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(extraInfo_);
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo.Builder addExtraInfoBuilder() {
- return getExtraInfoFieldBuilder().addBuilder(
- eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo.getDefaultInstance());
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo.Builder addExtraInfoBuilder(
- int index) {
- return getExtraInfoFieldBuilder().addBuilder(
- index, eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo.getDefaultInstance());
- }
- public java.util.List
- getExtraInfoBuilderList() {
- return getExtraInfoFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo, eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo.Builder, eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfoOrBuilder>
- getExtraInfoFieldBuilder() {
- if (extraInfoBuilder_ == null) {
- extraInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo, eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfo.Builder, eu.dnetlib.data.proto.FieldTypeProtos.ExtraInfoOrBuilder>(
- extraInfo_,
- ((bitField0_ & 0x00008000) == 0x00008000),
- getParentForChildren(),
- isClean());
- extraInfo_ = null;
- }
- return extraInfoBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.OAIProvenance oaiprovenance = 17;
- private eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance oaiprovenance_ = eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance, eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.Builder, eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenanceOrBuilder> oaiprovenanceBuilder_;
- public boolean hasOaiprovenance() {
- return ((bitField0_ & 0x00010000) == 0x00010000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance getOaiprovenance() {
- if (oaiprovenanceBuilder_ == null) {
- return oaiprovenance_;
- } else {
- return oaiprovenanceBuilder_.getMessage();
- }
- }
- public Builder setOaiprovenance(eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance value) {
- if (oaiprovenanceBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- oaiprovenance_ = value;
- onChanged();
- } else {
- oaiprovenanceBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00010000;
- return this;
- }
- public Builder setOaiprovenance(
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.Builder builderForValue) {
- if (oaiprovenanceBuilder_ == null) {
- oaiprovenance_ = builderForValue.build();
- onChanged();
- } else {
- oaiprovenanceBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00010000;
- return this;
- }
- public Builder mergeOaiprovenance(eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance value) {
- if (oaiprovenanceBuilder_ == null) {
- if (((bitField0_ & 0x00010000) == 0x00010000) &&
- oaiprovenance_ != eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.getDefaultInstance()) {
- oaiprovenance_ =
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.newBuilder(oaiprovenance_).mergeFrom(value).buildPartial();
- } else {
- oaiprovenance_ = value;
- }
- onChanged();
- } else {
- oaiprovenanceBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00010000;
- return this;
- }
- public Builder clearOaiprovenance() {
- if (oaiprovenanceBuilder_ == null) {
- oaiprovenance_ = eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.getDefaultInstance();
- onChanged();
- } else {
- oaiprovenanceBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00010000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.Builder getOaiprovenanceBuilder() {
- bitField0_ |= 0x00010000;
- onChanged();
- return getOaiprovenanceFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenanceOrBuilder getOaiprovenanceOrBuilder() {
- if (oaiprovenanceBuilder_ != null) {
- return oaiprovenanceBuilder_.getMessageOrBuilder();
- } else {
- return oaiprovenance_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance, eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.Builder, eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenanceOrBuilder>
- getOaiprovenanceFieldBuilder() {
- if (oaiprovenanceBuilder_ == null) {
- oaiprovenanceBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance, eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenance.Builder, eu.dnetlib.data.proto.FieldTypeProtos.OAIProvenanceOrBuilder>(
- oaiprovenance_,
- getParentForChildren(),
- isClean());
- oaiprovenance_ = null;
- }
- return oaiprovenanceBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.OafEntity)
- }
-
- static {
- defaultInstance = new OafEntity(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.OafEntity)
- }
-
- public interface OafRelOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // required .eu.dnetlib.data.proto.RelType relType = 1;
- boolean hasRelType();
- eu.dnetlib.data.proto.RelTypeProtos.RelType getRelType();
-
- // required .eu.dnetlib.data.proto.SubRelType subRelType = 19;
- boolean hasSubRelType();
- eu.dnetlib.data.proto.RelTypeProtos.SubRelType getSubRelType();
-
- // required string relClass = 20;
- boolean hasRelClass();
- String getRelClass();
-
- // required string source = 2;
- boolean hasSource();
- String getSource();
-
- // required string target = 3;
- boolean hasTarget();
- String getTarget();
-
- // required bool child = 4;
- boolean hasChild();
- boolean getChild();
-
- // optional .eu.dnetlib.data.proto.OafEntity cachedTarget = 5;
- boolean hasCachedTarget();
- eu.dnetlib.data.proto.OafProtos.OafEntity getCachedTarget();
- eu.dnetlib.data.proto.OafProtos.OafEntityOrBuilder getCachedTargetOrBuilder();
-
- // optional .eu.dnetlib.data.proto.Oaf cachedOafTarget = 8;
- boolean hasCachedOafTarget();
- eu.dnetlib.data.proto.OafProtos.Oaf getCachedOafTarget();
- eu.dnetlib.data.proto.OafProtos.OafOrBuilder getCachedOafTargetOrBuilder();
-
- // optional .eu.dnetlib.data.proto.DatasourceOrganization datasourceOrganization = 6;
- boolean hasDatasourceOrganization();
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization getDatasourceOrganization();
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganizationOrBuilder getDatasourceOrganizationOrBuilder();
-
- // optional .eu.dnetlib.data.proto.ProjectOrganization projectOrganization = 9;
- boolean hasProjectOrganization();
- eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization getProjectOrganization();
- eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganizationOrBuilder getProjectOrganizationOrBuilder();
-
- // optional .eu.dnetlib.data.proto.ResultOrganization resultOrganization = 10;
- boolean hasResultOrganization();
- eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization getResultOrganization();
- eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganizationOrBuilder getResultOrganizationOrBuilder();
-
- // optional .eu.dnetlib.data.proto.ResultProject resultProject = 11;
- boolean hasResultProject();
- eu.dnetlib.data.proto.ResultProjectProtos.ResultProject getResultProject();
- eu.dnetlib.data.proto.ResultProjectProtos.ResultProjectOrBuilder getResultProjectOrBuilder();
-
- // optional .eu.dnetlib.data.proto.ResultResult resultResult = 16;
- boolean hasResultResult();
- eu.dnetlib.data.proto.ResultResultProtos.ResultResult getResultResult();
- eu.dnetlib.data.proto.ResultResultProtos.ResultResultOrBuilder getResultResultOrBuilder();
-
- // optional .eu.dnetlib.data.proto.OrganizationOrganization organizationOrganization = 17;
- boolean hasOrganizationOrganization();
- eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization getOrganizationOrganization();
- eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganizationOrBuilder getOrganizationOrganizationOrBuilder();
-
- // repeated .eu.dnetlib.data.proto.KeyValue collectedfrom = 21;
- java.util.List
- getCollectedfromList();
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue getCollectedfrom(int index);
- int getCollectedfromCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder>
- getCollectedfromOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder getCollectedfromOrBuilder(
- int index);
- }
- public static final class OafRel extends
- com.google.protobuf.GeneratedMessage
- implements OafRelOrBuilder {
- // Use OafRel.newBuilder() to construct.
- private OafRel(Builder builder) {
- super(builder);
- }
- private OafRel(boolean noInit) {}
-
- private static final OafRel defaultInstance;
- public static OafRel getDefaultInstance() {
- return defaultInstance;
- }
-
- public OafRel getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.OafProtos.internal_static_eu_dnetlib_data_proto_OafRel_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.OafProtos.internal_static_eu_dnetlib_data_proto_OafRel_fieldAccessorTable;
- }
-
- private int bitField0_;
- // required .eu.dnetlib.data.proto.RelType relType = 1;
- public static final int RELTYPE_FIELD_NUMBER = 1;
- private eu.dnetlib.data.proto.RelTypeProtos.RelType relType_;
- public boolean hasRelType() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.RelTypeProtos.RelType getRelType() {
- return relType_;
- }
-
- // required .eu.dnetlib.data.proto.SubRelType subRelType = 19;
- public static final int SUBRELTYPE_FIELD_NUMBER = 19;
- private eu.dnetlib.data.proto.RelTypeProtos.SubRelType subRelType_;
- public boolean hasSubRelType() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public eu.dnetlib.data.proto.RelTypeProtos.SubRelType getSubRelType() {
- return subRelType_;
- }
-
- // required string relClass = 20;
- public static final int RELCLASS_FIELD_NUMBER = 20;
- private java.lang.Object relClass_;
- public boolean hasRelClass() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public String getRelClass() {
- java.lang.Object ref = relClass_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- relClass_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getRelClassBytes() {
- java.lang.Object ref = relClass_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- relClass_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // required string source = 2;
- public static final int SOURCE_FIELD_NUMBER = 2;
- private java.lang.Object source_;
- public boolean hasSource() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- public String getSource() {
- java.lang.Object ref = source_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- source_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getSourceBytes() {
- java.lang.Object ref = source_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- source_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // required string target = 3;
- public static final int TARGET_FIELD_NUMBER = 3;
- private java.lang.Object target_;
- public boolean hasTarget() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- public String getTarget() {
- java.lang.Object ref = target_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- target_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getTargetBytes() {
- java.lang.Object ref = target_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- target_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // required bool child = 4;
- public static final int CHILD_FIELD_NUMBER = 4;
- private boolean child_;
- public boolean hasChild() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
- }
- public boolean getChild() {
- return child_;
- }
-
- // optional .eu.dnetlib.data.proto.OafEntity cachedTarget = 5;
- public static final int CACHEDTARGET_FIELD_NUMBER = 5;
- private eu.dnetlib.data.proto.OafProtos.OafEntity cachedTarget_;
- public boolean hasCachedTarget() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
- }
- public eu.dnetlib.data.proto.OafProtos.OafEntity getCachedTarget() {
- return cachedTarget_;
- }
- public eu.dnetlib.data.proto.OafProtos.OafEntityOrBuilder getCachedTargetOrBuilder() {
- return cachedTarget_;
- }
-
- // optional .eu.dnetlib.data.proto.Oaf cachedOafTarget = 8;
- public static final int CACHEDOAFTARGET_FIELD_NUMBER = 8;
- private eu.dnetlib.data.proto.OafProtos.Oaf cachedOafTarget_;
- public boolean hasCachedOafTarget() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
- }
- public eu.dnetlib.data.proto.OafProtos.Oaf getCachedOafTarget() {
- return cachedOafTarget_;
- }
- public eu.dnetlib.data.proto.OafProtos.OafOrBuilder getCachedOafTargetOrBuilder() {
- return cachedOafTarget_;
- }
-
- // optional .eu.dnetlib.data.proto.DatasourceOrganization datasourceOrganization = 6;
- public static final int DATASOURCEORGANIZATION_FIELD_NUMBER = 6;
- private eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization datasourceOrganization_;
- public boolean hasDatasourceOrganization() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
- }
- public eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization getDatasourceOrganization() {
- return datasourceOrganization_;
- }
- public eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganizationOrBuilder getDatasourceOrganizationOrBuilder() {
- return datasourceOrganization_;
- }
-
- // optional .eu.dnetlib.data.proto.ProjectOrganization projectOrganization = 9;
- public static final int PROJECTORGANIZATION_FIELD_NUMBER = 9;
- private eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization projectOrganization_;
- public boolean hasProjectOrganization() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
- }
- public eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization getProjectOrganization() {
- return projectOrganization_;
- }
- public eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganizationOrBuilder getProjectOrganizationOrBuilder() {
- return projectOrganization_;
- }
-
- // optional .eu.dnetlib.data.proto.ResultOrganization resultOrganization = 10;
- public static final int RESULTORGANIZATION_FIELD_NUMBER = 10;
- private eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization resultOrganization_;
- public boolean hasResultOrganization() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
- }
- public eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization getResultOrganization() {
- return resultOrganization_;
- }
- public eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganizationOrBuilder getResultOrganizationOrBuilder() {
- return resultOrganization_;
- }
-
- // optional .eu.dnetlib.data.proto.ResultProject resultProject = 11;
- public static final int RESULTPROJECT_FIELD_NUMBER = 11;
- private eu.dnetlib.data.proto.ResultProjectProtos.ResultProject resultProject_;
- public boolean hasResultProject() {
- return ((bitField0_ & 0x00000800) == 0x00000800);
- }
- public eu.dnetlib.data.proto.ResultProjectProtos.ResultProject getResultProject() {
- return resultProject_;
- }
- public eu.dnetlib.data.proto.ResultProjectProtos.ResultProjectOrBuilder getResultProjectOrBuilder() {
- return resultProject_;
- }
-
- // optional .eu.dnetlib.data.proto.ResultResult resultResult = 16;
- public static final int RESULTRESULT_FIELD_NUMBER = 16;
- private eu.dnetlib.data.proto.ResultResultProtos.ResultResult resultResult_;
- public boolean hasResultResult() {
- return ((bitField0_ & 0x00001000) == 0x00001000);
- }
- public eu.dnetlib.data.proto.ResultResultProtos.ResultResult getResultResult() {
- return resultResult_;
- }
- public eu.dnetlib.data.proto.ResultResultProtos.ResultResultOrBuilder getResultResultOrBuilder() {
- return resultResult_;
- }
-
- // optional .eu.dnetlib.data.proto.OrganizationOrganization organizationOrganization = 17;
- public static final int ORGANIZATIONORGANIZATION_FIELD_NUMBER = 17;
- private eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization organizationOrganization_;
- public boolean hasOrganizationOrganization() {
- return ((bitField0_ & 0x00002000) == 0x00002000);
- }
- public eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization getOrganizationOrganization() {
- return organizationOrganization_;
- }
- public eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganizationOrBuilder getOrganizationOrganizationOrBuilder() {
- return organizationOrganization_;
- }
-
- // repeated .eu.dnetlib.data.proto.KeyValue collectedfrom = 21;
- public static final int COLLECTEDFROM_FIELD_NUMBER = 21;
- private java.util.List collectedfrom_;
- public java.util.List getCollectedfromList() {
- return collectedfrom_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder>
- getCollectedfromOrBuilderList() {
- return collectedfrom_;
- }
- public int getCollectedfromCount() {
- return collectedfrom_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValue getCollectedfrom(int index) {
- return collectedfrom_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder getCollectedfromOrBuilder(
- int index) {
- return collectedfrom_.get(index);
- }
-
- private void initFields() {
- relType_ = eu.dnetlib.data.proto.RelTypeProtos.RelType.datasourceOrganization;
- subRelType_ = eu.dnetlib.data.proto.RelTypeProtos.SubRelType.provision;
- relClass_ = "";
- source_ = "";
- target_ = "";
- child_ = false;
- cachedTarget_ = eu.dnetlib.data.proto.OafProtos.OafEntity.getDefaultInstance();
- cachedOafTarget_ = eu.dnetlib.data.proto.OafProtos.Oaf.getDefaultInstance();
- datasourceOrganization_ = eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.getDefaultInstance();
- projectOrganization_ = eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.getDefaultInstance();
- resultOrganization_ = eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.getDefaultInstance();
- resultProject_ = eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.getDefaultInstance();
- resultResult_ = eu.dnetlib.data.proto.ResultResultProtos.ResultResult.getDefaultInstance();
- organizationOrganization_ = eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization.getDefaultInstance();
- collectedfrom_ = java.util.Collections.emptyList();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasRelType()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasSubRelType()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasRelClass()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasSource()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasTarget()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasChild()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (hasCachedTarget()) {
- if (!getCachedTarget().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasCachedOafTarget()) {
- if (!getCachedOafTarget().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasDatasourceOrganization()) {
- if (!getDatasourceOrganization().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasProjectOrganization()) {
- if (!getProjectOrganization().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasResultOrganization()) {
- if (!getResultOrganization().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasResultProject()) {
- if (!getResultProject().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasResultResult()) {
- if (!getResultResult().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasOrganizationOrganization()) {
- if (!getOrganizationOrganization().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getCollectedfromCount(); i++) {
- if (!getCollectedfrom(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeEnum(1, relType_.getNumber());
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- output.writeBytes(2, getSourceBytes());
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- output.writeBytes(3, getTargetBytes());
- }
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- output.writeBool(4, child_);
- }
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
- output.writeMessage(5, cachedTarget_);
- }
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
- output.writeMessage(6, datasourceOrganization_);
- }
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
- output.writeMessage(8, cachedOafTarget_);
- }
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
- output.writeMessage(9, projectOrganization_);
- }
- if (((bitField0_ & 0x00000400) == 0x00000400)) {
- output.writeMessage(10, resultOrganization_);
- }
- if (((bitField0_ & 0x00000800) == 0x00000800)) {
- output.writeMessage(11, resultProject_);
- }
- if (((bitField0_ & 0x00001000) == 0x00001000)) {
- output.writeMessage(16, resultResult_);
- }
- if (((bitField0_ & 0x00002000) == 0x00002000)) {
- output.writeMessage(17, organizationOrganization_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeEnum(19, subRelType_.getNumber());
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeBytes(20, getRelClassBytes());
- }
- for (int i = 0; i < collectedfrom_.size(); i++) {
- output.writeMessage(21, collectedfrom_.get(i));
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(1, relType_.getNumber());
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(2, getSourceBytes());
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(3, getTargetBytes());
- }
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(4, child_);
- }
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(5, cachedTarget_);
- }
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(6, datasourceOrganization_);
- }
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(8, cachedOafTarget_);
- }
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(9, projectOrganization_);
- }
- if (((bitField0_ & 0x00000400) == 0x00000400)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(10, resultOrganization_);
- }
- if (((bitField0_ & 0x00000800) == 0x00000800)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(11, resultProject_);
- }
- if (((bitField0_ & 0x00001000) == 0x00001000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(16, resultResult_);
- }
- if (((bitField0_ & 0x00002000) == 0x00002000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(17, organizationOrganization_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(19, subRelType_.getNumber());
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(20, getRelClassBytes());
- }
- for (int i = 0; i < collectedfrom_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(21, collectedfrom_.get(i));
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.OafProtos.OafRel parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.OafProtos.OafRel parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.OafProtos.OafRel parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.OafProtos.OafRel parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.OafProtos.OafRel parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.OafProtos.OafRel parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.OafProtos.OafRel parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.OafProtos.OafRel parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.OafProtos.OafRel parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.OafProtos.OafRel parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.OafProtos.OafRel prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.OafProtos.OafRelOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.OafProtos.internal_static_eu_dnetlib_data_proto_OafRel_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.OafProtos.internal_static_eu_dnetlib_data_proto_OafRel_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.OafProtos.OafRel.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getCachedTargetFieldBuilder();
- getCachedOafTargetFieldBuilder();
- getDatasourceOrganizationFieldBuilder();
- getProjectOrganizationFieldBuilder();
- getResultOrganizationFieldBuilder();
- getResultProjectFieldBuilder();
- getResultResultFieldBuilder();
- getOrganizationOrganizationFieldBuilder();
- getCollectedfromFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- relType_ = eu.dnetlib.data.proto.RelTypeProtos.RelType.datasourceOrganization;
- bitField0_ = (bitField0_ & ~0x00000001);
- subRelType_ = eu.dnetlib.data.proto.RelTypeProtos.SubRelType.provision;
- bitField0_ = (bitField0_ & ~0x00000002);
- relClass_ = "";
- bitField0_ = (bitField0_ & ~0x00000004);
- source_ = "";
- bitField0_ = (bitField0_ & ~0x00000008);
- target_ = "";
- bitField0_ = (bitField0_ & ~0x00000010);
- child_ = false;
- bitField0_ = (bitField0_ & ~0x00000020);
- if (cachedTargetBuilder_ == null) {
- cachedTarget_ = eu.dnetlib.data.proto.OafProtos.OafEntity.getDefaultInstance();
- } else {
- cachedTargetBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000040);
- if (cachedOafTargetBuilder_ == null) {
- cachedOafTarget_ = eu.dnetlib.data.proto.OafProtos.Oaf.getDefaultInstance();
- } else {
- cachedOafTargetBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000080);
- if (datasourceOrganizationBuilder_ == null) {
- datasourceOrganization_ = eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.getDefaultInstance();
- } else {
- datasourceOrganizationBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000100);
- if (projectOrganizationBuilder_ == null) {
- projectOrganization_ = eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.getDefaultInstance();
- } else {
- projectOrganizationBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000200);
- if (resultOrganizationBuilder_ == null) {
- resultOrganization_ = eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.getDefaultInstance();
- } else {
- resultOrganizationBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000400);
- if (resultProjectBuilder_ == null) {
- resultProject_ = eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.getDefaultInstance();
- } else {
- resultProjectBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000800);
- if (resultResultBuilder_ == null) {
- resultResult_ = eu.dnetlib.data.proto.ResultResultProtos.ResultResult.getDefaultInstance();
- } else {
- resultResultBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00001000);
- if (organizationOrganizationBuilder_ == null) {
- organizationOrganization_ = eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization.getDefaultInstance();
- } else {
- organizationOrganizationBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00002000);
- if (collectedfromBuilder_ == null) {
- collectedfrom_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00004000);
- } else {
- collectedfromBuilder_.clear();
- }
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.OafProtos.OafRel.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.OafProtos.OafRel getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.OafProtos.OafRel.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.OafProtos.OafRel build() {
- eu.dnetlib.data.proto.OafProtos.OafRel result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.OafProtos.OafRel buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.OafProtos.OafRel result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.OafProtos.OafRel buildPartial() {
- eu.dnetlib.data.proto.OafProtos.OafRel result = new eu.dnetlib.data.proto.OafProtos.OafRel(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.relType_ = relType_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- result.subRelType_ = subRelType_;
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
- to_bitField0_ |= 0x00000004;
- }
- result.relClass_ = relClass_;
- if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
- to_bitField0_ |= 0x00000008;
- }
- result.source_ = source_;
- if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
- to_bitField0_ |= 0x00000010;
- }
- result.target_ = target_;
- if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
- to_bitField0_ |= 0x00000020;
- }
- result.child_ = child_;
- if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
- to_bitField0_ |= 0x00000040;
- }
- if (cachedTargetBuilder_ == null) {
- result.cachedTarget_ = cachedTarget_;
- } else {
- result.cachedTarget_ = cachedTargetBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
- to_bitField0_ |= 0x00000080;
- }
- if (cachedOafTargetBuilder_ == null) {
- result.cachedOafTarget_ = cachedOafTarget_;
- } else {
- result.cachedOafTarget_ = cachedOafTargetBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
- to_bitField0_ |= 0x00000100;
- }
- if (datasourceOrganizationBuilder_ == null) {
- result.datasourceOrganization_ = datasourceOrganization_;
- } else {
- result.datasourceOrganization_ = datasourceOrganizationBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
- to_bitField0_ |= 0x00000200;
- }
- if (projectOrganizationBuilder_ == null) {
- result.projectOrganization_ = projectOrganization_;
- } else {
- result.projectOrganization_ = projectOrganizationBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
- to_bitField0_ |= 0x00000400;
- }
- if (resultOrganizationBuilder_ == null) {
- result.resultOrganization_ = resultOrganization_;
- } else {
- result.resultOrganization_ = resultOrganizationBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
- to_bitField0_ |= 0x00000800;
- }
- if (resultProjectBuilder_ == null) {
- result.resultProject_ = resultProject_;
- } else {
- result.resultProject_ = resultProjectBuilder_.build();
- }
- if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
- to_bitField0_ |= 0x00001000;
- }
- if (resultResultBuilder_ == null) {
- result.resultResult_ = resultResult_;
- } else {
- result.resultResult_ = resultResultBuilder_.build();
- }
- if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
- to_bitField0_ |= 0x00002000;
- }
- if (organizationOrganizationBuilder_ == null) {
- result.organizationOrganization_ = organizationOrganization_;
- } else {
- result.organizationOrganization_ = organizationOrganizationBuilder_.build();
- }
- if (collectedfromBuilder_ == null) {
- if (((bitField0_ & 0x00004000) == 0x00004000)) {
- collectedfrom_ = java.util.Collections.unmodifiableList(collectedfrom_);
- bitField0_ = (bitField0_ & ~0x00004000);
- }
- result.collectedfrom_ = collectedfrom_;
- } else {
- result.collectedfrom_ = collectedfromBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.OafProtos.OafRel) {
- return mergeFrom((eu.dnetlib.data.proto.OafProtos.OafRel)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.OafProtos.OafRel other) {
- if (other == eu.dnetlib.data.proto.OafProtos.OafRel.getDefaultInstance()) return this;
- if (other.hasRelType()) {
- setRelType(other.getRelType());
- }
- if (other.hasSubRelType()) {
- setSubRelType(other.getSubRelType());
- }
- if (other.hasRelClass()) {
- setRelClass(other.getRelClass());
- }
- if (other.hasSource()) {
- setSource(other.getSource());
- }
- if (other.hasTarget()) {
- setTarget(other.getTarget());
- }
- if (other.hasChild()) {
- setChild(other.getChild());
- }
- if (other.hasCachedTarget()) {
- mergeCachedTarget(other.getCachedTarget());
- }
- if (other.hasCachedOafTarget()) {
- mergeCachedOafTarget(other.getCachedOafTarget());
- }
- if (other.hasDatasourceOrganization()) {
- mergeDatasourceOrganization(other.getDatasourceOrganization());
- }
- if (other.hasProjectOrganization()) {
- mergeProjectOrganization(other.getProjectOrganization());
- }
- if (other.hasResultOrganization()) {
- mergeResultOrganization(other.getResultOrganization());
- }
- if (other.hasResultProject()) {
- mergeResultProject(other.getResultProject());
- }
- if (other.hasResultResult()) {
- mergeResultResult(other.getResultResult());
- }
- if (other.hasOrganizationOrganization()) {
- mergeOrganizationOrganization(other.getOrganizationOrganization());
- }
- if (collectedfromBuilder_ == null) {
- if (!other.collectedfrom_.isEmpty()) {
- if (collectedfrom_.isEmpty()) {
- collectedfrom_ = other.collectedfrom_;
- bitField0_ = (bitField0_ & ~0x00004000);
- } else {
- ensureCollectedfromIsMutable();
- collectedfrom_.addAll(other.collectedfrom_);
- }
- onChanged();
- }
- } else {
- if (!other.collectedfrom_.isEmpty()) {
- if (collectedfromBuilder_.isEmpty()) {
- collectedfromBuilder_.dispose();
- collectedfromBuilder_ = null;
- collectedfrom_ = other.collectedfrom_;
- bitField0_ = (bitField0_ & ~0x00004000);
- collectedfromBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getCollectedfromFieldBuilder() : null;
- } else {
- collectedfromBuilder_.addAllMessages(other.collectedfrom_);
- }
- }
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasRelType()) {
-
- return false;
- }
- if (!hasSubRelType()) {
-
- return false;
- }
- if (!hasRelClass()) {
-
- return false;
- }
- if (!hasSource()) {
-
- return false;
- }
- if (!hasTarget()) {
-
- return false;
- }
- if (!hasChild()) {
-
- return false;
- }
- if (hasCachedTarget()) {
- if (!getCachedTarget().isInitialized()) {
-
- return false;
- }
- }
- if (hasCachedOafTarget()) {
- if (!getCachedOafTarget().isInitialized()) {
-
- return false;
- }
- }
- if (hasDatasourceOrganization()) {
- if (!getDatasourceOrganization().isInitialized()) {
-
- return false;
- }
- }
- if (hasProjectOrganization()) {
- if (!getProjectOrganization().isInitialized()) {
-
- return false;
- }
- }
- if (hasResultOrganization()) {
- if (!getResultOrganization().isInitialized()) {
-
- return false;
- }
- }
- if (hasResultProject()) {
- if (!getResultProject().isInitialized()) {
-
- return false;
- }
- }
- if (hasResultResult()) {
- if (!getResultResult().isInitialized()) {
-
- return false;
- }
- }
- if (hasOrganizationOrganization()) {
- if (!getOrganizationOrganization().isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getCollectedfromCount(); i++) {
- if (!getCollectedfrom(i).isInitialized()) {
-
- return false;
- }
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 8: {
- int rawValue = input.readEnum();
- eu.dnetlib.data.proto.RelTypeProtos.RelType value = eu.dnetlib.data.proto.RelTypeProtos.RelType.valueOf(rawValue);
- if (value == null) {
- unknownFields.mergeVarintField(1, rawValue);
- } else {
- bitField0_ |= 0x00000001;
- relType_ = value;
- }
- break;
- }
- case 18: {
- bitField0_ |= 0x00000008;
- source_ = input.readBytes();
- break;
- }
- case 26: {
- bitField0_ |= 0x00000010;
- target_ = input.readBytes();
- break;
- }
- case 32: {
- bitField0_ |= 0x00000020;
- child_ = input.readBool();
- break;
- }
- case 42: {
- eu.dnetlib.data.proto.OafProtos.OafEntity.Builder subBuilder = eu.dnetlib.data.proto.OafProtos.OafEntity.newBuilder();
- if (hasCachedTarget()) {
- subBuilder.mergeFrom(getCachedTarget());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setCachedTarget(subBuilder.buildPartial());
- break;
- }
- case 50: {
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Builder subBuilder = eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.newBuilder();
- if (hasDatasourceOrganization()) {
- subBuilder.mergeFrom(getDatasourceOrganization());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setDatasourceOrganization(subBuilder.buildPartial());
- break;
- }
- case 66: {
- eu.dnetlib.data.proto.OafProtos.Oaf.Builder subBuilder = eu.dnetlib.data.proto.OafProtos.Oaf.newBuilder();
- if (hasCachedOafTarget()) {
- subBuilder.mergeFrom(getCachedOafTarget());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setCachedOafTarget(subBuilder.buildPartial());
- break;
- }
- case 74: {
- eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Builder subBuilder = eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.newBuilder();
- if (hasProjectOrganization()) {
- subBuilder.mergeFrom(getProjectOrganization());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setProjectOrganization(subBuilder.buildPartial());
- break;
- }
- case 82: {
- eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Builder subBuilder = eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.newBuilder();
- if (hasResultOrganization()) {
- subBuilder.mergeFrom(getResultOrganization());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setResultOrganization(subBuilder.buildPartial());
- break;
- }
- case 90: {
- eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Builder subBuilder = eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.newBuilder();
- if (hasResultProject()) {
- subBuilder.mergeFrom(getResultProject());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setResultProject(subBuilder.buildPartial());
- break;
- }
- case 130: {
- eu.dnetlib.data.proto.ResultResultProtos.ResultResult.Builder subBuilder = eu.dnetlib.data.proto.ResultResultProtos.ResultResult.newBuilder();
- if (hasResultResult()) {
- subBuilder.mergeFrom(getResultResult());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setResultResult(subBuilder.buildPartial());
- break;
- }
- case 138: {
- eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization.Builder subBuilder = eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization.newBuilder();
- if (hasOrganizationOrganization()) {
- subBuilder.mergeFrom(getOrganizationOrganization());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setOrganizationOrganization(subBuilder.buildPartial());
- break;
- }
- case 152: {
- int rawValue = input.readEnum();
- eu.dnetlib.data.proto.RelTypeProtos.SubRelType value = eu.dnetlib.data.proto.RelTypeProtos.SubRelType.valueOf(rawValue);
- if (value == null) {
- unknownFields.mergeVarintField(19, rawValue);
- } else {
- bitField0_ |= 0x00000002;
- subRelType_ = value;
- }
- break;
- }
- case 162: {
- bitField0_ |= 0x00000004;
- relClass_ = input.readBytes();
- break;
- }
- case 170: {
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addCollectedfrom(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // required .eu.dnetlib.data.proto.RelType relType = 1;
- private eu.dnetlib.data.proto.RelTypeProtos.RelType relType_ = eu.dnetlib.data.proto.RelTypeProtos.RelType.datasourceOrganization;
- public boolean hasRelType() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.RelTypeProtos.RelType getRelType() {
- return relType_;
- }
- public Builder setRelType(eu.dnetlib.data.proto.RelTypeProtos.RelType value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- relType_ = value;
- onChanged();
- return this;
- }
- public Builder clearRelType() {
- bitField0_ = (bitField0_ & ~0x00000001);
- relType_ = eu.dnetlib.data.proto.RelTypeProtos.RelType.datasourceOrganization;
- onChanged();
- return this;
- }
-
- // required .eu.dnetlib.data.proto.SubRelType subRelType = 19;
- private eu.dnetlib.data.proto.RelTypeProtos.SubRelType subRelType_ = eu.dnetlib.data.proto.RelTypeProtos.SubRelType.provision;
- public boolean hasSubRelType() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public eu.dnetlib.data.proto.RelTypeProtos.SubRelType getSubRelType() {
- return subRelType_;
- }
- public Builder setSubRelType(eu.dnetlib.data.proto.RelTypeProtos.SubRelType value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- subRelType_ = value;
- onChanged();
- return this;
- }
- public Builder clearSubRelType() {
- bitField0_ = (bitField0_ & ~0x00000002);
- subRelType_ = eu.dnetlib.data.proto.RelTypeProtos.SubRelType.provision;
- onChanged();
- return this;
- }
-
- // required string relClass = 20;
- private java.lang.Object relClass_ = "";
- public boolean hasRelClass() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public String getRelClass() {
- java.lang.Object ref = relClass_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- relClass_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setRelClass(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- relClass_ = value;
- onChanged();
- return this;
- }
- public Builder clearRelClass() {
- bitField0_ = (bitField0_ & ~0x00000004);
- relClass_ = getDefaultInstance().getRelClass();
- onChanged();
- return this;
- }
- void setRelClass(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000004;
- relClass_ = value;
- onChanged();
- }
-
- // required string source = 2;
- private java.lang.Object source_ = "";
- public boolean hasSource() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- public String getSource() {
- java.lang.Object ref = source_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- source_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setSource(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000008;
- source_ = value;
- onChanged();
- return this;
- }
- public Builder clearSource() {
- bitField0_ = (bitField0_ & ~0x00000008);
- source_ = getDefaultInstance().getSource();
- onChanged();
- return this;
- }
- void setSource(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000008;
- source_ = value;
- onChanged();
- }
-
- // required string target = 3;
- private java.lang.Object target_ = "";
- public boolean hasTarget() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- public String getTarget() {
- java.lang.Object ref = target_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- target_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setTarget(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000010;
- target_ = value;
- onChanged();
- return this;
- }
- public Builder clearTarget() {
- bitField0_ = (bitField0_ & ~0x00000010);
- target_ = getDefaultInstance().getTarget();
- onChanged();
- return this;
- }
- void setTarget(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000010;
- target_ = value;
- onChanged();
- }
-
- // required bool child = 4;
- private boolean child_ ;
- public boolean hasChild() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
- }
- public boolean getChild() {
- return child_;
- }
- public Builder setChild(boolean value) {
- bitField0_ |= 0x00000020;
- child_ = value;
- onChanged();
- return this;
- }
- public Builder clearChild() {
- bitField0_ = (bitField0_ & ~0x00000020);
- child_ = false;
- onChanged();
- return this;
- }
-
- // optional .eu.dnetlib.data.proto.OafEntity cachedTarget = 5;
- private eu.dnetlib.data.proto.OafProtos.OafEntity cachedTarget_ = eu.dnetlib.data.proto.OafProtos.OafEntity.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.OafProtos.OafEntity, eu.dnetlib.data.proto.OafProtos.OafEntity.Builder, eu.dnetlib.data.proto.OafProtos.OafEntityOrBuilder> cachedTargetBuilder_;
- public boolean hasCachedTarget() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
- }
- public eu.dnetlib.data.proto.OafProtos.OafEntity getCachedTarget() {
- if (cachedTargetBuilder_ == null) {
- return cachedTarget_;
- } else {
- return cachedTargetBuilder_.getMessage();
- }
- }
- public Builder setCachedTarget(eu.dnetlib.data.proto.OafProtos.OafEntity value) {
- if (cachedTargetBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- cachedTarget_ = value;
- onChanged();
- } else {
- cachedTargetBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000040;
- return this;
- }
- public Builder setCachedTarget(
- eu.dnetlib.data.proto.OafProtos.OafEntity.Builder builderForValue) {
- if (cachedTargetBuilder_ == null) {
- cachedTarget_ = builderForValue.build();
- onChanged();
- } else {
- cachedTargetBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000040;
- return this;
- }
- public Builder mergeCachedTarget(eu.dnetlib.data.proto.OafProtos.OafEntity value) {
- if (cachedTargetBuilder_ == null) {
- if (((bitField0_ & 0x00000040) == 0x00000040) &&
- cachedTarget_ != eu.dnetlib.data.proto.OafProtos.OafEntity.getDefaultInstance()) {
- cachedTarget_ =
- eu.dnetlib.data.proto.OafProtos.OafEntity.newBuilder(cachedTarget_).mergeFrom(value).buildPartial();
- } else {
- cachedTarget_ = value;
- }
- onChanged();
- } else {
- cachedTargetBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000040;
- return this;
- }
- public Builder clearCachedTarget() {
- if (cachedTargetBuilder_ == null) {
- cachedTarget_ = eu.dnetlib.data.proto.OafProtos.OafEntity.getDefaultInstance();
- onChanged();
- } else {
- cachedTargetBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000040);
- return this;
- }
- public eu.dnetlib.data.proto.OafProtos.OafEntity.Builder getCachedTargetBuilder() {
- bitField0_ |= 0x00000040;
- onChanged();
- return getCachedTargetFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.OafProtos.OafEntityOrBuilder getCachedTargetOrBuilder() {
- if (cachedTargetBuilder_ != null) {
- return cachedTargetBuilder_.getMessageOrBuilder();
- } else {
- return cachedTarget_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.OafProtos.OafEntity, eu.dnetlib.data.proto.OafProtos.OafEntity.Builder, eu.dnetlib.data.proto.OafProtos.OafEntityOrBuilder>
- getCachedTargetFieldBuilder() {
- if (cachedTargetBuilder_ == null) {
- cachedTargetBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.OafProtos.OafEntity, eu.dnetlib.data.proto.OafProtos.OafEntity.Builder, eu.dnetlib.data.proto.OafProtos.OafEntityOrBuilder>(
- cachedTarget_,
- getParentForChildren(),
- isClean());
- cachedTarget_ = null;
- }
- return cachedTargetBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.Oaf cachedOafTarget = 8;
- private eu.dnetlib.data.proto.OafProtos.Oaf cachedOafTarget_ = eu.dnetlib.data.proto.OafProtos.Oaf.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.OafProtos.Oaf, eu.dnetlib.data.proto.OafProtos.Oaf.Builder, eu.dnetlib.data.proto.OafProtos.OafOrBuilder> cachedOafTargetBuilder_;
- public boolean hasCachedOafTarget() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
- }
- public eu.dnetlib.data.proto.OafProtos.Oaf getCachedOafTarget() {
- if (cachedOafTargetBuilder_ == null) {
- return cachedOafTarget_;
- } else {
- return cachedOafTargetBuilder_.getMessage();
- }
- }
- public Builder setCachedOafTarget(eu.dnetlib.data.proto.OafProtos.Oaf value) {
- if (cachedOafTargetBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- cachedOafTarget_ = value;
- onChanged();
- } else {
- cachedOafTargetBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000080;
- return this;
- }
- public Builder setCachedOafTarget(
- eu.dnetlib.data.proto.OafProtos.Oaf.Builder builderForValue) {
- if (cachedOafTargetBuilder_ == null) {
- cachedOafTarget_ = builderForValue.build();
- onChanged();
- } else {
- cachedOafTargetBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000080;
- return this;
- }
- public Builder mergeCachedOafTarget(eu.dnetlib.data.proto.OafProtos.Oaf value) {
- if (cachedOafTargetBuilder_ == null) {
- if (((bitField0_ & 0x00000080) == 0x00000080) &&
- cachedOafTarget_ != eu.dnetlib.data.proto.OafProtos.Oaf.getDefaultInstance()) {
- cachedOafTarget_ =
- eu.dnetlib.data.proto.OafProtos.Oaf.newBuilder(cachedOafTarget_).mergeFrom(value).buildPartial();
- } else {
- cachedOafTarget_ = value;
- }
- onChanged();
- } else {
- cachedOafTargetBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000080;
- return this;
- }
- public Builder clearCachedOafTarget() {
- if (cachedOafTargetBuilder_ == null) {
- cachedOafTarget_ = eu.dnetlib.data.proto.OafProtos.Oaf.getDefaultInstance();
- onChanged();
- } else {
- cachedOafTargetBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000080);
- return this;
- }
- public eu.dnetlib.data.proto.OafProtos.Oaf.Builder getCachedOafTargetBuilder() {
- bitField0_ |= 0x00000080;
- onChanged();
- return getCachedOafTargetFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.OafProtos.OafOrBuilder getCachedOafTargetOrBuilder() {
- if (cachedOafTargetBuilder_ != null) {
- return cachedOafTargetBuilder_.getMessageOrBuilder();
- } else {
- return cachedOafTarget_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.OafProtos.Oaf, eu.dnetlib.data.proto.OafProtos.Oaf.Builder, eu.dnetlib.data.proto.OafProtos.OafOrBuilder>
- getCachedOafTargetFieldBuilder() {
- if (cachedOafTargetBuilder_ == null) {
- cachedOafTargetBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.OafProtos.Oaf, eu.dnetlib.data.proto.OafProtos.Oaf.Builder, eu.dnetlib.data.proto.OafProtos.OafOrBuilder>(
- cachedOafTarget_,
- getParentForChildren(),
- isClean());
- cachedOafTarget_ = null;
- }
- return cachedOafTargetBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.DatasourceOrganization datasourceOrganization = 6;
- private eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization datasourceOrganization_ = eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization, eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Builder, eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganizationOrBuilder> datasourceOrganizationBuilder_;
- public boolean hasDatasourceOrganization() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
- }
- public eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization getDatasourceOrganization() {
- if (datasourceOrganizationBuilder_ == null) {
- return datasourceOrganization_;
- } else {
- return datasourceOrganizationBuilder_.getMessage();
- }
- }
- public Builder setDatasourceOrganization(eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization value) {
- if (datasourceOrganizationBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- datasourceOrganization_ = value;
- onChanged();
- } else {
- datasourceOrganizationBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000100;
- return this;
- }
- public Builder setDatasourceOrganization(
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Builder builderForValue) {
- if (datasourceOrganizationBuilder_ == null) {
- datasourceOrganization_ = builderForValue.build();
- onChanged();
- } else {
- datasourceOrganizationBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000100;
- return this;
- }
- public Builder mergeDatasourceOrganization(eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization value) {
- if (datasourceOrganizationBuilder_ == null) {
- if (((bitField0_ & 0x00000100) == 0x00000100) &&
- datasourceOrganization_ != eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.getDefaultInstance()) {
- datasourceOrganization_ =
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.newBuilder(datasourceOrganization_).mergeFrom(value).buildPartial();
- } else {
- datasourceOrganization_ = value;
- }
- onChanged();
- } else {
- datasourceOrganizationBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000100;
- return this;
- }
- public Builder clearDatasourceOrganization() {
- if (datasourceOrganizationBuilder_ == null) {
- datasourceOrganization_ = eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.getDefaultInstance();
- onChanged();
- } else {
- datasourceOrganizationBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000100);
- return this;
- }
- public eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Builder getDatasourceOrganizationBuilder() {
- bitField0_ |= 0x00000100;
- onChanged();
- return getDatasourceOrganizationFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganizationOrBuilder getDatasourceOrganizationOrBuilder() {
- if (datasourceOrganizationBuilder_ != null) {
- return datasourceOrganizationBuilder_.getMessageOrBuilder();
- } else {
- return datasourceOrganization_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization, eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Builder, eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganizationOrBuilder>
- getDatasourceOrganizationFieldBuilder() {
- if (datasourceOrganizationBuilder_ == null) {
- datasourceOrganizationBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization, eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganization.Builder, eu.dnetlib.data.proto.DatasourceOrganizationProtos.DatasourceOrganizationOrBuilder>(
- datasourceOrganization_,
- getParentForChildren(),
- isClean());
- datasourceOrganization_ = null;
- }
- return datasourceOrganizationBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.ProjectOrganization projectOrganization = 9;
- private eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization projectOrganization_ = eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization, eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Builder, eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganizationOrBuilder> projectOrganizationBuilder_;
- public boolean hasProjectOrganization() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
- }
- public eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization getProjectOrganization() {
- if (projectOrganizationBuilder_ == null) {
- return projectOrganization_;
- } else {
- return projectOrganizationBuilder_.getMessage();
- }
- }
- public Builder setProjectOrganization(eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization value) {
- if (projectOrganizationBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- projectOrganization_ = value;
- onChanged();
- } else {
- projectOrganizationBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000200;
- return this;
- }
- public Builder setProjectOrganization(
- eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Builder builderForValue) {
- if (projectOrganizationBuilder_ == null) {
- projectOrganization_ = builderForValue.build();
- onChanged();
- } else {
- projectOrganizationBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000200;
- return this;
- }
- public Builder mergeProjectOrganization(eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization value) {
- if (projectOrganizationBuilder_ == null) {
- if (((bitField0_ & 0x00000200) == 0x00000200) &&
- projectOrganization_ != eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.getDefaultInstance()) {
- projectOrganization_ =
- eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.newBuilder(projectOrganization_).mergeFrom(value).buildPartial();
- } else {
- projectOrganization_ = value;
- }
- onChanged();
- } else {
- projectOrganizationBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000200;
- return this;
- }
- public Builder clearProjectOrganization() {
- if (projectOrganizationBuilder_ == null) {
- projectOrganization_ = eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.getDefaultInstance();
- onChanged();
- } else {
- projectOrganizationBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000200);
- return this;
- }
- public eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Builder getProjectOrganizationBuilder() {
- bitField0_ |= 0x00000200;
- onChanged();
- return getProjectOrganizationFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganizationOrBuilder getProjectOrganizationOrBuilder() {
- if (projectOrganizationBuilder_ != null) {
- return projectOrganizationBuilder_.getMessageOrBuilder();
- } else {
- return projectOrganization_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization, eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Builder, eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganizationOrBuilder>
- getProjectOrganizationFieldBuilder() {
- if (projectOrganizationBuilder_ == null) {
- projectOrganizationBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization, eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Builder, eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganizationOrBuilder>(
- projectOrganization_,
- getParentForChildren(),
- isClean());
- projectOrganization_ = null;
- }
- return projectOrganizationBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.ResultOrganization resultOrganization = 10;
- private eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization resultOrganization_ = eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization, eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Builder, eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganizationOrBuilder> resultOrganizationBuilder_;
- public boolean hasResultOrganization() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
- }
- public eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization getResultOrganization() {
- if (resultOrganizationBuilder_ == null) {
- return resultOrganization_;
- } else {
- return resultOrganizationBuilder_.getMessage();
- }
- }
- public Builder setResultOrganization(eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization value) {
- if (resultOrganizationBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- resultOrganization_ = value;
- onChanged();
- } else {
- resultOrganizationBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000400;
- return this;
- }
- public Builder setResultOrganization(
- eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Builder builderForValue) {
- if (resultOrganizationBuilder_ == null) {
- resultOrganization_ = builderForValue.build();
- onChanged();
- } else {
- resultOrganizationBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000400;
- return this;
- }
- public Builder mergeResultOrganization(eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization value) {
- if (resultOrganizationBuilder_ == null) {
- if (((bitField0_ & 0x00000400) == 0x00000400) &&
- resultOrganization_ != eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.getDefaultInstance()) {
- resultOrganization_ =
- eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.newBuilder(resultOrganization_).mergeFrom(value).buildPartial();
- } else {
- resultOrganization_ = value;
- }
- onChanged();
- } else {
- resultOrganizationBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000400;
- return this;
- }
- public Builder clearResultOrganization() {
- if (resultOrganizationBuilder_ == null) {
- resultOrganization_ = eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.getDefaultInstance();
- onChanged();
- } else {
- resultOrganizationBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000400);
- return this;
- }
- public eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Builder getResultOrganizationBuilder() {
- bitField0_ |= 0x00000400;
- onChanged();
- return getResultOrganizationFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganizationOrBuilder getResultOrganizationOrBuilder() {
- if (resultOrganizationBuilder_ != null) {
- return resultOrganizationBuilder_.getMessageOrBuilder();
- } else {
- return resultOrganization_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization, eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Builder, eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganizationOrBuilder>
- getResultOrganizationFieldBuilder() {
- if (resultOrganizationBuilder_ == null) {
- resultOrganizationBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization, eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Builder, eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganizationOrBuilder>(
- resultOrganization_,
- getParentForChildren(),
- isClean());
- resultOrganization_ = null;
- }
- return resultOrganizationBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.ResultProject resultProject = 11;
- private eu.dnetlib.data.proto.ResultProjectProtos.ResultProject resultProject_ = eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ResultProjectProtos.ResultProject, eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Builder, eu.dnetlib.data.proto.ResultProjectProtos.ResultProjectOrBuilder> resultProjectBuilder_;
- public boolean hasResultProject() {
- return ((bitField0_ & 0x00000800) == 0x00000800);
- }
- public eu.dnetlib.data.proto.ResultProjectProtos.ResultProject getResultProject() {
- if (resultProjectBuilder_ == null) {
- return resultProject_;
- } else {
- return resultProjectBuilder_.getMessage();
- }
- }
- public Builder setResultProject(eu.dnetlib.data.proto.ResultProjectProtos.ResultProject value) {
- if (resultProjectBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- resultProject_ = value;
- onChanged();
- } else {
- resultProjectBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000800;
- return this;
- }
- public Builder setResultProject(
- eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Builder builderForValue) {
- if (resultProjectBuilder_ == null) {
- resultProject_ = builderForValue.build();
- onChanged();
- } else {
- resultProjectBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000800;
- return this;
- }
- public Builder mergeResultProject(eu.dnetlib.data.proto.ResultProjectProtos.ResultProject value) {
- if (resultProjectBuilder_ == null) {
- if (((bitField0_ & 0x00000800) == 0x00000800) &&
- resultProject_ != eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.getDefaultInstance()) {
- resultProject_ =
- eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.newBuilder(resultProject_).mergeFrom(value).buildPartial();
- } else {
- resultProject_ = value;
- }
- onChanged();
- } else {
- resultProjectBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000800;
- return this;
- }
- public Builder clearResultProject() {
- if (resultProjectBuilder_ == null) {
- resultProject_ = eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.getDefaultInstance();
- onChanged();
- } else {
- resultProjectBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000800);
- return this;
- }
- public eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Builder getResultProjectBuilder() {
- bitField0_ |= 0x00000800;
- onChanged();
- return getResultProjectFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.ResultProjectProtos.ResultProjectOrBuilder getResultProjectOrBuilder() {
- if (resultProjectBuilder_ != null) {
- return resultProjectBuilder_.getMessageOrBuilder();
- } else {
- return resultProject_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ResultProjectProtos.ResultProject, eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Builder, eu.dnetlib.data.proto.ResultProjectProtos.ResultProjectOrBuilder>
- getResultProjectFieldBuilder() {
- if (resultProjectBuilder_ == null) {
- resultProjectBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ResultProjectProtos.ResultProject, eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Builder, eu.dnetlib.data.proto.ResultProjectProtos.ResultProjectOrBuilder>(
- resultProject_,
- getParentForChildren(),
- isClean());
- resultProject_ = null;
- }
- return resultProjectBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.ResultResult resultResult = 16;
- private eu.dnetlib.data.proto.ResultResultProtos.ResultResult resultResult_ = eu.dnetlib.data.proto.ResultResultProtos.ResultResult.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ResultResultProtos.ResultResult, eu.dnetlib.data.proto.ResultResultProtos.ResultResult.Builder, eu.dnetlib.data.proto.ResultResultProtos.ResultResultOrBuilder> resultResultBuilder_;
- public boolean hasResultResult() {
- return ((bitField0_ & 0x00001000) == 0x00001000);
- }
- public eu.dnetlib.data.proto.ResultResultProtos.ResultResult getResultResult() {
- if (resultResultBuilder_ == null) {
- return resultResult_;
- } else {
- return resultResultBuilder_.getMessage();
- }
- }
- public Builder setResultResult(eu.dnetlib.data.proto.ResultResultProtos.ResultResult value) {
- if (resultResultBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- resultResult_ = value;
- onChanged();
- } else {
- resultResultBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00001000;
- return this;
- }
- public Builder setResultResult(
- eu.dnetlib.data.proto.ResultResultProtos.ResultResult.Builder builderForValue) {
- if (resultResultBuilder_ == null) {
- resultResult_ = builderForValue.build();
- onChanged();
- } else {
- resultResultBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00001000;
- return this;
- }
- public Builder mergeResultResult(eu.dnetlib.data.proto.ResultResultProtos.ResultResult value) {
- if (resultResultBuilder_ == null) {
- if (((bitField0_ & 0x00001000) == 0x00001000) &&
- resultResult_ != eu.dnetlib.data.proto.ResultResultProtos.ResultResult.getDefaultInstance()) {
- resultResult_ =
- eu.dnetlib.data.proto.ResultResultProtos.ResultResult.newBuilder(resultResult_).mergeFrom(value).buildPartial();
- } else {
- resultResult_ = value;
- }
- onChanged();
- } else {
- resultResultBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00001000;
- return this;
- }
- public Builder clearResultResult() {
- if (resultResultBuilder_ == null) {
- resultResult_ = eu.dnetlib.data.proto.ResultResultProtos.ResultResult.getDefaultInstance();
- onChanged();
- } else {
- resultResultBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00001000);
- return this;
- }
- public eu.dnetlib.data.proto.ResultResultProtos.ResultResult.Builder getResultResultBuilder() {
- bitField0_ |= 0x00001000;
- onChanged();
- return getResultResultFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.ResultResultProtos.ResultResultOrBuilder getResultResultOrBuilder() {
- if (resultResultBuilder_ != null) {
- return resultResultBuilder_.getMessageOrBuilder();
- } else {
- return resultResult_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ResultResultProtos.ResultResult, eu.dnetlib.data.proto.ResultResultProtos.ResultResult.Builder, eu.dnetlib.data.proto.ResultResultProtos.ResultResultOrBuilder>
- getResultResultFieldBuilder() {
- if (resultResultBuilder_ == null) {
- resultResultBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ResultResultProtos.ResultResult, eu.dnetlib.data.proto.ResultResultProtos.ResultResult.Builder, eu.dnetlib.data.proto.ResultResultProtos.ResultResultOrBuilder>(
- resultResult_,
- getParentForChildren(),
- isClean());
- resultResult_ = null;
- }
- return resultResultBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.OrganizationOrganization organizationOrganization = 17;
- private eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization organizationOrganization_ = eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization, eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization.Builder, eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganizationOrBuilder> organizationOrganizationBuilder_;
- public boolean hasOrganizationOrganization() {
- return ((bitField0_ & 0x00002000) == 0x00002000);
- }
- public eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization getOrganizationOrganization() {
- if (organizationOrganizationBuilder_ == null) {
- return organizationOrganization_;
- } else {
- return organizationOrganizationBuilder_.getMessage();
- }
- }
- public Builder setOrganizationOrganization(eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization value) {
- if (organizationOrganizationBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- organizationOrganization_ = value;
- onChanged();
- } else {
- organizationOrganizationBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00002000;
- return this;
- }
- public Builder setOrganizationOrganization(
- eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization.Builder builderForValue) {
- if (organizationOrganizationBuilder_ == null) {
- organizationOrganization_ = builderForValue.build();
- onChanged();
- } else {
- organizationOrganizationBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00002000;
- return this;
- }
- public Builder mergeOrganizationOrganization(eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization value) {
- if (organizationOrganizationBuilder_ == null) {
- if (((bitField0_ & 0x00002000) == 0x00002000) &&
- organizationOrganization_ != eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization.getDefaultInstance()) {
- organizationOrganization_ =
- eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization.newBuilder(organizationOrganization_).mergeFrom(value).buildPartial();
- } else {
- organizationOrganization_ = value;
- }
- onChanged();
- } else {
- organizationOrganizationBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00002000;
- return this;
- }
- public Builder clearOrganizationOrganization() {
- if (organizationOrganizationBuilder_ == null) {
- organizationOrganization_ = eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization.getDefaultInstance();
- onChanged();
- } else {
- organizationOrganizationBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00002000);
- return this;
- }
- public eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization.Builder getOrganizationOrganizationBuilder() {
- bitField0_ |= 0x00002000;
- onChanged();
- return getOrganizationOrganizationFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganizationOrBuilder getOrganizationOrganizationOrBuilder() {
- if (organizationOrganizationBuilder_ != null) {
- return organizationOrganizationBuilder_.getMessageOrBuilder();
- } else {
- return organizationOrganization_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization, eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization.Builder, eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganizationOrBuilder>
- getOrganizationOrganizationFieldBuilder() {
- if (organizationOrganizationBuilder_ == null) {
- organizationOrganizationBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization, eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization.Builder, eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganizationOrBuilder>(
- organizationOrganization_,
- getParentForChildren(),
- isClean());
- organizationOrganization_ = null;
- }
- return organizationOrganizationBuilder_;
- }
-
- // repeated .eu.dnetlib.data.proto.KeyValue collectedfrom = 21;
- private java.util.List collectedfrom_ =
- java.util.Collections.emptyList();
- private void ensureCollectedfromIsMutable() {
- if (!((bitField0_ & 0x00004000) == 0x00004000)) {
- collectedfrom_ = new java.util.ArrayList(collectedfrom_);
- bitField0_ |= 0x00004000;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder, eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder> collectedfromBuilder_;
-
- public java.util.List getCollectedfromList() {
- if (collectedfromBuilder_ == null) {
- return java.util.Collections.unmodifiableList(collectedfrom_);
- } else {
- return collectedfromBuilder_.getMessageList();
- }
- }
- public int getCollectedfromCount() {
- if (collectedfromBuilder_ == null) {
- return collectedfrom_.size();
- } else {
- return collectedfromBuilder_.getCount();
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValue getCollectedfrom(int index) {
- if (collectedfromBuilder_ == null) {
- return collectedfrom_.get(index);
- } else {
- return collectedfromBuilder_.getMessage(index);
- }
- }
- public Builder setCollectedfrom(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue value) {
- if (collectedfromBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureCollectedfromIsMutable();
- collectedfrom_.set(index, value);
- onChanged();
- } else {
- collectedfromBuilder_.setMessage(index, value);
- }
- return this;
- }
- public Builder setCollectedfrom(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder builderForValue) {
- if (collectedfromBuilder_ == null) {
- ensureCollectedfromIsMutable();
- collectedfrom_.set(index, builderForValue.build());
- onChanged();
- } else {
- collectedfromBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addCollectedfrom(eu.dnetlib.data.proto.FieldTypeProtos.KeyValue value) {
- if (collectedfromBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureCollectedfromIsMutable();
- collectedfrom_.add(value);
- onChanged();
- } else {
- collectedfromBuilder_.addMessage(value);
- }
- return this;
- }
- public Builder addCollectedfrom(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue value) {
- if (collectedfromBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureCollectedfromIsMutable();
- collectedfrom_.add(index, value);
- onChanged();
- } else {
- collectedfromBuilder_.addMessage(index, value);
- }
- return this;
- }
- public Builder addCollectedfrom(
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder builderForValue) {
- if (collectedfromBuilder_ == null) {
- ensureCollectedfromIsMutable();
- collectedfrom_.add(builderForValue.build());
- onChanged();
- } else {
- collectedfromBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- public Builder addCollectedfrom(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder builderForValue) {
- if (collectedfromBuilder_ == null) {
- ensureCollectedfromIsMutable();
- collectedfrom_.add(index, builderForValue.build());
- onChanged();
- } else {
- collectedfromBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addAllCollectedfrom(
- java.lang.Iterable extends eu.dnetlib.data.proto.FieldTypeProtos.KeyValue> values) {
- if (collectedfromBuilder_ == null) {
- ensureCollectedfromIsMutable();
- super.addAll(values, collectedfrom_);
- onChanged();
- } else {
- collectedfromBuilder_.addAllMessages(values);
- }
- return this;
- }
- public Builder clearCollectedfrom() {
- if (collectedfromBuilder_ == null) {
- collectedfrom_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00004000);
- onChanged();
- } else {
- collectedfromBuilder_.clear();
- }
- return this;
- }
- public Builder removeCollectedfrom(int index) {
- if (collectedfromBuilder_ == null) {
- ensureCollectedfromIsMutable();
- collectedfrom_.remove(index);
- onChanged();
- } else {
- collectedfromBuilder_.remove(index);
- }
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder getCollectedfromBuilder(
- int index) {
- return getCollectedfromFieldBuilder().getBuilder(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder getCollectedfromOrBuilder(
- int index) {
- if (collectedfromBuilder_ == null) {
- return collectedfrom_.get(index); } else {
- return collectedfromBuilder_.getMessageOrBuilder(index);
- }
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder>
- getCollectedfromOrBuilderList() {
- if (collectedfromBuilder_ != null) {
- return collectedfromBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(collectedfrom_);
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder addCollectedfromBuilder() {
- return getCollectedfromFieldBuilder().addBuilder(
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.getDefaultInstance());
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder addCollectedfromBuilder(
- int index) {
- return getCollectedfromFieldBuilder().addBuilder(
- index, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.getDefaultInstance());
- }
- public java.util.List
- getCollectedfromBuilderList() {
- return getCollectedfromFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder, eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder>
- getCollectedfromFieldBuilder() {
- if (collectedfromBuilder_ == null) {
- collectedfromBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.KeyValue, eu.dnetlib.data.proto.FieldTypeProtos.KeyValue.Builder, eu.dnetlib.data.proto.FieldTypeProtos.KeyValueOrBuilder>(
- collectedfrom_,
- ((bitField0_ & 0x00004000) == 0x00004000),
- getParentForChildren(),
- isClean());
- collectedfrom_ = null;
- }
- return collectedfromBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.OafRel)
- }
-
- static {
- defaultInstance = new OafRel(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.OafRel)
- }
-
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_Oaf_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_Oaf_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_OafEntity_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_OafEntity_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_OafRel_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_OafRel_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
- return descriptor;
- }
- private static com.google.protobuf.Descriptors.FileDescriptor
- descriptor;
- static {
- java.lang.String[] descriptorData = {
- "\n\017OafParent.proto\022\025eu.dnetlib.data.proto" +
- "\032\nKind.proto\032\017FieldType.proto\032\nType.prot" +
- "o\032\020Datasource.proto\032\022Organization.proto\032" +
- "\rProject.proto\032\014Result.proto\032\014Person.pro" +
- "to\032\rRelType.proto\032\035Datasource_Organizati" +
- "on.proto\032\032Project_Organization.proto\032\031Re" +
- "sult_Organization.proto\032\024Result_Project." +
- "proto\032\023Result_Result.proto\032\037Organization" +
- "_Organization.proto\"\336\001\n\003Oaf\022)\n\004kind\030\001 \002(" +
- "\0162\033.eu.dnetlib.data.proto.Kind\0220\n\006entity",
- "\030\002 \001(\0132 .eu.dnetlib.data.proto.OafEntity" +
- "\022*\n\003rel\030\003 \001(\0132\035.eu.dnetlib.data.proto.Oa" +
- "fRel\0221\n\010dataInfo\030\004 \001(\0132\037.eu.dnetlib.data" +
- ".proto.DataInfo\022\033\n\023lastupdatetimestamp\030\005" +
- " \001(\020\"\211\006\n\tOafEntity\022)\n\004type\030\001 \002(\0162\033.eu.dn" +
- "etlib.data.proto.Type\022\n\n\002id\030\014 \002(\t\022\022\n\nori" +
- "ginalId\030\010 \003(\t\0226\n\rcollectedfrom\030\t \003(\0132\037.e" +
- "u.dnetlib.data.proto.KeyValue\0226\n\003pid\030\n \003" +
- "(\0132).eu.dnetlib.data.proto.StructuredPro" +
- "perty\022\030\n\020dateofcollection\030\013 \001(\t\022\034\n\024dateo",
- "ftransformation\030\r \001(\t\0220\n\tcachedRel\030\002 \003(\013" +
- "2\035.eu.dnetlib.data.proto.OafRel\0220\n\014cache" +
- "dOafRel\030\022 \003(\0132\032.eu.dnetlib.data.proto.Oa" +
- "f\0225\n\ndatasource\030\003 \001(\0132!.eu.dnetlib.data." +
- "proto.Datasource\0229\n\014organization\030\004 \001(\0132#" +
- ".eu.dnetlib.data.proto.Organization\022/\n\007p" +
- "roject\030\006 \001(\0132\036.eu.dnetlib.data.proto.Pro" +
- "ject\022-\n\006result\030\007 \001(\0132\035.eu.dnetlib.data.p" +
- "roto.Result\022-\n\006person\030\005 \001(\0132\035.eu.dnetlib" +
- ".data.proto.Person\0222\n\010children\030\020 \003(\0132 .e",
- "u.dnetlib.data.proto.OafEntity\0223\n\textraI" +
- "nfo\030\017 \003(\0132 .eu.dnetlib.data.proto.ExtraI" +
- "nfo\022;\n\roaiprovenance\030\021 \001(\0132$.eu.dnetlib." +
- "data.proto.OAIProvenance\"\200\006\n\006OafRel\022/\n\007r" +
- "elType\030\001 \002(\0162\036.eu.dnetlib.data.proto.Rel" +
- "Type\0225\n\nsubRelType\030\023 \002(\0162!.eu.dnetlib.da" +
- "ta.proto.SubRelType\022\020\n\010relClass\030\024 \002(\t\022\016\n" +
- "\006source\030\002 \002(\t\022\016\n\006target\030\003 \002(\t\022\r\n\005child\030\004" +
- " \002(\010\0226\n\014cachedTarget\030\005 \001(\0132 .eu.dnetlib." +
- "data.proto.OafEntity\0223\n\017cachedOafTarget\030",
- "\010 \001(\0132\032.eu.dnetlib.data.proto.Oaf\022M\n\026dat" +
- "asourceOrganization\030\006 \001(\0132-.eu.dnetlib.d" +
- "ata.proto.DatasourceOrganization\022G\n\023proj" +
- "ectOrganization\030\t \001(\0132*.eu.dnetlib.data." +
- "proto.ProjectOrganization\022E\n\022resultOrgan" +
- "ization\030\n \001(\0132).eu.dnetlib.data.proto.Re" +
- "sultOrganization\022;\n\rresultProject\030\013 \001(\0132" +
- "$.eu.dnetlib.data.proto.ResultProject\0229\n" +
- "\014resultResult\030\020 \001(\0132#.eu.dnetlib.data.pr" +
- "oto.ResultResult\022Q\n\030organizationOrganiza",
- "tion\030\021 \001(\0132/.eu.dnetlib.data.proto.Organ" +
- "izationOrganization\0226\n\rcollectedfrom\030\025 \003" +
- "(\0132\037.eu.dnetlib.data.proto.KeyValueB\"\n\025e" +
- "u.dnetlib.data.protoB\tOafProtos"
- };
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- internal_static_eu_dnetlib_data_proto_Oaf_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_eu_dnetlib_data_proto_Oaf_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_Oaf_descriptor,
- new java.lang.String[] { "Kind", "Entity", "Rel", "DataInfo", "Lastupdatetimestamp", },
- eu.dnetlib.data.proto.OafProtos.Oaf.class,
- eu.dnetlib.data.proto.OafProtos.Oaf.Builder.class);
- internal_static_eu_dnetlib_data_proto_OafEntity_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_eu_dnetlib_data_proto_OafEntity_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_OafEntity_descriptor,
- new java.lang.String[] { "Type", "Id", "OriginalId", "Collectedfrom", "Pid", "Dateofcollection", "Dateoftransformation", "CachedRel", "CachedOafRel", "Datasource", "Organization", "Project", "Result", "Person", "Children", "ExtraInfo", "Oaiprovenance", },
- eu.dnetlib.data.proto.OafProtos.OafEntity.class,
- eu.dnetlib.data.proto.OafProtos.OafEntity.Builder.class);
- internal_static_eu_dnetlib_data_proto_OafRel_descriptor =
- getDescriptor().getMessageTypes().get(2);
- internal_static_eu_dnetlib_data_proto_OafRel_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_OafRel_descriptor,
- new java.lang.String[] { "RelType", "SubRelType", "RelClass", "Source", "Target", "Child", "CachedTarget", "CachedOafTarget", "DatasourceOrganization", "ProjectOrganization", "ResultOrganization", "ResultProject", "ResultResult", "OrganizationOrganization", "Collectedfrom", },
- eu.dnetlib.data.proto.OafProtos.OafRel.class,
- eu.dnetlib.data.proto.OafProtos.OafRel.Builder.class);
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- eu.dnetlib.data.proto.KindProtos.getDescriptor(),
- eu.dnetlib.data.proto.FieldTypeProtos.getDescriptor(),
- eu.dnetlib.data.proto.TypeProtos.getDescriptor(),
- eu.dnetlib.data.proto.DatasourceProtos.getDescriptor(),
- eu.dnetlib.data.proto.OrganizationProtos.getDescriptor(),
- eu.dnetlib.data.proto.ProjectProtos.getDescriptor(),
- eu.dnetlib.data.proto.ResultProtos.getDescriptor(),
- eu.dnetlib.data.proto.PersonProtos.getDescriptor(),
- eu.dnetlib.data.proto.RelTypeProtos.getDescriptor(),
- eu.dnetlib.data.proto.DatasourceOrganizationProtos.getDescriptor(),
- eu.dnetlib.data.proto.ProjectOrganizationProtos.getDescriptor(),
- eu.dnetlib.data.proto.ResultOrganizationProtos.getDescriptor(),
- eu.dnetlib.data.proto.ResultProjectProtos.getDescriptor(),
- eu.dnetlib.data.proto.ResultResultProtos.getDescriptor(),
- eu.dnetlib.data.proto.OrganizationOrganizationProtos.getDescriptor(),
- }, assigner);
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/OrganizationOrganizationProtos.java b/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/OrganizationOrganizationProtos.java
deleted file mode 100644
index b04807eb1..000000000
--- a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/OrganizationOrganizationProtos.java
+++ /dev/null
@@ -1,651 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: Organization_Organization.proto
-
-package eu.dnetlib.data.proto;
-
-public final class OrganizationOrganizationProtos {
- private OrganizationOrganizationProtos() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- }
- public interface OrganizationOrganizationOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional .eu.dnetlib.data.proto.Dedup dedup = 1;
- boolean hasDedup();
- eu.dnetlib.data.proto.DedupProtos.Dedup getDedup();
- eu.dnetlib.data.proto.DedupProtos.DedupOrBuilder getDedupOrBuilder();
-
- // optional .eu.dnetlib.data.proto.DedupSimilarity dedupSimilarity = 2;
- boolean hasDedupSimilarity();
- eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity getDedupSimilarity();
- eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarityOrBuilder getDedupSimilarityOrBuilder();
- }
- public static final class OrganizationOrganization extends
- com.google.protobuf.GeneratedMessage
- implements OrganizationOrganizationOrBuilder {
- // Use OrganizationOrganization.newBuilder() to construct.
- private OrganizationOrganization(Builder builder) {
- super(builder);
- }
- private OrganizationOrganization(boolean noInit) {}
-
- private static final OrganizationOrganization defaultInstance;
- public static OrganizationOrganization getDefaultInstance() {
- return defaultInstance;
- }
-
- public OrganizationOrganization getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.OrganizationOrganizationProtos.internal_static_eu_dnetlib_data_proto_OrganizationOrganization_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.OrganizationOrganizationProtos.internal_static_eu_dnetlib_data_proto_OrganizationOrganization_fieldAccessorTable;
- }
-
- private int bitField0_;
- // optional .eu.dnetlib.data.proto.Dedup dedup = 1;
- public static final int DEDUP_FIELD_NUMBER = 1;
- private eu.dnetlib.data.proto.DedupProtos.Dedup dedup_;
- public boolean hasDedup() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.DedupProtos.Dedup getDedup() {
- return dedup_;
- }
- public eu.dnetlib.data.proto.DedupProtos.DedupOrBuilder getDedupOrBuilder() {
- return dedup_;
- }
-
- // optional .eu.dnetlib.data.proto.DedupSimilarity dedupSimilarity = 2;
- public static final int DEDUPSIMILARITY_FIELD_NUMBER = 2;
- private eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity dedupSimilarity_;
- public boolean hasDedupSimilarity() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity getDedupSimilarity() {
- return dedupSimilarity_;
- }
- public eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarityOrBuilder getDedupSimilarityOrBuilder() {
- return dedupSimilarity_;
- }
-
- private void initFields() {
- dedup_ = eu.dnetlib.data.proto.DedupProtos.Dedup.getDefaultInstance();
- dedupSimilarity_ = eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (hasDedup()) {
- if (!getDedup().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasDedupSimilarity()) {
- if (!getDedupSimilarity().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeMessage(1, dedup_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeMessage(2, dedupSimilarity_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, dedup_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, dedupSimilarity_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganizationOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.OrganizationOrganizationProtos.internal_static_eu_dnetlib_data_proto_OrganizationOrganization_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.OrganizationOrganizationProtos.internal_static_eu_dnetlib_data_proto_OrganizationOrganization_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getDedupFieldBuilder();
- getDedupSimilarityFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- if (dedupBuilder_ == null) {
- dedup_ = eu.dnetlib.data.proto.DedupProtos.Dedup.getDefaultInstance();
- } else {
- dedupBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- if (dedupSimilarityBuilder_ == null) {
- dedupSimilarity_ = eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity.getDefaultInstance();
- } else {
- dedupSimilarityBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000002);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization build() {
- eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization buildPartial() {
- eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization result = new eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- if (dedupBuilder_ == null) {
- result.dedup_ = dedup_;
- } else {
- result.dedup_ = dedupBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- if (dedupSimilarityBuilder_ == null) {
- result.dedupSimilarity_ = dedupSimilarity_;
- } else {
- result.dedupSimilarity_ = dedupSimilarityBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization) {
- return mergeFrom((eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization other) {
- if (other == eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization.getDefaultInstance()) return this;
- if (other.hasDedup()) {
- mergeDedup(other.getDedup());
- }
- if (other.hasDedupSimilarity()) {
- mergeDedupSimilarity(other.getDedupSimilarity());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (hasDedup()) {
- if (!getDedup().isInitialized()) {
-
- return false;
- }
- }
- if (hasDedupSimilarity()) {
- if (!getDedupSimilarity().isInitialized()) {
-
- return false;
- }
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 10: {
- eu.dnetlib.data.proto.DedupProtos.Dedup.Builder subBuilder = eu.dnetlib.data.proto.DedupProtos.Dedup.newBuilder();
- if (hasDedup()) {
- subBuilder.mergeFrom(getDedup());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setDedup(subBuilder.buildPartial());
- break;
- }
- case 18: {
- eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity.Builder subBuilder = eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity.newBuilder();
- if (hasDedupSimilarity()) {
- subBuilder.mergeFrom(getDedupSimilarity());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setDedupSimilarity(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // optional .eu.dnetlib.data.proto.Dedup dedup = 1;
- private eu.dnetlib.data.proto.DedupProtos.Dedup dedup_ = eu.dnetlib.data.proto.DedupProtos.Dedup.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.DedupProtos.Dedup, eu.dnetlib.data.proto.DedupProtos.Dedup.Builder, eu.dnetlib.data.proto.DedupProtos.DedupOrBuilder> dedupBuilder_;
- public boolean hasDedup() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.DedupProtos.Dedup getDedup() {
- if (dedupBuilder_ == null) {
- return dedup_;
- } else {
- return dedupBuilder_.getMessage();
- }
- }
- public Builder setDedup(eu.dnetlib.data.proto.DedupProtos.Dedup value) {
- if (dedupBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- dedup_ = value;
- onChanged();
- } else {
- dedupBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder setDedup(
- eu.dnetlib.data.proto.DedupProtos.Dedup.Builder builderForValue) {
- if (dedupBuilder_ == null) {
- dedup_ = builderForValue.build();
- onChanged();
- } else {
- dedupBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder mergeDedup(eu.dnetlib.data.proto.DedupProtos.Dedup value) {
- if (dedupBuilder_ == null) {
- if (((bitField0_ & 0x00000001) == 0x00000001) &&
- dedup_ != eu.dnetlib.data.proto.DedupProtos.Dedup.getDefaultInstance()) {
- dedup_ =
- eu.dnetlib.data.proto.DedupProtos.Dedup.newBuilder(dedup_).mergeFrom(value).buildPartial();
- } else {
- dedup_ = value;
- }
- onChanged();
- } else {
- dedupBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder clearDedup() {
- if (dedupBuilder_ == null) {
- dedup_ = eu.dnetlib.data.proto.DedupProtos.Dedup.getDefaultInstance();
- onChanged();
- } else {
- dedupBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
- public eu.dnetlib.data.proto.DedupProtos.Dedup.Builder getDedupBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return getDedupFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.DedupProtos.DedupOrBuilder getDedupOrBuilder() {
- if (dedupBuilder_ != null) {
- return dedupBuilder_.getMessageOrBuilder();
- } else {
- return dedup_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.DedupProtos.Dedup, eu.dnetlib.data.proto.DedupProtos.Dedup.Builder, eu.dnetlib.data.proto.DedupProtos.DedupOrBuilder>
- getDedupFieldBuilder() {
- if (dedupBuilder_ == null) {
- dedupBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.DedupProtos.Dedup, eu.dnetlib.data.proto.DedupProtos.Dedup.Builder, eu.dnetlib.data.proto.DedupProtos.DedupOrBuilder>(
- dedup_,
- getParentForChildren(),
- isClean());
- dedup_ = null;
- }
- return dedupBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.DedupSimilarity dedupSimilarity = 2;
- private eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity dedupSimilarity_ = eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity, eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity.Builder, eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarityOrBuilder> dedupSimilarityBuilder_;
- public boolean hasDedupSimilarity() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity getDedupSimilarity() {
- if (dedupSimilarityBuilder_ == null) {
- return dedupSimilarity_;
- } else {
- return dedupSimilarityBuilder_.getMessage();
- }
- }
- public Builder setDedupSimilarity(eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity value) {
- if (dedupSimilarityBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- dedupSimilarity_ = value;
- onChanged();
- } else {
- dedupSimilarityBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder setDedupSimilarity(
- eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity.Builder builderForValue) {
- if (dedupSimilarityBuilder_ == null) {
- dedupSimilarity_ = builderForValue.build();
- onChanged();
- } else {
- dedupSimilarityBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder mergeDedupSimilarity(eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity value) {
- if (dedupSimilarityBuilder_ == null) {
- if (((bitField0_ & 0x00000002) == 0x00000002) &&
- dedupSimilarity_ != eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity.getDefaultInstance()) {
- dedupSimilarity_ =
- eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity.newBuilder(dedupSimilarity_).mergeFrom(value).buildPartial();
- } else {
- dedupSimilarity_ = value;
- }
- onChanged();
- } else {
- dedupSimilarityBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder clearDedupSimilarity() {
- if (dedupSimilarityBuilder_ == null) {
- dedupSimilarity_ = eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity.getDefaultInstance();
- onChanged();
- } else {
- dedupSimilarityBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000002);
- return this;
- }
- public eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity.Builder getDedupSimilarityBuilder() {
- bitField0_ |= 0x00000002;
- onChanged();
- return getDedupSimilarityFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarityOrBuilder getDedupSimilarityOrBuilder() {
- if (dedupSimilarityBuilder_ != null) {
- return dedupSimilarityBuilder_.getMessageOrBuilder();
- } else {
- return dedupSimilarity_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity, eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity.Builder, eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarityOrBuilder>
- getDedupSimilarityFieldBuilder() {
- if (dedupSimilarityBuilder_ == null) {
- dedupSimilarityBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity, eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarity.Builder, eu.dnetlib.data.proto.DedupSimilarityProtos.DedupSimilarityOrBuilder>(
- dedupSimilarity_,
- getParentForChildren(),
- isClean());
- dedupSimilarity_ = null;
- }
- return dedupSimilarityBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.OrganizationOrganization)
- }
-
- static {
- defaultInstance = new OrganizationOrganization(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.OrganizationOrganization)
- }
-
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_OrganizationOrganization_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_OrganizationOrganization_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
- return descriptor;
- }
- private static com.google.protobuf.Descriptors.FileDescriptor
- descriptor;
- static {
- java.lang.String[] descriptorData = {
- "\n\037Organization_Organization.proto\022\025eu.dn" +
- "etlib.data.proto\032\021RelMetadata.proto\032\013Ded" +
- "up.proto\032\025DedupSimilarity.proto\"\210\001\n\030Orga" +
- "nizationOrganization\022+\n\005dedup\030\001 \001(\0132\034.eu" +
- ".dnetlib.data.proto.Dedup\022?\n\017dedupSimila" +
- "rity\030\002 \001(\0132&.eu.dnetlib.data.proto.Dedup" +
- "SimilarityB7\n\025eu.dnetlib.data.protoB\036Org" +
- "anizationOrganizationProtos"
- };
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- internal_static_eu_dnetlib_data_proto_OrganizationOrganization_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_eu_dnetlib_data_proto_OrganizationOrganization_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_OrganizationOrganization_descriptor,
- new java.lang.String[] { "Dedup", "DedupSimilarity", },
- eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization.class,
- eu.dnetlib.data.proto.OrganizationOrganizationProtos.OrganizationOrganization.Builder.class);
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- eu.dnetlib.data.proto.RelMetadataProtos.getDescriptor(),
- eu.dnetlib.data.proto.DedupProtos.getDescriptor(),
- eu.dnetlib.data.proto.DedupSimilarityProtos.getDescriptor(),
- }, assigner);
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/OrganizationProtos.java b/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/OrganizationProtos.java
deleted file mode 100644
index 2b27423a0..000000000
--- a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/OrganizationProtos.java
+++ /dev/null
@@ -1,3420 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: Organization.proto
-
-package eu.dnetlib.data.proto;
-
-public final class OrganizationProtos {
- private OrganizationProtos() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- }
- public interface OrganizationOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional .eu.dnetlib.data.proto.Organization.Metadata metadata = 2;
- boolean hasMetadata();
- eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata getMetadata();
- eu.dnetlib.data.proto.OrganizationProtos.Organization.MetadataOrBuilder getMetadataOrBuilder();
- }
- public static final class Organization extends
- com.google.protobuf.GeneratedMessage
- implements OrganizationOrBuilder {
- // Use Organization.newBuilder() to construct.
- private Organization(Builder builder) {
- super(builder);
- }
- private Organization(boolean noInit) {}
-
- private static final Organization defaultInstance;
- public static Organization getDefaultInstance() {
- return defaultInstance;
- }
-
- public Organization getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.OrganizationProtos.internal_static_eu_dnetlib_data_proto_Organization_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.OrganizationProtos.internal_static_eu_dnetlib_data_proto_Organization_fieldAccessorTable;
- }
-
- public interface MetadataOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional .eu.dnetlib.data.proto.StringField legalshortname = 1;
- boolean hasLegalshortname();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getLegalshortname();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getLegalshortnameOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField legalname = 2;
- boolean hasLegalname();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getLegalname();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getLegalnameOrBuilder();
-
- // repeated .eu.dnetlib.data.proto.StringField alternativeNames = 17;
- java.util.List
- getAlternativeNamesList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getAlternativeNames(int index);
- int getAlternativeNamesCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getAlternativeNamesOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getAlternativeNamesOrBuilder(
- int index);
-
- // optional .eu.dnetlib.data.proto.StringField websiteurl = 3;
- boolean hasWebsiteurl();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getWebsiteurl();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getWebsiteurlOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField logourl = 4;
- boolean hasLogourl();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getLogourl();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getLogourlOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField eclegalbody = 5;
- boolean hasEclegalbody();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getEclegalbody();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEclegalbodyOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField eclegalperson = 6;
- boolean hasEclegalperson();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getEclegalperson();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEclegalpersonOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField ecnonprofit = 7;
- boolean hasEcnonprofit();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcnonprofit();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcnonprofitOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField ecresearchorganization = 8;
- boolean hasEcresearchorganization();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcresearchorganization();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcresearchorganizationOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField echighereducation = 9;
- boolean hasEchighereducation();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getEchighereducation();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEchighereducationOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField ecinternationalorganizationeurinterests = 10;
- boolean hasEcinternationalorganizationeurinterests();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcinternationalorganizationeurinterests();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcinternationalorganizationeurinterestsOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField ecinternationalorganization = 11;
- boolean hasEcinternationalorganization();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcinternationalorganization();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcinternationalorganizationOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField ecenterprise = 12;
- boolean hasEcenterprise();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcenterprise();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcenterpriseOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField ecsmevalidated = 13;
- boolean hasEcsmevalidated();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcsmevalidated();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcsmevalidatedOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField ecnutscode = 14;
- boolean hasEcnutscode();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcnutscode();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcnutscodeOrBuilder();
-
- // optional .eu.dnetlib.data.proto.Qualifier country = 16;
- boolean hasCountry();
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getCountry();
- eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getCountryOrBuilder();
- }
- public static final class Metadata extends
- com.google.protobuf.GeneratedMessage
- implements MetadataOrBuilder {
- // Use Metadata.newBuilder() to construct.
- private Metadata(Builder builder) {
- super(builder);
- }
- private Metadata(boolean noInit) {}
-
- private static final Metadata defaultInstance;
- public static Metadata getDefaultInstance() {
- return defaultInstance;
- }
-
- public Metadata getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.OrganizationProtos.internal_static_eu_dnetlib_data_proto_Organization_Metadata_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.OrganizationProtos.internal_static_eu_dnetlib_data_proto_Organization_Metadata_fieldAccessorTable;
- }
-
- private int bitField0_;
- // optional .eu.dnetlib.data.proto.StringField legalshortname = 1;
- public static final int LEGALSHORTNAME_FIELD_NUMBER = 1;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField legalshortname_;
- public boolean hasLegalshortname() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getLegalshortname() {
- return legalshortname_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getLegalshortnameOrBuilder() {
- return legalshortname_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField legalname = 2;
- public static final int LEGALNAME_FIELD_NUMBER = 2;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField legalname_;
- public boolean hasLegalname() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getLegalname() {
- return legalname_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getLegalnameOrBuilder() {
- return legalname_;
- }
-
- // repeated .eu.dnetlib.data.proto.StringField alternativeNames = 17;
- public static final int ALTERNATIVENAMES_FIELD_NUMBER = 17;
- private java.util.List alternativeNames_;
- public java.util.List getAlternativeNamesList() {
- return alternativeNames_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getAlternativeNamesOrBuilderList() {
- return alternativeNames_;
- }
- public int getAlternativeNamesCount() {
- return alternativeNames_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getAlternativeNames(int index) {
- return alternativeNames_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getAlternativeNamesOrBuilder(
- int index) {
- return alternativeNames_.get(index);
- }
-
- // optional .eu.dnetlib.data.proto.StringField websiteurl = 3;
- public static final int WEBSITEURL_FIELD_NUMBER = 3;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField websiteurl_;
- public boolean hasWebsiteurl() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getWebsiteurl() {
- return websiteurl_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getWebsiteurlOrBuilder() {
- return websiteurl_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField logourl = 4;
- public static final int LOGOURL_FIELD_NUMBER = 4;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField logourl_;
- public boolean hasLogourl() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getLogourl() {
- return logourl_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getLogourlOrBuilder() {
- return logourl_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField eclegalbody = 5;
- public static final int ECLEGALBODY_FIELD_NUMBER = 5;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField eclegalbody_;
- public boolean hasEclegalbody() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEclegalbody() {
- return eclegalbody_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEclegalbodyOrBuilder() {
- return eclegalbody_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField eclegalperson = 6;
- public static final int ECLEGALPERSON_FIELD_NUMBER = 6;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField eclegalperson_;
- public boolean hasEclegalperson() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEclegalperson() {
- return eclegalperson_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEclegalpersonOrBuilder() {
- return eclegalperson_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField ecnonprofit = 7;
- public static final int ECNONPROFIT_FIELD_NUMBER = 7;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField ecnonprofit_;
- public boolean hasEcnonprofit() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcnonprofit() {
- return ecnonprofit_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcnonprofitOrBuilder() {
- return ecnonprofit_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField ecresearchorganization = 8;
- public static final int ECRESEARCHORGANIZATION_FIELD_NUMBER = 8;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField ecresearchorganization_;
- public boolean hasEcresearchorganization() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcresearchorganization() {
- return ecresearchorganization_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcresearchorganizationOrBuilder() {
- return ecresearchorganization_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField echighereducation = 9;
- public static final int ECHIGHEREDUCATION_FIELD_NUMBER = 9;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField echighereducation_;
- public boolean hasEchighereducation() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEchighereducation() {
- return echighereducation_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEchighereducationOrBuilder() {
- return echighereducation_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField ecinternationalorganizationeurinterests = 10;
- public static final int ECINTERNATIONALORGANIZATIONEURINTERESTS_FIELD_NUMBER = 10;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField ecinternationalorganizationeurinterests_;
- public boolean hasEcinternationalorganizationeurinterests() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcinternationalorganizationeurinterests() {
- return ecinternationalorganizationeurinterests_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcinternationalorganizationeurinterestsOrBuilder() {
- return ecinternationalorganizationeurinterests_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField ecinternationalorganization = 11;
- public static final int ECINTERNATIONALORGANIZATION_FIELD_NUMBER = 11;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField ecinternationalorganization_;
- public boolean hasEcinternationalorganization() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcinternationalorganization() {
- return ecinternationalorganization_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcinternationalorganizationOrBuilder() {
- return ecinternationalorganization_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField ecenterprise = 12;
- public static final int ECENTERPRISE_FIELD_NUMBER = 12;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField ecenterprise_;
- public boolean hasEcenterprise() {
- return ((bitField0_ & 0x00000800) == 0x00000800);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcenterprise() {
- return ecenterprise_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcenterpriseOrBuilder() {
- return ecenterprise_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField ecsmevalidated = 13;
- public static final int ECSMEVALIDATED_FIELD_NUMBER = 13;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField ecsmevalidated_;
- public boolean hasEcsmevalidated() {
- return ((bitField0_ & 0x00001000) == 0x00001000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcsmevalidated() {
- return ecsmevalidated_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcsmevalidatedOrBuilder() {
- return ecsmevalidated_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField ecnutscode = 14;
- public static final int ECNUTSCODE_FIELD_NUMBER = 14;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField ecnutscode_;
- public boolean hasEcnutscode() {
- return ((bitField0_ & 0x00002000) == 0x00002000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcnutscode() {
- return ecnutscode_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcnutscodeOrBuilder() {
- return ecnutscode_;
- }
-
- // optional .eu.dnetlib.data.proto.Qualifier country = 16;
- public static final int COUNTRY_FIELD_NUMBER = 16;
- private eu.dnetlib.data.proto.FieldTypeProtos.Qualifier country_;
- public boolean hasCountry() {
- return ((bitField0_ & 0x00004000) == 0x00004000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getCountry() {
- return country_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getCountryOrBuilder() {
- return country_;
- }
-
- private void initFields() {
- legalshortname_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- legalname_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- alternativeNames_ = java.util.Collections.emptyList();
- websiteurl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- logourl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- eclegalbody_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- eclegalperson_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- ecnonprofit_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- ecresearchorganization_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- echighereducation_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- ecinternationalorganizationeurinterests_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- ecinternationalorganization_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- ecenterprise_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- ecsmevalidated_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- ecnutscode_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- country_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (hasLegalshortname()) {
- if (!getLegalshortname().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasLegalname()) {
- if (!getLegalname().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getAlternativeNamesCount(); i++) {
- if (!getAlternativeNames(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasWebsiteurl()) {
- if (!getWebsiteurl().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasLogourl()) {
- if (!getLogourl().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasEclegalbody()) {
- if (!getEclegalbody().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasEclegalperson()) {
- if (!getEclegalperson().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasEcnonprofit()) {
- if (!getEcnonprofit().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasEcresearchorganization()) {
- if (!getEcresearchorganization().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasEchighereducation()) {
- if (!getEchighereducation().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasEcinternationalorganizationeurinterests()) {
- if (!getEcinternationalorganizationeurinterests().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasEcinternationalorganization()) {
- if (!getEcinternationalorganization().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasEcenterprise()) {
- if (!getEcenterprise().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasEcsmevalidated()) {
- if (!getEcsmevalidated().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasEcnutscode()) {
- if (!getEcnutscode().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasCountry()) {
- if (!getCountry().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeMessage(1, legalshortname_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeMessage(2, legalname_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeMessage(3, websiteurl_);
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- output.writeMessage(4, logourl_);
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- output.writeMessage(5, eclegalbody_);
- }
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- output.writeMessage(6, eclegalperson_);
- }
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
- output.writeMessage(7, ecnonprofit_);
- }
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
- output.writeMessage(8, ecresearchorganization_);
- }
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
- output.writeMessage(9, echighereducation_);
- }
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
- output.writeMessage(10, ecinternationalorganizationeurinterests_);
- }
- if (((bitField0_ & 0x00000400) == 0x00000400)) {
- output.writeMessage(11, ecinternationalorganization_);
- }
- if (((bitField0_ & 0x00000800) == 0x00000800)) {
- output.writeMessage(12, ecenterprise_);
- }
- if (((bitField0_ & 0x00001000) == 0x00001000)) {
- output.writeMessage(13, ecsmevalidated_);
- }
- if (((bitField0_ & 0x00002000) == 0x00002000)) {
- output.writeMessage(14, ecnutscode_);
- }
- if (((bitField0_ & 0x00004000) == 0x00004000)) {
- output.writeMessage(16, country_);
- }
- for (int i = 0; i < alternativeNames_.size(); i++) {
- output.writeMessage(17, alternativeNames_.get(i));
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, legalshortname_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, legalname_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, websiteurl_);
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(4, logourl_);
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(5, eclegalbody_);
- }
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(6, eclegalperson_);
- }
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(7, ecnonprofit_);
- }
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(8, ecresearchorganization_);
- }
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(9, echighereducation_);
- }
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(10, ecinternationalorganizationeurinterests_);
- }
- if (((bitField0_ & 0x00000400) == 0x00000400)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(11, ecinternationalorganization_);
- }
- if (((bitField0_ & 0x00000800) == 0x00000800)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(12, ecenterprise_);
- }
- if (((bitField0_ & 0x00001000) == 0x00001000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(13, ecsmevalidated_);
- }
- if (((bitField0_ & 0x00002000) == 0x00002000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(14, ecnutscode_);
- }
- if (((bitField0_ & 0x00004000) == 0x00004000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(16, country_);
- }
- for (int i = 0; i < alternativeNames_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(17, alternativeNames_.get(i));
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.OrganizationProtos.Organization.MetadataOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.OrganizationProtos.internal_static_eu_dnetlib_data_proto_Organization_Metadata_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.OrganizationProtos.internal_static_eu_dnetlib_data_proto_Organization_Metadata_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getLegalshortnameFieldBuilder();
- getLegalnameFieldBuilder();
- getAlternativeNamesFieldBuilder();
- getWebsiteurlFieldBuilder();
- getLogourlFieldBuilder();
- getEclegalbodyFieldBuilder();
- getEclegalpersonFieldBuilder();
- getEcnonprofitFieldBuilder();
- getEcresearchorganizationFieldBuilder();
- getEchighereducationFieldBuilder();
- getEcinternationalorganizationeurinterestsFieldBuilder();
- getEcinternationalorganizationFieldBuilder();
- getEcenterpriseFieldBuilder();
- getEcsmevalidatedFieldBuilder();
- getEcnutscodeFieldBuilder();
- getCountryFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- if (legalshortnameBuilder_ == null) {
- legalshortname_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- legalshortnameBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- if (legalnameBuilder_ == null) {
- legalname_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- legalnameBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000002);
- if (alternativeNamesBuilder_ == null) {
- alternativeNames_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
- } else {
- alternativeNamesBuilder_.clear();
- }
- if (websiteurlBuilder_ == null) {
- websiteurl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- websiteurlBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000008);
- if (logourlBuilder_ == null) {
- logourl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- logourlBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000010);
- if (eclegalbodyBuilder_ == null) {
- eclegalbody_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- eclegalbodyBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000020);
- if (eclegalpersonBuilder_ == null) {
- eclegalperson_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- eclegalpersonBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000040);
- if (ecnonprofitBuilder_ == null) {
- ecnonprofit_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- ecnonprofitBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000080);
- if (ecresearchorganizationBuilder_ == null) {
- ecresearchorganization_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- ecresearchorganizationBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000100);
- if (echighereducationBuilder_ == null) {
- echighereducation_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- echighereducationBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000200);
- if (ecinternationalorganizationeurinterestsBuilder_ == null) {
- ecinternationalorganizationeurinterests_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- ecinternationalorganizationeurinterestsBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000400);
- if (ecinternationalorganizationBuilder_ == null) {
- ecinternationalorganization_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- ecinternationalorganizationBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000800);
- if (ecenterpriseBuilder_ == null) {
- ecenterprise_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- ecenterpriseBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00001000);
- if (ecsmevalidatedBuilder_ == null) {
- ecsmevalidated_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- ecsmevalidatedBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00002000);
- if (ecnutscodeBuilder_ == null) {
- ecnutscode_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- ecnutscodeBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00004000);
- if (countryBuilder_ == null) {
- country_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- } else {
- countryBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00008000);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata build() {
- eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata buildPartial() {
- eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata result = new eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- if (legalshortnameBuilder_ == null) {
- result.legalshortname_ = legalshortname_;
- } else {
- result.legalshortname_ = legalshortnameBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- if (legalnameBuilder_ == null) {
- result.legalname_ = legalname_;
- } else {
- result.legalname_ = legalnameBuilder_.build();
- }
- if (alternativeNamesBuilder_ == null) {
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- alternativeNames_ = java.util.Collections.unmodifiableList(alternativeNames_);
- bitField0_ = (bitField0_ & ~0x00000004);
- }
- result.alternativeNames_ = alternativeNames_;
- } else {
- result.alternativeNames_ = alternativeNamesBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
- to_bitField0_ |= 0x00000004;
- }
- if (websiteurlBuilder_ == null) {
- result.websiteurl_ = websiteurl_;
- } else {
- result.websiteurl_ = websiteurlBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
- to_bitField0_ |= 0x00000008;
- }
- if (logourlBuilder_ == null) {
- result.logourl_ = logourl_;
- } else {
- result.logourl_ = logourlBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
- to_bitField0_ |= 0x00000010;
- }
- if (eclegalbodyBuilder_ == null) {
- result.eclegalbody_ = eclegalbody_;
- } else {
- result.eclegalbody_ = eclegalbodyBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
- to_bitField0_ |= 0x00000020;
- }
- if (eclegalpersonBuilder_ == null) {
- result.eclegalperson_ = eclegalperson_;
- } else {
- result.eclegalperson_ = eclegalpersonBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
- to_bitField0_ |= 0x00000040;
- }
- if (ecnonprofitBuilder_ == null) {
- result.ecnonprofit_ = ecnonprofit_;
- } else {
- result.ecnonprofit_ = ecnonprofitBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
- to_bitField0_ |= 0x00000080;
- }
- if (ecresearchorganizationBuilder_ == null) {
- result.ecresearchorganization_ = ecresearchorganization_;
- } else {
- result.ecresearchorganization_ = ecresearchorganizationBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
- to_bitField0_ |= 0x00000100;
- }
- if (echighereducationBuilder_ == null) {
- result.echighereducation_ = echighereducation_;
- } else {
- result.echighereducation_ = echighereducationBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
- to_bitField0_ |= 0x00000200;
- }
- if (ecinternationalorganizationeurinterestsBuilder_ == null) {
- result.ecinternationalorganizationeurinterests_ = ecinternationalorganizationeurinterests_;
- } else {
- result.ecinternationalorganizationeurinterests_ = ecinternationalorganizationeurinterestsBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
- to_bitField0_ |= 0x00000400;
- }
- if (ecinternationalorganizationBuilder_ == null) {
- result.ecinternationalorganization_ = ecinternationalorganization_;
- } else {
- result.ecinternationalorganization_ = ecinternationalorganizationBuilder_.build();
- }
- if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
- to_bitField0_ |= 0x00000800;
- }
- if (ecenterpriseBuilder_ == null) {
- result.ecenterprise_ = ecenterprise_;
- } else {
- result.ecenterprise_ = ecenterpriseBuilder_.build();
- }
- if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
- to_bitField0_ |= 0x00001000;
- }
- if (ecsmevalidatedBuilder_ == null) {
- result.ecsmevalidated_ = ecsmevalidated_;
- } else {
- result.ecsmevalidated_ = ecsmevalidatedBuilder_.build();
- }
- if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
- to_bitField0_ |= 0x00002000;
- }
- if (ecnutscodeBuilder_ == null) {
- result.ecnutscode_ = ecnutscode_;
- } else {
- result.ecnutscode_ = ecnutscodeBuilder_.build();
- }
- if (((from_bitField0_ & 0x00008000) == 0x00008000)) {
- to_bitField0_ |= 0x00004000;
- }
- if (countryBuilder_ == null) {
- result.country_ = country_;
- } else {
- result.country_ = countryBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata) {
- return mergeFrom((eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata other) {
- if (other == eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata.getDefaultInstance()) return this;
- if (other.hasLegalshortname()) {
- mergeLegalshortname(other.getLegalshortname());
- }
- if (other.hasLegalname()) {
- mergeLegalname(other.getLegalname());
- }
- if (alternativeNamesBuilder_ == null) {
- if (!other.alternativeNames_.isEmpty()) {
- if (alternativeNames_.isEmpty()) {
- alternativeNames_ = other.alternativeNames_;
- bitField0_ = (bitField0_ & ~0x00000004);
- } else {
- ensureAlternativeNamesIsMutable();
- alternativeNames_.addAll(other.alternativeNames_);
- }
- onChanged();
- }
- } else {
- if (!other.alternativeNames_.isEmpty()) {
- if (alternativeNamesBuilder_.isEmpty()) {
- alternativeNamesBuilder_.dispose();
- alternativeNamesBuilder_ = null;
- alternativeNames_ = other.alternativeNames_;
- bitField0_ = (bitField0_ & ~0x00000004);
- alternativeNamesBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getAlternativeNamesFieldBuilder() : null;
- } else {
- alternativeNamesBuilder_.addAllMessages(other.alternativeNames_);
- }
- }
- }
- if (other.hasWebsiteurl()) {
- mergeWebsiteurl(other.getWebsiteurl());
- }
- if (other.hasLogourl()) {
- mergeLogourl(other.getLogourl());
- }
- if (other.hasEclegalbody()) {
- mergeEclegalbody(other.getEclegalbody());
- }
- if (other.hasEclegalperson()) {
- mergeEclegalperson(other.getEclegalperson());
- }
- if (other.hasEcnonprofit()) {
- mergeEcnonprofit(other.getEcnonprofit());
- }
- if (other.hasEcresearchorganization()) {
- mergeEcresearchorganization(other.getEcresearchorganization());
- }
- if (other.hasEchighereducation()) {
- mergeEchighereducation(other.getEchighereducation());
- }
- if (other.hasEcinternationalorganizationeurinterests()) {
- mergeEcinternationalorganizationeurinterests(other.getEcinternationalorganizationeurinterests());
- }
- if (other.hasEcinternationalorganization()) {
- mergeEcinternationalorganization(other.getEcinternationalorganization());
- }
- if (other.hasEcenterprise()) {
- mergeEcenterprise(other.getEcenterprise());
- }
- if (other.hasEcsmevalidated()) {
- mergeEcsmevalidated(other.getEcsmevalidated());
- }
- if (other.hasEcnutscode()) {
- mergeEcnutscode(other.getEcnutscode());
- }
- if (other.hasCountry()) {
- mergeCountry(other.getCountry());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (hasLegalshortname()) {
- if (!getLegalshortname().isInitialized()) {
-
- return false;
- }
- }
- if (hasLegalname()) {
- if (!getLegalname().isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getAlternativeNamesCount(); i++) {
- if (!getAlternativeNames(i).isInitialized()) {
-
- return false;
- }
- }
- if (hasWebsiteurl()) {
- if (!getWebsiteurl().isInitialized()) {
-
- return false;
- }
- }
- if (hasLogourl()) {
- if (!getLogourl().isInitialized()) {
-
- return false;
- }
- }
- if (hasEclegalbody()) {
- if (!getEclegalbody().isInitialized()) {
-
- return false;
- }
- }
- if (hasEclegalperson()) {
- if (!getEclegalperson().isInitialized()) {
-
- return false;
- }
- }
- if (hasEcnonprofit()) {
- if (!getEcnonprofit().isInitialized()) {
-
- return false;
- }
- }
- if (hasEcresearchorganization()) {
- if (!getEcresearchorganization().isInitialized()) {
-
- return false;
- }
- }
- if (hasEchighereducation()) {
- if (!getEchighereducation().isInitialized()) {
-
- return false;
- }
- }
- if (hasEcinternationalorganizationeurinterests()) {
- if (!getEcinternationalorganizationeurinterests().isInitialized()) {
-
- return false;
- }
- }
- if (hasEcinternationalorganization()) {
- if (!getEcinternationalorganization().isInitialized()) {
-
- return false;
- }
- }
- if (hasEcenterprise()) {
- if (!getEcenterprise().isInitialized()) {
-
- return false;
- }
- }
- if (hasEcsmevalidated()) {
- if (!getEcsmevalidated().isInitialized()) {
-
- return false;
- }
- }
- if (hasEcnutscode()) {
- if (!getEcnutscode().isInitialized()) {
-
- return false;
- }
- }
- if (hasCountry()) {
- if (!getCountry().isInitialized()) {
-
- return false;
- }
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 10: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasLegalshortname()) {
- subBuilder.mergeFrom(getLegalshortname());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setLegalshortname(subBuilder.buildPartial());
- break;
- }
- case 18: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasLegalname()) {
- subBuilder.mergeFrom(getLegalname());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setLegalname(subBuilder.buildPartial());
- break;
- }
- case 26: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasWebsiteurl()) {
- subBuilder.mergeFrom(getWebsiteurl());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setWebsiteurl(subBuilder.buildPartial());
- break;
- }
- case 34: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasLogourl()) {
- subBuilder.mergeFrom(getLogourl());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setLogourl(subBuilder.buildPartial());
- break;
- }
- case 42: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasEclegalbody()) {
- subBuilder.mergeFrom(getEclegalbody());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setEclegalbody(subBuilder.buildPartial());
- break;
- }
- case 50: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasEclegalperson()) {
- subBuilder.mergeFrom(getEclegalperson());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setEclegalperson(subBuilder.buildPartial());
- break;
- }
- case 58: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasEcnonprofit()) {
- subBuilder.mergeFrom(getEcnonprofit());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setEcnonprofit(subBuilder.buildPartial());
- break;
- }
- case 66: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasEcresearchorganization()) {
- subBuilder.mergeFrom(getEcresearchorganization());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setEcresearchorganization(subBuilder.buildPartial());
- break;
- }
- case 74: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasEchighereducation()) {
- subBuilder.mergeFrom(getEchighereducation());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setEchighereducation(subBuilder.buildPartial());
- break;
- }
- case 82: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasEcinternationalorganizationeurinterests()) {
- subBuilder.mergeFrom(getEcinternationalorganizationeurinterests());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setEcinternationalorganizationeurinterests(subBuilder.buildPartial());
- break;
- }
- case 90: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasEcinternationalorganization()) {
- subBuilder.mergeFrom(getEcinternationalorganization());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setEcinternationalorganization(subBuilder.buildPartial());
- break;
- }
- case 98: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasEcenterprise()) {
- subBuilder.mergeFrom(getEcenterprise());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setEcenterprise(subBuilder.buildPartial());
- break;
- }
- case 106: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasEcsmevalidated()) {
- subBuilder.mergeFrom(getEcsmevalidated());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setEcsmevalidated(subBuilder.buildPartial());
- break;
- }
- case 114: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasEcnutscode()) {
- subBuilder.mergeFrom(getEcnutscode());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setEcnutscode(subBuilder.buildPartial());
- break;
- }
- case 130: {
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.newBuilder();
- if (hasCountry()) {
- subBuilder.mergeFrom(getCountry());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setCountry(subBuilder.buildPartial());
- break;
- }
- case 138: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addAlternativeNames(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // optional .eu.dnetlib.data.proto.StringField legalshortname = 1;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField legalshortname_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> legalshortnameBuilder_;
- public boolean hasLegalshortname() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getLegalshortname() {
- if (legalshortnameBuilder_ == null) {
- return legalshortname_;
- } else {
- return legalshortnameBuilder_.getMessage();
- }
- }
- public Builder setLegalshortname(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (legalshortnameBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- legalshortname_ = value;
- onChanged();
- } else {
- legalshortnameBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder setLegalshortname(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (legalshortnameBuilder_ == null) {
- legalshortname_ = builderForValue.build();
- onChanged();
- } else {
- legalshortnameBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder mergeLegalshortname(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (legalshortnameBuilder_ == null) {
- if (((bitField0_ & 0x00000001) == 0x00000001) &&
- legalshortname_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- legalshortname_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(legalshortname_).mergeFrom(value).buildPartial();
- } else {
- legalshortname_ = value;
- }
- onChanged();
- } else {
- legalshortnameBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder clearLegalshortname() {
- if (legalshortnameBuilder_ == null) {
- legalshortname_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- legalshortnameBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getLegalshortnameBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return getLegalshortnameFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getLegalshortnameOrBuilder() {
- if (legalshortnameBuilder_ != null) {
- return legalshortnameBuilder_.getMessageOrBuilder();
- } else {
- return legalshortname_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getLegalshortnameFieldBuilder() {
- if (legalshortnameBuilder_ == null) {
- legalshortnameBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- legalshortname_,
- getParentForChildren(),
- isClean());
- legalshortname_ = null;
- }
- return legalshortnameBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField legalname = 2;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField legalname_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> legalnameBuilder_;
- public boolean hasLegalname() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getLegalname() {
- if (legalnameBuilder_ == null) {
- return legalname_;
- } else {
- return legalnameBuilder_.getMessage();
- }
- }
- public Builder setLegalname(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (legalnameBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- legalname_ = value;
- onChanged();
- } else {
- legalnameBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder setLegalname(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (legalnameBuilder_ == null) {
- legalname_ = builderForValue.build();
- onChanged();
- } else {
- legalnameBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder mergeLegalname(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (legalnameBuilder_ == null) {
- if (((bitField0_ & 0x00000002) == 0x00000002) &&
- legalname_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- legalname_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(legalname_).mergeFrom(value).buildPartial();
- } else {
- legalname_ = value;
- }
- onChanged();
- } else {
- legalnameBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder clearLegalname() {
- if (legalnameBuilder_ == null) {
- legalname_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- legalnameBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000002);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getLegalnameBuilder() {
- bitField0_ |= 0x00000002;
- onChanged();
- return getLegalnameFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getLegalnameOrBuilder() {
- if (legalnameBuilder_ != null) {
- return legalnameBuilder_.getMessageOrBuilder();
- } else {
- return legalname_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getLegalnameFieldBuilder() {
- if (legalnameBuilder_ == null) {
- legalnameBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- legalname_,
- getParentForChildren(),
- isClean());
- legalname_ = null;
- }
- return legalnameBuilder_;
- }
-
- // repeated .eu.dnetlib.data.proto.StringField alternativeNames = 17;
- private java.util.List alternativeNames_ =
- java.util.Collections.emptyList();
- private void ensureAlternativeNamesIsMutable() {
- if (!((bitField0_ & 0x00000004) == 0x00000004)) {
- alternativeNames_ = new java.util.ArrayList(alternativeNames_);
- bitField0_ |= 0x00000004;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> alternativeNamesBuilder_;
-
- public java.util.List getAlternativeNamesList() {
- if (alternativeNamesBuilder_ == null) {
- return java.util.Collections.unmodifiableList(alternativeNames_);
- } else {
- return alternativeNamesBuilder_.getMessageList();
- }
- }
- public int getAlternativeNamesCount() {
- if (alternativeNamesBuilder_ == null) {
- return alternativeNames_.size();
- } else {
- return alternativeNamesBuilder_.getCount();
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getAlternativeNames(int index) {
- if (alternativeNamesBuilder_ == null) {
- return alternativeNames_.get(index);
- } else {
- return alternativeNamesBuilder_.getMessage(index);
- }
- }
- public Builder setAlternativeNames(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (alternativeNamesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureAlternativeNamesIsMutable();
- alternativeNames_.set(index, value);
- onChanged();
- } else {
- alternativeNamesBuilder_.setMessage(index, value);
- }
- return this;
- }
- public Builder setAlternativeNames(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (alternativeNamesBuilder_ == null) {
- ensureAlternativeNamesIsMutable();
- alternativeNames_.set(index, builderForValue.build());
- onChanged();
- } else {
- alternativeNamesBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addAlternativeNames(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (alternativeNamesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureAlternativeNamesIsMutable();
- alternativeNames_.add(value);
- onChanged();
- } else {
- alternativeNamesBuilder_.addMessage(value);
- }
- return this;
- }
- public Builder addAlternativeNames(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (alternativeNamesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureAlternativeNamesIsMutable();
- alternativeNames_.add(index, value);
- onChanged();
- } else {
- alternativeNamesBuilder_.addMessage(index, value);
- }
- return this;
- }
- public Builder addAlternativeNames(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (alternativeNamesBuilder_ == null) {
- ensureAlternativeNamesIsMutable();
- alternativeNames_.add(builderForValue.build());
- onChanged();
- } else {
- alternativeNamesBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- public Builder addAlternativeNames(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (alternativeNamesBuilder_ == null) {
- ensureAlternativeNamesIsMutable();
- alternativeNames_.add(index, builderForValue.build());
- onChanged();
- } else {
- alternativeNamesBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addAllAlternativeNames(
- java.lang.Iterable extends eu.dnetlib.data.proto.FieldTypeProtos.StringField> values) {
- if (alternativeNamesBuilder_ == null) {
- ensureAlternativeNamesIsMutable();
- super.addAll(values, alternativeNames_);
- onChanged();
- } else {
- alternativeNamesBuilder_.addAllMessages(values);
- }
- return this;
- }
- public Builder clearAlternativeNames() {
- if (alternativeNamesBuilder_ == null) {
- alternativeNames_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
- onChanged();
- } else {
- alternativeNamesBuilder_.clear();
- }
- return this;
- }
- public Builder removeAlternativeNames(int index) {
- if (alternativeNamesBuilder_ == null) {
- ensureAlternativeNamesIsMutable();
- alternativeNames_.remove(index);
- onChanged();
- } else {
- alternativeNamesBuilder_.remove(index);
- }
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getAlternativeNamesBuilder(
- int index) {
- return getAlternativeNamesFieldBuilder().getBuilder(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getAlternativeNamesOrBuilder(
- int index) {
- if (alternativeNamesBuilder_ == null) {
- return alternativeNames_.get(index); } else {
- return alternativeNamesBuilder_.getMessageOrBuilder(index);
- }
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getAlternativeNamesOrBuilderList() {
- if (alternativeNamesBuilder_ != null) {
- return alternativeNamesBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(alternativeNames_);
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder addAlternativeNamesBuilder() {
- return getAlternativeNamesFieldBuilder().addBuilder(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance());
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder addAlternativeNamesBuilder(
- int index) {
- return getAlternativeNamesFieldBuilder().addBuilder(
- index, eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance());
- }
- public java.util.List
- getAlternativeNamesBuilderList() {
- return getAlternativeNamesFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getAlternativeNamesFieldBuilder() {
- if (alternativeNamesBuilder_ == null) {
- alternativeNamesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- alternativeNames_,
- ((bitField0_ & 0x00000004) == 0x00000004),
- getParentForChildren(),
- isClean());
- alternativeNames_ = null;
- }
- return alternativeNamesBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField websiteurl = 3;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField websiteurl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> websiteurlBuilder_;
- public boolean hasWebsiteurl() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getWebsiteurl() {
- if (websiteurlBuilder_ == null) {
- return websiteurl_;
- } else {
- return websiteurlBuilder_.getMessage();
- }
- }
- public Builder setWebsiteurl(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (websiteurlBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- websiteurl_ = value;
- onChanged();
- } else {
- websiteurlBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000008;
- return this;
- }
- public Builder setWebsiteurl(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (websiteurlBuilder_ == null) {
- websiteurl_ = builderForValue.build();
- onChanged();
- } else {
- websiteurlBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000008;
- return this;
- }
- public Builder mergeWebsiteurl(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (websiteurlBuilder_ == null) {
- if (((bitField0_ & 0x00000008) == 0x00000008) &&
- websiteurl_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- websiteurl_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(websiteurl_).mergeFrom(value).buildPartial();
- } else {
- websiteurl_ = value;
- }
- onChanged();
- } else {
- websiteurlBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000008;
- return this;
- }
- public Builder clearWebsiteurl() {
- if (websiteurlBuilder_ == null) {
- websiteurl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- websiteurlBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000008);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getWebsiteurlBuilder() {
- bitField0_ |= 0x00000008;
- onChanged();
- return getWebsiteurlFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getWebsiteurlOrBuilder() {
- if (websiteurlBuilder_ != null) {
- return websiteurlBuilder_.getMessageOrBuilder();
- } else {
- return websiteurl_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getWebsiteurlFieldBuilder() {
- if (websiteurlBuilder_ == null) {
- websiteurlBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- websiteurl_,
- getParentForChildren(),
- isClean());
- websiteurl_ = null;
- }
- return websiteurlBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField logourl = 4;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField logourl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> logourlBuilder_;
- public boolean hasLogourl() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getLogourl() {
- if (logourlBuilder_ == null) {
- return logourl_;
- } else {
- return logourlBuilder_.getMessage();
- }
- }
- public Builder setLogourl(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (logourlBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- logourl_ = value;
- onChanged();
- } else {
- logourlBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000010;
- return this;
- }
- public Builder setLogourl(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (logourlBuilder_ == null) {
- logourl_ = builderForValue.build();
- onChanged();
- } else {
- logourlBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000010;
- return this;
- }
- public Builder mergeLogourl(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (logourlBuilder_ == null) {
- if (((bitField0_ & 0x00000010) == 0x00000010) &&
- logourl_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- logourl_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(logourl_).mergeFrom(value).buildPartial();
- } else {
- logourl_ = value;
- }
- onChanged();
- } else {
- logourlBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000010;
- return this;
- }
- public Builder clearLogourl() {
- if (logourlBuilder_ == null) {
- logourl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- logourlBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000010);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getLogourlBuilder() {
- bitField0_ |= 0x00000010;
- onChanged();
- return getLogourlFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getLogourlOrBuilder() {
- if (logourlBuilder_ != null) {
- return logourlBuilder_.getMessageOrBuilder();
- } else {
- return logourl_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getLogourlFieldBuilder() {
- if (logourlBuilder_ == null) {
- logourlBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- logourl_,
- getParentForChildren(),
- isClean());
- logourl_ = null;
- }
- return logourlBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField eclegalbody = 5;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField eclegalbody_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> eclegalbodyBuilder_;
- public boolean hasEclegalbody() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEclegalbody() {
- if (eclegalbodyBuilder_ == null) {
- return eclegalbody_;
- } else {
- return eclegalbodyBuilder_.getMessage();
- }
- }
- public Builder setEclegalbody(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (eclegalbodyBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- eclegalbody_ = value;
- onChanged();
- } else {
- eclegalbodyBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000020;
- return this;
- }
- public Builder setEclegalbody(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (eclegalbodyBuilder_ == null) {
- eclegalbody_ = builderForValue.build();
- onChanged();
- } else {
- eclegalbodyBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000020;
- return this;
- }
- public Builder mergeEclegalbody(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (eclegalbodyBuilder_ == null) {
- if (((bitField0_ & 0x00000020) == 0x00000020) &&
- eclegalbody_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- eclegalbody_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(eclegalbody_).mergeFrom(value).buildPartial();
- } else {
- eclegalbody_ = value;
- }
- onChanged();
- } else {
- eclegalbodyBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000020;
- return this;
- }
- public Builder clearEclegalbody() {
- if (eclegalbodyBuilder_ == null) {
- eclegalbody_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- eclegalbodyBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000020);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getEclegalbodyBuilder() {
- bitField0_ |= 0x00000020;
- onChanged();
- return getEclegalbodyFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEclegalbodyOrBuilder() {
- if (eclegalbodyBuilder_ != null) {
- return eclegalbodyBuilder_.getMessageOrBuilder();
- } else {
- return eclegalbody_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getEclegalbodyFieldBuilder() {
- if (eclegalbodyBuilder_ == null) {
- eclegalbodyBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- eclegalbody_,
- getParentForChildren(),
- isClean());
- eclegalbody_ = null;
- }
- return eclegalbodyBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField eclegalperson = 6;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField eclegalperson_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> eclegalpersonBuilder_;
- public boolean hasEclegalperson() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEclegalperson() {
- if (eclegalpersonBuilder_ == null) {
- return eclegalperson_;
- } else {
- return eclegalpersonBuilder_.getMessage();
- }
- }
- public Builder setEclegalperson(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (eclegalpersonBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- eclegalperson_ = value;
- onChanged();
- } else {
- eclegalpersonBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000040;
- return this;
- }
- public Builder setEclegalperson(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (eclegalpersonBuilder_ == null) {
- eclegalperson_ = builderForValue.build();
- onChanged();
- } else {
- eclegalpersonBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000040;
- return this;
- }
- public Builder mergeEclegalperson(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (eclegalpersonBuilder_ == null) {
- if (((bitField0_ & 0x00000040) == 0x00000040) &&
- eclegalperson_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- eclegalperson_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(eclegalperson_).mergeFrom(value).buildPartial();
- } else {
- eclegalperson_ = value;
- }
- onChanged();
- } else {
- eclegalpersonBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000040;
- return this;
- }
- public Builder clearEclegalperson() {
- if (eclegalpersonBuilder_ == null) {
- eclegalperson_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- eclegalpersonBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000040);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getEclegalpersonBuilder() {
- bitField0_ |= 0x00000040;
- onChanged();
- return getEclegalpersonFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEclegalpersonOrBuilder() {
- if (eclegalpersonBuilder_ != null) {
- return eclegalpersonBuilder_.getMessageOrBuilder();
- } else {
- return eclegalperson_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getEclegalpersonFieldBuilder() {
- if (eclegalpersonBuilder_ == null) {
- eclegalpersonBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- eclegalperson_,
- getParentForChildren(),
- isClean());
- eclegalperson_ = null;
- }
- return eclegalpersonBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField ecnonprofit = 7;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField ecnonprofit_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> ecnonprofitBuilder_;
- public boolean hasEcnonprofit() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcnonprofit() {
- if (ecnonprofitBuilder_ == null) {
- return ecnonprofit_;
- } else {
- return ecnonprofitBuilder_.getMessage();
- }
- }
- public Builder setEcnonprofit(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (ecnonprofitBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ecnonprofit_ = value;
- onChanged();
- } else {
- ecnonprofitBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000080;
- return this;
- }
- public Builder setEcnonprofit(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (ecnonprofitBuilder_ == null) {
- ecnonprofit_ = builderForValue.build();
- onChanged();
- } else {
- ecnonprofitBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000080;
- return this;
- }
- public Builder mergeEcnonprofit(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (ecnonprofitBuilder_ == null) {
- if (((bitField0_ & 0x00000080) == 0x00000080) &&
- ecnonprofit_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- ecnonprofit_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(ecnonprofit_).mergeFrom(value).buildPartial();
- } else {
- ecnonprofit_ = value;
- }
- onChanged();
- } else {
- ecnonprofitBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000080;
- return this;
- }
- public Builder clearEcnonprofit() {
- if (ecnonprofitBuilder_ == null) {
- ecnonprofit_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- ecnonprofitBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000080);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getEcnonprofitBuilder() {
- bitField0_ |= 0x00000080;
- onChanged();
- return getEcnonprofitFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcnonprofitOrBuilder() {
- if (ecnonprofitBuilder_ != null) {
- return ecnonprofitBuilder_.getMessageOrBuilder();
- } else {
- return ecnonprofit_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getEcnonprofitFieldBuilder() {
- if (ecnonprofitBuilder_ == null) {
- ecnonprofitBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- ecnonprofit_,
- getParentForChildren(),
- isClean());
- ecnonprofit_ = null;
- }
- return ecnonprofitBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField ecresearchorganization = 8;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField ecresearchorganization_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> ecresearchorganizationBuilder_;
- public boolean hasEcresearchorganization() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcresearchorganization() {
- if (ecresearchorganizationBuilder_ == null) {
- return ecresearchorganization_;
- } else {
- return ecresearchorganizationBuilder_.getMessage();
- }
- }
- public Builder setEcresearchorganization(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (ecresearchorganizationBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ecresearchorganization_ = value;
- onChanged();
- } else {
- ecresearchorganizationBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000100;
- return this;
- }
- public Builder setEcresearchorganization(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (ecresearchorganizationBuilder_ == null) {
- ecresearchorganization_ = builderForValue.build();
- onChanged();
- } else {
- ecresearchorganizationBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000100;
- return this;
- }
- public Builder mergeEcresearchorganization(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (ecresearchorganizationBuilder_ == null) {
- if (((bitField0_ & 0x00000100) == 0x00000100) &&
- ecresearchorganization_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- ecresearchorganization_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(ecresearchorganization_).mergeFrom(value).buildPartial();
- } else {
- ecresearchorganization_ = value;
- }
- onChanged();
- } else {
- ecresearchorganizationBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000100;
- return this;
- }
- public Builder clearEcresearchorganization() {
- if (ecresearchorganizationBuilder_ == null) {
- ecresearchorganization_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- ecresearchorganizationBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000100);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getEcresearchorganizationBuilder() {
- bitField0_ |= 0x00000100;
- onChanged();
- return getEcresearchorganizationFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcresearchorganizationOrBuilder() {
- if (ecresearchorganizationBuilder_ != null) {
- return ecresearchorganizationBuilder_.getMessageOrBuilder();
- } else {
- return ecresearchorganization_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getEcresearchorganizationFieldBuilder() {
- if (ecresearchorganizationBuilder_ == null) {
- ecresearchorganizationBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- ecresearchorganization_,
- getParentForChildren(),
- isClean());
- ecresearchorganization_ = null;
- }
- return ecresearchorganizationBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField echighereducation = 9;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField echighereducation_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> echighereducationBuilder_;
- public boolean hasEchighereducation() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEchighereducation() {
- if (echighereducationBuilder_ == null) {
- return echighereducation_;
- } else {
- return echighereducationBuilder_.getMessage();
- }
- }
- public Builder setEchighereducation(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (echighereducationBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- echighereducation_ = value;
- onChanged();
- } else {
- echighereducationBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000200;
- return this;
- }
- public Builder setEchighereducation(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (echighereducationBuilder_ == null) {
- echighereducation_ = builderForValue.build();
- onChanged();
- } else {
- echighereducationBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000200;
- return this;
- }
- public Builder mergeEchighereducation(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (echighereducationBuilder_ == null) {
- if (((bitField0_ & 0x00000200) == 0x00000200) &&
- echighereducation_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- echighereducation_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(echighereducation_).mergeFrom(value).buildPartial();
- } else {
- echighereducation_ = value;
- }
- onChanged();
- } else {
- echighereducationBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000200;
- return this;
- }
- public Builder clearEchighereducation() {
- if (echighereducationBuilder_ == null) {
- echighereducation_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- echighereducationBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000200);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getEchighereducationBuilder() {
- bitField0_ |= 0x00000200;
- onChanged();
- return getEchighereducationFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEchighereducationOrBuilder() {
- if (echighereducationBuilder_ != null) {
- return echighereducationBuilder_.getMessageOrBuilder();
- } else {
- return echighereducation_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getEchighereducationFieldBuilder() {
- if (echighereducationBuilder_ == null) {
- echighereducationBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- echighereducation_,
- getParentForChildren(),
- isClean());
- echighereducation_ = null;
- }
- return echighereducationBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField ecinternationalorganizationeurinterests = 10;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField ecinternationalorganizationeurinterests_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> ecinternationalorganizationeurinterestsBuilder_;
- public boolean hasEcinternationalorganizationeurinterests() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcinternationalorganizationeurinterests() {
- if (ecinternationalorganizationeurinterestsBuilder_ == null) {
- return ecinternationalorganizationeurinterests_;
- } else {
- return ecinternationalorganizationeurinterestsBuilder_.getMessage();
- }
- }
- public Builder setEcinternationalorganizationeurinterests(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (ecinternationalorganizationeurinterestsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ecinternationalorganizationeurinterests_ = value;
- onChanged();
- } else {
- ecinternationalorganizationeurinterestsBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000400;
- return this;
- }
- public Builder setEcinternationalorganizationeurinterests(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (ecinternationalorganizationeurinterestsBuilder_ == null) {
- ecinternationalorganizationeurinterests_ = builderForValue.build();
- onChanged();
- } else {
- ecinternationalorganizationeurinterestsBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000400;
- return this;
- }
- public Builder mergeEcinternationalorganizationeurinterests(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (ecinternationalorganizationeurinterestsBuilder_ == null) {
- if (((bitField0_ & 0x00000400) == 0x00000400) &&
- ecinternationalorganizationeurinterests_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- ecinternationalorganizationeurinterests_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(ecinternationalorganizationeurinterests_).mergeFrom(value).buildPartial();
- } else {
- ecinternationalorganizationeurinterests_ = value;
- }
- onChanged();
- } else {
- ecinternationalorganizationeurinterestsBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000400;
- return this;
- }
- public Builder clearEcinternationalorganizationeurinterests() {
- if (ecinternationalorganizationeurinterestsBuilder_ == null) {
- ecinternationalorganizationeurinterests_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- ecinternationalorganizationeurinterestsBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000400);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getEcinternationalorganizationeurinterestsBuilder() {
- bitField0_ |= 0x00000400;
- onChanged();
- return getEcinternationalorganizationeurinterestsFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcinternationalorganizationeurinterestsOrBuilder() {
- if (ecinternationalorganizationeurinterestsBuilder_ != null) {
- return ecinternationalorganizationeurinterestsBuilder_.getMessageOrBuilder();
- } else {
- return ecinternationalorganizationeurinterests_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getEcinternationalorganizationeurinterestsFieldBuilder() {
- if (ecinternationalorganizationeurinterestsBuilder_ == null) {
- ecinternationalorganizationeurinterestsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- ecinternationalorganizationeurinterests_,
- getParentForChildren(),
- isClean());
- ecinternationalorganizationeurinterests_ = null;
- }
- return ecinternationalorganizationeurinterestsBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField ecinternationalorganization = 11;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField ecinternationalorganization_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> ecinternationalorganizationBuilder_;
- public boolean hasEcinternationalorganization() {
- return ((bitField0_ & 0x00000800) == 0x00000800);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcinternationalorganization() {
- if (ecinternationalorganizationBuilder_ == null) {
- return ecinternationalorganization_;
- } else {
- return ecinternationalorganizationBuilder_.getMessage();
- }
- }
- public Builder setEcinternationalorganization(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (ecinternationalorganizationBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ecinternationalorganization_ = value;
- onChanged();
- } else {
- ecinternationalorganizationBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000800;
- return this;
- }
- public Builder setEcinternationalorganization(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (ecinternationalorganizationBuilder_ == null) {
- ecinternationalorganization_ = builderForValue.build();
- onChanged();
- } else {
- ecinternationalorganizationBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000800;
- return this;
- }
- public Builder mergeEcinternationalorganization(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (ecinternationalorganizationBuilder_ == null) {
- if (((bitField0_ & 0x00000800) == 0x00000800) &&
- ecinternationalorganization_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- ecinternationalorganization_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(ecinternationalorganization_).mergeFrom(value).buildPartial();
- } else {
- ecinternationalorganization_ = value;
- }
- onChanged();
- } else {
- ecinternationalorganizationBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000800;
- return this;
- }
- public Builder clearEcinternationalorganization() {
- if (ecinternationalorganizationBuilder_ == null) {
- ecinternationalorganization_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- ecinternationalorganizationBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000800);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getEcinternationalorganizationBuilder() {
- bitField0_ |= 0x00000800;
- onChanged();
- return getEcinternationalorganizationFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcinternationalorganizationOrBuilder() {
- if (ecinternationalorganizationBuilder_ != null) {
- return ecinternationalorganizationBuilder_.getMessageOrBuilder();
- } else {
- return ecinternationalorganization_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getEcinternationalorganizationFieldBuilder() {
- if (ecinternationalorganizationBuilder_ == null) {
- ecinternationalorganizationBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- ecinternationalorganization_,
- getParentForChildren(),
- isClean());
- ecinternationalorganization_ = null;
- }
- return ecinternationalorganizationBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField ecenterprise = 12;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField ecenterprise_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> ecenterpriseBuilder_;
- public boolean hasEcenterprise() {
- return ((bitField0_ & 0x00001000) == 0x00001000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcenterprise() {
- if (ecenterpriseBuilder_ == null) {
- return ecenterprise_;
- } else {
- return ecenterpriseBuilder_.getMessage();
- }
- }
- public Builder setEcenterprise(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (ecenterpriseBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ecenterprise_ = value;
- onChanged();
- } else {
- ecenterpriseBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00001000;
- return this;
- }
- public Builder setEcenterprise(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (ecenterpriseBuilder_ == null) {
- ecenterprise_ = builderForValue.build();
- onChanged();
- } else {
- ecenterpriseBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00001000;
- return this;
- }
- public Builder mergeEcenterprise(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (ecenterpriseBuilder_ == null) {
- if (((bitField0_ & 0x00001000) == 0x00001000) &&
- ecenterprise_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- ecenterprise_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(ecenterprise_).mergeFrom(value).buildPartial();
- } else {
- ecenterprise_ = value;
- }
- onChanged();
- } else {
- ecenterpriseBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00001000;
- return this;
- }
- public Builder clearEcenterprise() {
- if (ecenterpriseBuilder_ == null) {
- ecenterprise_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- ecenterpriseBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00001000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getEcenterpriseBuilder() {
- bitField0_ |= 0x00001000;
- onChanged();
- return getEcenterpriseFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcenterpriseOrBuilder() {
- if (ecenterpriseBuilder_ != null) {
- return ecenterpriseBuilder_.getMessageOrBuilder();
- } else {
- return ecenterprise_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getEcenterpriseFieldBuilder() {
- if (ecenterpriseBuilder_ == null) {
- ecenterpriseBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- ecenterprise_,
- getParentForChildren(),
- isClean());
- ecenterprise_ = null;
- }
- return ecenterpriseBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField ecsmevalidated = 13;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField ecsmevalidated_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> ecsmevalidatedBuilder_;
- public boolean hasEcsmevalidated() {
- return ((bitField0_ & 0x00002000) == 0x00002000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcsmevalidated() {
- if (ecsmevalidatedBuilder_ == null) {
- return ecsmevalidated_;
- } else {
- return ecsmevalidatedBuilder_.getMessage();
- }
- }
- public Builder setEcsmevalidated(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (ecsmevalidatedBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ecsmevalidated_ = value;
- onChanged();
- } else {
- ecsmevalidatedBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00002000;
- return this;
- }
- public Builder setEcsmevalidated(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (ecsmevalidatedBuilder_ == null) {
- ecsmevalidated_ = builderForValue.build();
- onChanged();
- } else {
- ecsmevalidatedBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00002000;
- return this;
- }
- public Builder mergeEcsmevalidated(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (ecsmevalidatedBuilder_ == null) {
- if (((bitField0_ & 0x00002000) == 0x00002000) &&
- ecsmevalidated_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- ecsmevalidated_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(ecsmevalidated_).mergeFrom(value).buildPartial();
- } else {
- ecsmevalidated_ = value;
- }
- onChanged();
- } else {
- ecsmevalidatedBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00002000;
- return this;
- }
- public Builder clearEcsmevalidated() {
- if (ecsmevalidatedBuilder_ == null) {
- ecsmevalidated_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- ecsmevalidatedBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00002000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getEcsmevalidatedBuilder() {
- bitField0_ |= 0x00002000;
- onChanged();
- return getEcsmevalidatedFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcsmevalidatedOrBuilder() {
- if (ecsmevalidatedBuilder_ != null) {
- return ecsmevalidatedBuilder_.getMessageOrBuilder();
- } else {
- return ecsmevalidated_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getEcsmevalidatedFieldBuilder() {
- if (ecsmevalidatedBuilder_ == null) {
- ecsmevalidatedBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- ecsmevalidated_,
- getParentForChildren(),
- isClean());
- ecsmevalidated_ = null;
- }
- return ecsmevalidatedBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField ecnutscode = 14;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField ecnutscode_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> ecnutscodeBuilder_;
- public boolean hasEcnutscode() {
- return ((bitField0_ & 0x00004000) == 0x00004000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcnutscode() {
- if (ecnutscodeBuilder_ == null) {
- return ecnutscode_;
- } else {
- return ecnutscodeBuilder_.getMessage();
- }
- }
- public Builder setEcnutscode(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (ecnutscodeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ecnutscode_ = value;
- onChanged();
- } else {
- ecnutscodeBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00004000;
- return this;
- }
- public Builder setEcnutscode(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (ecnutscodeBuilder_ == null) {
- ecnutscode_ = builderForValue.build();
- onChanged();
- } else {
- ecnutscodeBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00004000;
- return this;
- }
- public Builder mergeEcnutscode(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (ecnutscodeBuilder_ == null) {
- if (((bitField0_ & 0x00004000) == 0x00004000) &&
- ecnutscode_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- ecnutscode_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(ecnutscode_).mergeFrom(value).buildPartial();
- } else {
- ecnutscode_ = value;
- }
- onChanged();
- } else {
- ecnutscodeBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00004000;
- return this;
- }
- public Builder clearEcnutscode() {
- if (ecnutscodeBuilder_ == null) {
- ecnutscode_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- ecnutscodeBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00004000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getEcnutscodeBuilder() {
- bitField0_ |= 0x00004000;
- onChanged();
- return getEcnutscodeFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcnutscodeOrBuilder() {
- if (ecnutscodeBuilder_ != null) {
- return ecnutscodeBuilder_.getMessageOrBuilder();
- } else {
- return ecnutscode_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getEcnutscodeFieldBuilder() {
- if (ecnutscodeBuilder_ == null) {
- ecnutscodeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- ecnutscode_,
- getParentForChildren(),
- isClean());
- ecnutscode_ = null;
- }
- return ecnutscodeBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.Qualifier country = 16;
- private eu.dnetlib.data.proto.FieldTypeProtos.Qualifier country_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier, eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder, eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder> countryBuilder_;
- public boolean hasCountry() {
- return ((bitField0_ & 0x00008000) == 0x00008000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getCountry() {
- if (countryBuilder_ == null) {
- return country_;
- } else {
- return countryBuilder_.getMessage();
- }
- }
- public Builder setCountry(eu.dnetlib.data.proto.FieldTypeProtos.Qualifier value) {
- if (countryBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- country_ = value;
- onChanged();
- } else {
- countryBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00008000;
- return this;
- }
- public Builder setCountry(
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder builderForValue) {
- if (countryBuilder_ == null) {
- country_ = builderForValue.build();
- onChanged();
- } else {
- countryBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00008000;
- return this;
- }
- public Builder mergeCountry(eu.dnetlib.data.proto.FieldTypeProtos.Qualifier value) {
- if (countryBuilder_ == null) {
- if (((bitField0_ & 0x00008000) == 0x00008000) &&
- country_ != eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance()) {
- country_ =
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.newBuilder(country_).mergeFrom(value).buildPartial();
- } else {
- country_ = value;
- }
- onChanged();
- } else {
- countryBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00008000;
- return this;
- }
- public Builder clearCountry() {
- if (countryBuilder_ == null) {
- country_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- onChanged();
- } else {
- countryBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00008000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder getCountryBuilder() {
- bitField0_ |= 0x00008000;
- onChanged();
- return getCountryFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getCountryOrBuilder() {
- if (countryBuilder_ != null) {
- return countryBuilder_.getMessageOrBuilder();
- } else {
- return country_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier, eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder, eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder>
- getCountryFieldBuilder() {
- if (countryBuilder_ == null) {
- countryBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier, eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder, eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder>(
- country_,
- getParentForChildren(),
- isClean());
- country_ = null;
- }
- return countryBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.Organization.Metadata)
- }
-
- static {
- defaultInstance = new Metadata(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.Organization.Metadata)
- }
-
- private int bitField0_;
- // optional .eu.dnetlib.data.proto.Organization.Metadata metadata = 2;
- public static final int METADATA_FIELD_NUMBER = 2;
- private eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata metadata_;
- public boolean hasMetadata() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata getMetadata() {
- return metadata_;
- }
- public eu.dnetlib.data.proto.OrganizationProtos.Organization.MetadataOrBuilder getMetadataOrBuilder() {
- return metadata_;
- }
-
- private void initFields() {
- metadata_ = eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (hasMetadata()) {
- if (!getMetadata().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeMessage(2, metadata_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, metadata_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.OrganizationProtos.Organization parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.OrganizationProtos.Organization parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.OrganizationProtos.Organization parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.OrganizationProtos.Organization parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.OrganizationProtos.Organization parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.OrganizationProtos.Organization parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.OrganizationProtos.Organization parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.OrganizationProtos.Organization parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.OrganizationProtos.Organization parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.OrganizationProtos.Organization parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.OrganizationProtos.Organization prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.OrganizationProtos.OrganizationOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.OrganizationProtos.internal_static_eu_dnetlib_data_proto_Organization_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.OrganizationProtos.internal_static_eu_dnetlib_data_proto_Organization_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.OrganizationProtos.Organization.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getMetadataFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- if (metadataBuilder_ == null) {
- metadata_ = eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata.getDefaultInstance();
- } else {
- metadataBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.OrganizationProtos.Organization.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.OrganizationProtos.Organization getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.OrganizationProtos.Organization.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.OrganizationProtos.Organization build() {
- eu.dnetlib.data.proto.OrganizationProtos.Organization result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.OrganizationProtos.Organization buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.OrganizationProtos.Organization result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.OrganizationProtos.Organization buildPartial() {
- eu.dnetlib.data.proto.OrganizationProtos.Organization result = new eu.dnetlib.data.proto.OrganizationProtos.Organization(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- if (metadataBuilder_ == null) {
- result.metadata_ = metadata_;
- } else {
- result.metadata_ = metadataBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.OrganizationProtos.Organization) {
- return mergeFrom((eu.dnetlib.data.proto.OrganizationProtos.Organization)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.OrganizationProtos.Organization other) {
- if (other == eu.dnetlib.data.proto.OrganizationProtos.Organization.getDefaultInstance()) return this;
- if (other.hasMetadata()) {
- mergeMetadata(other.getMetadata());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (hasMetadata()) {
- if (!getMetadata().isInitialized()) {
-
- return false;
- }
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 18: {
- eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata.Builder subBuilder = eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata.newBuilder();
- if (hasMetadata()) {
- subBuilder.mergeFrom(getMetadata());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setMetadata(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // optional .eu.dnetlib.data.proto.Organization.Metadata metadata = 2;
- private eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata metadata_ = eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata, eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata.Builder, eu.dnetlib.data.proto.OrganizationProtos.Organization.MetadataOrBuilder> metadataBuilder_;
- public boolean hasMetadata() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata getMetadata() {
- if (metadataBuilder_ == null) {
- return metadata_;
- } else {
- return metadataBuilder_.getMessage();
- }
- }
- public Builder setMetadata(eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata value) {
- if (metadataBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- metadata_ = value;
- onChanged();
- } else {
- metadataBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder setMetadata(
- eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata.Builder builderForValue) {
- if (metadataBuilder_ == null) {
- metadata_ = builderForValue.build();
- onChanged();
- } else {
- metadataBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder mergeMetadata(eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata value) {
- if (metadataBuilder_ == null) {
- if (((bitField0_ & 0x00000001) == 0x00000001) &&
- metadata_ != eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata.getDefaultInstance()) {
- metadata_ =
- eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
- } else {
- metadata_ = value;
- }
- onChanged();
- } else {
- metadataBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder clearMetadata() {
- if (metadataBuilder_ == null) {
- metadata_ = eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata.getDefaultInstance();
- onChanged();
- } else {
- metadataBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
- public eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata.Builder getMetadataBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return getMetadataFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.OrganizationProtos.Organization.MetadataOrBuilder getMetadataOrBuilder() {
- if (metadataBuilder_ != null) {
- return metadataBuilder_.getMessageOrBuilder();
- } else {
- return metadata_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata, eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata.Builder, eu.dnetlib.data.proto.OrganizationProtos.Organization.MetadataOrBuilder>
- getMetadataFieldBuilder() {
- if (metadataBuilder_ == null) {
- metadataBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata, eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata.Builder, eu.dnetlib.data.proto.OrganizationProtos.Organization.MetadataOrBuilder>(
- metadata_,
- getParentForChildren(),
- isClean());
- metadata_ = null;
- }
- return metadataBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.Organization)
- }
-
- static {
- defaultInstance = new Organization(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.Organization)
- }
-
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_Organization_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_Organization_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_Organization_Metadata_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_Organization_Metadata_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
- return descriptor;
- }
- private static com.google.protobuf.Descriptors.FileDescriptor
- descriptor;
- static {
- java.lang.String[] descriptorData = {
- "\n\022Organization.proto\022\025eu.dnetlib.data.pr" +
- "oto\032\017FieldType.proto\"\250\010\n\014Organization\022>\n" +
- "\010metadata\030\002 \001(\0132,.eu.dnetlib.data.proto." +
- "Organization.Metadata\032\327\007\n\010Metadata\022:\n\016le" +
- "galshortname\030\001 \001(\0132\".eu.dnetlib.data.pro" +
- "to.StringField\0225\n\tlegalname\030\002 \001(\0132\".eu.d" +
- "netlib.data.proto.StringField\022<\n\020alterna" +
- "tiveNames\030\021 \003(\0132\".eu.dnetlib.data.proto." +
- "StringField\0226\n\nwebsiteurl\030\003 \001(\0132\".eu.dne" +
- "tlib.data.proto.StringField\0223\n\007logourl\030\004",
- " \001(\0132\".eu.dnetlib.data.proto.StringField" +
- "\0227\n\013eclegalbody\030\005 \001(\0132\".eu.dnetlib.data." +
- "proto.StringField\0229\n\reclegalperson\030\006 \001(\013" +
- "2\".eu.dnetlib.data.proto.StringField\0227\n\013" +
- "ecnonprofit\030\007 \001(\0132\".eu.dnetlib.data.prot" +
- "o.StringField\022B\n\026ecresearchorganization\030" +
- "\010 \001(\0132\".eu.dnetlib.data.proto.StringFiel" +
- "d\022=\n\021echighereducation\030\t \001(\0132\".eu.dnetli" +
- "b.data.proto.StringField\022S\n\'ecinternatio" +
- "nalorganizationeurinterests\030\n \001(\0132\".eu.d",
- "netlib.data.proto.StringField\022G\n\033ecinter" +
- "nationalorganization\030\013 \001(\0132\".eu.dnetlib." +
- "data.proto.StringField\0228\n\014ecenterprise\030\014" +
- " \001(\0132\".eu.dnetlib.data.proto.StringField" +
- "\022:\n\016ecsmevalidated\030\r \001(\0132\".eu.dnetlib.da" +
- "ta.proto.StringField\0226\n\necnutscode\030\016 \001(\013" +
- "2\".eu.dnetlib.data.proto.StringField\0221\n\007" +
- "country\030\020 \001(\0132 .eu.dnetlib.data.proto.Qu" +
- "alifierB+\n\025eu.dnetlib.data.protoB\022Organi" +
- "zationProtos"
- };
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- internal_static_eu_dnetlib_data_proto_Organization_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_eu_dnetlib_data_proto_Organization_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_Organization_descriptor,
- new java.lang.String[] { "Metadata", },
- eu.dnetlib.data.proto.OrganizationProtos.Organization.class,
- eu.dnetlib.data.proto.OrganizationProtos.Organization.Builder.class);
- internal_static_eu_dnetlib_data_proto_Organization_Metadata_descriptor =
- internal_static_eu_dnetlib_data_proto_Organization_descriptor.getNestedTypes().get(0);
- internal_static_eu_dnetlib_data_proto_Organization_Metadata_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_Organization_Metadata_descriptor,
- new java.lang.String[] { "Legalshortname", "Legalname", "AlternativeNames", "Websiteurl", "Logourl", "Eclegalbody", "Eclegalperson", "Ecnonprofit", "Ecresearchorganization", "Echighereducation", "Ecinternationalorganizationeurinterests", "Ecinternationalorganization", "Ecenterprise", "Ecsmevalidated", "Ecnutscode", "Country", },
- eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata.class,
- eu.dnetlib.data.proto.OrganizationProtos.Organization.Metadata.Builder.class);
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- eu.dnetlib.data.proto.FieldTypeProtos.getDescriptor(),
- }, assigner);
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/PersonProtos.java b/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/PersonProtos.java
deleted file mode 100644
index 2c997d81b..000000000
--- a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/PersonProtos.java
+++ /dev/null
@@ -1,1752 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: Person.proto
-
-package eu.dnetlib.data.proto;
-
-public final class PersonProtos {
- private PersonProtos() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- }
- public interface PersonOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional .eu.dnetlib.data.proto.Person.Metadata metadata = 2;
- boolean hasMetadata();
- eu.dnetlib.data.proto.PersonProtos.Person.Metadata getMetadata();
- eu.dnetlib.data.proto.PersonProtos.Person.MetadataOrBuilder getMetadataOrBuilder();
- }
- public static final class Person extends
- com.google.protobuf.GeneratedMessage
- implements PersonOrBuilder {
- // Use Person.newBuilder() to construct.
- private Person(Builder builder) {
- super(builder);
- }
- private Person(boolean noInit) {}
-
- private static final Person defaultInstance;
- public static Person getDefaultInstance() {
- return defaultInstance;
- }
-
- public Person getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.PersonProtos.internal_static_eu_dnetlib_data_proto_Person_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.PersonProtos.internal_static_eu_dnetlib_data_proto_Person_fieldAccessorTable;
- }
-
- public interface MetadataOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // required string fullname = 1;
- boolean hasFullname();
- String getFullname();
-
- // optional string firstname = 2;
- boolean hasFirstname();
- String getFirstname();
-
- // optional string lastname = 3;
- boolean hasLastname();
- String getLastname();
-
- // required string pubID = 4;
- boolean hasPubID();
- String getPubID();
-
- // optional string pubDOI = 5;
- boolean hasPubDOI();
- String getPubDOI();
-
- // optional string orcid = 6;
- boolean hasOrcid();
- String getOrcid();
-
- // required int32 rank = 7;
- boolean hasRank();
- int getRank();
-
- // repeated string coauthors = 8;
- java.util.List getCoauthorsList();
- int getCoauthorsCount();
- String getCoauthors(int index);
-
- // repeated double topics = 9;
- java.util.List getTopicsList();
- int getTopicsCount();
- double getTopics(int index);
-
- // required string area = 10;
- boolean hasArea();
- String getArea();
- }
- public static final class Metadata extends
- com.google.protobuf.GeneratedMessage
- implements MetadataOrBuilder {
- // Use Metadata.newBuilder() to construct.
- private Metadata(Builder builder) {
- super(builder);
- }
- private Metadata(boolean noInit) {}
-
- private static final Metadata defaultInstance;
- public static Metadata getDefaultInstance() {
- return defaultInstance;
- }
-
- public Metadata getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.PersonProtos.internal_static_eu_dnetlib_data_proto_Person_Metadata_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.PersonProtos.internal_static_eu_dnetlib_data_proto_Person_Metadata_fieldAccessorTable;
- }
-
- private int bitField0_;
- // required string fullname = 1;
- public static final int FULLNAME_FIELD_NUMBER = 1;
- private java.lang.Object fullname_;
- public boolean hasFullname() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public String getFullname() {
- java.lang.Object ref = fullname_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- fullname_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getFullnameBytes() {
- java.lang.Object ref = fullname_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- fullname_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional string firstname = 2;
- public static final int FIRSTNAME_FIELD_NUMBER = 2;
- private java.lang.Object firstname_;
- public boolean hasFirstname() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public String getFirstname() {
- java.lang.Object ref = firstname_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- firstname_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getFirstnameBytes() {
- java.lang.Object ref = firstname_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- firstname_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional string lastname = 3;
- public static final int LASTNAME_FIELD_NUMBER = 3;
- private java.lang.Object lastname_;
- public boolean hasLastname() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public String getLastname() {
- java.lang.Object ref = lastname_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- lastname_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getLastnameBytes() {
- java.lang.Object ref = lastname_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- lastname_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // required string pubID = 4;
- public static final int PUBID_FIELD_NUMBER = 4;
- private java.lang.Object pubID_;
- public boolean hasPubID() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- public String getPubID() {
- java.lang.Object ref = pubID_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- pubID_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getPubIDBytes() {
- java.lang.Object ref = pubID_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- pubID_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional string pubDOI = 5;
- public static final int PUBDOI_FIELD_NUMBER = 5;
- private java.lang.Object pubDOI_;
- public boolean hasPubDOI() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- public String getPubDOI() {
- java.lang.Object ref = pubDOI_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- pubDOI_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getPubDOIBytes() {
- java.lang.Object ref = pubDOI_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- pubDOI_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional string orcid = 6;
- public static final int ORCID_FIELD_NUMBER = 6;
- private java.lang.Object orcid_;
- public boolean hasOrcid() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
- }
- public String getOrcid() {
- java.lang.Object ref = orcid_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- orcid_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getOrcidBytes() {
- java.lang.Object ref = orcid_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- orcid_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // required int32 rank = 7;
- public static final int RANK_FIELD_NUMBER = 7;
- private int rank_;
- public boolean hasRank() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
- }
- public int getRank() {
- return rank_;
- }
-
- // repeated string coauthors = 8;
- public static final int COAUTHORS_FIELD_NUMBER = 8;
- private com.google.protobuf.LazyStringList coauthors_;
- public java.util.List
- getCoauthorsList() {
- return coauthors_;
- }
- public int getCoauthorsCount() {
- return coauthors_.size();
- }
- public String getCoauthors(int index) {
- return coauthors_.get(index);
- }
-
- // repeated double topics = 9;
- public static final int TOPICS_FIELD_NUMBER = 9;
- private java.util.List topics_;
- public java.util.List
- getTopicsList() {
- return topics_;
- }
- public int getTopicsCount() {
- return topics_.size();
- }
- public double getTopics(int index) {
- return topics_.get(index);
- }
-
- // required string area = 10;
- public static final int AREA_FIELD_NUMBER = 10;
- private java.lang.Object area_;
- public boolean hasArea() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
- }
- public String getArea() {
- java.lang.Object ref = area_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- area_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getAreaBytes() {
- java.lang.Object ref = area_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- area_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- private void initFields() {
- fullname_ = "";
- firstname_ = "";
- lastname_ = "";
- pubID_ = "";
- pubDOI_ = "";
- orcid_ = "";
- rank_ = 0;
- coauthors_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- topics_ = java.util.Collections.emptyList();;
- area_ = "";
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasFullname()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasPubID()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasRank()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasArea()) {
- memoizedIsInitialized = 0;
- return false;
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeBytes(1, getFullnameBytes());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeBytes(2, getFirstnameBytes());
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeBytes(3, getLastnameBytes());
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- output.writeBytes(4, getPubIDBytes());
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- output.writeBytes(5, getPubDOIBytes());
- }
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- output.writeBytes(6, getOrcidBytes());
- }
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
- output.writeInt32(7, rank_);
- }
- for (int i = 0; i < coauthors_.size(); i++) {
- output.writeBytes(8, coauthors_.getByteString(i));
- }
- for (int i = 0; i < topics_.size(); i++) {
- output.writeDouble(9, topics_.get(i));
- }
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
- output.writeBytes(10, getAreaBytes());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(1, getFullnameBytes());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(2, getFirstnameBytes());
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(3, getLastnameBytes());
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(4, getPubIDBytes());
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(5, getPubDOIBytes());
- }
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(6, getOrcidBytes());
- }
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(7, rank_);
- }
- {
- int dataSize = 0;
- for (int i = 0; i < coauthors_.size(); i++) {
- dataSize += com.google.protobuf.CodedOutputStream
- .computeBytesSizeNoTag(coauthors_.getByteString(i));
- }
- size += dataSize;
- size += 1 * getCoauthorsList().size();
- }
- {
- int dataSize = 0;
- dataSize = 8 * getTopicsList().size();
- size += dataSize;
- size += 1 * getTopicsList().size();
- }
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(10, getAreaBytes());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.PersonProtos.Person.Metadata parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.PersonProtos.Person.Metadata parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.PersonProtos.Person.Metadata parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.PersonProtos.Person.Metadata parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.PersonProtos.Person.Metadata parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.PersonProtos.Person.Metadata parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.PersonProtos.Person.Metadata parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.PersonProtos.Person.Metadata parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.PersonProtos.Person.Metadata parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.PersonProtos.Person.Metadata parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.PersonProtos.Person.Metadata prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.PersonProtos.Person.MetadataOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.PersonProtos.internal_static_eu_dnetlib_data_proto_Person_Metadata_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.PersonProtos.internal_static_eu_dnetlib_data_proto_Person_Metadata_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.PersonProtos.Person.Metadata.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- fullname_ = "";
- bitField0_ = (bitField0_ & ~0x00000001);
- firstname_ = "";
- bitField0_ = (bitField0_ & ~0x00000002);
- lastname_ = "";
- bitField0_ = (bitField0_ & ~0x00000004);
- pubID_ = "";
- bitField0_ = (bitField0_ & ~0x00000008);
- pubDOI_ = "";
- bitField0_ = (bitField0_ & ~0x00000010);
- orcid_ = "";
- bitField0_ = (bitField0_ & ~0x00000020);
- rank_ = 0;
- bitField0_ = (bitField0_ & ~0x00000040);
- coauthors_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000080);
- topics_ = java.util.Collections.emptyList();;
- bitField0_ = (bitField0_ & ~0x00000100);
- area_ = "";
- bitField0_ = (bitField0_ & ~0x00000200);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.PersonProtos.Person.Metadata.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.PersonProtos.Person.Metadata getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.PersonProtos.Person.Metadata.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.PersonProtos.Person.Metadata build() {
- eu.dnetlib.data.proto.PersonProtos.Person.Metadata result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.PersonProtos.Person.Metadata buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.PersonProtos.Person.Metadata result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.PersonProtos.Person.Metadata buildPartial() {
- eu.dnetlib.data.proto.PersonProtos.Person.Metadata result = new eu.dnetlib.data.proto.PersonProtos.Person.Metadata(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.fullname_ = fullname_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- result.firstname_ = firstname_;
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
- to_bitField0_ |= 0x00000004;
- }
- result.lastname_ = lastname_;
- if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
- to_bitField0_ |= 0x00000008;
- }
- result.pubID_ = pubID_;
- if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
- to_bitField0_ |= 0x00000010;
- }
- result.pubDOI_ = pubDOI_;
- if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
- to_bitField0_ |= 0x00000020;
- }
- result.orcid_ = orcid_;
- if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
- to_bitField0_ |= 0x00000040;
- }
- result.rank_ = rank_;
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
- coauthors_ = new com.google.protobuf.UnmodifiableLazyStringList(
- coauthors_);
- bitField0_ = (bitField0_ & ~0x00000080);
- }
- result.coauthors_ = coauthors_;
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
- topics_ = java.util.Collections.unmodifiableList(topics_);
- bitField0_ = (bitField0_ & ~0x00000100);
- }
- result.topics_ = topics_;
- if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
- to_bitField0_ |= 0x00000080;
- }
- result.area_ = area_;
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.PersonProtos.Person.Metadata) {
- return mergeFrom((eu.dnetlib.data.proto.PersonProtos.Person.Metadata)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.PersonProtos.Person.Metadata other) {
- if (other == eu.dnetlib.data.proto.PersonProtos.Person.Metadata.getDefaultInstance()) return this;
- if (other.hasFullname()) {
- setFullname(other.getFullname());
- }
- if (other.hasFirstname()) {
- setFirstname(other.getFirstname());
- }
- if (other.hasLastname()) {
- setLastname(other.getLastname());
- }
- if (other.hasPubID()) {
- setPubID(other.getPubID());
- }
- if (other.hasPubDOI()) {
- setPubDOI(other.getPubDOI());
- }
- if (other.hasOrcid()) {
- setOrcid(other.getOrcid());
- }
- if (other.hasRank()) {
- setRank(other.getRank());
- }
- if (!other.coauthors_.isEmpty()) {
- if (coauthors_.isEmpty()) {
- coauthors_ = other.coauthors_;
- bitField0_ = (bitField0_ & ~0x00000080);
- } else {
- ensureCoauthorsIsMutable();
- coauthors_.addAll(other.coauthors_);
- }
- onChanged();
- }
- if (!other.topics_.isEmpty()) {
- if (topics_.isEmpty()) {
- topics_ = other.topics_;
- bitField0_ = (bitField0_ & ~0x00000100);
- } else {
- ensureTopicsIsMutable();
- topics_.addAll(other.topics_);
- }
- onChanged();
- }
- if (other.hasArea()) {
- setArea(other.getArea());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasFullname()) {
-
- return false;
- }
- if (!hasPubID()) {
-
- return false;
- }
- if (!hasRank()) {
-
- return false;
- }
- if (!hasArea()) {
-
- return false;
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 10: {
- bitField0_ |= 0x00000001;
- fullname_ = input.readBytes();
- break;
- }
- case 18: {
- bitField0_ |= 0x00000002;
- firstname_ = input.readBytes();
- break;
- }
- case 26: {
- bitField0_ |= 0x00000004;
- lastname_ = input.readBytes();
- break;
- }
- case 34: {
- bitField0_ |= 0x00000008;
- pubID_ = input.readBytes();
- break;
- }
- case 42: {
- bitField0_ |= 0x00000010;
- pubDOI_ = input.readBytes();
- break;
- }
- case 50: {
- bitField0_ |= 0x00000020;
- orcid_ = input.readBytes();
- break;
- }
- case 56: {
- bitField0_ |= 0x00000040;
- rank_ = input.readInt32();
- break;
- }
- case 66: {
- ensureCoauthorsIsMutable();
- coauthors_.add(input.readBytes());
- break;
- }
- case 73: {
- ensureTopicsIsMutable();
- topics_.add(input.readDouble());
- break;
- }
- case 74: {
- int length = input.readRawVarint32();
- int limit = input.pushLimit(length);
- while (input.getBytesUntilLimit() > 0) {
- addTopics(input.readDouble());
- }
- input.popLimit(limit);
- break;
- }
- case 82: {
- bitField0_ |= 0x00000200;
- area_ = input.readBytes();
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // required string fullname = 1;
- private java.lang.Object fullname_ = "";
- public boolean hasFullname() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public String getFullname() {
- java.lang.Object ref = fullname_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- fullname_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setFullname(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- fullname_ = value;
- onChanged();
- return this;
- }
- public Builder clearFullname() {
- bitField0_ = (bitField0_ & ~0x00000001);
- fullname_ = getDefaultInstance().getFullname();
- onChanged();
- return this;
- }
- void setFullname(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000001;
- fullname_ = value;
- onChanged();
- }
-
- // optional string firstname = 2;
- private java.lang.Object firstname_ = "";
- public boolean hasFirstname() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public String getFirstname() {
- java.lang.Object ref = firstname_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- firstname_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setFirstname(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- firstname_ = value;
- onChanged();
- return this;
- }
- public Builder clearFirstname() {
- bitField0_ = (bitField0_ & ~0x00000002);
- firstname_ = getDefaultInstance().getFirstname();
- onChanged();
- return this;
- }
- void setFirstname(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000002;
- firstname_ = value;
- onChanged();
- }
-
- // optional string lastname = 3;
- private java.lang.Object lastname_ = "";
- public boolean hasLastname() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public String getLastname() {
- java.lang.Object ref = lastname_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- lastname_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setLastname(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- lastname_ = value;
- onChanged();
- return this;
- }
- public Builder clearLastname() {
- bitField0_ = (bitField0_ & ~0x00000004);
- lastname_ = getDefaultInstance().getLastname();
- onChanged();
- return this;
- }
- void setLastname(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000004;
- lastname_ = value;
- onChanged();
- }
-
- // required string pubID = 4;
- private java.lang.Object pubID_ = "";
- public boolean hasPubID() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- public String getPubID() {
- java.lang.Object ref = pubID_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- pubID_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setPubID(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000008;
- pubID_ = value;
- onChanged();
- return this;
- }
- public Builder clearPubID() {
- bitField0_ = (bitField0_ & ~0x00000008);
- pubID_ = getDefaultInstance().getPubID();
- onChanged();
- return this;
- }
- void setPubID(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000008;
- pubID_ = value;
- onChanged();
- }
-
- // optional string pubDOI = 5;
- private java.lang.Object pubDOI_ = "";
- public boolean hasPubDOI() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- public String getPubDOI() {
- java.lang.Object ref = pubDOI_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- pubDOI_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setPubDOI(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000010;
- pubDOI_ = value;
- onChanged();
- return this;
- }
- public Builder clearPubDOI() {
- bitField0_ = (bitField0_ & ~0x00000010);
- pubDOI_ = getDefaultInstance().getPubDOI();
- onChanged();
- return this;
- }
- void setPubDOI(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000010;
- pubDOI_ = value;
- onChanged();
- }
-
- // optional string orcid = 6;
- private java.lang.Object orcid_ = "";
- public boolean hasOrcid() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
- }
- public String getOrcid() {
- java.lang.Object ref = orcid_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- orcid_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setOrcid(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000020;
- orcid_ = value;
- onChanged();
- return this;
- }
- public Builder clearOrcid() {
- bitField0_ = (bitField0_ & ~0x00000020);
- orcid_ = getDefaultInstance().getOrcid();
- onChanged();
- return this;
- }
- void setOrcid(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000020;
- orcid_ = value;
- onChanged();
- }
-
- // required int32 rank = 7;
- private int rank_ ;
- public boolean hasRank() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
- }
- public int getRank() {
- return rank_;
- }
- public Builder setRank(int value) {
- bitField0_ |= 0x00000040;
- rank_ = value;
- onChanged();
- return this;
- }
- public Builder clearRank() {
- bitField0_ = (bitField0_ & ~0x00000040);
- rank_ = 0;
- onChanged();
- return this;
- }
-
- // repeated string coauthors = 8;
- private com.google.protobuf.LazyStringList coauthors_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- private void ensureCoauthorsIsMutable() {
- if (!((bitField0_ & 0x00000080) == 0x00000080)) {
- coauthors_ = new com.google.protobuf.LazyStringArrayList(coauthors_);
- bitField0_ |= 0x00000080;
- }
- }
- public java.util.List
- getCoauthorsList() {
- return java.util.Collections.unmodifiableList(coauthors_);
- }
- public int getCoauthorsCount() {
- return coauthors_.size();
- }
- public String getCoauthors(int index) {
- return coauthors_.get(index);
- }
- public Builder setCoauthors(
- int index, String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureCoauthorsIsMutable();
- coauthors_.set(index, value);
- onChanged();
- return this;
- }
- public Builder addCoauthors(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureCoauthorsIsMutable();
- coauthors_.add(value);
- onChanged();
- return this;
- }
- public Builder addAllCoauthors(
- java.lang.Iterable values) {
- ensureCoauthorsIsMutable();
- super.addAll(values, coauthors_);
- onChanged();
- return this;
- }
- public Builder clearCoauthors() {
- coauthors_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000080);
- onChanged();
- return this;
- }
- void addCoauthors(com.google.protobuf.ByteString value) {
- ensureCoauthorsIsMutable();
- coauthors_.add(value);
- onChanged();
- }
-
- // repeated double topics = 9;
- private java.util.List topics_ = java.util.Collections.emptyList();;
- private void ensureTopicsIsMutable() {
- if (!((bitField0_ & 0x00000100) == 0x00000100)) {
- topics_ = new java.util.ArrayList(topics_);
- bitField0_ |= 0x00000100;
- }
- }
- public java.util.List
- getTopicsList() {
- return java.util.Collections.unmodifiableList(topics_);
- }
- public int getTopicsCount() {
- return topics_.size();
- }
- public double getTopics(int index) {
- return topics_.get(index);
- }
- public Builder setTopics(
- int index, double value) {
- ensureTopicsIsMutable();
- topics_.set(index, value);
- onChanged();
- return this;
- }
- public Builder addTopics(double value) {
- ensureTopicsIsMutable();
- topics_.add(value);
- onChanged();
- return this;
- }
- public Builder addAllTopics(
- java.lang.Iterable extends java.lang.Double> values) {
- ensureTopicsIsMutable();
- super.addAll(values, topics_);
- onChanged();
- return this;
- }
- public Builder clearTopics() {
- topics_ = java.util.Collections.emptyList();;
- bitField0_ = (bitField0_ & ~0x00000100);
- onChanged();
- return this;
- }
-
- // required string area = 10;
- private java.lang.Object area_ = "";
- public boolean hasArea() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
- }
- public String getArea() {
- java.lang.Object ref = area_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- area_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setArea(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000200;
- area_ = value;
- onChanged();
- return this;
- }
- public Builder clearArea() {
- bitField0_ = (bitField0_ & ~0x00000200);
- area_ = getDefaultInstance().getArea();
- onChanged();
- return this;
- }
- void setArea(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000200;
- area_ = value;
- onChanged();
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.Person.Metadata)
- }
-
- static {
- defaultInstance = new Metadata(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.Person.Metadata)
- }
-
- private int bitField0_;
- // optional .eu.dnetlib.data.proto.Person.Metadata metadata = 2;
- public static final int METADATA_FIELD_NUMBER = 2;
- private eu.dnetlib.data.proto.PersonProtos.Person.Metadata metadata_;
- public boolean hasMetadata() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.PersonProtos.Person.Metadata getMetadata() {
- return metadata_;
- }
- public eu.dnetlib.data.proto.PersonProtos.Person.MetadataOrBuilder getMetadataOrBuilder() {
- return metadata_;
- }
-
- private void initFields() {
- metadata_ = eu.dnetlib.data.proto.PersonProtos.Person.Metadata.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (hasMetadata()) {
- if (!getMetadata().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeMessage(2, metadata_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, metadata_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.PersonProtos.Person parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.PersonProtos.Person parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.PersonProtos.Person parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.PersonProtos.Person parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.PersonProtos.Person parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.PersonProtos.Person parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.PersonProtos.Person parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.PersonProtos.Person parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.PersonProtos.Person parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.PersonProtos.Person parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.PersonProtos.Person prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.PersonProtos.PersonOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.PersonProtos.internal_static_eu_dnetlib_data_proto_Person_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.PersonProtos.internal_static_eu_dnetlib_data_proto_Person_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.PersonProtos.Person.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getMetadataFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- if (metadataBuilder_ == null) {
- metadata_ = eu.dnetlib.data.proto.PersonProtos.Person.Metadata.getDefaultInstance();
- } else {
- metadataBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.PersonProtos.Person.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.PersonProtos.Person getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.PersonProtos.Person.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.PersonProtos.Person build() {
- eu.dnetlib.data.proto.PersonProtos.Person result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.PersonProtos.Person buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.PersonProtos.Person result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.PersonProtos.Person buildPartial() {
- eu.dnetlib.data.proto.PersonProtos.Person result = new eu.dnetlib.data.proto.PersonProtos.Person(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- if (metadataBuilder_ == null) {
- result.metadata_ = metadata_;
- } else {
- result.metadata_ = metadataBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.PersonProtos.Person) {
- return mergeFrom((eu.dnetlib.data.proto.PersonProtos.Person)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.PersonProtos.Person other) {
- if (other == eu.dnetlib.data.proto.PersonProtos.Person.getDefaultInstance()) return this;
- if (other.hasMetadata()) {
- mergeMetadata(other.getMetadata());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (hasMetadata()) {
- if (!getMetadata().isInitialized()) {
-
- return false;
- }
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 18: {
- eu.dnetlib.data.proto.PersonProtos.Person.Metadata.Builder subBuilder = eu.dnetlib.data.proto.PersonProtos.Person.Metadata.newBuilder();
- if (hasMetadata()) {
- subBuilder.mergeFrom(getMetadata());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setMetadata(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // optional .eu.dnetlib.data.proto.Person.Metadata metadata = 2;
- private eu.dnetlib.data.proto.PersonProtos.Person.Metadata metadata_ = eu.dnetlib.data.proto.PersonProtos.Person.Metadata.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.PersonProtos.Person.Metadata, eu.dnetlib.data.proto.PersonProtos.Person.Metadata.Builder, eu.dnetlib.data.proto.PersonProtos.Person.MetadataOrBuilder> metadataBuilder_;
- public boolean hasMetadata() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.PersonProtos.Person.Metadata getMetadata() {
- if (metadataBuilder_ == null) {
- return metadata_;
- } else {
- return metadataBuilder_.getMessage();
- }
- }
- public Builder setMetadata(eu.dnetlib.data.proto.PersonProtos.Person.Metadata value) {
- if (metadataBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- metadata_ = value;
- onChanged();
- } else {
- metadataBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder setMetadata(
- eu.dnetlib.data.proto.PersonProtos.Person.Metadata.Builder builderForValue) {
- if (metadataBuilder_ == null) {
- metadata_ = builderForValue.build();
- onChanged();
- } else {
- metadataBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder mergeMetadata(eu.dnetlib.data.proto.PersonProtos.Person.Metadata value) {
- if (metadataBuilder_ == null) {
- if (((bitField0_ & 0x00000001) == 0x00000001) &&
- metadata_ != eu.dnetlib.data.proto.PersonProtos.Person.Metadata.getDefaultInstance()) {
- metadata_ =
- eu.dnetlib.data.proto.PersonProtos.Person.Metadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
- } else {
- metadata_ = value;
- }
- onChanged();
- } else {
- metadataBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder clearMetadata() {
- if (metadataBuilder_ == null) {
- metadata_ = eu.dnetlib.data.proto.PersonProtos.Person.Metadata.getDefaultInstance();
- onChanged();
- } else {
- metadataBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
- public eu.dnetlib.data.proto.PersonProtos.Person.Metadata.Builder getMetadataBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return getMetadataFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.PersonProtos.Person.MetadataOrBuilder getMetadataOrBuilder() {
- if (metadataBuilder_ != null) {
- return metadataBuilder_.getMessageOrBuilder();
- } else {
- return metadata_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.PersonProtos.Person.Metadata, eu.dnetlib.data.proto.PersonProtos.Person.Metadata.Builder, eu.dnetlib.data.proto.PersonProtos.Person.MetadataOrBuilder>
- getMetadataFieldBuilder() {
- if (metadataBuilder_ == null) {
- metadataBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.PersonProtos.Person.Metadata, eu.dnetlib.data.proto.PersonProtos.Person.Metadata.Builder, eu.dnetlib.data.proto.PersonProtos.Person.MetadataOrBuilder>(
- metadata_,
- getParentForChildren(),
- isClean());
- metadata_ = null;
- }
- return metadataBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.Person)
- }
-
- static {
- defaultInstance = new Person(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.Person)
- }
-
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_Person_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_Person_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_Person_Metadata_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_Person_Metadata_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
- return descriptor;
- }
- private static com.google.protobuf.Descriptors.FileDescriptor
- descriptor;
- static {
- java.lang.String[] descriptorData = {
- "\n\014Person.proto\022\025eu.dnetlib.data.proto\032\017F" +
- "ieldType.proto\"\363\001\n\006Person\0228\n\010metadata\030\002 " +
- "\001(\0132&.eu.dnetlib.data.proto.Person.Metad" +
- "ata\032\256\001\n\010Metadata\022\020\n\010fullname\030\001 \002(\t\022\021\n\tfi" +
- "rstname\030\002 \001(\t\022\020\n\010lastname\030\003 \001(\t\022\r\n\005pubID" +
- "\030\004 \002(\t\022\016\n\006pubDOI\030\005 \001(\t\022\r\n\005orcid\030\006 \001(\t\022\014\n" +
- "\004rank\030\007 \002(\005\022\021\n\tcoauthors\030\010 \003(\t\022\016\n\006topics" +
- "\030\t \003(\001\022\014\n\004area\030\n \002(\tB%\n\025eu.dnetlib.data." +
- "protoB\014PersonProtos"
- };
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- internal_static_eu_dnetlib_data_proto_Person_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_eu_dnetlib_data_proto_Person_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_Person_descriptor,
- new java.lang.String[] { "Metadata", },
- eu.dnetlib.data.proto.PersonProtos.Person.class,
- eu.dnetlib.data.proto.PersonProtos.Person.Builder.class);
- internal_static_eu_dnetlib_data_proto_Person_Metadata_descriptor =
- internal_static_eu_dnetlib_data_proto_Person_descriptor.getNestedTypes().get(0);
- internal_static_eu_dnetlib_data_proto_Person_Metadata_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_Person_Metadata_descriptor,
- new java.lang.String[] { "Fullname", "Firstname", "Lastname", "PubID", "PubDOI", "Orcid", "Rank", "Coauthors", "Topics", "Area", },
- eu.dnetlib.data.proto.PersonProtos.Person.Metadata.class,
- eu.dnetlib.data.proto.PersonProtos.Person.Metadata.Builder.class);
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- eu.dnetlib.data.proto.FieldTypeProtos.getDescriptor(),
- }, assigner);
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/ProjectOrganizationProtos.java b/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/ProjectOrganizationProtos.java
deleted file mode 100644
index 7604c67d0..000000000
--- a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/ProjectOrganizationProtos.java
+++ /dev/null
@@ -1,1112 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: Project_Organization.proto
-
-package eu.dnetlib.data.proto;
-
-public final class ProjectOrganizationProtos {
- private ProjectOrganizationProtos() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- }
- public interface ProjectOrganizationOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional .eu.dnetlib.data.proto.ProjectOrganization.Participation participation = 1;
- boolean hasParticipation();
- eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation getParticipation();
- eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.ParticipationOrBuilder getParticipationOrBuilder();
- }
- public static final class ProjectOrganization extends
- com.google.protobuf.GeneratedMessage
- implements ProjectOrganizationOrBuilder {
- // Use ProjectOrganization.newBuilder() to construct.
- private ProjectOrganization(Builder builder) {
- super(builder);
- }
- private ProjectOrganization(boolean noInit) {}
-
- private static final ProjectOrganization defaultInstance;
- public static ProjectOrganization getDefaultInstance() {
- return defaultInstance;
- }
-
- public ProjectOrganization getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.ProjectOrganizationProtos.internal_static_eu_dnetlib_data_proto_ProjectOrganization_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.ProjectOrganizationProtos.internal_static_eu_dnetlib_data_proto_ProjectOrganization_fieldAccessorTable;
- }
-
- public interface ParticipationOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // required .eu.dnetlib.data.proto.RelMetadata relMetadata = 1;
- boolean hasRelMetadata();
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata getRelMetadata();
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder getRelMetadataOrBuilder();
-
- // optional string participantnumber = 2;
- boolean hasParticipantnumber();
- String getParticipantnumber();
- }
- public static final class Participation extends
- com.google.protobuf.GeneratedMessage
- implements ParticipationOrBuilder {
- // Use Participation.newBuilder() to construct.
- private Participation(Builder builder) {
- super(builder);
- }
- private Participation(boolean noInit) {}
-
- private static final Participation defaultInstance;
- public static Participation getDefaultInstance() {
- return defaultInstance;
- }
-
- public Participation getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.ProjectOrganizationProtos.internal_static_eu_dnetlib_data_proto_ProjectOrganization_Participation_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.ProjectOrganizationProtos.internal_static_eu_dnetlib_data_proto_ProjectOrganization_Participation_fieldAccessorTable;
- }
-
- public enum RelName
- implements com.google.protobuf.ProtocolMessageEnum {
- isParticipant(0, 1),
- hasParticipant(1, 2),
- ;
-
- public static final int isParticipant_VALUE = 1;
- public static final int hasParticipant_VALUE = 2;
-
-
- public final int getNumber() { return value; }
-
- public static RelName valueOf(int value) {
- switch (value) {
- case 1: return isParticipant;
- case 2: return hasParticipant;
- default: return null;
- }
- }
-
- public static com.google.protobuf.Internal.EnumLiteMap
- internalGetValueMap() {
- return internalValueMap;
- }
- private static com.google.protobuf.Internal.EnumLiteMap
- internalValueMap =
- new com.google.protobuf.Internal.EnumLiteMap() {
- public RelName findValueByNumber(int number) {
- return RelName.valueOf(number);
- }
- };
-
- public final com.google.protobuf.Descriptors.EnumValueDescriptor
- getValueDescriptor() {
- return getDescriptor().getValues().get(index);
- }
- public final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptorForType() {
- return getDescriptor();
- }
- public static final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation.getDescriptor().getEnumTypes().get(0);
- }
-
- private static final RelName[] VALUES = {
- isParticipant, hasParticipant,
- };
-
- public static RelName valueOf(
- com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
- if (desc.getType() != getDescriptor()) {
- throw new java.lang.IllegalArgumentException(
- "EnumValueDescriptor is not for this type.");
- }
- return VALUES[desc.getIndex()];
- }
-
- private final int index;
- private final int value;
-
- private RelName(int index, int value) {
- this.index = index;
- this.value = value;
- }
-
- // @@protoc_insertion_point(enum_scope:eu.dnetlib.data.proto.ProjectOrganization.Participation.RelName)
- }
-
- private int bitField0_;
- // required .eu.dnetlib.data.proto.RelMetadata relMetadata = 1;
- public static final int RELMETADATA_FIELD_NUMBER = 1;
- private eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata relMetadata_;
- public boolean hasRelMetadata() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata getRelMetadata() {
- return relMetadata_;
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder getRelMetadataOrBuilder() {
- return relMetadata_;
- }
-
- // optional string participantnumber = 2;
- public static final int PARTICIPANTNUMBER_FIELD_NUMBER = 2;
- private java.lang.Object participantnumber_;
- public boolean hasParticipantnumber() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public String getParticipantnumber() {
- java.lang.Object ref = participantnumber_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- participantnumber_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getParticipantnumberBytes() {
- java.lang.Object ref = participantnumber_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- participantnumber_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- private void initFields() {
- relMetadata_ = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance();
- participantnumber_ = "";
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasRelMetadata()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!getRelMetadata().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeMessage(1, relMetadata_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeBytes(2, getParticipantnumberBytes());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, relMetadata_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(2, getParticipantnumberBytes());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.ParticipationOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.ProjectOrganizationProtos.internal_static_eu_dnetlib_data_proto_ProjectOrganization_Participation_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.ProjectOrganizationProtos.internal_static_eu_dnetlib_data_proto_ProjectOrganization_Participation_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getRelMetadataFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- if (relMetadataBuilder_ == null) {
- relMetadata_ = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance();
- } else {
- relMetadataBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- participantnumber_ = "";
- bitField0_ = (bitField0_ & ~0x00000002);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation build() {
- eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation buildPartial() {
- eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation result = new eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- if (relMetadataBuilder_ == null) {
- result.relMetadata_ = relMetadata_;
- } else {
- result.relMetadata_ = relMetadataBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- result.participantnumber_ = participantnumber_;
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation) {
- return mergeFrom((eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation other) {
- if (other == eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation.getDefaultInstance()) return this;
- if (other.hasRelMetadata()) {
- mergeRelMetadata(other.getRelMetadata());
- }
- if (other.hasParticipantnumber()) {
- setParticipantnumber(other.getParticipantnumber());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasRelMetadata()) {
-
- return false;
- }
- if (!getRelMetadata().isInitialized()) {
-
- return false;
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 10: {
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder subBuilder = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.newBuilder();
- if (hasRelMetadata()) {
- subBuilder.mergeFrom(getRelMetadata());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setRelMetadata(subBuilder.buildPartial());
- break;
- }
- case 18: {
- bitField0_ |= 0x00000002;
- participantnumber_ = input.readBytes();
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // required .eu.dnetlib.data.proto.RelMetadata relMetadata = 1;
- private eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata relMetadata_ = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder> relMetadataBuilder_;
- public boolean hasRelMetadata() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata getRelMetadata() {
- if (relMetadataBuilder_ == null) {
- return relMetadata_;
- } else {
- return relMetadataBuilder_.getMessage();
- }
- }
- public Builder setRelMetadata(eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata value) {
- if (relMetadataBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- relMetadata_ = value;
- onChanged();
- } else {
- relMetadataBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder setRelMetadata(
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder builderForValue) {
- if (relMetadataBuilder_ == null) {
- relMetadata_ = builderForValue.build();
- onChanged();
- } else {
- relMetadataBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder mergeRelMetadata(eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata value) {
- if (relMetadataBuilder_ == null) {
- if (((bitField0_ & 0x00000001) == 0x00000001) &&
- relMetadata_ != eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance()) {
- relMetadata_ =
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.newBuilder(relMetadata_).mergeFrom(value).buildPartial();
- } else {
- relMetadata_ = value;
- }
- onChanged();
- } else {
- relMetadataBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder clearRelMetadata() {
- if (relMetadataBuilder_ == null) {
- relMetadata_ = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance();
- onChanged();
- } else {
- relMetadataBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder getRelMetadataBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return getRelMetadataFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder getRelMetadataOrBuilder() {
- if (relMetadataBuilder_ != null) {
- return relMetadataBuilder_.getMessageOrBuilder();
- } else {
- return relMetadata_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder>
- getRelMetadataFieldBuilder() {
- if (relMetadataBuilder_ == null) {
- relMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder>(
- relMetadata_,
- getParentForChildren(),
- isClean());
- relMetadata_ = null;
- }
- return relMetadataBuilder_;
- }
-
- // optional string participantnumber = 2;
- private java.lang.Object participantnumber_ = "";
- public boolean hasParticipantnumber() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public String getParticipantnumber() {
- java.lang.Object ref = participantnumber_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- participantnumber_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setParticipantnumber(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- participantnumber_ = value;
- onChanged();
- return this;
- }
- public Builder clearParticipantnumber() {
- bitField0_ = (bitField0_ & ~0x00000002);
- participantnumber_ = getDefaultInstance().getParticipantnumber();
- onChanged();
- return this;
- }
- void setParticipantnumber(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000002;
- participantnumber_ = value;
- onChanged();
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.ProjectOrganization.Participation)
- }
-
- static {
- defaultInstance = new Participation(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.ProjectOrganization.Participation)
- }
-
- private int bitField0_;
- // optional .eu.dnetlib.data.proto.ProjectOrganization.Participation participation = 1;
- public static final int PARTICIPATION_FIELD_NUMBER = 1;
- private eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation participation_;
- public boolean hasParticipation() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation getParticipation() {
- return participation_;
- }
- public eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.ParticipationOrBuilder getParticipationOrBuilder() {
- return participation_;
- }
-
- private void initFields() {
- participation_ = eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (hasParticipation()) {
- if (!getParticipation().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeMessage(1, participation_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, participation_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganizationOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.ProjectOrganizationProtos.internal_static_eu_dnetlib_data_proto_ProjectOrganization_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.ProjectOrganizationProtos.internal_static_eu_dnetlib_data_proto_ProjectOrganization_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getParticipationFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- if (participationBuilder_ == null) {
- participation_ = eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation.getDefaultInstance();
- } else {
- participationBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization build() {
- eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization buildPartial() {
- eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization result = new eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- if (participationBuilder_ == null) {
- result.participation_ = participation_;
- } else {
- result.participation_ = participationBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization) {
- return mergeFrom((eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization other) {
- if (other == eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.getDefaultInstance()) return this;
- if (other.hasParticipation()) {
- mergeParticipation(other.getParticipation());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (hasParticipation()) {
- if (!getParticipation().isInitialized()) {
-
- return false;
- }
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 10: {
- eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation.Builder subBuilder = eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation.newBuilder();
- if (hasParticipation()) {
- subBuilder.mergeFrom(getParticipation());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setParticipation(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // optional .eu.dnetlib.data.proto.ProjectOrganization.Participation participation = 1;
- private eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation participation_ = eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation, eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation.Builder, eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.ParticipationOrBuilder> participationBuilder_;
- public boolean hasParticipation() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation getParticipation() {
- if (participationBuilder_ == null) {
- return participation_;
- } else {
- return participationBuilder_.getMessage();
- }
- }
- public Builder setParticipation(eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation value) {
- if (participationBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- participation_ = value;
- onChanged();
- } else {
- participationBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder setParticipation(
- eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation.Builder builderForValue) {
- if (participationBuilder_ == null) {
- participation_ = builderForValue.build();
- onChanged();
- } else {
- participationBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder mergeParticipation(eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation value) {
- if (participationBuilder_ == null) {
- if (((bitField0_ & 0x00000001) == 0x00000001) &&
- participation_ != eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation.getDefaultInstance()) {
- participation_ =
- eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation.newBuilder(participation_).mergeFrom(value).buildPartial();
- } else {
- participation_ = value;
- }
- onChanged();
- } else {
- participationBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder clearParticipation() {
- if (participationBuilder_ == null) {
- participation_ = eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation.getDefaultInstance();
- onChanged();
- } else {
- participationBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
- public eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation.Builder getParticipationBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return getParticipationFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.ParticipationOrBuilder getParticipationOrBuilder() {
- if (participationBuilder_ != null) {
- return participationBuilder_.getMessageOrBuilder();
- } else {
- return participation_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation, eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation.Builder, eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.ParticipationOrBuilder>
- getParticipationFieldBuilder() {
- if (participationBuilder_ == null) {
- participationBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation, eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation.Builder, eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.ParticipationOrBuilder>(
- participation_,
- getParentForChildren(),
- isClean());
- participation_ = null;
- }
- return participationBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.ProjectOrganization)
- }
-
- static {
- defaultInstance = new ProjectOrganization(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.ProjectOrganization)
- }
-
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_ProjectOrganization_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_ProjectOrganization_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_ProjectOrganization_Participation_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_ProjectOrganization_Participation_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
- return descriptor;
- }
- private static com.google.protobuf.Descriptors.FileDescriptor
- descriptor;
- static {
- java.lang.String[] descriptorData = {
- "\n\032Project_Organization.proto\022\025eu.dnetlib" +
- ".data.proto\032\021RelMetadata.proto\"\376\001\n\023Proje" +
- "ctOrganization\022O\n\rparticipation\030\001 \001(\01328." +
- "eu.dnetlib.data.proto.ProjectOrganizatio" +
- "n.Participation\032\225\001\n\rParticipation\0227\n\013rel" +
- "Metadata\030\001 \002(\0132\".eu.dnetlib.data.proto.R" +
- "elMetadata\022\031\n\021participantnumber\030\002 \001(\t\"0\n" +
- "\007RelName\022\021\n\risParticipant\020\001\022\022\n\016hasPartic" +
- "ipant\020\002B2\n\025eu.dnetlib.data.protoB\031Projec" +
- "tOrganizationProtos"
- };
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- internal_static_eu_dnetlib_data_proto_ProjectOrganization_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_eu_dnetlib_data_proto_ProjectOrganization_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_ProjectOrganization_descriptor,
- new java.lang.String[] { "Participation", },
- eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.class,
- eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Builder.class);
- internal_static_eu_dnetlib_data_proto_ProjectOrganization_Participation_descriptor =
- internal_static_eu_dnetlib_data_proto_ProjectOrganization_descriptor.getNestedTypes().get(0);
- internal_static_eu_dnetlib_data_proto_ProjectOrganization_Participation_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_ProjectOrganization_Participation_descriptor,
- new java.lang.String[] { "RelMetadata", "Participantnumber", },
- eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation.class,
- eu.dnetlib.data.proto.ProjectOrganizationProtos.ProjectOrganization.Participation.Builder.class);
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- eu.dnetlib.data.proto.RelMetadataProtos.getDescriptor(),
- }, assigner);
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/ProjectProtos.java b/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/ProjectProtos.java
deleted file mode 100644
index 27ba77dfa..000000000
--- a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/ProjectProtos.java
+++ /dev/null
@@ -1,4486 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: Project.proto
-
-package eu.dnetlib.data.proto;
-
-public final class ProjectProtos {
- private ProjectProtos() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- }
- public interface ProjectOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional .eu.dnetlib.data.proto.Project.Metadata metadata = 2;
- boolean hasMetadata();
- eu.dnetlib.data.proto.ProjectProtos.Project.Metadata getMetadata();
- eu.dnetlib.data.proto.ProjectProtos.Project.MetadataOrBuilder getMetadataOrBuilder();
- }
- public static final class Project extends
- com.google.protobuf.GeneratedMessage
- implements ProjectOrBuilder {
- // Use Project.newBuilder() to construct.
- private Project(Builder builder) {
- super(builder);
- }
- private Project(boolean noInit) {}
-
- private static final Project defaultInstance;
- public static Project getDefaultInstance() {
- return defaultInstance;
- }
-
- public Project getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.ProjectProtos.internal_static_eu_dnetlib_data_proto_Project_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.ProjectProtos.internal_static_eu_dnetlib_data_proto_Project_fieldAccessorTable;
- }
-
- public interface MetadataOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional .eu.dnetlib.data.proto.StringField websiteurl = 1;
- boolean hasWebsiteurl();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getWebsiteurl();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getWebsiteurlOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField code = 2;
- boolean hasCode();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getCode();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getCodeOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField acronym = 3;
- boolean hasAcronym();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getAcronym();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getAcronymOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField title = 4;
- boolean hasTitle();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getTitle();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getTitleOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField startdate = 5;
- boolean hasStartdate();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getStartdate();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getStartdateOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField enddate = 6;
- boolean hasEnddate();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getEnddate();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEnddateOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField callidentifier = 7;
- boolean hasCallidentifier();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getCallidentifier();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getCallidentifierOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField keywords = 8;
- boolean hasKeywords();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getKeywords();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getKeywordsOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField duration = 9;
- boolean hasDuration();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getDuration();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDurationOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField ecsc39 = 10;
- boolean hasEcsc39();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcsc39();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcsc39OrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField oamandatepublications = 11;
- boolean hasOamandatepublications();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getOamandatepublications();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOamandatepublicationsOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField ecarticle29_3 = 12;
- boolean hasEcarticle293();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcarticle293();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcarticle293OrBuilder();
-
- // repeated .eu.dnetlib.data.proto.StructuredProperty subjects = 14;
- java.util.List
- getSubjectsList();
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty getSubjects(int index);
- int getSubjectsCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder>
- getSubjectsOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder getSubjectsOrBuilder(
- int index);
-
- // repeated .eu.dnetlib.data.proto.StringField fundingtree = 15;
- java.util.List
- getFundingtreeList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getFundingtree(int index);
- int getFundingtreeCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getFundingtreeOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getFundingtreeOrBuilder(
- int index);
-
- // optional .eu.dnetlib.data.proto.Qualifier contracttype = 13;
- boolean hasContracttype();
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getContracttype();
- eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getContracttypeOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField optional1 = 16;
- boolean hasOptional1();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getOptional1();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOptional1OrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField optional2 = 17;
- boolean hasOptional2();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getOptional2();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOptional2OrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField jsonextrainfo = 18;
- boolean hasJsonextrainfo();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getJsonextrainfo();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getJsonextrainfoOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField contactfullname = 19;
- boolean hasContactfullname();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getContactfullname();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getContactfullnameOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField contactfax = 20;
- boolean hasContactfax();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getContactfax();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getContactfaxOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField contactphone = 21;
- boolean hasContactphone();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getContactphone();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getContactphoneOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField contactemail = 22;
- boolean hasContactemail();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getContactemail();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getContactemailOrBuilder();
- }
- public static final class Metadata extends
- com.google.protobuf.GeneratedMessage
- implements MetadataOrBuilder {
- // Use Metadata.newBuilder() to construct.
- private Metadata(Builder builder) {
- super(builder);
- }
- private Metadata(boolean noInit) {}
-
- private static final Metadata defaultInstance;
- public static Metadata getDefaultInstance() {
- return defaultInstance;
- }
-
- public Metadata getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.ProjectProtos.internal_static_eu_dnetlib_data_proto_Project_Metadata_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.ProjectProtos.internal_static_eu_dnetlib_data_proto_Project_Metadata_fieldAccessorTable;
- }
-
- private int bitField0_;
- // optional .eu.dnetlib.data.proto.StringField websiteurl = 1;
- public static final int WEBSITEURL_FIELD_NUMBER = 1;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField websiteurl_;
- public boolean hasWebsiteurl() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getWebsiteurl() {
- return websiteurl_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getWebsiteurlOrBuilder() {
- return websiteurl_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField code = 2;
- public static final int CODE_FIELD_NUMBER = 2;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField code_;
- public boolean hasCode() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getCode() {
- return code_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getCodeOrBuilder() {
- return code_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField acronym = 3;
- public static final int ACRONYM_FIELD_NUMBER = 3;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField acronym_;
- public boolean hasAcronym() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getAcronym() {
- return acronym_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getAcronymOrBuilder() {
- return acronym_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField title = 4;
- public static final int TITLE_FIELD_NUMBER = 4;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField title_;
- public boolean hasTitle() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getTitle() {
- return title_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getTitleOrBuilder() {
- return title_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField startdate = 5;
- public static final int STARTDATE_FIELD_NUMBER = 5;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField startdate_;
- public boolean hasStartdate() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getStartdate() {
- return startdate_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getStartdateOrBuilder() {
- return startdate_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField enddate = 6;
- public static final int ENDDATE_FIELD_NUMBER = 6;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField enddate_;
- public boolean hasEnddate() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEnddate() {
- return enddate_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEnddateOrBuilder() {
- return enddate_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField callidentifier = 7;
- public static final int CALLIDENTIFIER_FIELD_NUMBER = 7;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField callidentifier_;
- public boolean hasCallidentifier() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getCallidentifier() {
- return callidentifier_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getCallidentifierOrBuilder() {
- return callidentifier_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField keywords = 8;
- public static final int KEYWORDS_FIELD_NUMBER = 8;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField keywords_;
- public boolean hasKeywords() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getKeywords() {
- return keywords_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getKeywordsOrBuilder() {
- return keywords_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField duration = 9;
- public static final int DURATION_FIELD_NUMBER = 9;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField duration_;
- public boolean hasDuration() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getDuration() {
- return duration_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDurationOrBuilder() {
- return duration_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField ecsc39 = 10;
- public static final int ECSC39_FIELD_NUMBER = 10;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField ecsc39_;
- public boolean hasEcsc39() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcsc39() {
- return ecsc39_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcsc39OrBuilder() {
- return ecsc39_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField oamandatepublications = 11;
- public static final int OAMANDATEPUBLICATIONS_FIELD_NUMBER = 11;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField oamandatepublications_;
- public boolean hasOamandatepublications() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getOamandatepublications() {
- return oamandatepublications_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOamandatepublicationsOrBuilder() {
- return oamandatepublications_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField ecarticle29_3 = 12;
- public static final int ECARTICLE29_3_FIELD_NUMBER = 12;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField ecarticle293_;
- public boolean hasEcarticle293() {
- return ((bitField0_ & 0x00000800) == 0x00000800);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcarticle293() {
- return ecarticle293_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcarticle293OrBuilder() {
- return ecarticle293_;
- }
-
- // repeated .eu.dnetlib.data.proto.StructuredProperty subjects = 14;
- public static final int SUBJECTS_FIELD_NUMBER = 14;
- private java.util.List subjects_;
- public java.util.List getSubjectsList() {
- return subjects_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder>
- getSubjectsOrBuilderList() {
- return subjects_;
- }
- public int getSubjectsCount() {
- return subjects_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty getSubjects(int index) {
- return subjects_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder getSubjectsOrBuilder(
- int index) {
- return subjects_.get(index);
- }
-
- // repeated .eu.dnetlib.data.proto.StringField fundingtree = 15;
- public static final int FUNDINGTREE_FIELD_NUMBER = 15;
- private java.util.List fundingtree_;
- public java.util.List getFundingtreeList() {
- return fundingtree_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getFundingtreeOrBuilderList() {
- return fundingtree_;
- }
- public int getFundingtreeCount() {
- return fundingtree_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getFundingtree(int index) {
- return fundingtree_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getFundingtreeOrBuilder(
- int index) {
- return fundingtree_.get(index);
- }
-
- // optional .eu.dnetlib.data.proto.Qualifier contracttype = 13;
- public static final int CONTRACTTYPE_FIELD_NUMBER = 13;
- private eu.dnetlib.data.proto.FieldTypeProtos.Qualifier contracttype_;
- public boolean hasContracttype() {
- return ((bitField0_ & 0x00001000) == 0x00001000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getContracttype() {
- return contracttype_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getContracttypeOrBuilder() {
- return contracttype_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField optional1 = 16;
- public static final int OPTIONAL1_FIELD_NUMBER = 16;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField optional1_;
- public boolean hasOptional1() {
- return ((bitField0_ & 0x00002000) == 0x00002000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getOptional1() {
- return optional1_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOptional1OrBuilder() {
- return optional1_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField optional2 = 17;
- public static final int OPTIONAL2_FIELD_NUMBER = 17;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField optional2_;
- public boolean hasOptional2() {
- return ((bitField0_ & 0x00004000) == 0x00004000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getOptional2() {
- return optional2_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOptional2OrBuilder() {
- return optional2_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField jsonextrainfo = 18;
- public static final int JSONEXTRAINFO_FIELD_NUMBER = 18;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField jsonextrainfo_;
- public boolean hasJsonextrainfo() {
- return ((bitField0_ & 0x00008000) == 0x00008000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getJsonextrainfo() {
- return jsonextrainfo_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getJsonextrainfoOrBuilder() {
- return jsonextrainfo_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField contactfullname = 19;
- public static final int CONTACTFULLNAME_FIELD_NUMBER = 19;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField contactfullname_;
- public boolean hasContactfullname() {
- return ((bitField0_ & 0x00010000) == 0x00010000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getContactfullname() {
- return contactfullname_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getContactfullnameOrBuilder() {
- return contactfullname_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField contactfax = 20;
- public static final int CONTACTFAX_FIELD_NUMBER = 20;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField contactfax_;
- public boolean hasContactfax() {
- return ((bitField0_ & 0x00020000) == 0x00020000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getContactfax() {
- return contactfax_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getContactfaxOrBuilder() {
- return contactfax_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField contactphone = 21;
- public static final int CONTACTPHONE_FIELD_NUMBER = 21;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField contactphone_;
- public boolean hasContactphone() {
- return ((bitField0_ & 0x00040000) == 0x00040000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getContactphone() {
- return contactphone_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getContactphoneOrBuilder() {
- return contactphone_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField contactemail = 22;
- public static final int CONTACTEMAIL_FIELD_NUMBER = 22;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField contactemail_;
- public boolean hasContactemail() {
- return ((bitField0_ & 0x00080000) == 0x00080000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getContactemail() {
- return contactemail_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getContactemailOrBuilder() {
- return contactemail_;
- }
-
- private void initFields() {
- websiteurl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- code_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- acronym_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- title_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- startdate_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- enddate_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- callidentifier_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- keywords_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- duration_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- ecsc39_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- oamandatepublications_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- ecarticle293_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- subjects_ = java.util.Collections.emptyList();
- fundingtree_ = java.util.Collections.emptyList();
- contracttype_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- optional1_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- optional2_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- jsonextrainfo_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- contactfullname_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- contactfax_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- contactphone_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- contactemail_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (hasWebsiteurl()) {
- if (!getWebsiteurl().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasCode()) {
- if (!getCode().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasAcronym()) {
- if (!getAcronym().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasTitle()) {
- if (!getTitle().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasStartdate()) {
- if (!getStartdate().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasEnddate()) {
- if (!getEnddate().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasCallidentifier()) {
- if (!getCallidentifier().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasKeywords()) {
- if (!getKeywords().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasDuration()) {
- if (!getDuration().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasEcsc39()) {
- if (!getEcsc39().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasOamandatepublications()) {
- if (!getOamandatepublications().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasEcarticle293()) {
- if (!getEcarticle293().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getSubjectsCount(); i++) {
- if (!getSubjects(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getFundingtreeCount(); i++) {
- if (!getFundingtree(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasContracttype()) {
- if (!getContracttype().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasOptional1()) {
- if (!getOptional1().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasOptional2()) {
- if (!getOptional2().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasJsonextrainfo()) {
- if (!getJsonextrainfo().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasContactfullname()) {
- if (!getContactfullname().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasContactfax()) {
- if (!getContactfax().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasContactphone()) {
- if (!getContactphone().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasContactemail()) {
- if (!getContactemail().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeMessage(1, websiteurl_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeMessage(2, code_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeMessage(3, acronym_);
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- output.writeMessage(4, title_);
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- output.writeMessage(5, startdate_);
- }
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- output.writeMessage(6, enddate_);
- }
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
- output.writeMessage(7, callidentifier_);
- }
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
- output.writeMessage(8, keywords_);
- }
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
- output.writeMessage(9, duration_);
- }
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
- output.writeMessage(10, ecsc39_);
- }
- if (((bitField0_ & 0x00000400) == 0x00000400)) {
- output.writeMessage(11, oamandatepublications_);
- }
- if (((bitField0_ & 0x00000800) == 0x00000800)) {
- output.writeMessage(12, ecarticle293_);
- }
- if (((bitField0_ & 0x00001000) == 0x00001000)) {
- output.writeMessage(13, contracttype_);
- }
- for (int i = 0; i < subjects_.size(); i++) {
- output.writeMessage(14, subjects_.get(i));
- }
- for (int i = 0; i < fundingtree_.size(); i++) {
- output.writeMessage(15, fundingtree_.get(i));
- }
- if (((bitField0_ & 0x00002000) == 0x00002000)) {
- output.writeMessage(16, optional1_);
- }
- if (((bitField0_ & 0x00004000) == 0x00004000)) {
- output.writeMessage(17, optional2_);
- }
- if (((bitField0_ & 0x00008000) == 0x00008000)) {
- output.writeMessage(18, jsonextrainfo_);
- }
- if (((bitField0_ & 0x00010000) == 0x00010000)) {
- output.writeMessage(19, contactfullname_);
- }
- if (((bitField0_ & 0x00020000) == 0x00020000)) {
- output.writeMessage(20, contactfax_);
- }
- if (((bitField0_ & 0x00040000) == 0x00040000)) {
- output.writeMessage(21, contactphone_);
- }
- if (((bitField0_ & 0x00080000) == 0x00080000)) {
- output.writeMessage(22, contactemail_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, websiteurl_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, code_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, acronym_);
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(4, title_);
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(5, startdate_);
- }
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(6, enddate_);
- }
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(7, callidentifier_);
- }
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(8, keywords_);
- }
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(9, duration_);
- }
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(10, ecsc39_);
- }
- if (((bitField0_ & 0x00000400) == 0x00000400)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(11, oamandatepublications_);
- }
- if (((bitField0_ & 0x00000800) == 0x00000800)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(12, ecarticle293_);
- }
- if (((bitField0_ & 0x00001000) == 0x00001000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(13, contracttype_);
- }
- for (int i = 0; i < subjects_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(14, subjects_.get(i));
- }
- for (int i = 0; i < fundingtree_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(15, fundingtree_.get(i));
- }
- if (((bitField0_ & 0x00002000) == 0x00002000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(16, optional1_);
- }
- if (((bitField0_ & 0x00004000) == 0x00004000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(17, optional2_);
- }
- if (((bitField0_ & 0x00008000) == 0x00008000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(18, jsonextrainfo_);
- }
- if (((bitField0_ & 0x00010000) == 0x00010000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(19, contactfullname_);
- }
- if (((bitField0_ & 0x00020000) == 0x00020000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(20, contactfax_);
- }
- if (((bitField0_ & 0x00040000) == 0x00040000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(21, contactphone_);
- }
- if (((bitField0_ & 0x00080000) == 0x00080000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(22, contactemail_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.ProjectProtos.Project.Metadata parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectProtos.Project.Metadata parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectProtos.Project.Metadata parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectProtos.Project.Metadata parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectProtos.Project.Metadata parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectProtos.Project.Metadata parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectProtos.Project.Metadata parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.ProjectProtos.Project.Metadata parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.ProjectProtos.Project.Metadata parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectProtos.Project.Metadata parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.ProjectProtos.Project.Metadata prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.ProjectProtos.Project.MetadataOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.ProjectProtos.internal_static_eu_dnetlib_data_proto_Project_Metadata_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.ProjectProtos.internal_static_eu_dnetlib_data_proto_Project_Metadata_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.ProjectProtos.Project.Metadata.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getWebsiteurlFieldBuilder();
- getCodeFieldBuilder();
- getAcronymFieldBuilder();
- getTitleFieldBuilder();
- getStartdateFieldBuilder();
- getEnddateFieldBuilder();
- getCallidentifierFieldBuilder();
- getKeywordsFieldBuilder();
- getDurationFieldBuilder();
- getEcsc39FieldBuilder();
- getOamandatepublicationsFieldBuilder();
- getEcarticle293FieldBuilder();
- getSubjectsFieldBuilder();
- getFundingtreeFieldBuilder();
- getContracttypeFieldBuilder();
- getOptional1FieldBuilder();
- getOptional2FieldBuilder();
- getJsonextrainfoFieldBuilder();
- getContactfullnameFieldBuilder();
- getContactfaxFieldBuilder();
- getContactphoneFieldBuilder();
- getContactemailFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- if (websiteurlBuilder_ == null) {
- websiteurl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- websiteurlBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- if (codeBuilder_ == null) {
- code_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- codeBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000002);
- if (acronymBuilder_ == null) {
- acronym_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- acronymBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000004);
- if (titleBuilder_ == null) {
- title_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- titleBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000008);
- if (startdateBuilder_ == null) {
- startdate_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- startdateBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000010);
- if (enddateBuilder_ == null) {
- enddate_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- enddateBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000020);
- if (callidentifierBuilder_ == null) {
- callidentifier_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- callidentifierBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000040);
- if (keywordsBuilder_ == null) {
- keywords_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- keywordsBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000080);
- if (durationBuilder_ == null) {
- duration_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- durationBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000100);
- if (ecsc39Builder_ == null) {
- ecsc39_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- ecsc39Builder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000200);
- if (oamandatepublicationsBuilder_ == null) {
- oamandatepublications_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- oamandatepublicationsBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000400);
- if (ecarticle293Builder_ == null) {
- ecarticle293_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- ecarticle293Builder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000800);
- if (subjectsBuilder_ == null) {
- subjects_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00001000);
- } else {
- subjectsBuilder_.clear();
- }
- if (fundingtreeBuilder_ == null) {
- fundingtree_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00002000);
- } else {
- fundingtreeBuilder_.clear();
- }
- if (contracttypeBuilder_ == null) {
- contracttype_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- } else {
- contracttypeBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00004000);
- if (optional1Builder_ == null) {
- optional1_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- optional1Builder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00008000);
- if (optional2Builder_ == null) {
- optional2_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- optional2Builder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00010000);
- if (jsonextrainfoBuilder_ == null) {
- jsonextrainfo_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- jsonextrainfoBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00020000);
- if (contactfullnameBuilder_ == null) {
- contactfullname_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- contactfullnameBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00040000);
- if (contactfaxBuilder_ == null) {
- contactfax_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- contactfaxBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00080000);
- if (contactphoneBuilder_ == null) {
- contactphone_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- contactphoneBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00100000);
- if (contactemailBuilder_ == null) {
- contactemail_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- contactemailBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00200000);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.ProjectProtos.Project.Metadata.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.ProjectProtos.Project.Metadata getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.ProjectProtos.Project.Metadata.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.ProjectProtos.Project.Metadata build() {
- eu.dnetlib.data.proto.ProjectProtos.Project.Metadata result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.ProjectProtos.Project.Metadata buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.ProjectProtos.Project.Metadata result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.ProjectProtos.Project.Metadata buildPartial() {
- eu.dnetlib.data.proto.ProjectProtos.Project.Metadata result = new eu.dnetlib.data.proto.ProjectProtos.Project.Metadata(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- if (websiteurlBuilder_ == null) {
- result.websiteurl_ = websiteurl_;
- } else {
- result.websiteurl_ = websiteurlBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- if (codeBuilder_ == null) {
- result.code_ = code_;
- } else {
- result.code_ = codeBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
- to_bitField0_ |= 0x00000004;
- }
- if (acronymBuilder_ == null) {
- result.acronym_ = acronym_;
- } else {
- result.acronym_ = acronymBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
- to_bitField0_ |= 0x00000008;
- }
- if (titleBuilder_ == null) {
- result.title_ = title_;
- } else {
- result.title_ = titleBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
- to_bitField0_ |= 0x00000010;
- }
- if (startdateBuilder_ == null) {
- result.startdate_ = startdate_;
- } else {
- result.startdate_ = startdateBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
- to_bitField0_ |= 0x00000020;
- }
- if (enddateBuilder_ == null) {
- result.enddate_ = enddate_;
- } else {
- result.enddate_ = enddateBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
- to_bitField0_ |= 0x00000040;
- }
- if (callidentifierBuilder_ == null) {
- result.callidentifier_ = callidentifier_;
- } else {
- result.callidentifier_ = callidentifierBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
- to_bitField0_ |= 0x00000080;
- }
- if (keywordsBuilder_ == null) {
- result.keywords_ = keywords_;
- } else {
- result.keywords_ = keywordsBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
- to_bitField0_ |= 0x00000100;
- }
- if (durationBuilder_ == null) {
- result.duration_ = duration_;
- } else {
- result.duration_ = durationBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
- to_bitField0_ |= 0x00000200;
- }
- if (ecsc39Builder_ == null) {
- result.ecsc39_ = ecsc39_;
- } else {
- result.ecsc39_ = ecsc39Builder_.build();
- }
- if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
- to_bitField0_ |= 0x00000400;
- }
- if (oamandatepublicationsBuilder_ == null) {
- result.oamandatepublications_ = oamandatepublications_;
- } else {
- result.oamandatepublications_ = oamandatepublicationsBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
- to_bitField0_ |= 0x00000800;
- }
- if (ecarticle293Builder_ == null) {
- result.ecarticle293_ = ecarticle293_;
- } else {
- result.ecarticle293_ = ecarticle293Builder_.build();
- }
- if (subjectsBuilder_ == null) {
- if (((bitField0_ & 0x00001000) == 0x00001000)) {
- subjects_ = java.util.Collections.unmodifiableList(subjects_);
- bitField0_ = (bitField0_ & ~0x00001000);
- }
- result.subjects_ = subjects_;
- } else {
- result.subjects_ = subjectsBuilder_.build();
- }
- if (fundingtreeBuilder_ == null) {
- if (((bitField0_ & 0x00002000) == 0x00002000)) {
- fundingtree_ = java.util.Collections.unmodifiableList(fundingtree_);
- bitField0_ = (bitField0_ & ~0x00002000);
- }
- result.fundingtree_ = fundingtree_;
- } else {
- result.fundingtree_ = fundingtreeBuilder_.build();
- }
- if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
- to_bitField0_ |= 0x00001000;
- }
- if (contracttypeBuilder_ == null) {
- result.contracttype_ = contracttype_;
- } else {
- result.contracttype_ = contracttypeBuilder_.build();
- }
- if (((from_bitField0_ & 0x00008000) == 0x00008000)) {
- to_bitField0_ |= 0x00002000;
- }
- if (optional1Builder_ == null) {
- result.optional1_ = optional1_;
- } else {
- result.optional1_ = optional1Builder_.build();
- }
- if (((from_bitField0_ & 0x00010000) == 0x00010000)) {
- to_bitField0_ |= 0x00004000;
- }
- if (optional2Builder_ == null) {
- result.optional2_ = optional2_;
- } else {
- result.optional2_ = optional2Builder_.build();
- }
- if (((from_bitField0_ & 0x00020000) == 0x00020000)) {
- to_bitField0_ |= 0x00008000;
- }
- if (jsonextrainfoBuilder_ == null) {
- result.jsonextrainfo_ = jsonextrainfo_;
- } else {
- result.jsonextrainfo_ = jsonextrainfoBuilder_.build();
- }
- if (((from_bitField0_ & 0x00040000) == 0x00040000)) {
- to_bitField0_ |= 0x00010000;
- }
- if (contactfullnameBuilder_ == null) {
- result.contactfullname_ = contactfullname_;
- } else {
- result.contactfullname_ = contactfullnameBuilder_.build();
- }
- if (((from_bitField0_ & 0x00080000) == 0x00080000)) {
- to_bitField0_ |= 0x00020000;
- }
- if (contactfaxBuilder_ == null) {
- result.contactfax_ = contactfax_;
- } else {
- result.contactfax_ = contactfaxBuilder_.build();
- }
- if (((from_bitField0_ & 0x00100000) == 0x00100000)) {
- to_bitField0_ |= 0x00040000;
- }
- if (contactphoneBuilder_ == null) {
- result.contactphone_ = contactphone_;
- } else {
- result.contactphone_ = contactphoneBuilder_.build();
- }
- if (((from_bitField0_ & 0x00200000) == 0x00200000)) {
- to_bitField0_ |= 0x00080000;
- }
- if (contactemailBuilder_ == null) {
- result.contactemail_ = contactemail_;
- } else {
- result.contactemail_ = contactemailBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.ProjectProtos.Project.Metadata) {
- return mergeFrom((eu.dnetlib.data.proto.ProjectProtos.Project.Metadata)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.ProjectProtos.Project.Metadata other) {
- if (other == eu.dnetlib.data.proto.ProjectProtos.Project.Metadata.getDefaultInstance()) return this;
- if (other.hasWebsiteurl()) {
- mergeWebsiteurl(other.getWebsiteurl());
- }
- if (other.hasCode()) {
- mergeCode(other.getCode());
- }
- if (other.hasAcronym()) {
- mergeAcronym(other.getAcronym());
- }
- if (other.hasTitle()) {
- mergeTitle(other.getTitle());
- }
- if (other.hasStartdate()) {
- mergeStartdate(other.getStartdate());
- }
- if (other.hasEnddate()) {
- mergeEnddate(other.getEnddate());
- }
- if (other.hasCallidentifier()) {
- mergeCallidentifier(other.getCallidentifier());
- }
- if (other.hasKeywords()) {
- mergeKeywords(other.getKeywords());
- }
- if (other.hasDuration()) {
- mergeDuration(other.getDuration());
- }
- if (other.hasEcsc39()) {
- mergeEcsc39(other.getEcsc39());
- }
- if (other.hasOamandatepublications()) {
- mergeOamandatepublications(other.getOamandatepublications());
- }
- if (other.hasEcarticle293()) {
- mergeEcarticle293(other.getEcarticle293());
- }
- if (subjectsBuilder_ == null) {
- if (!other.subjects_.isEmpty()) {
- if (subjects_.isEmpty()) {
- subjects_ = other.subjects_;
- bitField0_ = (bitField0_ & ~0x00001000);
- } else {
- ensureSubjectsIsMutable();
- subjects_.addAll(other.subjects_);
- }
- onChanged();
- }
- } else {
- if (!other.subjects_.isEmpty()) {
- if (subjectsBuilder_.isEmpty()) {
- subjectsBuilder_.dispose();
- subjectsBuilder_ = null;
- subjects_ = other.subjects_;
- bitField0_ = (bitField0_ & ~0x00001000);
- subjectsBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getSubjectsFieldBuilder() : null;
- } else {
- subjectsBuilder_.addAllMessages(other.subjects_);
- }
- }
- }
- if (fundingtreeBuilder_ == null) {
- if (!other.fundingtree_.isEmpty()) {
- if (fundingtree_.isEmpty()) {
- fundingtree_ = other.fundingtree_;
- bitField0_ = (bitField0_ & ~0x00002000);
- } else {
- ensureFundingtreeIsMutable();
- fundingtree_.addAll(other.fundingtree_);
- }
- onChanged();
- }
- } else {
- if (!other.fundingtree_.isEmpty()) {
- if (fundingtreeBuilder_.isEmpty()) {
- fundingtreeBuilder_.dispose();
- fundingtreeBuilder_ = null;
- fundingtree_ = other.fundingtree_;
- bitField0_ = (bitField0_ & ~0x00002000);
- fundingtreeBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getFundingtreeFieldBuilder() : null;
- } else {
- fundingtreeBuilder_.addAllMessages(other.fundingtree_);
- }
- }
- }
- if (other.hasContracttype()) {
- mergeContracttype(other.getContracttype());
- }
- if (other.hasOptional1()) {
- mergeOptional1(other.getOptional1());
- }
- if (other.hasOptional2()) {
- mergeOptional2(other.getOptional2());
- }
- if (other.hasJsonextrainfo()) {
- mergeJsonextrainfo(other.getJsonextrainfo());
- }
- if (other.hasContactfullname()) {
- mergeContactfullname(other.getContactfullname());
- }
- if (other.hasContactfax()) {
- mergeContactfax(other.getContactfax());
- }
- if (other.hasContactphone()) {
- mergeContactphone(other.getContactphone());
- }
- if (other.hasContactemail()) {
- mergeContactemail(other.getContactemail());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (hasWebsiteurl()) {
- if (!getWebsiteurl().isInitialized()) {
-
- return false;
- }
- }
- if (hasCode()) {
- if (!getCode().isInitialized()) {
-
- return false;
- }
- }
- if (hasAcronym()) {
- if (!getAcronym().isInitialized()) {
-
- return false;
- }
- }
- if (hasTitle()) {
- if (!getTitle().isInitialized()) {
-
- return false;
- }
- }
- if (hasStartdate()) {
- if (!getStartdate().isInitialized()) {
-
- return false;
- }
- }
- if (hasEnddate()) {
- if (!getEnddate().isInitialized()) {
-
- return false;
- }
- }
- if (hasCallidentifier()) {
- if (!getCallidentifier().isInitialized()) {
-
- return false;
- }
- }
- if (hasKeywords()) {
- if (!getKeywords().isInitialized()) {
-
- return false;
- }
- }
- if (hasDuration()) {
- if (!getDuration().isInitialized()) {
-
- return false;
- }
- }
- if (hasEcsc39()) {
- if (!getEcsc39().isInitialized()) {
-
- return false;
- }
- }
- if (hasOamandatepublications()) {
- if (!getOamandatepublications().isInitialized()) {
-
- return false;
- }
- }
- if (hasEcarticle293()) {
- if (!getEcarticle293().isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getSubjectsCount(); i++) {
- if (!getSubjects(i).isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getFundingtreeCount(); i++) {
- if (!getFundingtree(i).isInitialized()) {
-
- return false;
- }
- }
- if (hasContracttype()) {
- if (!getContracttype().isInitialized()) {
-
- return false;
- }
- }
- if (hasOptional1()) {
- if (!getOptional1().isInitialized()) {
-
- return false;
- }
- }
- if (hasOptional2()) {
- if (!getOptional2().isInitialized()) {
-
- return false;
- }
- }
- if (hasJsonextrainfo()) {
- if (!getJsonextrainfo().isInitialized()) {
-
- return false;
- }
- }
- if (hasContactfullname()) {
- if (!getContactfullname().isInitialized()) {
-
- return false;
- }
- }
- if (hasContactfax()) {
- if (!getContactfax().isInitialized()) {
-
- return false;
- }
- }
- if (hasContactphone()) {
- if (!getContactphone().isInitialized()) {
-
- return false;
- }
- }
- if (hasContactemail()) {
- if (!getContactemail().isInitialized()) {
-
- return false;
- }
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 10: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasWebsiteurl()) {
- subBuilder.mergeFrom(getWebsiteurl());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setWebsiteurl(subBuilder.buildPartial());
- break;
- }
- case 18: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasCode()) {
- subBuilder.mergeFrom(getCode());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setCode(subBuilder.buildPartial());
- break;
- }
- case 26: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasAcronym()) {
- subBuilder.mergeFrom(getAcronym());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setAcronym(subBuilder.buildPartial());
- break;
- }
- case 34: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasTitle()) {
- subBuilder.mergeFrom(getTitle());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setTitle(subBuilder.buildPartial());
- break;
- }
- case 42: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasStartdate()) {
- subBuilder.mergeFrom(getStartdate());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setStartdate(subBuilder.buildPartial());
- break;
- }
- case 50: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasEnddate()) {
- subBuilder.mergeFrom(getEnddate());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setEnddate(subBuilder.buildPartial());
- break;
- }
- case 58: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasCallidentifier()) {
- subBuilder.mergeFrom(getCallidentifier());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setCallidentifier(subBuilder.buildPartial());
- break;
- }
- case 66: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasKeywords()) {
- subBuilder.mergeFrom(getKeywords());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setKeywords(subBuilder.buildPartial());
- break;
- }
- case 74: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasDuration()) {
- subBuilder.mergeFrom(getDuration());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setDuration(subBuilder.buildPartial());
- break;
- }
- case 82: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasEcsc39()) {
- subBuilder.mergeFrom(getEcsc39());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setEcsc39(subBuilder.buildPartial());
- break;
- }
- case 90: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasOamandatepublications()) {
- subBuilder.mergeFrom(getOamandatepublications());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setOamandatepublications(subBuilder.buildPartial());
- break;
- }
- case 98: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasEcarticle293()) {
- subBuilder.mergeFrom(getEcarticle293());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setEcarticle293(subBuilder.buildPartial());
- break;
- }
- case 106: {
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.newBuilder();
- if (hasContracttype()) {
- subBuilder.mergeFrom(getContracttype());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setContracttype(subBuilder.buildPartial());
- break;
- }
- case 114: {
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addSubjects(subBuilder.buildPartial());
- break;
- }
- case 122: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addFundingtree(subBuilder.buildPartial());
- break;
- }
- case 130: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasOptional1()) {
- subBuilder.mergeFrom(getOptional1());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setOptional1(subBuilder.buildPartial());
- break;
- }
- case 138: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasOptional2()) {
- subBuilder.mergeFrom(getOptional2());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setOptional2(subBuilder.buildPartial());
- break;
- }
- case 146: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasJsonextrainfo()) {
- subBuilder.mergeFrom(getJsonextrainfo());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setJsonextrainfo(subBuilder.buildPartial());
- break;
- }
- case 154: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasContactfullname()) {
- subBuilder.mergeFrom(getContactfullname());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setContactfullname(subBuilder.buildPartial());
- break;
- }
- case 162: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasContactfax()) {
- subBuilder.mergeFrom(getContactfax());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setContactfax(subBuilder.buildPartial());
- break;
- }
- case 170: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasContactphone()) {
- subBuilder.mergeFrom(getContactphone());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setContactphone(subBuilder.buildPartial());
- break;
- }
- case 178: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasContactemail()) {
- subBuilder.mergeFrom(getContactemail());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setContactemail(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // optional .eu.dnetlib.data.proto.StringField websiteurl = 1;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField websiteurl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> websiteurlBuilder_;
- public boolean hasWebsiteurl() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getWebsiteurl() {
- if (websiteurlBuilder_ == null) {
- return websiteurl_;
- } else {
- return websiteurlBuilder_.getMessage();
- }
- }
- public Builder setWebsiteurl(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (websiteurlBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- websiteurl_ = value;
- onChanged();
- } else {
- websiteurlBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder setWebsiteurl(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (websiteurlBuilder_ == null) {
- websiteurl_ = builderForValue.build();
- onChanged();
- } else {
- websiteurlBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder mergeWebsiteurl(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (websiteurlBuilder_ == null) {
- if (((bitField0_ & 0x00000001) == 0x00000001) &&
- websiteurl_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- websiteurl_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(websiteurl_).mergeFrom(value).buildPartial();
- } else {
- websiteurl_ = value;
- }
- onChanged();
- } else {
- websiteurlBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder clearWebsiteurl() {
- if (websiteurlBuilder_ == null) {
- websiteurl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- websiteurlBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getWebsiteurlBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return getWebsiteurlFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getWebsiteurlOrBuilder() {
- if (websiteurlBuilder_ != null) {
- return websiteurlBuilder_.getMessageOrBuilder();
- } else {
- return websiteurl_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getWebsiteurlFieldBuilder() {
- if (websiteurlBuilder_ == null) {
- websiteurlBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- websiteurl_,
- getParentForChildren(),
- isClean());
- websiteurl_ = null;
- }
- return websiteurlBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField code = 2;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField code_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> codeBuilder_;
- public boolean hasCode() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getCode() {
- if (codeBuilder_ == null) {
- return code_;
- } else {
- return codeBuilder_.getMessage();
- }
- }
- public Builder setCode(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (codeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- code_ = value;
- onChanged();
- } else {
- codeBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder setCode(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (codeBuilder_ == null) {
- code_ = builderForValue.build();
- onChanged();
- } else {
- codeBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder mergeCode(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (codeBuilder_ == null) {
- if (((bitField0_ & 0x00000002) == 0x00000002) &&
- code_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- code_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(code_).mergeFrom(value).buildPartial();
- } else {
- code_ = value;
- }
- onChanged();
- } else {
- codeBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- public Builder clearCode() {
- if (codeBuilder_ == null) {
- code_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- codeBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000002);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getCodeBuilder() {
- bitField0_ |= 0x00000002;
- onChanged();
- return getCodeFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getCodeOrBuilder() {
- if (codeBuilder_ != null) {
- return codeBuilder_.getMessageOrBuilder();
- } else {
- return code_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getCodeFieldBuilder() {
- if (codeBuilder_ == null) {
- codeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- code_,
- getParentForChildren(),
- isClean());
- code_ = null;
- }
- return codeBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField acronym = 3;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField acronym_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> acronymBuilder_;
- public boolean hasAcronym() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getAcronym() {
- if (acronymBuilder_ == null) {
- return acronym_;
- } else {
- return acronymBuilder_.getMessage();
- }
- }
- public Builder setAcronym(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (acronymBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- acronym_ = value;
- onChanged();
- } else {
- acronymBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000004;
- return this;
- }
- public Builder setAcronym(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (acronymBuilder_ == null) {
- acronym_ = builderForValue.build();
- onChanged();
- } else {
- acronymBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000004;
- return this;
- }
- public Builder mergeAcronym(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (acronymBuilder_ == null) {
- if (((bitField0_ & 0x00000004) == 0x00000004) &&
- acronym_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- acronym_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(acronym_).mergeFrom(value).buildPartial();
- } else {
- acronym_ = value;
- }
- onChanged();
- } else {
- acronymBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000004;
- return this;
- }
- public Builder clearAcronym() {
- if (acronymBuilder_ == null) {
- acronym_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- acronymBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000004);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getAcronymBuilder() {
- bitField0_ |= 0x00000004;
- onChanged();
- return getAcronymFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getAcronymOrBuilder() {
- if (acronymBuilder_ != null) {
- return acronymBuilder_.getMessageOrBuilder();
- } else {
- return acronym_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getAcronymFieldBuilder() {
- if (acronymBuilder_ == null) {
- acronymBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- acronym_,
- getParentForChildren(),
- isClean());
- acronym_ = null;
- }
- return acronymBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField title = 4;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField title_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> titleBuilder_;
- public boolean hasTitle() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getTitle() {
- if (titleBuilder_ == null) {
- return title_;
- } else {
- return titleBuilder_.getMessage();
- }
- }
- public Builder setTitle(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (titleBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- title_ = value;
- onChanged();
- } else {
- titleBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000008;
- return this;
- }
- public Builder setTitle(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (titleBuilder_ == null) {
- title_ = builderForValue.build();
- onChanged();
- } else {
- titleBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000008;
- return this;
- }
- public Builder mergeTitle(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (titleBuilder_ == null) {
- if (((bitField0_ & 0x00000008) == 0x00000008) &&
- title_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- title_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(title_).mergeFrom(value).buildPartial();
- } else {
- title_ = value;
- }
- onChanged();
- } else {
- titleBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000008;
- return this;
- }
- public Builder clearTitle() {
- if (titleBuilder_ == null) {
- title_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- titleBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000008);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getTitleBuilder() {
- bitField0_ |= 0x00000008;
- onChanged();
- return getTitleFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getTitleOrBuilder() {
- if (titleBuilder_ != null) {
- return titleBuilder_.getMessageOrBuilder();
- } else {
- return title_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getTitleFieldBuilder() {
- if (titleBuilder_ == null) {
- titleBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- title_,
- getParentForChildren(),
- isClean());
- title_ = null;
- }
- return titleBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField startdate = 5;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField startdate_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> startdateBuilder_;
- public boolean hasStartdate() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getStartdate() {
- if (startdateBuilder_ == null) {
- return startdate_;
- } else {
- return startdateBuilder_.getMessage();
- }
- }
- public Builder setStartdate(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (startdateBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- startdate_ = value;
- onChanged();
- } else {
- startdateBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000010;
- return this;
- }
- public Builder setStartdate(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (startdateBuilder_ == null) {
- startdate_ = builderForValue.build();
- onChanged();
- } else {
- startdateBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000010;
- return this;
- }
- public Builder mergeStartdate(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (startdateBuilder_ == null) {
- if (((bitField0_ & 0x00000010) == 0x00000010) &&
- startdate_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- startdate_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(startdate_).mergeFrom(value).buildPartial();
- } else {
- startdate_ = value;
- }
- onChanged();
- } else {
- startdateBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000010;
- return this;
- }
- public Builder clearStartdate() {
- if (startdateBuilder_ == null) {
- startdate_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- startdateBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000010);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getStartdateBuilder() {
- bitField0_ |= 0x00000010;
- onChanged();
- return getStartdateFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getStartdateOrBuilder() {
- if (startdateBuilder_ != null) {
- return startdateBuilder_.getMessageOrBuilder();
- } else {
- return startdate_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getStartdateFieldBuilder() {
- if (startdateBuilder_ == null) {
- startdateBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- startdate_,
- getParentForChildren(),
- isClean());
- startdate_ = null;
- }
- return startdateBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField enddate = 6;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField enddate_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> enddateBuilder_;
- public boolean hasEnddate() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEnddate() {
- if (enddateBuilder_ == null) {
- return enddate_;
- } else {
- return enddateBuilder_.getMessage();
- }
- }
- public Builder setEnddate(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (enddateBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- enddate_ = value;
- onChanged();
- } else {
- enddateBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000020;
- return this;
- }
- public Builder setEnddate(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (enddateBuilder_ == null) {
- enddate_ = builderForValue.build();
- onChanged();
- } else {
- enddateBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000020;
- return this;
- }
- public Builder mergeEnddate(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (enddateBuilder_ == null) {
- if (((bitField0_ & 0x00000020) == 0x00000020) &&
- enddate_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- enddate_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(enddate_).mergeFrom(value).buildPartial();
- } else {
- enddate_ = value;
- }
- onChanged();
- } else {
- enddateBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000020;
- return this;
- }
- public Builder clearEnddate() {
- if (enddateBuilder_ == null) {
- enddate_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- enddateBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000020);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getEnddateBuilder() {
- bitField0_ |= 0x00000020;
- onChanged();
- return getEnddateFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEnddateOrBuilder() {
- if (enddateBuilder_ != null) {
- return enddateBuilder_.getMessageOrBuilder();
- } else {
- return enddate_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getEnddateFieldBuilder() {
- if (enddateBuilder_ == null) {
- enddateBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- enddate_,
- getParentForChildren(),
- isClean());
- enddate_ = null;
- }
- return enddateBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField callidentifier = 7;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField callidentifier_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> callidentifierBuilder_;
- public boolean hasCallidentifier() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getCallidentifier() {
- if (callidentifierBuilder_ == null) {
- return callidentifier_;
- } else {
- return callidentifierBuilder_.getMessage();
- }
- }
- public Builder setCallidentifier(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (callidentifierBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- callidentifier_ = value;
- onChanged();
- } else {
- callidentifierBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000040;
- return this;
- }
- public Builder setCallidentifier(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (callidentifierBuilder_ == null) {
- callidentifier_ = builderForValue.build();
- onChanged();
- } else {
- callidentifierBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000040;
- return this;
- }
- public Builder mergeCallidentifier(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (callidentifierBuilder_ == null) {
- if (((bitField0_ & 0x00000040) == 0x00000040) &&
- callidentifier_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- callidentifier_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(callidentifier_).mergeFrom(value).buildPartial();
- } else {
- callidentifier_ = value;
- }
- onChanged();
- } else {
- callidentifierBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000040;
- return this;
- }
- public Builder clearCallidentifier() {
- if (callidentifierBuilder_ == null) {
- callidentifier_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- callidentifierBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000040);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getCallidentifierBuilder() {
- bitField0_ |= 0x00000040;
- onChanged();
- return getCallidentifierFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getCallidentifierOrBuilder() {
- if (callidentifierBuilder_ != null) {
- return callidentifierBuilder_.getMessageOrBuilder();
- } else {
- return callidentifier_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getCallidentifierFieldBuilder() {
- if (callidentifierBuilder_ == null) {
- callidentifierBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- callidentifier_,
- getParentForChildren(),
- isClean());
- callidentifier_ = null;
- }
- return callidentifierBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField keywords = 8;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField keywords_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> keywordsBuilder_;
- public boolean hasKeywords() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getKeywords() {
- if (keywordsBuilder_ == null) {
- return keywords_;
- } else {
- return keywordsBuilder_.getMessage();
- }
- }
- public Builder setKeywords(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (keywordsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- keywords_ = value;
- onChanged();
- } else {
- keywordsBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000080;
- return this;
- }
- public Builder setKeywords(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (keywordsBuilder_ == null) {
- keywords_ = builderForValue.build();
- onChanged();
- } else {
- keywordsBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000080;
- return this;
- }
- public Builder mergeKeywords(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (keywordsBuilder_ == null) {
- if (((bitField0_ & 0x00000080) == 0x00000080) &&
- keywords_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- keywords_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(keywords_).mergeFrom(value).buildPartial();
- } else {
- keywords_ = value;
- }
- onChanged();
- } else {
- keywordsBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000080;
- return this;
- }
- public Builder clearKeywords() {
- if (keywordsBuilder_ == null) {
- keywords_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- keywordsBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000080);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getKeywordsBuilder() {
- bitField0_ |= 0x00000080;
- onChanged();
- return getKeywordsFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getKeywordsOrBuilder() {
- if (keywordsBuilder_ != null) {
- return keywordsBuilder_.getMessageOrBuilder();
- } else {
- return keywords_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getKeywordsFieldBuilder() {
- if (keywordsBuilder_ == null) {
- keywordsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- keywords_,
- getParentForChildren(),
- isClean());
- keywords_ = null;
- }
- return keywordsBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField duration = 9;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField duration_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> durationBuilder_;
- public boolean hasDuration() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getDuration() {
- if (durationBuilder_ == null) {
- return duration_;
- } else {
- return durationBuilder_.getMessage();
- }
- }
- public Builder setDuration(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (durationBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- duration_ = value;
- onChanged();
- } else {
- durationBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000100;
- return this;
- }
- public Builder setDuration(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (durationBuilder_ == null) {
- duration_ = builderForValue.build();
- onChanged();
- } else {
- durationBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000100;
- return this;
- }
- public Builder mergeDuration(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (durationBuilder_ == null) {
- if (((bitField0_ & 0x00000100) == 0x00000100) &&
- duration_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- duration_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(duration_).mergeFrom(value).buildPartial();
- } else {
- duration_ = value;
- }
- onChanged();
- } else {
- durationBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000100;
- return this;
- }
- public Builder clearDuration() {
- if (durationBuilder_ == null) {
- duration_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- durationBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000100);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getDurationBuilder() {
- bitField0_ |= 0x00000100;
- onChanged();
- return getDurationFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDurationOrBuilder() {
- if (durationBuilder_ != null) {
- return durationBuilder_.getMessageOrBuilder();
- } else {
- return duration_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getDurationFieldBuilder() {
- if (durationBuilder_ == null) {
- durationBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- duration_,
- getParentForChildren(),
- isClean());
- duration_ = null;
- }
- return durationBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField ecsc39 = 10;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField ecsc39_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> ecsc39Builder_;
- public boolean hasEcsc39() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcsc39() {
- if (ecsc39Builder_ == null) {
- return ecsc39_;
- } else {
- return ecsc39Builder_.getMessage();
- }
- }
- public Builder setEcsc39(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (ecsc39Builder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ecsc39_ = value;
- onChanged();
- } else {
- ecsc39Builder_.setMessage(value);
- }
- bitField0_ |= 0x00000200;
- return this;
- }
- public Builder setEcsc39(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (ecsc39Builder_ == null) {
- ecsc39_ = builderForValue.build();
- onChanged();
- } else {
- ecsc39Builder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000200;
- return this;
- }
- public Builder mergeEcsc39(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (ecsc39Builder_ == null) {
- if (((bitField0_ & 0x00000200) == 0x00000200) &&
- ecsc39_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- ecsc39_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(ecsc39_).mergeFrom(value).buildPartial();
- } else {
- ecsc39_ = value;
- }
- onChanged();
- } else {
- ecsc39Builder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000200;
- return this;
- }
- public Builder clearEcsc39() {
- if (ecsc39Builder_ == null) {
- ecsc39_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- ecsc39Builder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000200);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getEcsc39Builder() {
- bitField0_ |= 0x00000200;
- onChanged();
- return getEcsc39FieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcsc39OrBuilder() {
- if (ecsc39Builder_ != null) {
- return ecsc39Builder_.getMessageOrBuilder();
- } else {
- return ecsc39_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getEcsc39FieldBuilder() {
- if (ecsc39Builder_ == null) {
- ecsc39Builder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- ecsc39_,
- getParentForChildren(),
- isClean());
- ecsc39_ = null;
- }
- return ecsc39Builder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField oamandatepublications = 11;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField oamandatepublications_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> oamandatepublicationsBuilder_;
- public boolean hasOamandatepublications() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getOamandatepublications() {
- if (oamandatepublicationsBuilder_ == null) {
- return oamandatepublications_;
- } else {
- return oamandatepublicationsBuilder_.getMessage();
- }
- }
- public Builder setOamandatepublications(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (oamandatepublicationsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- oamandatepublications_ = value;
- onChanged();
- } else {
- oamandatepublicationsBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000400;
- return this;
- }
- public Builder setOamandatepublications(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (oamandatepublicationsBuilder_ == null) {
- oamandatepublications_ = builderForValue.build();
- onChanged();
- } else {
- oamandatepublicationsBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000400;
- return this;
- }
- public Builder mergeOamandatepublications(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (oamandatepublicationsBuilder_ == null) {
- if (((bitField0_ & 0x00000400) == 0x00000400) &&
- oamandatepublications_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- oamandatepublications_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(oamandatepublications_).mergeFrom(value).buildPartial();
- } else {
- oamandatepublications_ = value;
- }
- onChanged();
- } else {
- oamandatepublicationsBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000400;
- return this;
- }
- public Builder clearOamandatepublications() {
- if (oamandatepublicationsBuilder_ == null) {
- oamandatepublications_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- oamandatepublicationsBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000400);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getOamandatepublicationsBuilder() {
- bitField0_ |= 0x00000400;
- onChanged();
- return getOamandatepublicationsFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOamandatepublicationsOrBuilder() {
- if (oamandatepublicationsBuilder_ != null) {
- return oamandatepublicationsBuilder_.getMessageOrBuilder();
- } else {
- return oamandatepublications_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getOamandatepublicationsFieldBuilder() {
- if (oamandatepublicationsBuilder_ == null) {
- oamandatepublicationsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- oamandatepublications_,
- getParentForChildren(),
- isClean());
- oamandatepublications_ = null;
- }
- return oamandatepublicationsBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField ecarticle29_3 = 12;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField ecarticle293_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> ecarticle293Builder_;
- public boolean hasEcarticle293() {
- return ((bitField0_ & 0x00000800) == 0x00000800);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEcarticle293() {
- if (ecarticle293Builder_ == null) {
- return ecarticle293_;
- } else {
- return ecarticle293Builder_.getMessage();
- }
- }
- public Builder setEcarticle293(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (ecarticle293Builder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ecarticle293_ = value;
- onChanged();
- } else {
- ecarticle293Builder_.setMessage(value);
- }
- bitField0_ |= 0x00000800;
- return this;
- }
- public Builder setEcarticle293(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (ecarticle293Builder_ == null) {
- ecarticle293_ = builderForValue.build();
- onChanged();
- } else {
- ecarticle293Builder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000800;
- return this;
- }
- public Builder mergeEcarticle293(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (ecarticle293Builder_ == null) {
- if (((bitField0_ & 0x00000800) == 0x00000800) &&
- ecarticle293_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- ecarticle293_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(ecarticle293_).mergeFrom(value).buildPartial();
- } else {
- ecarticle293_ = value;
- }
- onChanged();
- } else {
- ecarticle293Builder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000800;
- return this;
- }
- public Builder clearEcarticle293() {
- if (ecarticle293Builder_ == null) {
- ecarticle293_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- ecarticle293Builder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000800);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getEcarticle293Builder() {
- bitField0_ |= 0x00000800;
- onChanged();
- return getEcarticle293FieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEcarticle293OrBuilder() {
- if (ecarticle293Builder_ != null) {
- return ecarticle293Builder_.getMessageOrBuilder();
- } else {
- return ecarticle293_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getEcarticle293FieldBuilder() {
- if (ecarticle293Builder_ == null) {
- ecarticle293Builder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- ecarticle293_,
- getParentForChildren(),
- isClean());
- ecarticle293_ = null;
- }
- return ecarticle293Builder_;
- }
-
- // repeated .eu.dnetlib.data.proto.StructuredProperty subjects = 14;
- private java.util.List subjects_ =
- java.util.Collections.emptyList();
- private void ensureSubjectsIsMutable() {
- if (!((bitField0_ & 0x00001000) == 0x00001000)) {
- subjects_ = new java.util.ArrayList(subjects_);
- bitField0_ |= 0x00001000;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty, eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder> subjectsBuilder_;
-
- public java.util.List getSubjectsList() {
- if (subjectsBuilder_ == null) {
- return java.util.Collections.unmodifiableList(subjects_);
- } else {
- return subjectsBuilder_.getMessageList();
- }
- }
- public int getSubjectsCount() {
- if (subjectsBuilder_ == null) {
- return subjects_.size();
- } else {
- return subjectsBuilder_.getCount();
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty getSubjects(int index) {
- if (subjectsBuilder_ == null) {
- return subjects_.get(index);
- } else {
- return subjectsBuilder_.getMessage(index);
- }
- }
- public Builder setSubjects(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty value) {
- if (subjectsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureSubjectsIsMutable();
- subjects_.set(index, value);
- onChanged();
- } else {
- subjectsBuilder_.setMessage(index, value);
- }
- return this;
- }
- public Builder setSubjects(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder builderForValue) {
- if (subjectsBuilder_ == null) {
- ensureSubjectsIsMutable();
- subjects_.set(index, builderForValue.build());
- onChanged();
- } else {
- subjectsBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addSubjects(eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty value) {
- if (subjectsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureSubjectsIsMutable();
- subjects_.add(value);
- onChanged();
- } else {
- subjectsBuilder_.addMessage(value);
- }
- return this;
- }
- public Builder addSubjects(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty value) {
- if (subjectsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureSubjectsIsMutable();
- subjects_.add(index, value);
- onChanged();
- } else {
- subjectsBuilder_.addMessage(index, value);
- }
- return this;
- }
- public Builder addSubjects(
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder builderForValue) {
- if (subjectsBuilder_ == null) {
- ensureSubjectsIsMutable();
- subjects_.add(builderForValue.build());
- onChanged();
- } else {
- subjectsBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- public Builder addSubjects(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder builderForValue) {
- if (subjectsBuilder_ == null) {
- ensureSubjectsIsMutable();
- subjects_.add(index, builderForValue.build());
- onChanged();
- } else {
- subjectsBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addAllSubjects(
- java.lang.Iterable extends eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty> values) {
- if (subjectsBuilder_ == null) {
- ensureSubjectsIsMutable();
- super.addAll(values, subjects_);
- onChanged();
- } else {
- subjectsBuilder_.addAllMessages(values);
- }
- return this;
- }
- public Builder clearSubjects() {
- if (subjectsBuilder_ == null) {
- subjects_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00001000);
- onChanged();
- } else {
- subjectsBuilder_.clear();
- }
- return this;
- }
- public Builder removeSubjects(int index) {
- if (subjectsBuilder_ == null) {
- ensureSubjectsIsMutable();
- subjects_.remove(index);
- onChanged();
- } else {
- subjectsBuilder_.remove(index);
- }
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder getSubjectsBuilder(
- int index) {
- return getSubjectsFieldBuilder().getBuilder(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder getSubjectsOrBuilder(
- int index) {
- if (subjectsBuilder_ == null) {
- return subjects_.get(index); } else {
- return subjectsBuilder_.getMessageOrBuilder(index);
- }
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder>
- getSubjectsOrBuilderList() {
- if (subjectsBuilder_ != null) {
- return subjectsBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(subjects_);
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder addSubjectsBuilder() {
- return getSubjectsFieldBuilder().addBuilder(
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.getDefaultInstance());
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder addSubjectsBuilder(
- int index) {
- return getSubjectsFieldBuilder().addBuilder(
- index, eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.getDefaultInstance());
- }
- public java.util.List
- getSubjectsBuilderList() {
- return getSubjectsFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty, eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder>
- getSubjectsFieldBuilder() {
- if (subjectsBuilder_ == null) {
- subjectsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty, eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder>(
- subjects_,
- ((bitField0_ & 0x00001000) == 0x00001000),
- getParentForChildren(),
- isClean());
- subjects_ = null;
- }
- return subjectsBuilder_;
- }
-
- // repeated .eu.dnetlib.data.proto.StringField fundingtree = 15;
- private java.util.List fundingtree_ =
- java.util.Collections.emptyList();
- private void ensureFundingtreeIsMutable() {
- if (!((bitField0_ & 0x00002000) == 0x00002000)) {
- fundingtree_ = new java.util.ArrayList(fundingtree_);
- bitField0_ |= 0x00002000;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> fundingtreeBuilder_;
-
- public java.util.List getFundingtreeList() {
- if (fundingtreeBuilder_ == null) {
- return java.util.Collections.unmodifiableList(fundingtree_);
- } else {
- return fundingtreeBuilder_.getMessageList();
- }
- }
- public int getFundingtreeCount() {
- if (fundingtreeBuilder_ == null) {
- return fundingtree_.size();
- } else {
- return fundingtreeBuilder_.getCount();
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getFundingtree(int index) {
- if (fundingtreeBuilder_ == null) {
- return fundingtree_.get(index);
- } else {
- return fundingtreeBuilder_.getMessage(index);
- }
- }
- public Builder setFundingtree(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (fundingtreeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureFundingtreeIsMutable();
- fundingtree_.set(index, value);
- onChanged();
- } else {
- fundingtreeBuilder_.setMessage(index, value);
- }
- return this;
- }
- public Builder setFundingtree(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (fundingtreeBuilder_ == null) {
- ensureFundingtreeIsMutable();
- fundingtree_.set(index, builderForValue.build());
- onChanged();
- } else {
- fundingtreeBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addFundingtree(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (fundingtreeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureFundingtreeIsMutable();
- fundingtree_.add(value);
- onChanged();
- } else {
- fundingtreeBuilder_.addMessage(value);
- }
- return this;
- }
- public Builder addFundingtree(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (fundingtreeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureFundingtreeIsMutable();
- fundingtree_.add(index, value);
- onChanged();
- } else {
- fundingtreeBuilder_.addMessage(index, value);
- }
- return this;
- }
- public Builder addFundingtree(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (fundingtreeBuilder_ == null) {
- ensureFundingtreeIsMutable();
- fundingtree_.add(builderForValue.build());
- onChanged();
- } else {
- fundingtreeBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- public Builder addFundingtree(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (fundingtreeBuilder_ == null) {
- ensureFundingtreeIsMutable();
- fundingtree_.add(index, builderForValue.build());
- onChanged();
- } else {
- fundingtreeBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addAllFundingtree(
- java.lang.Iterable extends eu.dnetlib.data.proto.FieldTypeProtos.StringField> values) {
- if (fundingtreeBuilder_ == null) {
- ensureFundingtreeIsMutable();
- super.addAll(values, fundingtree_);
- onChanged();
- } else {
- fundingtreeBuilder_.addAllMessages(values);
- }
- return this;
- }
- public Builder clearFundingtree() {
- if (fundingtreeBuilder_ == null) {
- fundingtree_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00002000);
- onChanged();
- } else {
- fundingtreeBuilder_.clear();
- }
- return this;
- }
- public Builder removeFundingtree(int index) {
- if (fundingtreeBuilder_ == null) {
- ensureFundingtreeIsMutable();
- fundingtree_.remove(index);
- onChanged();
- } else {
- fundingtreeBuilder_.remove(index);
- }
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getFundingtreeBuilder(
- int index) {
- return getFundingtreeFieldBuilder().getBuilder(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getFundingtreeOrBuilder(
- int index) {
- if (fundingtreeBuilder_ == null) {
- return fundingtree_.get(index); } else {
- return fundingtreeBuilder_.getMessageOrBuilder(index);
- }
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getFundingtreeOrBuilderList() {
- if (fundingtreeBuilder_ != null) {
- return fundingtreeBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(fundingtree_);
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder addFundingtreeBuilder() {
- return getFundingtreeFieldBuilder().addBuilder(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance());
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder addFundingtreeBuilder(
- int index) {
- return getFundingtreeFieldBuilder().addBuilder(
- index, eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance());
- }
- public java.util.List
- getFundingtreeBuilderList() {
- return getFundingtreeFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getFundingtreeFieldBuilder() {
- if (fundingtreeBuilder_ == null) {
- fundingtreeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- fundingtree_,
- ((bitField0_ & 0x00002000) == 0x00002000),
- getParentForChildren(),
- isClean());
- fundingtree_ = null;
- }
- return fundingtreeBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.Qualifier contracttype = 13;
- private eu.dnetlib.data.proto.FieldTypeProtos.Qualifier contracttype_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier, eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder, eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder> contracttypeBuilder_;
- public boolean hasContracttype() {
- return ((bitField0_ & 0x00004000) == 0x00004000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getContracttype() {
- if (contracttypeBuilder_ == null) {
- return contracttype_;
- } else {
- return contracttypeBuilder_.getMessage();
- }
- }
- public Builder setContracttype(eu.dnetlib.data.proto.FieldTypeProtos.Qualifier value) {
- if (contracttypeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- contracttype_ = value;
- onChanged();
- } else {
- contracttypeBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00004000;
- return this;
- }
- public Builder setContracttype(
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder builderForValue) {
- if (contracttypeBuilder_ == null) {
- contracttype_ = builderForValue.build();
- onChanged();
- } else {
- contracttypeBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00004000;
- return this;
- }
- public Builder mergeContracttype(eu.dnetlib.data.proto.FieldTypeProtos.Qualifier value) {
- if (contracttypeBuilder_ == null) {
- if (((bitField0_ & 0x00004000) == 0x00004000) &&
- contracttype_ != eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance()) {
- contracttype_ =
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.newBuilder(contracttype_).mergeFrom(value).buildPartial();
- } else {
- contracttype_ = value;
- }
- onChanged();
- } else {
- contracttypeBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00004000;
- return this;
- }
- public Builder clearContracttype() {
- if (contracttypeBuilder_ == null) {
- contracttype_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- onChanged();
- } else {
- contracttypeBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00004000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder getContracttypeBuilder() {
- bitField0_ |= 0x00004000;
- onChanged();
- return getContracttypeFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getContracttypeOrBuilder() {
- if (contracttypeBuilder_ != null) {
- return contracttypeBuilder_.getMessageOrBuilder();
- } else {
- return contracttype_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier, eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder, eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder>
- getContracttypeFieldBuilder() {
- if (contracttypeBuilder_ == null) {
- contracttypeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier, eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder, eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder>(
- contracttype_,
- getParentForChildren(),
- isClean());
- contracttype_ = null;
- }
- return contracttypeBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField optional1 = 16;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField optional1_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> optional1Builder_;
- public boolean hasOptional1() {
- return ((bitField0_ & 0x00008000) == 0x00008000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getOptional1() {
- if (optional1Builder_ == null) {
- return optional1_;
- } else {
- return optional1Builder_.getMessage();
- }
- }
- public Builder setOptional1(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (optional1Builder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- optional1_ = value;
- onChanged();
- } else {
- optional1Builder_.setMessage(value);
- }
- bitField0_ |= 0x00008000;
- return this;
- }
- public Builder setOptional1(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (optional1Builder_ == null) {
- optional1_ = builderForValue.build();
- onChanged();
- } else {
- optional1Builder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00008000;
- return this;
- }
- public Builder mergeOptional1(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (optional1Builder_ == null) {
- if (((bitField0_ & 0x00008000) == 0x00008000) &&
- optional1_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- optional1_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(optional1_).mergeFrom(value).buildPartial();
- } else {
- optional1_ = value;
- }
- onChanged();
- } else {
- optional1Builder_.mergeFrom(value);
- }
- bitField0_ |= 0x00008000;
- return this;
- }
- public Builder clearOptional1() {
- if (optional1Builder_ == null) {
- optional1_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- optional1Builder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00008000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getOptional1Builder() {
- bitField0_ |= 0x00008000;
- onChanged();
- return getOptional1FieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOptional1OrBuilder() {
- if (optional1Builder_ != null) {
- return optional1Builder_.getMessageOrBuilder();
- } else {
- return optional1_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getOptional1FieldBuilder() {
- if (optional1Builder_ == null) {
- optional1Builder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- optional1_,
- getParentForChildren(),
- isClean());
- optional1_ = null;
- }
- return optional1Builder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField optional2 = 17;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField optional2_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> optional2Builder_;
- public boolean hasOptional2() {
- return ((bitField0_ & 0x00010000) == 0x00010000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getOptional2() {
- if (optional2Builder_ == null) {
- return optional2_;
- } else {
- return optional2Builder_.getMessage();
- }
- }
- public Builder setOptional2(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (optional2Builder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- optional2_ = value;
- onChanged();
- } else {
- optional2Builder_.setMessage(value);
- }
- bitField0_ |= 0x00010000;
- return this;
- }
- public Builder setOptional2(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (optional2Builder_ == null) {
- optional2_ = builderForValue.build();
- onChanged();
- } else {
- optional2Builder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00010000;
- return this;
- }
- public Builder mergeOptional2(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (optional2Builder_ == null) {
- if (((bitField0_ & 0x00010000) == 0x00010000) &&
- optional2_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- optional2_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(optional2_).mergeFrom(value).buildPartial();
- } else {
- optional2_ = value;
- }
- onChanged();
- } else {
- optional2Builder_.mergeFrom(value);
- }
- bitField0_ |= 0x00010000;
- return this;
- }
- public Builder clearOptional2() {
- if (optional2Builder_ == null) {
- optional2_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- optional2Builder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00010000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getOptional2Builder() {
- bitField0_ |= 0x00010000;
- onChanged();
- return getOptional2FieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getOptional2OrBuilder() {
- if (optional2Builder_ != null) {
- return optional2Builder_.getMessageOrBuilder();
- } else {
- return optional2_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getOptional2FieldBuilder() {
- if (optional2Builder_ == null) {
- optional2Builder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- optional2_,
- getParentForChildren(),
- isClean());
- optional2_ = null;
- }
- return optional2Builder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField jsonextrainfo = 18;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField jsonextrainfo_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> jsonextrainfoBuilder_;
- public boolean hasJsonextrainfo() {
- return ((bitField0_ & 0x00020000) == 0x00020000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getJsonextrainfo() {
- if (jsonextrainfoBuilder_ == null) {
- return jsonextrainfo_;
- } else {
- return jsonextrainfoBuilder_.getMessage();
- }
- }
- public Builder setJsonextrainfo(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (jsonextrainfoBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- jsonextrainfo_ = value;
- onChanged();
- } else {
- jsonextrainfoBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00020000;
- return this;
- }
- public Builder setJsonextrainfo(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (jsonextrainfoBuilder_ == null) {
- jsonextrainfo_ = builderForValue.build();
- onChanged();
- } else {
- jsonextrainfoBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00020000;
- return this;
- }
- public Builder mergeJsonextrainfo(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (jsonextrainfoBuilder_ == null) {
- if (((bitField0_ & 0x00020000) == 0x00020000) &&
- jsonextrainfo_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- jsonextrainfo_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(jsonextrainfo_).mergeFrom(value).buildPartial();
- } else {
- jsonextrainfo_ = value;
- }
- onChanged();
- } else {
- jsonextrainfoBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00020000;
- return this;
- }
- public Builder clearJsonextrainfo() {
- if (jsonextrainfoBuilder_ == null) {
- jsonextrainfo_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- jsonextrainfoBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00020000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getJsonextrainfoBuilder() {
- bitField0_ |= 0x00020000;
- onChanged();
- return getJsonextrainfoFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getJsonextrainfoOrBuilder() {
- if (jsonextrainfoBuilder_ != null) {
- return jsonextrainfoBuilder_.getMessageOrBuilder();
- } else {
- return jsonextrainfo_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getJsonextrainfoFieldBuilder() {
- if (jsonextrainfoBuilder_ == null) {
- jsonextrainfoBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- jsonextrainfo_,
- getParentForChildren(),
- isClean());
- jsonextrainfo_ = null;
- }
- return jsonextrainfoBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField contactfullname = 19;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField contactfullname_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> contactfullnameBuilder_;
- public boolean hasContactfullname() {
- return ((bitField0_ & 0x00040000) == 0x00040000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getContactfullname() {
- if (contactfullnameBuilder_ == null) {
- return contactfullname_;
- } else {
- return contactfullnameBuilder_.getMessage();
- }
- }
- public Builder setContactfullname(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (contactfullnameBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- contactfullname_ = value;
- onChanged();
- } else {
- contactfullnameBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00040000;
- return this;
- }
- public Builder setContactfullname(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (contactfullnameBuilder_ == null) {
- contactfullname_ = builderForValue.build();
- onChanged();
- } else {
- contactfullnameBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00040000;
- return this;
- }
- public Builder mergeContactfullname(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (contactfullnameBuilder_ == null) {
- if (((bitField0_ & 0x00040000) == 0x00040000) &&
- contactfullname_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- contactfullname_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(contactfullname_).mergeFrom(value).buildPartial();
- } else {
- contactfullname_ = value;
- }
- onChanged();
- } else {
- contactfullnameBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00040000;
- return this;
- }
- public Builder clearContactfullname() {
- if (contactfullnameBuilder_ == null) {
- contactfullname_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- contactfullnameBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00040000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getContactfullnameBuilder() {
- bitField0_ |= 0x00040000;
- onChanged();
- return getContactfullnameFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getContactfullnameOrBuilder() {
- if (contactfullnameBuilder_ != null) {
- return contactfullnameBuilder_.getMessageOrBuilder();
- } else {
- return contactfullname_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getContactfullnameFieldBuilder() {
- if (contactfullnameBuilder_ == null) {
- contactfullnameBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- contactfullname_,
- getParentForChildren(),
- isClean());
- contactfullname_ = null;
- }
- return contactfullnameBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField contactfax = 20;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField contactfax_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> contactfaxBuilder_;
- public boolean hasContactfax() {
- return ((bitField0_ & 0x00080000) == 0x00080000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getContactfax() {
- if (contactfaxBuilder_ == null) {
- return contactfax_;
- } else {
- return contactfaxBuilder_.getMessage();
- }
- }
- public Builder setContactfax(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (contactfaxBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- contactfax_ = value;
- onChanged();
- } else {
- contactfaxBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00080000;
- return this;
- }
- public Builder setContactfax(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (contactfaxBuilder_ == null) {
- contactfax_ = builderForValue.build();
- onChanged();
- } else {
- contactfaxBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00080000;
- return this;
- }
- public Builder mergeContactfax(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (contactfaxBuilder_ == null) {
- if (((bitField0_ & 0x00080000) == 0x00080000) &&
- contactfax_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- contactfax_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(contactfax_).mergeFrom(value).buildPartial();
- } else {
- contactfax_ = value;
- }
- onChanged();
- } else {
- contactfaxBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00080000;
- return this;
- }
- public Builder clearContactfax() {
- if (contactfaxBuilder_ == null) {
- contactfax_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- contactfaxBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00080000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getContactfaxBuilder() {
- bitField0_ |= 0x00080000;
- onChanged();
- return getContactfaxFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getContactfaxOrBuilder() {
- if (contactfaxBuilder_ != null) {
- return contactfaxBuilder_.getMessageOrBuilder();
- } else {
- return contactfax_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getContactfaxFieldBuilder() {
- if (contactfaxBuilder_ == null) {
- contactfaxBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- contactfax_,
- getParentForChildren(),
- isClean());
- contactfax_ = null;
- }
- return contactfaxBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField contactphone = 21;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField contactphone_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> contactphoneBuilder_;
- public boolean hasContactphone() {
- return ((bitField0_ & 0x00100000) == 0x00100000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getContactphone() {
- if (contactphoneBuilder_ == null) {
- return contactphone_;
- } else {
- return contactphoneBuilder_.getMessage();
- }
- }
- public Builder setContactphone(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (contactphoneBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- contactphone_ = value;
- onChanged();
- } else {
- contactphoneBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00100000;
- return this;
- }
- public Builder setContactphone(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (contactphoneBuilder_ == null) {
- contactphone_ = builderForValue.build();
- onChanged();
- } else {
- contactphoneBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00100000;
- return this;
- }
- public Builder mergeContactphone(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (contactphoneBuilder_ == null) {
- if (((bitField0_ & 0x00100000) == 0x00100000) &&
- contactphone_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- contactphone_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(contactphone_).mergeFrom(value).buildPartial();
- } else {
- contactphone_ = value;
- }
- onChanged();
- } else {
- contactphoneBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00100000;
- return this;
- }
- public Builder clearContactphone() {
- if (contactphoneBuilder_ == null) {
- contactphone_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- contactphoneBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00100000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getContactphoneBuilder() {
- bitField0_ |= 0x00100000;
- onChanged();
- return getContactphoneFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getContactphoneOrBuilder() {
- if (contactphoneBuilder_ != null) {
- return contactphoneBuilder_.getMessageOrBuilder();
- } else {
- return contactphone_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getContactphoneFieldBuilder() {
- if (contactphoneBuilder_ == null) {
- contactphoneBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- contactphone_,
- getParentForChildren(),
- isClean());
- contactphone_ = null;
- }
- return contactphoneBuilder_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField contactemail = 22;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField contactemail_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder> contactemailBuilder_;
- public boolean hasContactemail() {
- return ((bitField0_ & 0x00200000) == 0x00200000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getContactemail() {
- if (contactemailBuilder_ == null) {
- return contactemail_;
- } else {
- return contactemailBuilder_.getMessage();
- }
- }
- public Builder setContactemail(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (contactemailBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- contactemail_ = value;
- onChanged();
- } else {
- contactemailBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00200000;
- return this;
- }
- public Builder setContactemail(
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder builderForValue) {
- if (contactemailBuilder_ == null) {
- contactemail_ = builderForValue.build();
- onChanged();
- } else {
- contactemailBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00200000;
- return this;
- }
- public Builder mergeContactemail(eu.dnetlib.data.proto.FieldTypeProtos.StringField value) {
- if (contactemailBuilder_ == null) {
- if (((bitField0_ & 0x00200000) == 0x00200000) &&
- contactemail_ != eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance()) {
- contactemail_ =
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder(contactemail_).mergeFrom(value).buildPartial();
- } else {
- contactemail_ = value;
- }
- onChanged();
- } else {
- contactemailBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00200000;
- return this;
- }
- public Builder clearContactemail() {
- if (contactemailBuilder_ == null) {
- contactemail_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- onChanged();
- } else {
- contactemailBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00200000);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder getContactemailBuilder() {
- bitField0_ |= 0x00200000;
- onChanged();
- return getContactemailFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getContactemailOrBuilder() {
- if (contactemailBuilder_ != null) {
- return contactemailBuilder_.getMessageOrBuilder();
- } else {
- return contactemail_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getContactemailFieldBuilder() {
- if (contactemailBuilder_ == null) {
- contactemailBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.StringField, eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder, eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>(
- contactemail_,
- getParentForChildren(),
- isClean());
- contactemail_ = null;
- }
- return contactemailBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.Project.Metadata)
- }
-
- static {
- defaultInstance = new Metadata(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.Project.Metadata)
- }
-
- private int bitField0_;
- // optional .eu.dnetlib.data.proto.Project.Metadata metadata = 2;
- public static final int METADATA_FIELD_NUMBER = 2;
- private eu.dnetlib.data.proto.ProjectProtos.Project.Metadata metadata_;
- public boolean hasMetadata() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.ProjectProtos.Project.Metadata getMetadata() {
- return metadata_;
- }
- public eu.dnetlib.data.proto.ProjectProtos.Project.MetadataOrBuilder getMetadataOrBuilder() {
- return metadata_;
- }
-
- private void initFields() {
- metadata_ = eu.dnetlib.data.proto.ProjectProtos.Project.Metadata.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (hasMetadata()) {
- if (!getMetadata().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeMessage(2, metadata_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, metadata_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.ProjectProtos.Project parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectProtos.Project parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectProtos.Project parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectProtos.Project parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectProtos.Project parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectProtos.Project parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectProtos.Project parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.ProjectProtos.Project parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.ProjectProtos.Project parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.ProjectProtos.Project parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.ProjectProtos.Project prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.ProjectProtos.ProjectOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.ProjectProtos.internal_static_eu_dnetlib_data_proto_Project_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.ProjectProtos.internal_static_eu_dnetlib_data_proto_Project_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.ProjectProtos.Project.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getMetadataFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- if (metadataBuilder_ == null) {
- metadata_ = eu.dnetlib.data.proto.ProjectProtos.Project.Metadata.getDefaultInstance();
- } else {
- metadataBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.ProjectProtos.Project.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.ProjectProtos.Project getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.ProjectProtos.Project.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.ProjectProtos.Project build() {
- eu.dnetlib.data.proto.ProjectProtos.Project result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.ProjectProtos.Project buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.ProjectProtos.Project result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.ProjectProtos.Project buildPartial() {
- eu.dnetlib.data.proto.ProjectProtos.Project result = new eu.dnetlib.data.proto.ProjectProtos.Project(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- if (metadataBuilder_ == null) {
- result.metadata_ = metadata_;
- } else {
- result.metadata_ = metadataBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.ProjectProtos.Project) {
- return mergeFrom((eu.dnetlib.data.proto.ProjectProtos.Project)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.ProjectProtos.Project other) {
- if (other == eu.dnetlib.data.proto.ProjectProtos.Project.getDefaultInstance()) return this;
- if (other.hasMetadata()) {
- mergeMetadata(other.getMetadata());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (hasMetadata()) {
- if (!getMetadata().isInitialized()) {
-
- return false;
- }
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 18: {
- eu.dnetlib.data.proto.ProjectProtos.Project.Metadata.Builder subBuilder = eu.dnetlib.data.proto.ProjectProtos.Project.Metadata.newBuilder();
- if (hasMetadata()) {
- subBuilder.mergeFrom(getMetadata());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setMetadata(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // optional .eu.dnetlib.data.proto.Project.Metadata metadata = 2;
- private eu.dnetlib.data.proto.ProjectProtos.Project.Metadata metadata_ = eu.dnetlib.data.proto.ProjectProtos.Project.Metadata.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ProjectProtos.Project.Metadata, eu.dnetlib.data.proto.ProjectProtos.Project.Metadata.Builder, eu.dnetlib.data.proto.ProjectProtos.Project.MetadataOrBuilder> metadataBuilder_;
- public boolean hasMetadata() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.ProjectProtos.Project.Metadata getMetadata() {
- if (metadataBuilder_ == null) {
- return metadata_;
- } else {
- return metadataBuilder_.getMessage();
- }
- }
- public Builder setMetadata(eu.dnetlib.data.proto.ProjectProtos.Project.Metadata value) {
- if (metadataBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- metadata_ = value;
- onChanged();
- } else {
- metadataBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder setMetadata(
- eu.dnetlib.data.proto.ProjectProtos.Project.Metadata.Builder builderForValue) {
- if (metadataBuilder_ == null) {
- metadata_ = builderForValue.build();
- onChanged();
- } else {
- metadataBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder mergeMetadata(eu.dnetlib.data.proto.ProjectProtos.Project.Metadata value) {
- if (metadataBuilder_ == null) {
- if (((bitField0_ & 0x00000001) == 0x00000001) &&
- metadata_ != eu.dnetlib.data.proto.ProjectProtos.Project.Metadata.getDefaultInstance()) {
- metadata_ =
- eu.dnetlib.data.proto.ProjectProtos.Project.Metadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
- } else {
- metadata_ = value;
- }
- onChanged();
- } else {
- metadataBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder clearMetadata() {
- if (metadataBuilder_ == null) {
- metadata_ = eu.dnetlib.data.proto.ProjectProtos.Project.Metadata.getDefaultInstance();
- onChanged();
- } else {
- metadataBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
- public eu.dnetlib.data.proto.ProjectProtos.Project.Metadata.Builder getMetadataBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return getMetadataFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.ProjectProtos.Project.MetadataOrBuilder getMetadataOrBuilder() {
- if (metadataBuilder_ != null) {
- return metadataBuilder_.getMessageOrBuilder();
- } else {
- return metadata_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ProjectProtos.Project.Metadata, eu.dnetlib.data.proto.ProjectProtos.Project.Metadata.Builder, eu.dnetlib.data.proto.ProjectProtos.Project.MetadataOrBuilder>
- getMetadataFieldBuilder() {
- if (metadataBuilder_ == null) {
- metadataBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ProjectProtos.Project.Metadata, eu.dnetlib.data.proto.ProjectProtos.Project.Metadata.Builder, eu.dnetlib.data.proto.ProjectProtos.Project.MetadataOrBuilder>(
- metadata_,
- getParentForChildren(),
- isClean());
- metadata_ = null;
- }
- return metadataBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.Project)
- }
-
- static {
- defaultInstance = new Project(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.Project)
- }
-
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_Project_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_Project_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_Project_Metadata_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_Project_Metadata_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
- return descriptor;
- }
- private static com.google.protobuf.Descriptors.FileDescriptor
- descriptor;
- static {
- java.lang.String[] descriptorData = {
- "\n\rProject.proto\022\025eu.dnetlib.data.proto\032\017" +
- "FieldType.proto\"\251\n\n\007Project\0229\n\010metadata\030" +
- "\002 \001(\0132\'.eu.dnetlib.data.proto.Project.Me" +
- "tadata\032\342\t\n\010Metadata\0226\n\nwebsiteurl\030\001 \001(\0132" +
- "\".eu.dnetlib.data.proto.StringField\0220\n\004c" +
- "ode\030\002 \001(\0132\".eu.dnetlib.data.proto.String" +
- "Field\0223\n\007acronym\030\003 \001(\0132\".eu.dnetlib.data" +
- ".proto.StringField\0221\n\005title\030\004 \001(\0132\".eu.d" +
- "netlib.data.proto.StringField\0225\n\tstartda" +
- "te\030\005 \001(\0132\".eu.dnetlib.data.proto.StringF",
- "ield\0223\n\007enddate\030\006 \001(\0132\".eu.dnetlib.data." +
- "proto.StringField\022:\n\016callidentifier\030\007 \001(" +
- "\0132\".eu.dnetlib.data.proto.StringField\0224\n" +
- "\010keywords\030\010 \001(\0132\".eu.dnetlib.data.proto." +
- "StringField\0224\n\010duration\030\t \001(\0132\".eu.dnetl" +
- "ib.data.proto.StringField\0222\n\006ecsc39\030\n \001(" +
- "\0132\".eu.dnetlib.data.proto.StringField\022A\n" +
- "\025oamandatepublications\030\013 \001(\0132\".eu.dnetli" +
- "b.data.proto.StringField\0229\n\recarticle29_" +
- "3\030\014 \001(\0132\".eu.dnetlib.data.proto.StringFi",
- "eld\022;\n\010subjects\030\016 \003(\0132).eu.dnetlib.data." +
- "proto.StructuredProperty\0227\n\013fundingtree\030" +
- "\017 \003(\0132\".eu.dnetlib.data.proto.StringFiel" +
- "d\0226\n\014contracttype\030\r \001(\0132 .eu.dnetlib.dat" +
- "a.proto.Qualifier\0225\n\toptional1\030\020 \001(\0132\".e" +
- "u.dnetlib.data.proto.StringField\0225\n\topti" +
- "onal2\030\021 \001(\0132\".eu.dnetlib.data.proto.Stri" +
- "ngField\0229\n\rjsonextrainfo\030\022 \001(\0132\".eu.dnet" +
- "lib.data.proto.StringField\022;\n\017contactful" +
- "lname\030\023 \001(\0132\".eu.dnetlib.data.proto.Stri",
- "ngField\0226\n\ncontactfax\030\024 \001(\0132\".eu.dnetlib" +
- ".data.proto.StringField\0228\n\014contactphone\030" +
- "\025 \001(\0132\".eu.dnetlib.data.proto.StringFiel" +
- "d\0228\n\014contactemail\030\026 \001(\0132\".eu.dnetlib.dat" +
- "a.proto.StringFieldB&\n\025eu.dnetlib.data.p" +
- "rotoB\rProjectProtos"
- };
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- internal_static_eu_dnetlib_data_proto_Project_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_eu_dnetlib_data_proto_Project_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_Project_descriptor,
- new java.lang.String[] { "Metadata", },
- eu.dnetlib.data.proto.ProjectProtos.Project.class,
- eu.dnetlib.data.proto.ProjectProtos.Project.Builder.class);
- internal_static_eu_dnetlib_data_proto_Project_Metadata_descriptor =
- internal_static_eu_dnetlib_data_proto_Project_descriptor.getNestedTypes().get(0);
- internal_static_eu_dnetlib_data_proto_Project_Metadata_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_Project_Metadata_descriptor,
- new java.lang.String[] { "Websiteurl", "Code", "Acronym", "Title", "Startdate", "Enddate", "Callidentifier", "Keywords", "Duration", "Ecsc39", "Oamandatepublications", "Ecarticle293", "Subjects", "Fundingtree", "Contracttype", "Optional1", "Optional2", "Jsonextrainfo", "Contactfullname", "Contactfax", "Contactphone", "Contactemail", },
- eu.dnetlib.data.proto.ProjectProtos.Project.Metadata.class,
- eu.dnetlib.data.proto.ProjectProtos.Project.Metadata.Builder.class);
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- eu.dnetlib.data.proto.FieldTypeProtos.getDescriptor(),
- }, assigner);
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/RelMetadataProtos.java b/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/RelMetadataProtos.java
deleted file mode 100644
index 585fcfd9d..000000000
--- a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/RelMetadataProtos.java
+++ /dev/null
@@ -1,680 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: RelMetadata.proto
-
-package eu.dnetlib.data.proto;
-
-public final class RelMetadataProtos {
- private RelMetadataProtos() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- }
- public interface RelMetadataOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional .eu.dnetlib.data.proto.Qualifier semantics = 1;
- boolean hasSemantics();
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getSemantics();
- eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getSemanticsOrBuilder();
-
- // optional string startdate = 3;
- boolean hasStartdate();
- String getStartdate();
-
- // optional string enddate = 4;
- boolean hasEnddate();
- String getEnddate();
- }
- public static final class RelMetadata extends
- com.google.protobuf.GeneratedMessage
- implements RelMetadataOrBuilder {
- // Use RelMetadata.newBuilder() to construct.
- private RelMetadata(Builder builder) {
- super(builder);
- }
- private RelMetadata(boolean noInit) {}
-
- private static final RelMetadata defaultInstance;
- public static RelMetadata getDefaultInstance() {
- return defaultInstance;
- }
-
- public RelMetadata getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.RelMetadataProtos.internal_static_eu_dnetlib_data_proto_RelMetadata_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.RelMetadataProtos.internal_static_eu_dnetlib_data_proto_RelMetadata_fieldAccessorTable;
- }
-
- private int bitField0_;
- // optional .eu.dnetlib.data.proto.Qualifier semantics = 1;
- public static final int SEMANTICS_FIELD_NUMBER = 1;
- private eu.dnetlib.data.proto.FieldTypeProtos.Qualifier semantics_;
- public boolean hasSemantics() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getSemantics() {
- return semantics_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getSemanticsOrBuilder() {
- return semantics_;
- }
-
- // optional string startdate = 3;
- public static final int STARTDATE_FIELD_NUMBER = 3;
- private java.lang.Object startdate_;
- public boolean hasStartdate() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public String getStartdate() {
- java.lang.Object ref = startdate_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- startdate_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getStartdateBytes() {
- java.lang.Object ref = startdate_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- startdate_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional string enddate = 4;
- public static final int ENDDATE_FIELD_NUMBER = 4;
- private java.lang.Object enddate_;
- public boolean hasEnddate() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public String getEnddate() {
- java.lang.Object ref = enddate_;
- if (ref instanceof String) {
- return (String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
- enddate_ = s;
- }
- return s;
- }
- }
- private com.google.protobuf.ByteString getEnddateBytes() {
- java.lang.Object ref = enddate_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
- enddate_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- private void initFields() {
- semantics_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- startdate_ = "";
- enddate_ = "";
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (hasSemantics()) {
- if (!getSemantics().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeMessage(1, semantics_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeBytes(3, getStartdateBytes());
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeBytes(4, getEnddateBytes());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, semantics_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(3, getStartdateBytes());
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(4, getEnddateBytes());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.RelMetadataProtos.internal_static_eu_dnetlib_data_proto_RelMetadata_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.RelMetadataProtos.internal_static_eu_dnetlib_data_proto_RelMetadata_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getSemanticsFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- if (semanticsBuilder_ == null) {
- semantics_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- } else {
- semanticsBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- startdate_ = "";
- bitField0_ = (bitField0_ & ~0x00000002);
- enddate_ = "";
- bitField0_ = (bitField0_ & ~0x00000004);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata build() {
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata buildPartial() {
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata result = new eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- if (semanticsBuilder_ == null) {
- result.semantics_ = semantics_;
- } else {
- result.semantics_ = semanticsBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- result.startdate_ = startdate_;
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
- to_bitField0_ |= 0x00000004;
- }
- result.enddate_ = enddate_;
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata) {
- return mergeFrom((eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata other) {
- if (other == eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance()) return this;
- if (other.hasSemantics()) {
- mergeSemantics(other.getSemantics());
- }
- if (other.hasStartdate()) {
- setStartdate(other.getStartdate());
- }
- if (other.hasEnddate()) {
- setEnddate(other.getEnddate());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (hasSemantics()) {
- if (!getSemantics().isInitialized()) {
-
- return false;
- }
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 10: {
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.newBuilder();
- if (hasSemantics()) {
- subBuilder.mergeFrom(getSemantics());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setSemantics(subBuilder.buildPartial());
- break;
- }
- case 26: {
- bitField0_ |= 0x00000002;
- startdate_ = input.readBytes();
- break;
- }
- case 34: {
- bitField0_ |= 0x00000004;
- enddate_ = input.readBytes();
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // optional .eu.dnetlib.data.proto.Qualifier semantics = 1;
- private eu.dnetlib.data.proto.FieldTypeProtos.Qualifier semantics_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier, eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder, eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder> semanticsBuilder_;
- public boolean hasSemantics() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getSemantics() {
- if (semanticsBuilder_ == null) {
- return semantics_;
- } else {
- return semanticsBuilder_.getMessage();
- }
- }
- public Builder setSemantics(eu.dnetlib.data.proto.FieldTypeProtos.Qualifier value) {
- if (semanticsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- semantics_ = value;
- onChanged();
- } else {
- semanticsBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder setSemantics(
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder builderForValue) {
- if (semanticsBuilder_ == null) {
- semantics_ = builderForValue.build();
- onChanged();
- } else {
- semanticsBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder mergeSemantics(eu.dnetlib.data.proto.FieldTypeProtos.Qualifier value) {
- if (semanticsBuilder_ == null) {
- if (((bitField0_ & 0x00000001) == 0x00000001) &&
- semantics_ != eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance()) {
- semantics_ =
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.newBuilder(semantics_).mergeFrom(value).buildPartial();
- } else {
- semantics_ = value;
- }
- onChanged();
- } else {
- semanticsBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder clearSemantics() {
- if (semanticsBuilder_ == null) {
- semantics_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- onChanged();
- } else {
- semanticsBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder getSemanticsBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return getSemanticsFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getSemanticsOrBuilder() {
- if (semanticsBuilder_ != null) {
- return semanticsBuilder_.getMessageOrBuilder();
- } else {
- return semantics_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier, eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder, eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder>
- getSemanticsFieldBuilder() {
- if (semanticsBuilder_ == null) {
- semanticsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier, eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder, eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder>(
- semantics_,
- getParentForChildren(),
- isClean());
- semantics_ = null;
- }
- return semanticsBuilder_;
- }
-
- // optional string startdate = 3;
- private java.lang.Object startdate_ = "";
- public boolean hasStartdate() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public String getStartdate() {
- java.lang.Object ref = startdate_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- startdate_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setStartdate(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- startdate_ = value;
- onChanged();
- return this;
- }
- public Builder clearStartdate() {
- bitField0_ = (bitField0_ & ~0x00000002);
- startdate_ = getDefaultInstance().getStartdate();
- onChanged();
- return this;
- }
- void setStartdate(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000002;
- startdate_ = value;
- onChanged();
- }
-
- // optional string enddate = 4;
- private java.lang.Object enddate_ = "";
- public boolean hasEnddate() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public String getEnddate() {
- java.lang.Object ref = enddate_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
- enddate_ = s;
- return s;
- } else {
- return (String) ref;
- }
- }
- public Builder setEnddate(String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- enddate_ = value;
- onChanged();
- return this;
- }
- public Builder clearEnddate() {
- bitField0_ = (bitField0_ & ~0x00000004);
- enddate_ = getDefaultInstance().getEnddate();
- onChanged();
- return this;
- }
- void setEnddate(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000004;
- enddate_ = value;
- onChanged();
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.RelMetadata)
- }
-
- static {
- defaultInstance = new RelMetadata(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.RelMetadata)
- }
-
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_RelMetadata_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_RelMetadata_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
- return descriptor;
- }
- private static com.google.protobuf.Descriptors.FileDescriptor
- descriptor;
- static {
- java.lang.String[] descriptorData = {
- "\n\021RelMetadata.proto\022\025eu.dnetlib.data.pro" +
- "to\032\017FieldType.proto\"f\n\013RelMetadata\0223\n\tse" +
- "mantics\030\001 \001(\0132 .eu.dnetlib.data.proto.Qu" +
- "alifier\022\021\n\tstartdate\030\003 \001(\t\022\017\n\007enddate\030\004 " +
- "\001(\tB*\n\025eu.dnetlib.data.protoB\021RelMetadat" +
- "aProtos"
- };
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- internal_static_eu_dnetlib_data_proto_RelMetadata_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_eu_dnetlib_data_proto_RelMetadata_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_RelMetadata_descriptor,
- new java.lang.String[] { "Semantics", "Startdate", "Enddate", },
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.class,
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder.class);
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- eu.dnetlib.data.proto.FieldTypeProtos.getDescriptor(),
- }, assigner);
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/RelTypeProtos.java b/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/RelTypeProtos.java
deleted file mode 100644
index 4f4ffe04d..000000000
--- a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/RelTypeProtos.java
+++ /dev/null
@@ -1,228 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: RelType.proto
-
-package eu.dnetlib.data.proto;
-
-public final class RelTypeProtos {
- private RelTypeProtos() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- }
- public enum RelType
- implements com.google.protobuf.ProtocolMessageEnum {
- datasourceOrganization(0, 1),
- projectOrganization(1, 4),
- resultOrganization(2, 5),
- resultProject(3, 6),
- resultResult(4, 9),
- organizationOrganization(5, 11),
- ;
-
- public static final int datasourceOrganization_VALUE = 1;
- public static final int projectOrganization_VALUE = 4;
- public static final int resultOrganization_VALUE = 5;
- public static final int resultProject_VALUE = 6;
- public static final int resultResult_VALUE = 9;
- public static final int organizationOrganization_VALUE = 11;
-
-
- public final int getNumber() { return value; }
-
- public static RelType valueOf(int value) {
- switch (value) {
- case 1: return datasourceOrganization;
- case 4: return projectOrganization;
- case 5: return resultOrganization;
- case 6: return resultProject;
- case 9: return resultResult;
- case 11: return organizationOrganization;
- default: return null;
- }
- }
-
- public static com.google.protobuf.Internal.EnumLiteMap
- internalGetValueMap() {
- return internalValueMap;
- }
- private static com.google.protobuf.Internal.EnumLiteMap
- internalValueMap =
- new com.google.protobuf.Internal.EnumLiteMap() {
- public RelType findValueByNumber(int number) {
- return RelType.valueOf(number);
- }
- };
-
- public final com.google.protobuf.Descriptors.EnumValueDescriptor
- getValueDescriptor() {
- return getDescriptor().getValues().get(index);
- }
- public final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptorForType() {
- return getDescriptor();
- }
- public static final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.RelTypeProtos.getDescriptor().getEnumTypes().get(0);
- }
-
- private static final RelType[] VALUES = {
- datasourceOrganization, projectOrganization, resultOrganization, resultProject, resultResult, organizationOrganization,
- };
-
- public static RelType valueOf(
- com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
- if (desc.getType() != getDescriptor()) {
- throw new java.lang.IllegalArgumentException(
- "EnumValueDescriptor is not for this type.");
- }
- return VALUES[desc.getIndex()];
- }
-
- private final int index;
- private final int value;
-
- private RelType(int index, int value) {
- this.index = index;
- this.value = value;
- }
-
- // @@protoc_insertion_point(enum_scope:eu.dnetlib.data.proto.RelType)
- }
-
- public enum SubRelType
- implements com.google.protobuf.ProtocolMessageEnum {
- provision(0, 1),
- participation(1, 4),
- outcome(2, 6),
- similarity(3, 8),
- publicationDataset(4, 9),
- affiliation(5, 12),
- dedup(6, 10),
- dedupSimilarity(7, 11),
- supplement(8, 13),
- part(9, 15),
- version(10, 16),
- relationship(11, 17),
- ;
-
- public static final int provision_VALUE = 1;
- public static final int participation_VALUE = 4;
- public static final int outcome_VALUE = 6;
- public static final int similarity_VALUE = 8;
- public static final int publicationDataset_VALUE = 9;
- public static final int affiliation_VALUE = 12;
- public static final int dedup_VALUE = 10;
- public static final int dedupSimilarity_VALUE = 11;
- public static final int supplement_VALUE = 13;
- public static final int part_VALUE = 15;
- public static final int version_VALUE = 16;
- public static final int relationship_VALUE = 17;
-
-
- public final int getNumber() { return value; }
-
- public static SubRelType valueOf(int value) {
- switch (value) {
- case 1: return provision;
- case 4: return participation;
- case 6: return outcome;
- case 8: return similarity;
- case 9: return publicationDataset;
- case 12: return affiliation;
- case 10: return dedup;
- case 11: return dedupSimilarity;
- case 13: return supplement;
- case 15: return part;
- case 16: return version;
- case 17: return relationship;
- default: return null;
- }
- }
-
- public static com.google.protobuf.Internal.EnumLiteMap
- internalGetValueMap() {
- return internalValueMap;
- }
- private static com.google.protobuf.Internal.EnumLiteMap
- internalValueMap =
- new com.google.protobuf.Internal.EnumLiteMap() {
- public SubRelType findValueByNumber(int number) {
- return SubRelType.valueOf(number);
- }
- };
-
- public final com.google.protobuf.Descriptors.EnumValueDescriptor
- getValueDescriptor() {
- return getDescriptor().getValues().get(index);
- }
- public final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptorForType() {
- return getDescriptor();
- }
- public static final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.RelTypeProtos.getDescriptor().getEnumTypes().get(1);
- }
-
- private static final SubRelType[] VALUES = {
- provision, participation, outcome, similarity, publicationDataset, affiliation, dedup, dedupSimilarity, supplement, part, version, relationship,
- };
-
- public static SubRelType valueOf(
- com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
- if (desc.getType() != getDescriptor()) {
- throw new java.lang.IllegalArgumentException(
- "EnumValueDescriptor is not for this type.");
- }
- return VALUES[desc.getIndex()];
- }
-
- private final int index;
- private final int value;
-
- private SubRelType(int index, int value) {
- this.index = index;
- this.value = value;
- }
-
- // @@protoc_insertion_point(enum_scope:eu.dnetlib.data.proto.SubRelType)
- }
-
-
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
- return descriptor;
- }
- private static com.google.protobuf.Descriptors.FileDescriptor
- descriptor;
- static {
- java.lang.String[] descriptorData = {
- "\n\rRelType.proto\022\025eu.dnetlib.data.proto*\231" +
- "\001\n\007RelType\022\032\n\026datasourceOrganization\020\001\022\027" +
- "\n\023projectOrganization\020\004\022\026\n\022resultOrganiz" +
- "ation\020\005\022\021\n\rresultProject\020\006\022\020\n\014resultResu" +
- "lt\020\t\022\034\n\030organizationOrganization\020\013*\315\001\n\nS" +
- "ubRelType\022\r\n\tprovision\020\001\022\021\n\rparticipatio" +
- "n\020\004\022\013\n\007outcome\020\006\022\016\n\nsimilarity\020\010\022\026\n\022publ" +
- "icationDataset\020\t\022\017\n\013affiliation\020\014\022\t\n\005ded" +
- "up\020\n\022\023\n\017dedupSimilarity\020\013\022\016\n\nsupplement\020" +
- "\r\022\010\n\004part\020\017\022\013\n\007version\020\020\022\020\n\014relationship",
- "\020\021B&\n\025eu.dnetlib.data.protoB\rRelTypeProt" +
- "os"
- };
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- }, assigner);
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/ResultOrganizationProtos.java b/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/ResultOrganizationProtos.java
deleted file mode 100644
index d551ff255..000000000
--- a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/ResultOrganizationProtos.java
+++ /dev/null
@@ -1,1017 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: Result_Organization.proto
-
-package eu.dnetlib.data.proto;
-
-public final class ResultOrganizationProtos {
- private ResultOrganizationProtos() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- }
- public interface ResultOrganizationOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional .eu.dnetlib.data.proto.ResultOrganization.Affiliation affiliation = 1;
- boolean hasAffiliation();
- eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation getAffiliation();
- eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.AffiliationOrBuilder getAffiliationOrBuilder();
- }
- public static final class ResultOrganization extends
- com.google.protobuf.GeneratedMessage
- implements ResultOrganizationOrBuilder {
- // Use ResultOrganization.newBuilder() to construct.
- private ResultOrganization(Builder builder) {
- super(builder);
- }
- private ResultOrganization(boolean noInit) {}
-
- private static final ResultOrganization defaultInstance;
- public static ResultOrganization getDefaultInstance() {
- return defaultInstance;
- }
-
- public ResultOrganization getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.ResultOrganizationProtos.internal_static_eu_dnetlib_data_proto_ResultOrganization_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.ResultOrganizationProtos.internal_static_eu_dnetlib_data_proto_ResultOrganization_fieldAccessorTable;
- }
-
- public interface AffiliationOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // required .eu.dnetlib.data.proto.RelMetadata relMetadata = 1;
- boolean hasRelMetadata();
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata getRelMetadata();
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder getRelMetadataOrBuilder();
- }
- public static final class Affiliation extends
- com.google.protobuf.GeneratedMessage
- implements AffiliationOrBuilder {
- // Use Affiliation.newBuilder() to construct.
- private Affiliation(Builder builder) {
- super(builder);
- }
- private Affiliation(boolean noInit) {}
-
- private static final Affiliation defaultInstance;
- public static Affiliation getDefaultInstance() {
- return defaultInstance;
- }
-
- public Affiliation getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.ResultOrganizationProtos.internal_static_eu_dnetlib_data_proto_ResultOrganization_Affiliation_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.ResultOrganizationProtos.internal_static_eu_dnetlib_data_proto_ResultOrganization_Affiliation_fieldAccessorTable;
- }
-
- public enum RelName
- implements com.google.protobuf.ProtocolMessageEnum {
- isAuthorInstitutionOf(0, 1),
- hasAuthorInstitution(1, 2),
- ;
-
- public static final int isAuthorInstitutionOf_VALUE = 1;
- public static final int hasAuthorInstitution_VALUE = 2;
-
-
- public final int getNumber() { return value; }
-
- public static RelName valueOf(int value) {
- switch (value) {
- case 1: return isAuthorInstitutionOf;
- case 2: return hasAuthorInstitution;
- default: return null;
- }
- }
-
- public static com.google.protobuf.Internal.EnumLiteMap
- internalGetValueMap() {
- return internalValueMap;
- }
- private static com.google.protobuf.Internal.EnumLiteMap
- internalValueMap =
- new com.google.protobuf.Internal.EnumLiteMap() {
- public RelName findValueByNumber(int number) {
- return RelName.valueOf(number);
- }
- };
-
- public final com.google.protobuf.Descriptors.EnumValueDescriptor
- getValueDescriptor() {
- return getDescriptor().getValues().get(index);
- }
- public final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptorForType() {
- return getDescriptor();
- }
- public static final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation.getDescriptor().getEnumTypes().get(0);
- }
-
- private static final RelName[] VALUES = {
- isAuthorInstitutionOf, hasAuthorInstitution,
- };
-
- public static RelName valueOf(
- com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
- if (desc.getType() != getDescriptor()) {
- throw new java.lang.IllegalArgumentException(
- "EnumValueDescriptor is not for this type.");
- }
- return VALUES[desc.getIndex()];
- }
-
- private final int index;
- private final int value;
-
- private RelName(int index, int value) {
- this.index = index;
- this.value = value;
- }
-
- // @@protoc_insertion_point(enum_scope:eu.dnetlib.data.proto.ResultOrganization.Affiliation.RelName)
- }
-
- private int bitField0_;
- // required .eu.dnetlib.data.proto.RelMetadata relMetadata = 1;
- public static final int RELMETADATA_FIELD_NUMBER = 1;
- private eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata relMetadata_;
- public boolean hasRelMetadata() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata getRelMetadata() {
- return relMetadata_;
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder getRelMetadataOrBuilder() {
- return relMetadata_;
- }
-
- private void initFields() {
- relMetadata_ = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasRelMetadata()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!getRelMetadata().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeMessage(1, relMetadata_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, relMetadata_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.AffiliationOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.ResultOrganizationProtos.internal_static_eu_dnetlib_data_proto_ResultOrganization_Affiliation_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.ResultOrganizationProtos.internal_static_eu_dnetlib_data_proto_ResultOrganization_Affiliation_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getRelMetadataFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- if (relMetadataBuilder_ == null) {
- relMetadata_ = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance();
- } else {
- relMetadataBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation build() {
- eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation buildPartial() {
- eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation result = new eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- if (relMetadataBuilder_ == null) {
- result.relMetadata_ = relMetadata_;
- } else {
- result.relMetadata_ = relMetadataBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation) {
- return mergeFrom((eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation other) {
- if (other == eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation.getDefaultInstance()) return this;
- if (other.hasRelMetadata()) {
- mergeRelMetadata(other.getRelMetadata());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasRelMetadata()) {
-
- return false;
- }
- if (!getRelMetadata().isInitialized()) {
-
- return false;
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 10: {
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder subBuilder = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.newBuilder();
- if (hasRelMetadata()) {
- subBuilder.mergeFrom(getRelMetadata());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setRelMetadata(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // required .eu.dnetlib.data.proto.RelMetadata relMetadata = 1;
- private eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata relMetadata_ = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder> relMetadataBuilder_;
- public boolean hasRelMetadata() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata getRelMetadata() {
- if (relMetadataBuilder_ == null) {
- return relMetadata_;
- } else {
- return relMetadataBuilder_.getMessage();
- }
- }
- public Builder setRelMetadata(eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata value) {
- if (relMetadataBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- relMetadata_ = value;
- onChanged();
- } else {
- relMetadataBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder setRelMetadata(
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder builderForValue) {
- if (relMetadataBuilder_ == null) {
- relMetadata_ = builderForValue.build();
- onChanged();
- } else {
- relMetadataBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder mergeRelMetadata(eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata value) {
- if (relMetadataBuilder_ == null) {
- if (((bitField0_ & 0x00000001) == 0x00000001) &&
- relMetadata_ != eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance()) {
- relMetadata_ =
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.newBuilder(relMetadata_).mergeFrom(value).buildPartial();
- } else {
- relMetadata_ = value;
- }
- onChanged();
- } else {
- relMetadataBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder clearRelMetadata() {
- if (relMetadataBuilder_ == null) {
- relMetadata_ = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance();
- onChanged();
- } else {
- relMetadataBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder getRelMetadataBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return getRelMetadataFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder getRelMetadataOrBuilder() {
- if (relMetadataBuilder_ != null) {
- return relMetadataBuilder_.getMessageOrBuilder();
- } else {
- return relMetadata_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder>
- getRelMetadataFieldBuilder() {
- if (relMetadataBuilder_ == null) {
- relMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder>(
- relMetadata_,
- getParentForChildren(),
- isClean());
- relMetadata_ = null;
- }
- return relMetadataBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.ResultOrganization.Affiliation)
- }
-
- static {
- defaultInstance = new Affiliation(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.ResultOrganization.Affiliation)
- }
-
- private int bitField0_;
- // optional .eu.dnetlib.data.proto.ResultOrganization.Affiliation affiliation = 1;
- public static final int AFFILIATION_FIELD_NUMBER = 1;
- private eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation affiliation_;
- public boolean hasAffiliation() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation getAffiliation() {
- return affiliation_;
- }
- public eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.AffiliationOrBuilder getAffiliationOrBuilder() {
- return affiliation_;
- }
-
- private void initFields() {
- affiliation_ = eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (hasAffiliation()) {
- if (!getAffiliation().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeMessage(1, affiliation_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, affiliation_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganizationOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.ResultOrganizationProtos.internal_static_eu_dnetlib_data_proto_ResultOrganization_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.ResultOrganizationProtos.internal_static_eu_dnetlib_data_proto_ResultOrganization_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getAffiliationFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- if (affiliationBuilder_ == null) {
- affiliation_ = eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation.getDefaultInstance();
- } else {
- affiliationBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization build() {
- eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization buildPartial() {
- eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization result = new eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- if (affiliationBuilder_ == null) {
- result.affiliation_ = affiliation_;
- } else {
- result.affiliation_ = affiliationBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization) {
- return mergeFrom((eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization other) {
- if (other == eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.getDefaultInstance()) return this;
- if (other.hasAffiliation()) {
- mergeAffiliation(other.getAffiliation());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (hasAffiliation()) {
- if (!getAffiliation().isInitialized()) {
-
- return false;
- }
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 10: {
- eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation.Builder subBuilder = eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation.newBuilder();
- if (hasAffiliation()) {
- subBuilder.mergeFrom(getAffiliation());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setAffiliation(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // optional .eu.dnetlib.data.proto.ResultOrganization.Affiliation affiliation = 1;
- private eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation affiliation_ = eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation, eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation.Builder, eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.AffiliationOrBuilder> affiliationBuilder_;
- public boolean hasAffiliation() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation getAffiliation() {
- if (affiliationBuilder_ == null) {
- return affiliation_;
- } else {
- return affiliationBuilder_.getMessage();
- }
- }
- public Builder setAffiliation(eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation value) {
- if (affiliationBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- affiliation_ = value;
- onChanged();
- } else {
- affiliationBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder setAffiliation(
- eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation.Builder builderForValue) {
- if (affiliationBuilder_ == null) {
- affiliation_ = builderForValue.build();
- onChanged();
- } else {
- affiliationBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder mergeAffiliation(eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation value) {
- if (affiliationBuilder_ == null) {
- if (((bitField0_ & 0x00000001) == 0x00000001) &&
- affiliation_ != eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation.getDefaultInstance()) {
- affiliation_ =
- eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation.newBuilder(affiliation_).mergeFrom(value).buildPartial();
- } else {
- affiliation_ = value;
- }
- onChanged();
- } else {
- affiliationBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder clearAffiliation() {
- if (affiliationBuilder_ == null) {
- affiliation_ = eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation.getDefaultInstance();
- onChanged();
- } else {
- affiliationBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
- public eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation.Builder getAffiliationBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return getAffiliationFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.AffiliationOrBuilder getAffiliationOrBuilder() {
- if (affiliationBuilder_ != null) {
- return affiliationBuilder_.getMessageOrBuilder();
- } else {
- return affiliation_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation, eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation.Builder, eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.AffiliationOrBuilder>
- getAffiliationFieldBuilder() {
- if (affiliationBuilder_ == null) {
- affiliationBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation, eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation.Builder, eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.AffiliationOrBuilder>(
- affiliation_,
- getParentForChildren(),
- isClean());
- affiliation_ = null;
- }
- return affiliationBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.ResultOrganization)
- }
-
- static {
- defaultInstance = new ResultOrganization(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.ResultOrganization)
- }
-
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_ResultOrganization_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_ResultOrganization_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_ResultOrganization_Affiliation_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_ResultOrganization_Affiliation_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
- return descriptor;
- }
- private static com.google.protobuf.Descriptors.FileDescriptor
- descriptor;
- static {
- java.lang.String[] descriptorData = {
- "\n\031Result_Organization.proto\022\025eu.dnetlib." +
- "data.proto\032\021RelMetadata.proto\"\351\001\n\022Result" +
- "Organization\022J\n\013affiliation\030\001 \001(\01325.eu.d" +
- "netlib.data.proto.ResultOrganization.Aff" +
- "iliation\032\206\001\n\013Affiliation\0227\n\013relMetadata\030" +
- "\001 \002(\0132\".eu.dnetlib.data.proto.RelMetadat" +
- "a\">\n\007RelName\022\031\n\025isAuthorInstitutionOf\020\001\022" +
- "\030\n\024hasAuthorInstitution\020\002B1\n\025eu.dnetlib." +
- "data.protoB\030ResultOrganizationProtos"
- };
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- internal_static_eu_dnetlib_data_proto_ResultOrganization_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_eu_dnetlib_data_proto_ResultOrganization_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_ResultOrganization_descriptor,
- new java.lang.String[] { "Affiliation", },
- eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.class,
- eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Builder.class);
- internal_static_eu_dnetlib_data_proto_ResultOrganization_Affiliation_descriptor =
- internal_static_eu_dnetlib_data_proto_ResultOrganization_descriptor.getNestedTypes().get(0);
- internal_static_eu_dnetlib_data_proto_ResultOrganization_Affiliation_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_ResultOrganization_Affiliation_descriptor,
- new java.lang.String[] { "RelMetadata", },
- eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation.class,
- eu.dnetlib.data.proto.ResultOrganizationProtos.ResultOrganization.Affiliation.Builder.class);
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- eu.dnetlib.data.proto.RelMetadataProtos.getDescriptor(),
- }, assigner);
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/ResultProjectProtos.java b/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/ResultProjectProtos.java
deleted file mode 100644
index 0e7948e49..000000000
--- a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/ResultProjectProtos.java
+++ /dev/null
@@ -1,1016 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: Result_Project.proto
-
-package eu.dnetlib.data.proto;
-
-public final class ResultProjectProtos {
- private ResultProjectProtos() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- }
- public interface ResultProjectOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional .eu.dnetlib.data.proto.ResultProject.Outcome outcome = 1;
- boolean hasOutcome();
- eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome getOutcome();
- eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.OutcomeOrBuilder getOutcomeOrBuilder();
- }
- public static final class ResultProject extends
- com.google.protobuf.GeneratedMessage
- implements ResultProjectOrBuilder {
- // Use ResultProject.newBuilder() to construct.
- private ResultProject(Builder builder) {
- super(builder);
- }
- private ResultProject(boolean noInit) {}
-
- private static final ResultProject defaultInstance;
- public static ResultProject getDefaultInstance() {
- return defaultInstance;
- }
-
- public ResultProject getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.ResultProjectProtos.internal_static_eu_dnetlib_data_proto_ResultProject_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.ResultProjectProtos.internal_static_eu_dnetlib_data_proto_ResultProject_fieldAccessorTable;
- }
-
- public interface OutcomeOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // required .eu.dnetlib.data.proto.RelMetadata relMetadata = 1;
- boolean hasRelMetadata();
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata getRelMetadata();
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder getRelMetadataOrBuilder();
- }
- public static final class Outcome extends
- com.google.protobuf.GeneratedMessage
- implements OutcomeOrBuilder {
- // Use Outcome.newBuilder() to construct.
- private Outcome(Builder builder) {
- super(builder);
- }
- private Outcome(boolean noInit) {}
-
- private static final Outcome defaultInstance;
- public static Outcome getDefaultInstance() {
- return defaultInstance;
- }
-
- public Outcome getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.ResultProjectProtos.internal_static_eu_dnetlib_data_proto_ResultProject_Outcome_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.ResultProjectProtos.internal_static_eu_dnetlib_data_proto_ResultProject_Outcome_fieldAccessorTable;
- }
-
- public enum RelName
- implements com.google.protobuf.ProtocolMessageEnum {
- isProducedBy(0, 1),
- produces(1, 2),
- ;
-
- public static final int isProducedBy_VALUE = 1;
- public static final int produces_VALUE = 2;
-
-
- public final int getNumber() { return value; }
-
- public static RelName valueOf(int value) {
- switch (value) {
- case 1: return isProducedBy;
- case 2: return produces;
- default: return null;
- }
- }
-
- public static com.google.protobuf.Internal.EnumLiteMap
- internalGetValueMap() {
- return internalValueMap;
- }
- private static com.google.protobuf.Internal.EnumLiteMap
- internalValueMap =
- new com.google.protobuf.Internal.EnumLiteMap() {
- public RelName findValueByNumber(int number) {
- return RelName.valueOf(number);
- }
- };
-
- public final com.google.protobuf.Descriptors.EnumValueDescriptor
- getValueDescriptor() {
- return getDescriptor().getValues().get(index);
- }
- public final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptorForType() {
- return getDescriptor();
- }
- public static final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome.getDescriptor().getEnumTypes().get(0);
- }
-
- private static final RelName[] VALUES = {
- isProducedBy, produces,
- };
-
- public static RelName valueOf(
- com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
- if (desc.getType() != getDescriptor()) {
- throw new java.lang.IllegalArgumentException(
- "EnumValueDescriptor is not for this type.");
- }
- return VALUES[desc.getIndex()];
- }
-
- private final int index;
- private final int value;
-
- private RelName(int index, int value) {
- this.index = index;
- this.value = value;
- }
-
- // @@protoc_insertion_point(enum_scope:eu.dnetlib.data.proto.ResultProject.Outcome.RelName)
- }
-
- private int bitField0_;
- // required .eu.dnetlib.data.proto.RelMetadata relMetadata = 1;
- public static final int RELMETADATA_FIELD_NUMBER = 1;
- private eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata relMetadata_;
- public boolean hasRelMetadata() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata getRelMetadata() {
- return relMetadata_;
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder getRelMetadataOrBuilder() {
- return relMetadata_;
- }
-
- private void initFields() {
- relMetadata_ = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (!hasRelMetadata()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!getRelMetadata().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeMessage(1, relMetadata_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, relMetadata_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.OutcomeOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.ResultProjectProtos.internal_static_eu_dnetlib_data_proto_ResultProject_Outcome_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.ResultProjectProtos.internal_static_eu_dnetlib_data_proto_ResultProject_Outcome_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getRelMetadataFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- if (relMetadataBuilder_ == null) {
- relMetadata_ = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance();
- } else {
- relMetadataBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome build() {
- eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome buildPartial() {
- eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome result = new eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- if (relMetadataBuilder_ == null) {
- result.relMetadata_ = relMetadata_;
- } else {
- result.relMetadata_ = relMetadataBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome) {
- return mergeFrom((eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome other) {
- if (other == eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome.getDefaultInstance()) return this;
- if (other.hasRelMetadata()) {
- mergeRelMetadata(other.getRelMetadata());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasRelMetadata()) {
-
- return false;
- }
- if (!getRelMetadata().isInitialized()) {
-
- return false;
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 10: {
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder subBuilder = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.newBuilder();
- if (hasRelMetadata()) {
- subBuilder.mergeFrom(getRelMetadata());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setRelMetadata(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // required .eu.dnetlib.data.proto.RelMetadata relMetadata = 1;
- private eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata relMetadata_ = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder> relMetadataBuilder_;
- public boolean hasRelMetadata() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata getRelMetadata() {
- if (relMetadataBuilder_ == null) {
- return relMetadata_;
- } else {
- return relMetadataBuilder_.getMessage();
- }
- }
- public Builder setRelMetadata(eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata value) {
- if (relMetadataBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- relMetadata_ = value;
- onChanged();
- } else {
- relMetadataBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder setRelMetadata(
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder builderForValue) {
- if (relMetadataBuilder_ == null) {
- relMetadata_ = builderForValue.build();
- onChanged();
- } else {
- relMetadataBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder mergeRelMetadata(eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata value) {
- if (relMetadataBuilder_ == null) {
- if (((bitField0_ & 0x00000001) == 0x00000001) &&
- relMetadata_ != eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance()) {
- relMetadata_ =
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.newBuilder(relMetadata_).mergeFrom(value).buildPartial();
- } else {
- relMetadata_ = value;
- }
- onChanged();
- } else {
- relMetadataBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder clearRelMetadata() {
- if (relMetadataBuilder_ == null) {
- relMetadata_ = eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.getDefaultInstance();
- onChanged();
- } else {
- relMetadataBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder getRelMetadataBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return getRelMetadataFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder getRelMetadataOrBuilder() {
- if (relMetadataBuilder_ != null) {
- return relMetadataBuilder_.getMessageOrBuilder();
- } else {
- return relMetadata_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder>
- getRelMetadataFieldBuilder() {
- if (relMetadataBuilder_ == null) {
- relMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadata.Builder, eu.dnetlib.data.proto.RelMetadataProtos.RelMetadataOrBuilder>(
- relMetadata_,
- getParentForChildren(),
- isClean());
- relMetadata_ = null;
- }
- return relMetadataBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.ResultProject.Outcome)
- }
-
- static {
- defaultInstance = new Outcome(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.ResultProject.Outcome)
- }
-
- private int bitField0_;
- // optional .eu.dnetlib.data.proto.ResultProject.Outcome outcome = 1;
- public static final int OUTCOME_FIELD_NUMBER = 1;
- private eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome outcome_;
- public boolean hasOutcome() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome getOutcome() {
- return outcome_;
- }
- public eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.OutcomeOrBuilder getOutcomeOrBuilder() {
- return outcome_;
- }
-
- private void initFields() {
- outcome_ = eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- if (hasOutcome()) {
- if (!getOutcome().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeMessage(1, outcome_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, outcome_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.ResultProjectProtos.ResultProject parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultProjectProtos.ResultProject parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultProjectProtos.ResultProject parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultProjectProtos.ResultProject parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultProjectProtos.ResultProject parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultProjectProtos.ResultProject parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultProjectProtos.ResultProject parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.ResultProjectProtos.ResultProject parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.ResultProjectProtos.ResultProject parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultProjectProtos.ResultProject parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.ResultProjectProtos.ResultProject prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.ResultProjectProtos.ResultProjectOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.ResultProjectProtos.internal_static_eu_dnetlib_data_proto_ResultProject_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.ResultProjectProtos.internal_static_eu_dnetlib_data_proto_ResultProject_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getOutcomeFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- if (outcomeBuilder_ == null) {
- outcome_ = eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome.getDefaultInstance();
- } else {
- outcomeBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.ResultProjectProtos.ResultProject getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.ResultProjectProtos.ResultProject build() {
- eu.dnetlib.data.proto.ResultProjectProtos.ResultProject result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.ResultProjectProtos.ResultProject buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.ResultProjectProtos.ResultProject result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.ResultProjectProtos.ResultProject buildPartial() {
- eu.dnetlib.data.proto.ResultProjectProtos.ResultProject result = new eu.dnetlib.data.proto.ResultProjectProtos.ResultProject(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- if (outcomeBuilder_ == null) {
- result.outcome_ = outcome_;
- } else {
- result.outcome_ = outcomeBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.ResultProjectProtos.ResultProject) {
- return mergeFrom((eu.dnetlib.data.proto.ResultProjectProtos.ResultProject)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.ResultProjectProtos.ResultProject other) {
- if (other == eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.getDefaultInstance()) return this;
- if (other.hasOutcome()) {
- mergeOutcome(other.getOutcome());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- if (hasOutcome()) {
- if (!getOutcome().isInitialized()) {
-
- return false;
- }
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 10: {
- eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome.Builder subBuilder = eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome.newBuilder();
- if (hasOutcome()) {
- subBuilder.mergeFrom(getOutcome());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setOutcome(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
-
- // optional .eu.dnetlib.data.proto.ResultProject.Outcome outcome = 1;
- private eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome outcome_ = eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome, eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome.Builder, eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.OutcomeOrBuilder> outcomeBuilder_;
- public boolean hasOutcome() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome getOutcome() {
- if (outcomeBuilder_ == null) {
- return outcome_;
- } else {
- return outcomeBuilder_.getMessage();
- }
- }
- public Builder setOutcome(eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome value) {
- if (outcomeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- outcome_ = value;
- onChanged();
- } else {
- outcomeBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder setOutcome(
- eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome.Builder builderForValue) {
- if (outcomeBuilder_ == null) {
- outcome_ = builderForValue.build();
- onChanged();
- } else {
- outcomeBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder mergeOutcome(eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome value) {
- if (outcomeBuilder_ == null) {
- if (((bitField0_ & 0x00000001) == 0x00000001) &&
- outcome_ != eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome.getDefaultInstance()) {
- outcome_ =
- eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome.newBuilder(outcome_).mergeFrom(value).buildPartial();
- } else {
- outcome_ = value;
- }
- onChanged();
- } else {
- outcomeBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000001;
- return this;
- }
- public Builder clearOutcome() {
- if (outcomeBuilder_ == null) {
- outcome_ = eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome.getDefaultInstance();
- onChanged();
- } else {
- outcomeBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
- public eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome.Builder getOutcomeBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return getOutcomeFieldBuilder().getBuilder();
- }
- public eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.OutcomeOrBuilder getOutcomeOrBuilder() {
- if (outcomeBuilder_ != null) {
- return outcomeBuilder_.getMessageOrBuilder();
- } else {
- return outcome_;
- }
- }
- private com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome, eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome.Builder, eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.OutcomeOrBuilder>
- getOutcomeFieldBuilder() {
- if (outcomeBuilder_ == null) {
- outcomeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome, eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome.Builder, eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.OutcomeOrBuilder>(
- outcome_,
- getParentForChildren(),
- isClean());
- outcome_ = null;
- }
- return outcomeBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:eu.dnetlib.data.proto.ResultProject)
- }
-
- static {
- defaultInstance = new ResultProject(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:eu.dnetlib.data.proto.ResultProject)
- }
-
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_ResultProject_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_ResultProject_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_eu_dnetlib_data_proto_ResultProject_Outcome_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_eu_dnetlib_data_proto_ResultProject_Outcome_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
- return descriptor;
- }
- private static com.google.protobuf.Descriptors.FileDescriptor
- descriptor;
- static {
- java.lang.String[] descriptorData = {
- "\n\024Result_Project.proto\022\025eu.dnetlib.data." +
- "proto\032\021RelMetadata.proto\"\275\001\n\rResultProje" +
- "ct\022=\n\007outcome\030\001 \001(\0132,.eu.dnetlib.data.pr" +
- "oto.ResultProject.Outcome\032m\n\007Outcome\0227\n\013" +
- "relMetadata\030\001 \002(\0132\".eu.dnetlib.data.prot" +
- "o.RelMetadata\")\n\007RelName\022\020\n\014isProducedBy" +
- "\020\001\022\014\n\010produces\020\002B,\n\025eu.dnetlib.data.prot" +
- "oB\023ResultProjectProtos"
- };
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- internal_static_eu_dnetlib_data_proto_ResultProject_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_eu_dnetlib_data_proto_ResultProject_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_ResultProject_descriptor,
- new java.lang.String[] { "Outcome", },
- eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.class,
- eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Builder.class);
- internal_static_eu_dnetlib_data_proto_ResultProject_Outcome_descriptor =
- internal_static_eu_dnetlib_data_proto_ResultProject_descriptor.getNestedTypes().get(0);
- internal_static_eu_dnetlib_data_proto_ResultProject_Outcome_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_eu_dnetlib_data_proto_ResultProject_Outcome_descriptor,
- new java.lang.String[] { "RelMetadata", },
- eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome.class,
- eu.dnetlib.data.proto.ResultProjectProtos.ResultProject.Outcome.Builder.class);
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- eu.dnetlib.data.proto.RelMetadataProtos.getDescriptor(),
- }, assigner);
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/ResultProtos.java b/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/ResultProtos.java
deleted file mode 100644
index 816bc203b..000000000
--- a/dnet-openaire-data-protos/src/gen/java/eu/dnetlib/data/proto/ResultProtos.java
+++ /dev/null
@@ -1,14212 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: Result.proto
-
-package eu.dnetlib.data.proto;
-
-public final class ResultProtos {
- private ResultProtos() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- }
- public interface ResultOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional .eu.dnetlib.data.proto.Result.Metadata metadata = 2;
- boolean hasMetadata();
- eu.dnetlib.data.proto.ResultProtos.Result.Metadata getMetadata();
- eu.dnetlib.data.proto.ResultProtos.Result.MetadataOrBuilder getMetadataOrBuilder();
-
- // repeated .eu.dnetlib.data.proto.Result.Instance instance = 6;
- java.util.List
- getInstanceList();
- eu.dnetlib.data.proto.ResultProtos.Result.Instance getInstance(int index);
- int getInstanceCount();
- java.util.List extends eu.dnetlib.data.proto.ResultProtos.Result.InstanceOrBuilder>
- getInstanceOrBuilderList();
- eu.dnetlib.data.proto.ResultProtos.Result.InstanceOrBuilder getInstanceOrBuilder(
- int index);
-
- // repeated .eu.dnetlib.data.proto.Result.ExternalReference externalReference = 7;
- java.util.List
- getExternalReferenceList();
- eu.dnetlib.data.proto.ResultProtos.Result.ExternalReference getExternalReference(int index);
- int getExternalReferenceCount();
- java.util.List extends eu.dnetlib.data.proto.ResultProtos.Result.ExternalReferenceOrBuilder>
- getExternalReferenceOrBuilderList();
- eu.dnetlib.data.proto.ResultProtos.Result.ExternalReferenceOrBuilder getExternalReferenceOrBuilder(
- int index);
- }
- public static final class Result extends
- com.google.protobuf.GeneratedMessage
- implements ResultOrBuilder {
- // Use Result.newBuilder() to construct.
- private Result(Builder builder) {
- super(builder);
- }
- private Result(boolean noInit) {}
-
- private static final Result defaultInstance;
- public static Result getDefaultInstance() {
- return defaultInstance;
- }
-
- public Result getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.ResultProtos.internal_static_eu_dnetlib_data_proto_Result_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.ResultProtos.internal_static_eu_dnetlib_data_proto_Result_fieldAccessorTable;
- }
-
- public interface MetadataOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // repeated .eu.dnetlib.data.proto.Author author = 40;
- java.util.List
- getAuthorList();
- eu.dnetlib.data.proto.FieldTypeProtos.Author getAuthor(int index);
- int getAuthorCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.AuthorOrBuilder>
- getAuthorOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.AuthorOrBuilder getAuthorOrBuilder(
- int index);
-
- // optional .eu.dnetlib.data.proto.Qualifier resulttype = 8;
- boolean hasResulttype();
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getResulttype();
- eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getResulttypeOrBuilder();
-
- // optional .eu.dnetlib.data.proto.Qualifier language = 12;
- boolean hasLanguage();
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getLanguage();
- eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getLanguageOrBuilder();
-
- // repeated .eu.dnetlib.data.proto.Qualifier country = 33;
- java.util.List
- getCountryList();
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getCountry(int index);
- int getCountryCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder>
- getCountryOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getCountryOrBuilder(
- int index);
-
- // repeated .eu.dnetlib.data.proto.StructuredProperty subject = 1;
- java.util.List
- getSubjectList();
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty getSubject(int index);
- int getSubjectCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder>
- getSubjectOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder getSubjectOrBuilder(
- int index);
-
- // repeated .eu.dnetlib.data.proto.StructuredProperty title = 2;
- java.util.List
- getTitleList();
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty getTitle(int index);
- int getTitleCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder>
- getTitleOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder getTitleOrBuilder(
- int index);
-
- // repeated .eu.dnetlib.data.proto.StructuredProperty relevantdate = 3;
- java.util.List
- getRelevantdateList();
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty getRelevantdate(int index);
- int getRelevantdateCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder>
- getRelevantdateOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder getRelevantdateOrBuilder(
- int index);
-
- // repeated .eu.dnetlib.data.proto.StringField description = 25;
- java.util.List
- getDescriptionList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getDescription(int index);
- int getDescriptionCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getDescriptionOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDescriptionOrBuilder(
- int index);
-
- // optional .eu.dnetlib.data.proto.StringField dateofacceptance = 4;
- boolean hasDateofacceptance();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getDateofacceptance();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDateofacceptanceOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField publisher = 5;
- boolean hasPublisher();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getPublisher();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getPublisherOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField embargoenddate = 6;
- boolean hasEmbargoenddate();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getEmbargoenddate();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEmbargoenddateOrBuilder();
-
- // repeated .eu.dnetlib.data.proto.StringField source = 27;
- java.util.List
- getSourceList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getSource(int index);
- int getSourceCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getSourceOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getSourceOrBuilder(
- int index);
-
- // repeated .eu.dnetlib.data.proto.StringField fulltext = 29;
- java.util.List
- getFulltextList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getFulltext(int index);
- int getFulltextCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getFulltextOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getFulltextOrBuilder(
- int index);
-
- // repeated .eu.dnetlib.data.proto.StringField format = 21;
- java.util.List
- getFormatList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getFormat(int index);
- int getFormatCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getFormatOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getFormatOrBuilder(
- int index);
-
- // repeated .eu.dnetlib.data.proto.StringField contributor = 30;
- java.util.List
- getContributorList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getContributor(int index);
- int getContributorCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getContributorOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getContributorOrBuilder(
- int index);
-
- // optional .eu.dnetlib.data.proto.Qualifier resourcetype = 19;
- boolean hasResourcetype();
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getResourcetype();
- eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getResourcetypeOrBuilder();
-
- // repeated .eu.dnetlib.data.proto.StringField coverage = 43;
- java.util.List
- getCoverageList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getCoverage(int index);
- int getCoverageCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getCoverageOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getCoverageOrBuilder(
- int index);
-
- // repeated .eu.dnetlib.data.proto.Result.Context context = 28;
- java.util.List
- getContextList();
- eu.dnetlib.data.proto.ResultProtos.Result.Context getContext(int index);
- int getContextCount();
- java.util.List extends eu.dnetlib.data.proto.ResultProtos.Result.ContextOrBuilder>
- getContextOrBuilderList();
- eu.dnetlib.data.proto.ResultProtos.Result.ContextOrBuilder getContextOrBuilder(
- int index);
-
- // optional .eu.dnetlib.data.proto.Result.Journal journal = 18;
- boolean hasJournal();
- eu.dnetlib.data.proto.ResultProtos.Result.Journal getJournal();
- eu.dnetlib.data.proto.ResultProtos.Result.JournalOrBuilder getJournalOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField storagedate = 9;
- boolean hasStoragedate();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getStoragedate();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getStoragedateOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField device = 26;
- boolean hasDevice();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getDevice();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDeviceOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField size = 20;
- boolean hasSize();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getSize();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getSizeOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField version = 22;
- boolean hasVersion();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getVersion();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getVersionOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField lastmetadataupdate = 23;
- boolean hasLastmetadataupdate();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getLastmetadataupdate();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getLastmetadataupdateOrBuilder();
-
- // optional .eu.dnetlib.data.proto.StringField metadataversionnumber = 24;
- boolean hasMetadataversionnumber();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getMetadataversionnumber();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getMetadataversionnumberOrBuilder();
-
- // repeated .eu.dnetlib.data.proto.Result.GeoLocation geolocation = 44;
- java.util.List
- getGeolocationList();
- eu.dnetlib.data.proto.ResultProtos.Result.GeoLocation getGeolocation(int index);
- int getGeolocationCount();
- java.util.List extends eu.dnetlib.data.proto.ResultProtos.Result.GeoLocationOrBuilder>
- getGeolocationOrBuilderList();
- eu.dnetlib.data.proto.ResultProtos.Result.GeoLocationOrBuilder getGeolocationOrBuilder(
- int index);
-
- // repeated .eu.dnetlib.data.proto.StringField documentationUrl = 35;
- java.util.List
- getDocumentationUrlList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getDocumentationUrl(int index);
- int getDocumentationUrlCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getDocumentationUrlOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDocumentationUrlOrBuilder(
- int index);
-
- // repeated .eu.dnetlib.data.proto.StructuredProperty license = 36;
- java.util.List
- getLicenseList();
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty getLicense(int index);
- int getLicenseCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder>
- getLicenseOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder getLicenseOrBuilder(
- int index);
-
- // optional .eu.dnetlib.data.proto.StringField codeRepositoryUrl = 38;
- boolean hasCodeRepositoryUrl();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getCodeRepositoryUrl();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getCodeRepositoryUrlOrBuilder();
-
- // optional .eu.dnetlib.data.proto.Qualifier programmingLanguage = 39;
- boolean hasProgrammingLanguage();
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getProgrammingLanguage();
- eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getProgrammingLanguageOrBuilder();
-
- // repeated .eu.dnetlib.data.proto.StringField contactperson = 45;
- java.util.List
- getContactpersonList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getContactperson(int index);
- int getContactpersonCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getContactpersonOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getContactpersonOrBuilder(
- int index);
-
- // repeated .eu.dnetlib.data.proto.StringField contactgroup = 41;
- java.util.List
- getContactgroupList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getContactgroup(int index);
- int getContactgroupCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getContactgroupOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getContactgroupOrBuilder(
- int index);
-
- // repeated .eu.dnetlib.data.proto.StringField tool = 42;
- java.util.List
- getToolList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringField getTool(int index);
- int getToolCount();
- java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getToolOrBuilderList();
- eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getToolOrBuilder(
- int index);
- }
- public static final class Metadata extends
- com.google.protobuf.GeneratedMessage
- implements MetadataOrBuilder {
- // Use Metadata.newBuilder() to construct.
- private Metadata(Builder builder) {
- super(builder);
- }
- private Metadata(boolean noInit) {}
-
- private static final Metadata defaultInstance;
- public static Metadata getDefaultInstance() {
- return defaultInstance;
- }
-
- public Metadata getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.ResultProtos.internal_static_eu_dnetlib_data_proto_Result_Metadata_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.ResultProtos.internal_static_eu_dnetlib_data_proto_Result_Metadata_fieldAccessorTable;
- }
-
- private int bitField0_;
- // repeated .eu.dnetlib.data.proto.Author author = 40;
- public static final int AUTHOR_FIELD_NUMBER = 40;
- private java.util.List author_;
- public java.util.List getAuthorList() {
- return author_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.AuthorOrBuilder>
- getAuthorOrBuilderList() {
- return author_;
- }
- public int getAuthorCount() {
- return author_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Author getAuthor(int index) {
- return author_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.AuthorOrBuilder getAuthorOrBuilder(
- int index) {
- return author_.get(index);
- }
-
- // optional .eu.dnetlib.data.proto.Qualifier resulttype = 8;
- public static final int RESULTTYPE_FIELD_NUMBER = 8;
- private eu.dnetlib.data.proto.FieldTypeProtos.Qualifier resulttype_;
- public boolean hasResulttype() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getResulttype() {
- return resulttype_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getResulttypeOrBuilder() {
- return resulttype_;
- }
-
- // optional .eu.dnetlib.data.proto.Qualifier language = 12;
- public static final int LANGUAGE_FIELD_NUMBER = 12;
- private eu.dnetlib.data.proto.FieldTypeProtos.Qualifier language_;
- public boolean hasLanguage() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getLanguage() {
- return language_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getLanguageOrBuilder() {
- return language_;
- }
-
- // repeated .eu.dnetlib.data.proto.Qualifier country = 33;
- public static final int COUNTRY_FIELD_NUMBER = 33;
- private java.util.List country_;
- public java.util.List getCountryList() {
- return country_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder>
- getCountryOrBuilderList() {
- return country_;
- }
- public int getCountryCount() {
- return country_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getCountry(int index) {
- return country_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getCountryOrBuilder(
- int index) {
- return country_.get(index);
- }
-
- // repeated .eu.dnetlib.data.proto.StructuredProperty subject = 1;
- public static final int SUBJECT_FIELD_NUMBER = 1;
- private java.util.List subject_;
- public java.util.List getSubjectList() {
- return subject_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder>
- getSubjectOrBuilderList() {
- return subject_;
- }
- public int getSubjectCount() {
- return subject_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty getSubject(int index) {
- return subject_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder getSubjectOrBuilder(
- int index) {
- return subject_.get(index);
- }
-
- // repeated .eu.dnetlib.data.proto.StructuredProperty title = 2;
- public static final int TITLE_FIELD_NUMBER = 2;
- private java.util.List title_;
- public java.util.List getTitleList() {
- return title_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder>
- getTitleOrBuilderList() {
- return title_;
- }
- public int getTitleCount() {
- return title_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty getTitle(int index) {
- return title_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder getTitleOrBuilder(
- int index) {
- return title_.get(index);
- }
-
- // repeated .eu.dnetlib.data.proto.StructuredProperty relevantdate = 3;
- public static final int RELEVANTDATE_FIELD_NUMBER = 3;
- private java.util.List relevantdate_;
- public java.util.List getRelevantdateList() {
- return relevantdate_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder>
- getRelevantdateOrBuilderList() {
- return relevantdate_;
- }
- public int getRelevantdateCount() {
- return relevantdate_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty getRelevantdate(int index) {
- return relevantdate_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder getRelevantdateOrBuilder(
- int index) {
- return relevantdate_.get(index);
- }
-
- // repeated .eu.dnetlib.data.proto.StringField description = 25;
- public static final int DESCRIPTION_FIELD_NUMBER = 25;
- private java.util.List description_;
- public java.util.List getDescriptionList() {
- return description_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getDescriptionOrBuilderList() {
- return description_;
- }
- public int getDescriptionCount() {
- return description_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getDescription(int index) {
- return description_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDescriptionOrBuilder(
- int index) {
- return description_.get(index);
- }
-
- // optional .eu.dnetlib.data.proto.StringField dateofacceptance = 4;
- public static final int DATEOFACCEPTANCE_FIELD_NUMBER = 4;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField dateofacceptance_;
- public boolean hasDateofacceptance() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getDateofacceptance() {
- return dateofacceptance_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDateofacceptanceOrBuilder() {
- return dateofacceptance_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField publisher = 5;
- public static final int PUBLISHER_FIELD_NUMBER = 5;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField publisher_;
- public boolean hasPublisher() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getPublisher() {
- return publisher_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getPublisherOrBuilder() {
- return publisher_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField embargoenddate = 6;
- public static final int EMBARGOENDDATE_FIELD_NUMBER = 6;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField embargoenddate_;
- public boolean hasEmbargoenddate() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getEmbargoenddate() {
- return embargoenddate_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getEmbargoenddateOrBuilder() {
- return embargoenddate_;
- }
-
- // repeated .eu.dnetlib.data.proto.StringField source = 27;
- public static final int SOURCE_FIELD_NUMBER = 27;
- private java.util.List source_;
- public java.util.List getSourceList() {
- return source_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getSourceOrBuilderList() {
- return source_;
- }
- public int getSourceCount() {
- return source_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getSource(int index) {
- return source_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getSourceOrBuilder(
- int index) {
- return source_.get(index);
- }
-
- // repeated .eu.dnetlib.data.proto.StringField fulltext = 29;
- public static final int FULLTEXT_FIELD_NUMBER = 29;
- private java.util.List fulltext_;
- public java.util.List getFulltextList() {
- return fulltext_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getFulltextOrBuilderList() {
- return fulltext_;
- }
- public int getFulltextCount() {
- return fulltext_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getFulltext(int index) {
- return fulltext_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getFulltextOrBuilder(
- int index) {
- return fulltext_.get(index);
- }
-
- // repeated .eu.dnetlib.data.proto.StringField format = 21;
- public static final int FORMAT_FIELD_NUMBER = 21;
- private java.util.List format_;
- public java.util.List getFormatList() {
- return format_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getFormatOrBuilderList() {
- return format_;
- }
- public int getFormatCount() {
- return format_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getFormat(int index) {
- return format_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getFormatOrBuilder(
- int index) {
- return format_.get(index);
- }
-
- // repeated .eu.dnetlib.data.proto.StringField contributor = 30;
- public static final int CONTRIBUTOR_FIELD_NUMBER = 30;
- private java.util.List contributor_;
- public java.util.List getContributorList() {
- return contributor_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getContributorOrBuilderList() {
- return contributor_;
- }
- public int getContributorCount() {
- return contributor_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getContributor(int index) {
- return contributor_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getContributorOrBuilder(
- int index) {
- return contributor_.get(index);
- }
-
- // optional .eu.dnetlib.data.proto.Qualifier resourcetype = 19;
- public static final int RESOURCETYPE_FIELD_NUMBER = 19;
- private eu.dnetlib.data.proto.FieldTypeProtos.Qualifier resourcetype_;
- public boolean hasResourcetype() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getResourcetype() {
- return resourcetype_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getResourcetypeOrBuilder() {
- return resourcetype_;
- }
-
- // repeated .eu.dnetlib.data.proto.StringField coverage = 43;
- public static final int COVERAGE_FIELD_NUMBER = 43;
- private java.util.List coverage_;
- public java.util.List getCoverageList() {
- return coverage_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getCoverageOrBuilderList() {
- return coverage_;
- }
- public int getCoverageCount() {
- return coverage_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getCoverage(int index) {
- return coverage_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getCoverageOrBuilder(
- int index) {
- return coverage_.get(index);
- }
-
- // repeated .eu.dnetlib.data.proto.Result.Context context = 28;
- public static final int CONTEXT_FIELD_NUMBER = 28;
- private java.util.List context_;
- public java.util.List getContextList() {
- return context_;
- }
- public java.util.List extends eu.dnetlib.data.proto.ResultProtos.Result.ContextOrBuilder>
- getContextOrBuilderList() {
- return context_;
- }
- public int getContextCount() {
- return context_.size();
- }
- public eu.dnetlib.data.proto.ResultProtos.Result.Context getContext(int index) {
- return context_.get(index);
- }
- public eu.dnetlib.data.proto.ResultProtos.Result.ContextOrBuilder getContextOrBuilder(
- int index) {
- return context_.get(index);
- }
-
- // optional .eu.dnetlib.data.proto.Result.Journal journal = 18;
- public static final int JOURNAL_FIELD_NUMBER = 18;
- private eu.dnetlib.data.proto.ResultProtos.Result.Journal journal_;
- public boolean hasJournal() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
- }
- public eu.dnetlib.data.proto.ResultProtos.Result.Journal getJournal() {
- return journal_;
- }
- public eu.dnetlib.data.proto.ResultProtos.Result.JournalOrBuilder getJournalOrBuilder() {
- return journal_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField storagedate = 9;
- public static final int STORAGEDATE_FIELD_NUMBER = 9;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField storagedate_;
- public boolean hasStoragedate() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getStoragedate() {
- return storagedate_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getStoragedateOrBuilder() {
- return storagedate_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField device = 26;
- public static final int DEVICE_FIELD_NUMBER = 26;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField device_;
- public boolean hasDevice() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getDevice() {
- return device_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDeviceOrBuilder() {
- return device_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField size = 20;
- public static final int SIZE_FIELD_NUMBER = 20;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField size_;
- public boolean hasSize() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getSize() {
- return size_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getSizeOrBuilder() {
- return size_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField version = 22;
- public static final int VERSION_FIELD_NUMBER = 22;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField version_;
- public boolean hasVersion() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getVersion() {
- return version_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getVersionOrBuilder() {
- return version_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField lastmetadataupdate = 23;
- public static final int LASTMETADATAUPDATE_FIELD_NUMBER = 23;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField lastmetadataupdate_;
- public boolean hasLastmetadataupdate() {
- return ((bitField0_ & 0x00000800) == 0x00000800);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getLastmetadataupdate() {
- return lastmetadataupdate_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getLastmetadataupdateOrBuilder() {
- return lastmetadataupdate_;
- }
-
- // optional .eu.dnetlib.data.proto.StringField metadataversionnumber = 24;
- public static final int METADATAVERSIONNUMBER_FIELD_NUMBER = 24;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField metadataversionnumber_;
- public boolean hasMetadataversionnumber() {
- return ((bitField0_ & 0x00001000) == 0x00001000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getMetadataversionnumber() {
- return metadataversionnumber_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getMetadataversionnumberOrBuilder() {
- return metadataversionnumber_;
- }
-
- // repeated .eu.dnetlib.data.proto.Result.GeoLocation geolocation = 44;
- public static final int GEOLOCATION_FIELD_NUMBER = 44;
- private java.util.List geolocation_;
- public java.util.List getGeolocationList() {
- return geolocation_;
- }
- public java.util.List extends eu.dnetlib.data.proto.ResultProtos.Result.GeoLocationOrBuilder>
- getGeolocationOrBuilderList() {
- return geolocation_;
- }
- public int getGeolocationCount() {
- return geolocation_.size();
- }
- public eu.dnetlib.data.proto.ResultProtos.Result.GeoLocation getGeolocation(int index) {
- return geolocation_.get(index);
- }
- public eu.dnetlib.data.proto.ResultProtos.Result.GeoLocationOrBuilder getGeolocationOrBuilder(
- int index) {
- return geolocation_.get(index);
- }
-
- // repeated .eu.dnetlib.data.proto.StringField documentationUrl = 35;
- public static final int DOCUMENTATIONURL_FIELD_NUMBER = 35;
- private java.util.List documentationUrl_;
- public java.util.List getDocumentationUrlList() {
- return documentationUrl_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getDocumentationUrlOrBuilderList() {
- return documentationUrl_;
- }
- public int getDocumentationUrlCount() {
- return documentationUrl_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getDocumentationUrl(int index) {
- return documentationUrl_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getDocumentationUrlOrBuilder(
- int index) {
- return documentationUrl_.get(index);
- }
-
- // repeated .eu.dnetlib.data.proto.StructuredProperty license = 36;
- public static final int LICENSE_FIELD_NUMBER = 36;
- private java.util.List license_;
- public java.util.List getLicenseList() {
- return license_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder>
- getLicenseOrBuilderList() {
- return license_;
- }
- public int getLicenseCount() {
- return license_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty getLicense(int index) {
- return license_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StructuredPropertyOrBuilder getLicenseOrBuilder(
- int index) {
- return license_.get(index);
- }
-
- // optional .eu.dnetlib.data.proto.StringField codeRepositoryUrl = 38;
- public static final int CODEREPOSITORYURL_FIELD_NUMBER = 38;
- private eu.dnetlib.data.proto.FieldTypeProtos.StringField codeRepositoryUrl_;
- public boolean hasCodeRepositoryUrl() {
- return ((bitField0_ & 0x00002000) == 0x00002000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getCodeRepositoryUrl() {
- return codeRepositoryUrl_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getCodeRepositoryUrlOrBuilder() {
- return codeRepositoryUrl_;
- }
-
- // optional .eu.dnetlib.data.proto.Qualifier programmingLanguage = 39;
- public static final int PROGRAMMINGLANGUAGE_FIELD_NUMBER = 39;
- private eu.dnetlib.data.proto.FieldTypeProtos.Qualifier programmingLanguage_;
- public boolean hasProgrammingLanguage() {
- return ((bitField0_ & 0x00004000) == 0x00004000);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Qualifier getProgrammingLanguage() {
- return programmingLanguage_;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.QualifierOrBuilder getProgrammingLanguageOrBuilder() {
- return programmingLanguage_;
- }
-
- // repeated .eu.dnetlib.data.proto.StringField contactperson = 45;
- public static final int CONTACTPERSON_FIELD_NUMBER = 45;
- private java.util.List contactperson_;
- public java.util.List getContactpersonList() {
- return contactperson_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getContactpersonOrBuilderList() {
- return contactperson_;
- }
- public int getContactpersonCount() {
- return contactperson_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getContactperson(int index) {
- return contactperson_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getContactpersonOrBuilder(
- int index) {
- return contactperson_.get(index);
- }
-
- // repeated .eu.dnetlib.data.proto.StringField contactgroup = 41;
- public static final int CONTACTGROUP_FIELD_NUMBER = 41;
- private java.util.List contactgroup_;
- public java.util.List getContactgroupList() {
- return contactgroup_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getContactgroupOrBuilderList() {
- return contactgroup_;
- }
- public int getContactgroupCount() {
- return contactgroup_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getContactgroup(int index) {
- return contactgroup_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getContactgroupOrBuilder(
- int index) {
- return contactgroup_.get(index);
- }
-
- // repeated .eu.dnetlib.data.proto.StringField tool = 42;
- public static final int TOOL_FIELD_NUMBER = 42;
- private java.util.List tool_;
- public java.util.List getToolList() {
- return tool_;
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder>
- getToolOrBuilderList() {
- return tool_;
- }
- public int getToolCount() {
- return tool_.size();
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringField getTool(int index) {
- return tool_.get(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.StringFieldOrBuilder getToolOrBuilder(
- int index) {
- return tool_.get(index);
- }
-
- private void initFields() {
- author_ = java.util.Collections.emptyList();
- resulttype_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- language_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- country_ = java.util.Collections.emptyList();
- subject_ = java.util.Collections.emptyList();
- title_ = java.util.Collections.emptyList();
- relevantdate_ = java.util.Collections.emptyList();
- description_ = java.util.Collections.emptyList();
- dateofacceptance_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- publisher_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- embargoenddate_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- source_ = java.util.Collections.emptyList();
- fulltext_ = java.util.Collections.emptyList();
- format_ = java.util.Collections.emptyList();
- contributor_ = java.util.Collections.emptyList();
- resourcetype_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- coverage_ = java.util.Collections.emptyList();
- context_ = java.util.Collections.emptyList();
- journal_ = eu.dnetlib.data.proto.ResultProtos.Result.Journal.getDefaultInstance();
- storagedate_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- device_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- size_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- version_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- lastmetadataupdate_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- metadataversionnumber_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- geolocation_ = java.util.Collections.emptyList();
- documentationUrl_ = java.util.Collections.emptyList();
- license_ = java.util.Collections.emptyList();
- codeRepositoryUrl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- programmingLanguage_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- contactperson_ = java.util.Collections.emptyList();
- contactgroup_ = java.util.Collections.emptyList();
- tool_ = java.util.Collections.emptyList();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- for (int i = 0; i < getAuthorCount(); i++) {
- if (!getAuthor(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasResulttype()) {
- if (!getResulttype().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasLanguage()) {
- if (!getLanguage().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getCountryCount(); i++) {
- if (!getCountry(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getSubjectCount(); i++) {
- if (!getSubject(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getTitleCount(); i++) {
- if (!getTitle(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getRelevantdateCount(); i++) {
- if (!getRelevantdate(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getDescriptionCount(); i++) {
- if (!getDescription(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasDateofacceptance()) {
- if (!getDateofacceptance().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasPublisher()) {
- if (!getPublisher().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasEmbargoenddate()) {
- if (!getEmbargoenddate().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getSourceCount(); i++) {
- if (!getSource(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getFulltextCount(); i++) {
- if (!getFulltext(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getFormatCount(); i++) {
- if (!getFormat(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getContributorCount(); i++) {
- if (!getContributor(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasResourcetype()) {
- if (!getResourcetype().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getCoverageCount(); i++) {
- if (!getCoverage(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getContextCount(); i++) {
- if (!getContext(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasJournal()) {
- if (!getJournal().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasStoragedate()) {
- if (!getStoragedate().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasDevice()) {
- if (!getDevice().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasSize()) {
- if (!getSize().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasVersion()) {
- if (!getVersion().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasLastmetadataupdate()) {
- if (!getLastmetadataupdate().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasMetadataversionnumber()) {
- if (!getMetadataversionnumber().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getDocumentationUrlCount(); i++) {
- if (!getDocumentationUrl(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getLicenseCount(); i++) {
- if (!getLicense(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasCodeRepositoryUrl()) {
- if (!getCodeRepositoryUrl().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- if (hasProgrammingLanguage()) {
- if (!getProgrammingLanguage().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getContactpersonCount(); i++) {
- if (!getContactperson(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getContactgroupCount(); i++) {
- if (!getContactgroup(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- for (int i = 0; i < getToolCount(); i++) {
- if (!getTool(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- for (int i = 0; i < subject_.size(); i++) {
- output.writeMessage(1, subject_.get(i));
- }
- for (int i = 0; i < title_.size(); i++) {
- output.writeMessage(2, title_.get(i));
- }
- for (int i = 0; i < relevantdate_.size(); i++) {
- output.writeMessage(3, relevantdate_.get(i));
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeMessage(4, dateofacceptance_);
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- output.writeMessage(5, publisher_);
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- output.writeMessage(6, embargoenddate_);
- }
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeMessage(8, resulttype_);
- }
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
- output.writeMessage(9, storagedate_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeMessage(12, language_);
- }
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
- output.writeMessage(18, journal_);
- }
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- output.writeMessage(19, resourcetype_);
- }
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
- output.writeMessage(20, size_);
- }
- for (int i = 0; i < format_.size(); i++) {
- output.writeMessage(21, format_.get(i));
- }
- if (((bitField0_ & 0x00000400) == 0x00000400)) {
- output.writeMessage(22, version_);
- }
- if (((bitField0_ & 0x00000800) == 0x00000800)) {
- output.writeMessage(23, lastmetadataupdate_);
- }
- if (((bitField0_ & 0x00001000) == 0x00001000)) {
- output.writeMessage(24, metadataversionnumber_);
- }
- for (int i = 0; i < description_.size(); i++) {
- output.writeMessage(25, description_.get(i));
- }
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
- output.writeMessage(26, device_);
- }
- for (int i = 0; i < source_.size(); i++) {
- output.writeMessage(27, source_.get(i));
- }
- for (int i = 0; i < context_.size(); i++) {
- output.writeMessage(28, context_.get(i));
- }
- for (int i = 0; i < fulltext_.size(); i++) {
- output.writeMessage(29, fulltext_.get(i));
- }
- for (int i = 0; i < contributor_.size(); i++) {
- output.writeMessage(30, contributor_.get(i));
- }
- for (int i = 0; i < country_.size(); i++) {
- output.writeMessage(33, country_.get(i));
- }
- for (int i = 0; i < documentationUrl_.size(); i++) {
- output.writeMessage(35, documentationUrl_.get(i));
- }
- for (int i = 0; i < license_.size(); i++) {
- output.writeMessage(36, license_.get(i));
- }
- if (((bitField0_ & 0x00002000) == 0x00002000)) {
- output.writeMessage(38, codeRepositoryUrl_);
- }
- if (((bitField0_ & 0x00004000) == 0x00004000)) {
- output.writeMessage(39, programmingLanguage_);
- }
- for (int i = 0; i < author_.size(); i++) {
- output.writeMessage(40, author_.get(i));
- }
- for (int i = 0; i < contactgroup_.size(); i++) {
- output.writeMessage(41, contactgroup_.get(i));
- }
- for (int i = 0; i < tool_.size(); i++) {
- output.writeMessage(42, tool_.get(i));
- }
- for (int i = 0; i < coverage_.size(); i++) {
- output.writeMessage(43, coverage_.get(i));
- }
- for (int i = 0; i < geolocation_.size(); i++) {
- output.writeMessage(44, geolocation_.get(i));
- }
- for (int i = 0; i < contactperson_.size(); i++) {
- output.writeMessage(45, contactperson_.get(i));
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- for (int i = 0; i < subject_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, subject_.get(i));
- }
- for (int i = 0; i < title_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, title_.get(i));
- }
- for (int i = 0; i < relevantdate_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, relevantdate_.get(i));
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(4, dateofacceptance_);
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(5, publisher_);
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(6, embargoenddate_);
- }
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(8, resulttype_);
- }
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(9, storagedate_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(12, language_);
- }
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(18, journal_);
- }
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(19, resourcetype_);
- }
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(20, size_);
- }
- for (int i = 0; i < format_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(21, format_.get(i));
- }
- if (((bitField0_ & 0x00000400) == 0x00000400)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(22, version_);
- }
- if (((bitField0_ & 0x00000800) == 0x00000800)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(23, lastmetadataupdate_);
- }
- if (((bitField0_ & 0x00001000) == 0x00001000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(24, metadataversionnumber_);
- }
- for (int i = 0; i < description_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(25, description_.get(i));
- }
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(26, device_);
- }
- for (int i = 0; i < source_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(27, source_.get(i));
- }
- for (int i = 0; i < context_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(28, context_.get(i));
- }
- for (int i = 0; i < fulltext_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(29, fulltext_.get(i));
- }
- for (int i = 0; i < contributor_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(30, contributor_.get(i));
- }
- for (int i = 0; i < country_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(33, country_.get(i));
- }
- for (int i = 0; i < documentationUrl_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(35, documentationUrl_.get(i));
- }
- for (int i = 0; i < license_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(36, license_.get(i));
- }
- if (((bitField0_ & 0x00002000) == 0x00002000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(38, codeRepositoryUrl_);
- }
- if (((bitField0_ & 0x00004000) == 0x00004000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(39, programmingLanguage_);
- }
- for (int i = 0; i < author_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(40, author_.get(i));
- }
- for (int i = 0; i < contactgroup_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(41, contactgroup_.get(i));
- }
- for (int i = 0; i < tool_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(42, tool_.get(i));
- }
- for (int i = 0; i < coverage_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(43, coverage_.get(i));
- }
- for (int i = 0; i < geolocation_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(44, geolocation_.get(i));
- }
- for (int i = 0; i < contactperson_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(45, contactperson_.get(i));
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static eu.dnetlib.data.proto.ResultProtos.Result.Metadata parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultProtos.Result.Metadata parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultProtos.Result.Metadata parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultProtos.Result.Metadata parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultProtos.Result.Metadata parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultProtos.Result.Metadata parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultProtos.Result.Metadata parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.ResultProtos.Result.Metadata parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static eu.dnetlib.data.proto.ResultProtos.Result.Metadata parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static eu.dnetlib.data.proto.ResultProtos.Result.Metadata parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(eu.dnetlib.data.proto.ResultProtos.Result.Metadata prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
- implements eu.dnetlib.data.proto.ResultProtos.Result.MetadataOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return eu.dnetlib.data.proto.ResultProtos.internal_static_eu_dnetlib_data_proto_Result_Metadata_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return eu.dnetlib.data.proto.ResultProtos.internal_static_eu_dnetlib_data_proto_Result_Metadata_fieldAccessorTable;
- }
-
- // Construct using eu.dnetlib.data.proto.ResultProtos.Result.Metadata.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
- getAuthorFieldBuilder();
- getResulttypeFieldBuilder();
- getLanguageFieldBuilder();
- getCountryFieldBuilder();
- getSubjectFieldBuilder();
- getTitleFieldBuilder();
- getRelevantdateFieldBuilder();
- getDescriptionFieldBuilder();
- getDateofacceptanceFieldBuilder();
- getPublisherFieldBuilder();
- getEmbargoenddateFieldBuilder();
- getSourceFieldBuilder();
- getFulltextFieldBuilder();
- getFormatFieldBuilder();
- getContributorFieldBuilder();
- getResourcetypeFieldBuilder();
- getCoverageFieldBuilder();
- getContextFieldBuilder();
- getJournalFieldBuilder();
- getStoragedateFieldBuilder();
- getDeviceFieldBuilder();
- getSizeFieldBuilder();
- getVersionFieldBuilder();
- getLastmetadataupdateFieldBuilder();
- getMetadataversionnumberFieldBuilder();
- getGeolocationFieldBuilder();
- getDocumentationUrlFieldBuilder();
- getLicenseFieldBuilder();
- getCodeRepositoryUrlFieldBuilder();
- getProgrammingLanguageFieldBuilder();
- getContactpersonFieldBuilder();
- getContactgroupFieldBuilder();
- getToolFieldBuilder();
- }
- }
- private static Builder create() {
- return new Builder();
- }
-
- public Builder clear() {
- super.clear();
- if (authorBuilder_ == null) {
- author_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- } else {
- authorBuilder_.clear();
- }
- if (resulttypeBuilder_ == null) {
- resulttype_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- } else {
- resulttypeBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000002);
- if (languageBuilder_ == null) {
- language_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- } else {
- languageBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000004);
- if (countryBuilder_ == null) {
- country_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
- } else {
- countryBuilder_.clear();
- }
- if (subjectBuilder_ == null) {
- subject_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000010);
- } else {
- subjectBuilder_.clear();
- }
- if (titleBuilder_ == null) {
- title_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000020);
- } else {
- titleBuilder_.clear();
- }
- if (relevantdateBuilder_ == null) {
- relevantdate_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000040);
- } else {
- relevantdateBuilder_.clear();
- }
- if (descriptionBuilder_ == null) {
- description_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000080);
- } else {
- descriptionBuilder_.clear();
- }
- if (dateofacceptanceBuilder_ == null) {
- dateofacceptance_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- dateofacceptanceBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000100);
- if (publisherBuilder_ == null) {
- publisher_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- publisherBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000200);
- if (embargoenddateBuilder_ == null) {
- embargoenddate_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- embargoenddateBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000400);
- if (sourceBuilder_ == null) {
- source_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000800);
- } else {
- sourceBuilder_.clear();
- }
- if (fulltextBuilder_ == null) {
- fulltext_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00001000);
- } else {
- fulltextBuilder_.clear();
- }
- if (formatBuilder_ == null) {
- format_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00002000);
- } else {
- formatBuilder_.clear();
- }
- if (contributorBuilder_ == null) {
- contributor_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00004000);
- } else {
- contributorBuilder_.clear();
- }
- if (resourcetypeBuilder_ == null) {
- resourcetype_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- } else {
- resourcetypeBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00008000);
- if (coverageBuilder_ == null) {
- coverage_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00010000);
- } else {
- coverageBuilder_.clear();
- }
- if (contextBuilder_ == null) {
- context_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00020000);
- } else {
- contextBuilder_.clear();
- }
- if (journalBuilder_ == null) {
- journal_ = eu.dnetlib.data.proto.ResultProtos.Result.Journal.getDefaultInstance();
- } else {
- journalBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00040000);
- if (storagedateBuilder_ == null) {
- storagedate_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- storagedateBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00080000);
- if (deviceBuilder_ == null) {
- device_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- deviceBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00100000);
- if (sizeBuilder_ == null) {
- size_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- sizeBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00200000);
- if (versionBuilder_ == null) {
- version_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- versionBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00400000);
- if (lastmetadataupdateBuilder_ == null) {
- lastmetadataupdate_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- lastmetadataupdateBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00800000);
- if (metadataversionnumberBuilder_ == null) {
- metadataversionnumber_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- metadataversionnumberBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x01000000);
- if (geolocationBuilder_ == null) {
- geolocation_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x02000000);
- } else {
- geolocationBuilder_.clear();
- }
- if (documentationUrlBuilder_ == null) {
- documentationUrl_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x04000000);
- } else {
- documentationUrlBuilder_.clear();
- }
- if (licenseBuilder_ == null) {
- license_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x08000000);
- } else {
- licenseBuilder_.clear();
- }
- if (codeRepositoryUrlBuilder_ == null) {
- codeRepositoryUrl_ = eu.dnetlib.data.proto.FieldTypeProtos.StringField.getDefaultInstance();
- } else {
- codeRepositoryUrlBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x10000000);
- if (programmingLanguageBuilder_ == null) {
- programmingLanguage_ = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.getDefaultInstance();
- } else {
- programmingLanguageBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x20000000);
- if (contactpersonBuilder_ == null) {
- contactperson_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x40000000);
- } else {
- contactpersonBuilder_.clear();
- }
- if (contactgroupBuilder_ == null) {
- contactgroup_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x80000000);
- } else {
- contactgroupBuilder_.clear();
- }
- if (toolBuilder_ == null) {
- tool_ = java.util.Collections.emptyList();
- bitField1_ = (bitField1_ & ~0x00000001);
- } else {
- toolBuilder_.clear();
- }
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return eu.dnetlib.data.proto.ResultProtos.Result.Metadata.getDescriptor();
- }
-
- public eu.dnetlib.data.proto.ResultProtos.Result.Metadata getDefaultInstanceForType() {
- return eu.dnetlib.data.proto.ResultProtos.Result.Metadata.getDefaultInstance();
- }
-
- public eu.dnetlib.data.proto.ResultProtos.Result.Metadata build() {
- eu.dnetlib.data.proto.ResultProtos.Result.Metadata result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- private eu.dnetlib.data.proto.ResultProtos.Result.Metadata buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- eu.dnetlib.data.proto.ResultProtos.Result.Metadata result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
- public eu.dnetlib.data.proto.ResultProtos.Result.Metadata buildPartial() {
- eu.dnetlib.data.proto.ResultProtos.Result.Metadata result = new eu.dnetlib.data.proto.ResultProtos.Result.Metadata(this);
- int from_bitField0_ = bitField0_;
- int from_bitField1_ = bitField1_;
- int to_bitField0_ = 0;
- if (authorBuilder_ == null) {
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- author_ = java.util.Collections.unmodifiableList(author_);
- bitField0_ = (bitField0_ & ~0x00000001);
- }
- result.author_ = author_;
- } else {
- result.author_ = authorBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000001;
- }
- if (resulttypeBuilder_ == null) {
- result.resulttype_ = resulttype_;
- } else {
- result.resulttype_ = resulttypeBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
- to_bitField0_ |= 0x00000002;
- }
- if (languageBuilder_ == null) {
- result.language_ = language_;
- } else {
- result.language_ = languageBuilder_.build();
- }
- if (countryBuilder_ == null) {
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- country_ = java.util.Collections.unmodifiableList(country_);
- bitField0_ = (bitField0_ & ~0x00000008);
- }
- result.country_ = country_;
- } else {
- result.country_ = countryBuilder_.build();
- }
- if (subjectBuilder_ == null) {
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- subject_ = java.util.Collections.unmodifiableList(subject_);
- bitField0_ = (bitField0_ & ~0x00000010);
- }
- result.subject_ = subject_;
- } else {
- result.subject_ = subjectBuilder_.build();
- }
- if (titleBuilder_ == null) {
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- title_ = java.util.Collections.unmodifiableList(title_);
- bitField0_ = (bitField0_ & ~0x00000020);
- }
- result.title_ = title_;
- } else {
- result.title_ = titleBuilder_.build();
- }
- if (relevantdateBuilder_ == null) {
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
- relevantdate_ = java.util.Collections.unmodifiableList(relevantdate_);
- bitField0_ = (bitField0_ & ~0x00000040);
- }
- result.relevantdate_ = relevantdate_;
- } else {
- result.relevantdate_ = relevantdateBuilder_.build();
- }
- if (descriptionBuilder_ == null) {
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
- description_ = java.util.Collections.unmodifiableList(description_);
- bitField0_ = (bitField0_ & ~0x00000080);
- }
- result.description_ = description_;
- } else {
- result.description_ = descriptionBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
- to_bitField0_ |= 0x00000004;
- }
- if (dateofacceptanceBuilder_ == null) {
- result.dateofacceptance_ = dateofacceptance_;
- } else {
- result.dateofacceptance_ = dateofacceptanceBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
- to_bitField0_ |= 0x00000008;
- }
- if (publisherBuilder_ == null) {
- result.publisher_ = publisher_;
- } else {
- result.publisher_ = publisherBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
- to_bitField0_ |= 0x00000010;
- }
- if (embargoenddateBuilder_ == null) {
- result.embargoenddate_ = embargoenddate_;
- } else {
- result.embargoenddate_ = embargoenddateBuilder_.build();
- }
- if (sourceBuilder_ == null) {
- if (((bitField0_ & 0x00000800) == 0x00000800)) {
- source_ = java.util.Collections.unmodifiableList(source_);
- bitField0_ = (bitField0_ & ~0x00000800);
- }
- result.source_ = source_;
- } else {
- result.source_ = sourceBuilder_.build();
- }
- if (fulltextBuilder_ == null) {
- if (((bitField0_ & 0x00001000) == 0x00001000)) {
- fulltext_ = java.util.Collections.unmodifiableList(fulltext_);
- bitField0_ = (bitField0_ & ~0x00001000);
- }
- result.fulltext_ = fulltext_;
- } else {
- result.fulltext_ = fulltextBuilder_.build();
- }
- if (formatBuilder_ == null) {
- if (((bitField0_ & 0x00002000) == 0x00002000)) {
- format_ = java.util.Collections.unmodifiableList(format_);
- bitField0_ = (bitField0_ & ~0x00002000);
- }
- result.format_ = format_;
- } else {
- result.format_ = formatBuilder_.build();
- }
- if (contributorBuilder_ == null) {
- if (((bitField0_ & 0x00004000) == 0x00004000)) {
- contributor_ = java.util.Collections.unmodifiableList(contributor_);
- bitField0_ = (bitField0_ & ~0x00004000);
- }
- result.contributor_ = contributor_;
- } else {
- result.contributor_ = contributorBuilder_.build();
- }
- if (((from_bitField0_ & 0x00008000) == 0x00008000)) {
- to_bitField0_ |= 0x00000020;
- }
- if (resourcetypeBuilder_ == null) {
- result.resourcetype_ = resourcetype_;
- } else {
- result.resourcetype_ = resourcetypeBuilder_.build();
- }
- if (coverageBuilder_ == null) {
- if (((bitField0_ & 0x00010000) == 0x00010000)) {
- coverage_ = java.util.Collections.unmodifiableList(coverage_);
- bitField0_ = (bitField0_ & ~0x00010000);
- }
- result.coverage_ = coverage_;
- } else {
- result.coverage_ = coverageBuilder_.build();
- }
- if (contextBuilder_ == null) {
- if (((bitField0_ & 0x00020000) == 0x00020000)) {
- context_ = java.util.Collections.unmodifiableList(context_);
- bitField0_ = (bitField0_ & ~0x00020000);
- }
- result.context_ = context_;
- } else {
- result.context_ = contextBuilder_.build();
- }
- if (((from_bitField0_ & 0x00040000) == 0x00040000)) {
- to_bitField0_ |= 0x00000040;
- }
- if (journalBuilder_ == null) {
- result.journal_ = journal_;
- } else {
- result.journal_ = journalBuilder_.build();
- }
- if (((from_bitField0_ & 0x00080000) == 0x00080000)) {
- to_bitField0_ |= 0x00000080;
- }
- if (storagedateBuilder_ == null) {
- result.storagedate_ = storagedate_;
- } else {
- result.storagedate_ = storagedateBuilder_.build();
- }
- if (((from_bitField0_ & 0x00100000) == 0x00100000)) {
- to_bitField0_ |= 0x00000100;
- }
- if (deviceBuilder_ == null) {
- result.device_ = device_;
- } else {
- result.device_ = deviceBuilder_.build();
- }
- if (((from_bitField0_ & 0x00200000) == 0x00200000)) {
- to_bitField0_ |= 0x00000200;
- }
- if (sizeBuilder_ == null) {
- result.size_ = size_;
- } else {
- result.size_ = sizeBuilder_.build();
- }
- if (((from_bitField0_ & 0x00400000) == 0x00400000)) {
- to_bitField0_ |= 0x00000400;
- }
- if (versionBuilder_ == null) {
- result.version_ = version_;
- } else {
- result.version_ = versionBuilder_.build();
- }
- if (((from_bitField0_ & 0x00800000) == 0x00800000)) {
- to_bitField0_ |= 0x00000800;
- }
- if (lastmetadataupdateBuilder_ == null) {
- result.lastmetadataupdate_ = lastmetadataupdate_;
- } else {
- result.lastmetadataupdate_ = lastmetadataupdateBuilder_.build();
- }
- if (((from_bitField0_ & 0x01000000) == 0x01000000)) {
- to_bitField0_ |= 0x00001000;
- }
- if (metadataversionnumberBuilder_ == null) {
- result.metadataversionnumber_ = metadataversionnumber_;
- } else {
- result.metadataversionnumber_ = metadataversionnumberBuilder_.build();
- }
- if (geolocationBuilder_ == null) {
- if (((bitField0_ & 0x02000000) == 0x02000000)) {
- geolocation_ = java.util.Collections.unmodifiableList(geolocation_);
- bitField0_ = (bitField0_ & ~0x02000000);
- }
- result.geolocation_ = geolocation_;
- } else {
- result.geolocation_ = geolocationBuilder_.build();
- }
- if (documentationUrlBuilder_ == null) {
- if (((bitField0_ & 0x04000000) == 0x04000000)) {
- documentationUrl_ = java.util.Collections.unmodifiableList(documentationUrl_);
- bitField0_ = (bitField0_ & ~0x04000000);
- }
- result.documentationUrl_ = documentationUrl_;
- } else {
- result.documentationUrl_ = documentationUrlBuilder_.build();
- }
- if (licenseBuilder_ == null) {
- if (((bitField0_ & 0x08000000) == 0x08000000)) {
- license_ = java.util.Collections.unmodifiableList(license_);
- bitField0_ = (bitField0_ & ~0x08000000);
- }
- result.license_ = license_;
- } else {
- result.license_ = licenseBuilder_.build();
- }
- if (((from_bitField0_ & 0x10000000) == 0x10000000)) {
- to_bitField0_ |= 0x00002000;
- }
- if (codeRepositoryUrlBuilder_ == null) {
- result.codeRepositoryUrl_ = codeRepositoryUrl_;
- } else {
- result.codeRepositoryUrl_ = codeRepositoryUrlBuilder_.build();
- }
- if (((from_bitField0_ & 0x20000000) == 0x20000000)) {
- to_bitField0_ |= 0x00004000;
- }
- if (programmingLanguageBuilder_ == null) {
- result.programmingLanguage_ = programmingLanguage_;
- } else {
- result.programmingLanguage_ = programmingLanguageBuilder_.build();
- }
- if (contactpersonBuilder_ == null) {
- if (((bitField0_ & 0x40000000) == 0x40000000)) {
- contactperson_ = java.util.Collections.unmodifiableList(contactperson_);
- bitField0_ = (bitField0_ & ~0x40000000);
- }
- result.contactperson_ = contactperson_;
- } else {
- result.contactperson_ = contactpersonBuilder_.build();
- }
- if (contactgroupBuilder_ == null) {
- if (((bitField0_ & 0x80000000) == 0x80000000)) {
- contactgroup_ = java.util.Collections.unmodifiableList(contactgroup_);
- bitField0_ = (bitField0_ & ~0x80000000);
- }
- result.contactgroup_ = contactgroup_;
- } else {
- result.contactgroup_ = contactgroupBuilder_.build();
- }
- if (toolBuilder_ == null) {
- if (((bitField1_ & 0x00000001) == 0x00000001)) {
- tool_ = java.util.Collections.unmodifiableList(tool_);
- bitField1_ = (bitField1_ & ~0x00000001);
- }
- result.tool_ = tool_;
- } else {
- result.tool_ = toolBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof eu.dnetlib.data.proto.ResultProtos.Result.Metadata) {
- return mergeFrom((eu.dnetlib.data.proto.ResultProtos.Result.Metadata)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(eu.dnetlib.data.proto.ResultProtos.Result.Metadata other) {
- if (other == eu.dnetlib.data.proto.ResultProtos.Result.Metadata.getDefaultInstance()) return this;
- if (authorBuilder_ == null) {
- if (!other.author_.isEmpty()) {
- if (author_.isEmpty()) {
- author_ = other.author_;
- bitField0_ = (bitField0_ & ~0x00000001);
- } else {
- ensureAuthorIsMutable();
- author_.addAll(other.author_);
- }
- onChanged();
- }
- } else {
- if (!other.author_.isEmpty()) {
- if (authorBuilder_.isEmpty()) {
- authorBuilder_.dispose();
- authorBuilder_ = null;
- author_ = other.author_;
- bitField0_ = (bitField0_ & ~0x00000001);
- authorBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getAuthorFieldBuilder() : null;
- } else {
- authorBuilder_.addAllMessages(other.author_);
- }
- }
- }
- if (other.hasResulttype()) {
- mergeResulttype(other.getResulttype());
- }
- if (other.hasLanguage()) {
- mergeLanguage(other.getLanguage());
- }
- if (countryBuilder_ == null) {
- if (!other.country_.isEmpty()) {
- if (country_.isEmpty()) {
- country_ = other.country_;
- bitField0_ = (bitField0_ & ~0x00000008);
- } else {
- ensureCountryIsMutable();
- country_.addAll(other.country_);
- }
- onChanged();
- }
- } else {
- if (!other.country_.isEmpty()) {
- if (countryBuilder_.isEmpty()) {
- countryBuilder_.dispose();
- countryBuilder_ = null;
- country_ = other.country_;
- bitField0_ = (bitField0_ & ~0x00000008);
- countryBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getCountryFieldBuilder() : null;
- } else {
- countryBuilder_.addAllMessages(other.country_);
- }
- }
- }
- if (subjectBuilder_ == null) {
- if (!other.subject_.isEmpty()) {
- if (subject_.isEmpty()) {
- subject_ = other.subject_;
- bitField0_ = (bitField0_ & ~0x00000010);
- } else {
- ensureSubjectIsMutable();
- subject_.addAll(other.subject_);
- }
- onChanged();
- }
- } else {
- if (!other.subject_.isEmpty()) {
- if (subjectBuilder_.isEmpty()) {
- subjectBuilder_.dispose();
- subjectBuilder_ = null;
- subject_ = other.subject_;
- bitField0_ = (bitField0_ & ~0x00000010);
- subjectBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getSubjectFieldBuilder() : null;
- } else {
- subjectBuilder_.addAllMessages(other.subject_);
- }
- }
- }
- if (titleBuilder_ == null) {
- if (!other.title_.isEmpty()) {
- if (title_.isEmpty()) {
- title_ = other.title_;
- bitField0_ = (bitField0_ & ~0x00000020);
- } else {
- ensureTitleIsMutable();
- title_.addAll(other.title_);
- }
- onChanged();
- }
- } else {
- if (!other.title_.isEmpty()) {
- if (titleBuilder_.isEmpty()) {
- titleBuilder_.dispose();
- titleBuilder_ = null;
- title_ = other.title_;
- bitField0_ = (bitField0_ & ~0x00000020);
- titleBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getTitleFieldBuilder() : null;
- } else {
- titleBuilder_.addAllMessages(other.title_);
- }
- }
- }
- if (relevantdateBuilder_ == null) {
- if (!other.relevantdate_.isEmpty()) {
- if (relevantdate_.isEmpty()) {
- relevantdate_ = other.relevantdate_;
- bitField0_ = (bitField0_ & ~0x00000040);
- } else {
- ensureRelevantdateIsMutable();
- relevantdate_.addAll(other.relevantdate_);
- }
- onChanged();
- }
- } else {
- if (!other.relevantdate_.isEmpty()) {
- if (relevantdateBuilder_.isEmpty()) {
- relevantdateBuilder_.dispose();
- relevantdateBuilder_ = null;
- relevantdate_ = other.relevantdate_;
- bitField0_ = (bitField0_ & ~0x00000040);
- relevantdateBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getRelevantdateFieldBuilder() : null;
- } else {
- relevantdateBuilder_.addAllMessages(other.relevantdate_);
- }
- }
- }
- if (descriptionBuilder_ == null) {
- if (!other.description_.isEmpty()) {
- if (description_.isEmpty()) {
- description_ = other.description_;
- bitField0_ = (bitField0_ & ~0x00000080);
- } else {
- ensureDescriptionIsMutable();
- description_.addAll(other.description_);
- }
- onChanged();
- }
- } else {
- if (!other.description_.isEmpty()) {
- if (descriptionBuilder_.isEmpty()) {
- descriptionBuilder_.dispose();
- descriptionBuilder_ = null;
- description_ = other.description_;
- bitField0_ = (bitField0_ & ~0x00000080);
- descriptionBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getDescriptionFieldBuilder() : null;
- } else {
- descriptionBuilder_.addAllMessages(other.description_);
- }
- }
- }
- if (other.hasDateofacceptance()) {
- mergeDateofacceptance(other.getDateofacceptance());
- }
- if (other.hasPublisher()) {
- mergePublisher(other.getPublisher());
- }
- if (other.hasEmbargoenddate()) {
- mergeEmbargoenddate(other.getEmbargoenddate());
- }
- if (sourceBuilder_ == null) {
- if (!other.source_.isEmpty()) {
- if (source_.isEmpty()) {
- source_ = other.source_;
- bitField0_ = (bitField0_ & ~0x00000800);
- } else {
- ensureSourceIsMutable();
- source_.addAll(other.source_);
- }
- onChanged();
- }
- } else {
- if (!other.source_.isEmpty()) {
- if (sourceBuilder_.isEmpty()) {
- sourceBuilder_.dispose();
- sourceBuilder_ = null;
- source_ = other.source_;
- bitField0_ = (bitField0_ & ~0x00000800);
- sourceBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getSourceFieldBuilder() : null;
- } else {
- sourceBuilder_.addAllMessages(other.source_);
- }
- }
- }
- if (fulltextBuilder_ == null) {
- if (!other.fulltext_.isEmpty()) {
- if (fulltext_.isEmpty()) {
- fulltext_ = other.fulltext_;
- bitField0_ = (bitField0_ & ~0x00001000);
- } else {
- ensureFulltextIsMutable();
- fulltext_.addAll(other.fulltext_);
- }
- onChanged();
- }
- } else {
- if (!other.fulltext_.isEmpty()) {
- if (fulltextBuilder_.isEmpty()) {
- fulltextBuilder_.dispose();
- fulltextBuilder_ = null;
- fulltext_ = other.fulltext_;
- bitField0_ = (bitField0_ & ~0x00001000);
- fulltextBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getFulltextFieldBuilder() : null;
- } else {
- fulltextBuilder_.addAllMessages(other.fulltext_);
- }
- }
- }
- if (formatBuilder_ == null) {
- if (!other.format_.isEmpty()) {
- if (format_.isEmpty()) {
- format_ = other.format_;
- bitField0_ = (bitField0_ & ~0x00002000);
- } else {
- ensureFormatIsMutable();
- format_.addAll(other.format_);
- }
- onChanged();
- }
- } else {
- if (!other.format_.isEmpty()) {
- if (formatBuilder_.isEmpty()) {
- formatBuilder_.dispose();
- formatBuilder_ = null;
- format_ = other.format_;
- bitField0_ = (bitField0_ & ~0x00002000);
- formatBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getFormatFieldBuilder() : null;
- } else {
- formatBuilder_.addAllMessages(other.format_);
- }
- }
- }
- if (contributorBuilder_ == null) {
- if (!other.contributor_.isEmpty()) {
- if (contributor_.isEmpty()) {
- contributor_ = other.contributor_;
- bitField0_ = (bitField0_ & ~0x00004000);
- } else {
- ensureContributorIsMutable();
- contributor_.addAll(other.contributor_);
- }
- onChanged();
- }
- } else {
- if (!other.contributor_.isEmpty()) {
- if (contributorBuilder_.isEmpty()) {
- contributorBuilder_.dispose();
- contributorBuilder_ = null;
- contributor_ = other.contributor_;
- bitField0_ = (bitField0_ & ~0x00004000);
- contributorBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getContributorFieldBuilder() : null;
- } else {
- contributorBuilder_.addAllMessages(other.contributor_);
- }
- }
- }
- if (other.hasResourcetype()) {
- mergeResourcetype(other.getResourcetype());
- }
- if (coverageBuilder_ == null) {
- if (!other.coverage_.isEmpty()) {
- if (coverage_.isEmpty()) {
- coverage_ = other.coverage_;
- bitField0_ = (bitField0_ & ~0x00010000);
- } else {
- ensureCoverageIsMutable();
- coverage_.addAll(other.coverage_);
- }
- onChanged();
- }
- } else {
- if (!other.coverage_.isEmpty()) {
- if (coverageBuilder_.isEmpty()) {
- coverageBuilder_.dispose();
- coverageBuilder_ = null;
- coverage_ = other.coverage_;
- bitField0_ = (bitField0_ & ~0x00010000);
- coverageBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getCoverageFieldBuilder() : null;
- } else {
- coverageBuilder_.addAllMessages(other.coverage_);
- }
- }
- }
- if (contextBuilder_ == null) {
- if (!other.context_.isEmpty()) {
- if (context_.isEmpty()) {
- context_ = other.context_;
- bitField0_ = (bitField0_ & ~0x00020000);
- } else {
- ensureContextIsMutable();
- context_.addAll(other.context_);
- }
- onChanged();
- }
- } else {
- if (!other.context_.isEmpty()) {
- if (contextBuilder_.isEmpty()) {
- contextBuilder_.dispose();
- contextBuilder_ = null;
- context_ = other.context_;
- bitField0_ = (bitField0_ & ~0x00020000);
- contextBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getContextFieldBuilder() : null;
- } else {
- contextBuilder_.addAllMessages(other.context_);
- }
- }
- }
- if (other.hasJournal()) {
- mergeJournal(other.getJournal());
- }
- if (other.hasStoragedate()) {
- mergeStoragedate(other.getStoragedate());
- }
- if (other.hasDevice()) {
- mergeDevice(other.getDevice());
- }
- if (other.hasSize()) {
- mergeSize(other.getSize());
- }
- if (other.hasVersion()) {
- mergeVersion(other.getVersion());
- }
- if (other.hasLastmetadataupdate()) {
- mergeLastmetadataupdate(other.getLastmetadataupdate());
- }
- if (other.hasMetadataversionnumber()) {
- mergeMetadataversionnumber(other.getMetadataversionnumber());
- }
- if (geolocationBuilder_ == null) {
- if (!other.geolocation_.isEmpty()) {
- if (geolocation_.isEmpty()) {
- geolocation_ = other.geolocation_;
- bitField0_ = (bitField0_ & ~0x02000000);
- } else {
- ensureGeolocationIsMutable();
- geolocation_.addAll(other.geolocation_);
- }
- onChanged();
- }
- } else {
- if (!other.geolocation_.isEmpty()) {
- if (geolocationBuilder_.isEmpty()) {
- geolocationBuilder_.dispose();
- geolocationBuilder_ = null;
- geolocation_ = other.geolocation_;
- bitField0_ = (bitField0_ & ~0x02000000);
- geolocationBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getGeolocationFieldBuilder() : null;
- } else {
- geolocationBuilder_.addAllMessages(other.geolocation_);
- }
- }
- }
- if (documentationUrlBuilder_ == null) {
- if (!other.documentationUrl_.isEmpty()) {
- if (documentationUrl_.isEmpty()) {
- documentationUrl_ = other.documentationUrl_;
- bitField0_ = (bitField0_ & ~0x04000000);
- } else {
- ensureDocumentationUrlIsMutable();
- documentationUrl_.addAll(other.documentationUrl_);
- }
- onChanged();
- }
- } else {
- if (!other.documentationUrl_.isEmpty()) {
- if (documentationUrlBuilder_.isEmpty()) {
- documentationUrlBuilder_.dispose();
- documentationUrlBuilder_ = null;
- documentationUrl_ = other.documentationUrl_;
- bitField0_ = (bitField0_ & ~0x04000000);
- documentationUrlBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getDocumentationUrlFieldBuilder() : null;
- } else {
- documentationUrlBuilder_.addAllMessages(other.documentationUrl_);
- }
- }
- }
- if (licenseBuilder_ == null) {
- if (!other.license_.isEmpty()) {
- if (license_.isEmpty()) {
- license_ = other.license_;
- bitField0_ = (bitField0_ & ~0x08000000);
- } else {
- ensureLicenseIsMutable();
- license_.addAll(other.license_);
- }
- onChanged();
- }
- } else {
- if (!other.license_.isEmpty()) {
- if (licenseBuilder_.isEmpty()) {
- licenseBuilder_.dispose();
- licenseBuilder_ = null;
- license_ = other.license_;
- bitField0_ = (bitField0_ & ~0x08000000);
- licenseBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getLicenseFieldBuilder() : null;
- } else {
- licenseBuilder_.addAllMessages(other.license_);
- }
- }
- }
- if (other.hasCodeRepositoryUrl()) {
- mergeCodeRepositoryUrl(other.getCodeRepositoryUrl());
- }
- if (other.hasProgrammingLanguage()) {
- mergeProgrammingLanguage(other.getProgrammingLanguage());
- }
- if (contactpersonBuilder_ == null) {
- if (!other.contactperson_.isEmpty()) {
- if (contactperson_.isEmpty()) {
- contactperson_ = other.contactperson_;
- bitField0_ = (bitField0_ & ~0x40000000);
- } else {
- ensureContactpersonIsMutable();
- contactperson_.addAll(other.contactperson_);
- }
- onChanged();
- }
- } else {
- if (!other.contactperson_.isEmpty()) {
- if (contactpersonBuilder_.isEmpty()) {
- contactpersonBuilder_.dispose();
- contactpersonBuilder_ = null;
- contactperson_ = other.contactperson_;
- bitField0_ = (bitField0_ & ~0x40000000);
- contactpersonBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getContactpersonFieldBuilder() : null;
- } else {
- contactpersonBuilder_.addAllMessages(other.contactperson_);
- }
- }
- }
- if (contactgroupBuilder_ == null) {
- if (!other.contactgroup_.isEmpty()) {
- if (contactgroup_.isEmpty()) {
- contactgroup_ = other.contactgroup_;
- bitField0_ = (bitField0_ & ~0x80000000);
- } else {
- ensureContactgroupIsMutable();
- contactgroup_.addAll(other.contactgroup_);
- }
- onChanged();
- }
- } else {
- if (!other.contactgroup_.isEmpty()) {
- if (contactgroupBuilder_.isEmpty()) {
- contactgroupBuilder_.dispose();
- contactgroupBuilder_ = null;
- contactgroup_ = other.contactgroup_;
- bitField0_ = (bitField0_ & ~0x80000000);
- contactgroupBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getContactgroupFieldBuilder() : null;
- } else {
- contactgroupBuilder_.addAllMessages(other.contactgroup_);
- }
- }
- }
- if (toolBuilder_ == null) {
- if (!other.tool_.isEmpty()) {
- if (tool_.isEmpty()) {
- tool_ = other.tool_;
- bitField1_ = (bitField1_ & ~0x00000001);
- } else {
- ensureToolIsMutable();
- tool_.addAll(other.tool_);
- }
- onChanged();
- }
- } else {
- if (!other.tool_.isEmpty()) {
- if (toolBuilder_.isEmpty()) {
- toolBuilder_.dispose();
- toolBuilder_ = null;
- tool_ = other.tool_;
- bitField1_ = (bitField1_ & ~0x00000001);
- toolBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
- getToolFieldBuilder() : null;
- } else {
- toolBuilder_.addAllMessages(other.tool_);
- }
- }
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public final boolean isInitialized() {
- for (int i = 0; i < getAuthorCount(); i++) {
- if (!getAuthor(i).isInitialized()) {
-
- return false;
- }
- }
- if (hasResulttype()) {
- if (!getResulttype().isInitialized()) {
-
- return false;
- }
- }
- if (hasLanguage()) {
- if (!getLanguage().isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getCountryCount(); i++) {
- if (!getCountry(i).isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getSubjectCount(); i++) {
- if (!getSubject(i).isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getTitleCount(); i++) {
- if (!getTitle(i).isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getRelevantdateCount(); i++) {
- if (!getRelevantdate(i).isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getDescriptionCount(); i++) {
- if (!getDescription(i).isInitialized()) {
-
- return false;
- }
- }
- if (hasDateofacceptance()) {
- if (!getDateofacceptance().isInitialized()) {
-
- return false;
- }
- }
- if (hasPublisher()) {
- if (!getPublisher().isInitialized()) {
-
- return false;
- }
- }
- if (hasEmbargoenddate()) {
- if (!getEmbargoenddate().isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getSourceCount(); i++) {
- if (!getSource(i).isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getFulltextCount(); i++) {
- if (!getFulltext(i).isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getFormatCount(); i++) {
- if (!getFormat(i).isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getContributorCount(); i++) {
- if (!getContributor(i).isInitialized()) {
-
- return false;
- }
- }
- if (hasResourcetype()) {
- if (!getResourcetype().isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getCoverageCount(); i++) {
- if (!getCoverage(i).isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getContextCount(); i++) {
- if (!getContext(i).isInitialized()) {
-
- return false;
- }
- }
- if (hasJournal()) {
- if (!getJournal().isInitialized()) {
-
- return false;
- }
- }
- if (hasStoragedate()) {
- if (!getStoragedate().isInitialized()) {
-
- return false;
- }
- }
- if (hasDevice()) {
- if (!getDevice().isInitialized()) {
-
- return false;
- }
- }
- if (hasSize()) {
- if (!getSize().isInitialized()) {
-
- return false;
- }
- }
- if (hasVersion()) {
- if (!getVersion().isInitialized()) {
-
- return false;
- }
- }
- if (hasLastmetadataupdate()) {
- if (!getLastmetadataupdate().isInitialized()) {
-
- return false;
- }
- }
- if (hasMetadataversionnumber()) {
- if (!getMetadataversionnumber().isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getDocumentationUrlCount(); i++) {
- if (!getDocumentationUrl(i).isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getLicenseCount(); i++) {
- if (!getLicense(i).isInitialized()) {
-
- return false;
- }
- }
- if (hasCodeRepositoryUrl()) {
- if (!getCodeRepositoryUrl().isInitialized()) {
-
- return false;
- }
- }
- if (hasProgrammingLanguage()) {
- if (!getProgrammingLanguage().isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getContactpersonCount(); i++) {
- if (!getContactperson(i).isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getContactgroupCount(); i++) {
- if (!getContactgroup(i).isInitialized()) {
-
- return false;
- }
- }
- for (int i = 0; i < getToolCount(); i++) {
- if (!getTool(i).isInitialized()) {
-
- return false;
- }
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 10: {
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addSubject(subBuilder.buildPartial());
- break;
- }
- case 18: {
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addTitle(subBuilder.buildPartial());
- break;
- }
- case 26: {
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addRelevantdate(subBuilder.buildPartial());
- break;
- }
- case 34: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasDateofacceptance()) {
- subBuilder.mergeFrom(getDateofacceptance());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setDateofacceptance(subBuilder.buildPartial());
- break;
- }
- case 42: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasPublisher()) {
- subBuilder.mergeFrom(getPublisher());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setPublisher(subBuilder.buildPartial());
- break;
- }
- case 50: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasEmbargoenddate()) {
- subBuilder.mergeFrom(getEmbargoenddate());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setEmbargoenddate(subBuilder.buildPartial());
- break;
- }
- case 66: {
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.newBuilder();
- if (hasResulttype()) {
- subBuilder.mergeFrom(getResulttype());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setResulttype(subBuilder.buildPartial());
- break;
- }
- case 74: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasStoragedate()) {
- subBuilder.mergeFrom(getStoragedate());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setStoragedate(subBuilder.buildPartial());
- break;
- }
- case 98: {
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.newBuilder();
- if (hasLanguage()) {
- subBuilder.mergeFrom(getLanguage());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setLanguage(subBuilder.buildPartial());
- break;
- }
- case 146: {
- eu.dnetlib.data.proto.ResultProtos.Result.Journal.Builder subBuilder = eu.dnetlib.data.proto.ResultProtos.Result.Journal.newBuilder();
- if (hasJournal()) {
- subBuilder.mergeFrom(getJournal());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setJournal(subBuilder.buildPartial());
- break;
- }
- case 154: {
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.newBuilder();
- if (hasResourcetype()) {
- subBuilder.mergeFrom(getResourcetype());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setResourcetype(subBuilder.buildPartial());
- break;
- }
- case 162: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasSize()) {
- subBuilder.mergeFrom(getSize());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setSize(subBuilder.buildPartial());
- break;
- }
- case 170: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addFormat(subBuilder.buildPartial());
- break;
- }
- case 178: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasVersion()) {
- subBuilder.mergeFrom(getVersion());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setVersion(subBuilder.buildPartial());
- break;
- }
- case 186: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasLastmetadataupdate()) {
- subBuilder.mergeFrom(getLastmetadataupdate());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setLastmetadataupdate(subBuilder.buildPartial());
- break;
- }
- case 194: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasMetadataversionnumber()) {
- subBuilder.mergeFrom(getMetadataversionnumber());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setMetadataversionnumber(subBuilder.buildPartial());
- break;
- }
- case 202: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addDescription(subBuilder.buildPartial());
- break;
- }
- case 210: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasDevice()) {
- subBuilder.mergeFrom(getDevice());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setDevice(subBuilder.buildPartial());
- break;
- }
- case 218: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addSource(subBuilder.buildPartial());
- break;
- }
- case 226: {
- eu.dnetlib.data.proto.ResultProtos.Result.Context.Builder subBuilder = eu.dnetlib.data.proto.ResultProtos.Result.Context.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addContext(subBuilder.buildPartial());
- break;
- }
- case 234: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addFulltext(subBuilder.buildPartial());
- break;
- }
- case 242: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addContributor(subBuilder.buildPartial());
- break;
- }
- case 266: {
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addCountry(subBuilder.buildPartial());
- break;
- }
- case 282: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addDocumentationUrl(subBuilder.buildPartial());
- break;
- }
- case 290: {
- eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StructuredProperty.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addLicense(subBuilder.buildPartial());
- break;
- }
- case 306: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- if (hasCodeRepositoryUrl()) {
- subBuilder.mergeFrom(getCodeRepositoryUrl());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setCodeRepositoryUrl(subBuilder.buildPartial());
- break;
- }
- case 314: {
- eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.Qualifier.newBuilder();
- if (hasProgrammingLanguage()) {
- subBuilder.mergeFrom(getProgrammingLanguage());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setProgrammingLanguage(subBuilder.buildPartial());
- break;
- }
- case 322: {
- eu.dnetlib.data.proto.FieldTypeProtos.Author.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.Author.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addAuthor(subBuilder.buildPartial());
- break;
- }
- case 330: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addContactgroup(subBuilder.buildPartial());
- break;
- }
- case 338: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addTool(subBuilder.buildPartial());
- break;
- }
- case 346: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addCoverage(subBuilder.buildPartial());
- break;
- }
- case 354: {
- eu.dnetlib.data.proto.ResultProtos.Result.GeoLocation.Builder subBuilder = eu.dnetlib.data.proto.ResultProtos.Result.GeoLocation.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addGeolocation(subBuilder.buildPartial());
- break;
- }
- case 362: {
- eu.dnetlib.data.proto.FieldTypeProtos.StringField.Builder subBuilder = eu.dnetlib.data.proto.FieldTypeProtos.StringField.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addContactperson(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- private int bitField0_;
- private int bitField1_;
-
- // repeated .eu.dnetlib.data.proto.Author author = 40;
- private java.util.List author_ =
- java.util.Collections.emptyList();
- private void ensureAuthorIsMutable() {
- if (!((bitField0_ & 0x00000001) == 0x00000001)) {
- author_ = new java.util.ArrayList(author_);
- bitField0_ |= 0x00000001;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilder<
- eu.dnetlib.data.proto.FieldTypeProtos.Author, eu.dnetlib.data.proto.FieldTypeProtos.Author.Builder, eu.dnetlib.data.proto.FieldTypeProtos.AuthorOrBuilder> authorBuilder_;
-
- public java.util.List getAuthorList() {
- if (authorBuilder_ == null) {
- return java.util.Collections.unmodifiableList(author_);
- } else {
- return authorBuilder_.getMessageList();
- }
- }
- public int getAuthorCount() {
- if (authorBuilder_ == null) {
- return author_.size();
- } else {
- return authorBuilder_.getCount();
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Author getAuthor(int index) {
- if (authorBuilder_ == null) {
- return author_.get(index);
- } else {
- return authorBuilder_.getMessage(index);
- }
- }
- public Builder setAuthor(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.Author value) {
- if (authorBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureAuthorIsMutable();
- author_.set(index, value);
- onChanged();
- } else {
- authorBuilder_.setMessage(index, value);
- }
- return this;
- }
- public Builder setAuthor(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.Author.Builder builderForValue) {
- if (authorBuilder_ == null) {
- ensureAuthorIsMutable();
- author_.set(index, builderForValue.build());
- onChanged();
- } else {
- authorBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addAuthor(eu.dnetlib.data.proto.FieldTypeProtos.Author value) {
- if (authorBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureAuthorIsMutable();
- author_.add(value);
- onChanged();
- } else {
- authorBuilder_.addMessage(value);
- }
- return this;
- }
- public Builder addAuthor(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.Author value) {
- if (authorBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureAuthorIsMutable();
- author_.add(index, value);
- onChanged();
- } else {
- authorBuilder_.addMessage(index, value);
- }
- return this;
- }
- public Builder addAuthor(
- eu.dnetlib.data.proto.FieldTypeProtos.Author.Builder builderForValue) {
- if (authorBuilder_ == null) {
- ensureAuthorIsMutable();
- author_.add(builderForValue.build());
- onChanged();
- } else {
- authorBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- public Builder addAuthor(
- int index, eu.dnetlib.data.proto.FieldTypeProtos.Author.Builder builderForValue) {
- if (authorBuilder_ == null) {
- ensureAuthorIsMutable();
- author_.add(index, builderForValue.build());
- onChanged();
- } else {
- authorBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- public Builder addAllAuthor(
- java.lang.Iterable extends eu.dnetlib.data.proto.FieldTypeProtos.Author> values) {
- if (authorBuilder_ == null) {
- ensureAuthorIsMutable();
- super.addAll(values, author_);
- onChanged();
- } else {
- authorBuilder_.addAllMessages(values);
- }
- return this;
- }
- public Builder clearAuthor() {
- if (authorBuilder_ == null) {
- author_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- } else {
- authorBuilder_.clear();
- }
- return this;
- }
- public Builder removeAuthor(int index) {
- if (authorBuilder_ == null) {
- ensureAuthorIsMutable();
- author_.remove(index);
- onChanged();
- } else {
- authorBuilder_.remove(index);
- }
- return this;
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Author.Builder getAuthorBuilder(
- int index) {
- return getAuthorFieldBuilder().getBuilder(index);
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.AuthorOrBuilder getAuthorOrBuilder(
- int index) {
- if (authorBuilder_ == null) {
- return author_.get(index); } else {
- return authorBuilder_.getMessageOrBuilder(index);
- }
- }
- public java.util.List extends eu.dnetlib.data.proto.FieldTypeProtos.AuthorOrBuilder>
- getAuthorOrBuilderList() {
- if (authorBuilder_ != null) {
- return authorBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(author_);
- }
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Author.Builder addAuthorBuilder() {
- return getAuthorFieldBuilder().addBuilder(
- eu.dnetlib.data.proto.FieldTypeProtos.Author.getDefaultInstance());
- }
- public eu.dnetlib.data.proto.FieldTypeProtos.Author.Builder addAuthorBuilder(
- int index) {
- return getAuthorFieldBuilder().addBuilder(
- index, eu.dnetlib.data.proto.FieldTypeProtos.Author.getDefaultInstance());
- }
- public java.util.List