org.openlca.proto.ProtoProcessDocumentation Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: olca.proto
package org.openlca.proto;
/**
* Protobuf type {@code protolca.ProtoProcessDocumentation}
*/
public final class ProtoProcessDocumentation extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:protolca.ProtoProcessDocumentation)
ProtoProcessDocumentationOrBuilder {
private static final long serialVersionUID = 0L;
// Use ProtoProcessDocumentation.newBuilder() to construct.
private ProtoProcessDocumentation(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ProtoProcessDocumentation() {
timeDescription_ = "";
validUntil_ = "";
validFrom_ = "";
technologyDescription_ = "";
dataCollectionDescription_ = "";
completenessDescription_ = "";
dataSelectionDescription_ = "";
reviewDetails_ = "";
dataTreatmentDescription_ = "";
inventoryMethodDescription_ = "";
modelingConstantsDescription_ = "";
samplingDescription_ = "";
sources_ = java.util.Collections.emptyList();
restrictionsDescription_ = "";
creationDate_ = "";
intendedApplication_ = "";
projectDescription_ = "";
geographyDescription_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ProtoProcessDocumentation();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ProtoProcessDocumentation(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
timeDescription_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
validUntil_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
validFrom_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
technologyDescription_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
dataCollectionDescription_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
completenessDescription_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
dataSelectionDescription_ = s;
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
reviewDetails_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
dataTreatmentDescription_ = s;
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
inventoryMethodDescription_ = s;
break;
}
case 90: {
java.lang.String s = input.readStringRequireUtf8();
modelingConstantsDescription_ = s;
break;
}
case 98: {
org.openlca.proto.ProtoRef.Builder subBuilder = null;
if (reviewer_ != null) {
subBuilder = reviewer_.toBuilder();
}
reviewer_ = input.readMessage(org.openlca.proto.ProtoRef.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(reviewer_);
reviewer_ = subBuilder.buildPartial();
}
break;
}
case 106: {
java.lang.String s = input.readStringRequireUtf8();
samplingDescription_ = s;
break;
}
case 114: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
sources_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
sources_.add(
input.readMessage(org.openlca.proto.ProtoRef.parser(), extensionRegistry));
break;
}
case 122: {
java.lang.String s = input.readStringRequireUtf8();
restrictionsDescription_ = s;
break;
}
case 128: {
copyright_ = input.readBool();
break;
}
case 138: {
java.lang.String s = input.readStringRequireUtf8();
creationDate_ = s;
break;
}
case 146: {
org.openlca.proto.ProtoRef.Builder subBuilder = null;
if (dataDocumentor_ != null) {
subBuilder = dataDocumentor_.toBuilder();
}
dataDocumentor_ = input.readMessage(org.openlca.proto.ProtoRef.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(dataDocumentor_);
dataDocumentor_ = subBuilder.buildPartial();
}
break;
}
case 154: {
org.openlca.proto.ProtoRef.Builder subBuilder = null;
if (dataGenerator_ != null) {
subBuilder = dataGenerator_.toBuilder();
}
dataGenerator_ = input.readMessage(org.openlca.proto.ProtoRef.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(dataGenerator_);
dataGenerator_ = subBuilder.buildPartial();
}
break;
}
case 162: {
org.openlca.proto.ProtoRef.Builder subBuilder = null;
if (dataSetOwner_ != null) {
subBuilder = dataSetOwner_.toBuilder();
}
dataSetOwner_ = input.readMessage(org.openlca.proto.ProtoRef.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(dataSetOwner_);
dataSetOwner_ = subBuilder.buildPartial();
}
break;
}
case 170: {
java.lang.String s = input.readStringRequireUtf8();
intendedApplication_ = s;
break;
}
case 178: {
java.lang.String s = input.readStringRequireUtf8();
projectDescription_ = s;
break;
}
case 186: {
org.openlca.proto.ProtoRef.Builder subBuilder = null;
if (publication_ != null) {
subBuilder = publication_.toBuilder();
}
publication_ = input.readMessage(org.openlca.proto.ProtoRef.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(publication_);
publication_ = subBuilder.buildPartial();
}
break;
}
case 194: {
java.lang.String s = input.readStringRequireUtf8();
geographyDescription_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
sources_ = java.util.Collections.unmodifiableList(sources_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.openlca.proto.Proto.internal_static_protolca_ProtoProcessDocumentation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.openlca.proto.Proto.internal_static_protolca_ProtoProcessDocumentation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.openlca.proto.ProtoProcessDocumentation.class, org.openlca.proto.ProtoProcessDocumentation.Builder.class);
}
public static final int TIME_DESCRIPTION_FIELD_NUMBER = 1;
private volatile java.lang.Object timeDescription_;
/**
* string time_description = 1;
* @return The timeDescription.
*/
@java.lang.Override
public java.lang.String getTimeDescription() {
java.lang.Object ref = timeDescription_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
timeDescription_ = s;
return s;
}
}
/**
* string time_description = 1;
* @return The bytes for timeDescription.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTimeDescriptionBytes() {
java.lang.Object ref = timeDescription_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
timeDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VALID_UNTIL_FIELD_NUMBER = 2;
private volatile java.lang.Object validUntil_;
/**
* string valid_until = 2;
* @return The validUntil.
*/
@java.lang.Override
public java.lang.String getValidUntil() {
java.lang.Object ref = validUntil_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
validUntil_ = s;
return s;
}
}
/**
* string valid_until = 2;
* @return The bytes for validUntil.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getValidUntilBytes() {
java.lang.Object ref = validUntil_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
validUntil_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VALID_FROM_FIELD_NUMBER = 3;
private volatile java.lang.Object validFrom_;
/**
* string valid_from = 3;
* @return The validFrom.
*/
@java.lang.Override
public java.lang.String getValidFrom() {
java.lang.Object ref = validFrom_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
validFrom_ = s;
return s;
}
}
/**
* string valid_from = 3;
* @return The bytes for validFrom.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getValidFromBytes() {
java.lang.Object ref = validFrom_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
validFrom_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TECHNOLOGY_DESCRIPTION_FIELD_NUMBER = 4;
private volatile java.lang.Object technologyDescription_;
/**
* string technology_description = 4;
* @return The technologyDescription.
*/
@java.lang.Override
public java.lang.String getTechnologyDescription() {
java.lang.Object ref = technologyDescription_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
technologyDescription_ = s;
return s;
}
}
/**
* string technology_description = 4;
* @return The bytes for technologyDescription.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTechnologyDescriptionBytes() {
java.lang.Object ref = technologyDescription_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
technologyDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DATA_COLLECTION_DESCRIPTION_FIELD_NUMBER = 5;
private volatile java.lang.Object dataCollectionDescription_;
/**
* string data_collection_description = 5;
* @return The dataCollectionDescription.
*/
@java.lang.Override
public java.lang.String getDataCollectionDescription() {
java.lang.Object ref = dataCollectionDescription_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
dataCollectionDescription_ = s;
return s;
}
}
/**
* string data_collection_description = 5;
* @return The bytes for dataCollectionDescription.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDataCollectionDescriptionBytes() {
java.lang.Object ref = dataCollectionDescription_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dataCollectionDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int COMPLETENESS_DESCRIPTION_FIELD_NUMBER = 6;
private volatile java.lang.Object completenessDescription_;
/**
* string completeness_description = 6;
* @return The completenessDescription.
*/
@java.lang.Override
public java.lang.String getCompletenessDescription() {
java.lang.Object ref = completenessDescription_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
completenessDescription_ = s;
return s;
}
}
/**
* string completeness_description = 6;
* @return The bytes for completenessDescription.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCompletenessDescriptionBytes() {
java.lang.Object ref = completenessDescription_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
completenessDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DATA_SELECTION_DESCRIPTION_FIELD_NUMBER = 7;
private volatile java.lang.Object dataSelectionDescription_;
/**
* string data_selection_description = 7;
* @return The dataSelectionDescription.
*/
@java.lang.Override
public java.lang.String getDataSelectionDescription() {
java.lang.Object ref = dataSelectionDescription_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
dataSelectionDescription_ = s;
return s;
}
}
/**
* string data_selection_description = 7;
* @return The bytes for dataSelectionDescription.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDataSelectionDescriptionBytes() {
java.lang.Object ref = dataSelectionDescription_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dataSelectionDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REVIEW_DETAILS_FIELD_NUMBER = 8;
private volatile java.lang.Object reviewDetails_;
/**
* string review_details = 8;
* @return The reviewDetails.
*/
@java.lang.Override
public java.lang.String getReviewDetails() {
java.lang.Object ref = reviewDetails_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
reviewDetails_ = s;
return s;
}
}
/**
* string review_details = 8;
* @return The bytes for reviewDetails.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getReviewDetailsBytes() {
java.lang.Object ref = reviewDetails_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
reviewDetails_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DATA_TREATMENT_DESCRIPTION_FIELD_NUMBER = 9;
private volatile java.lang.Object dataTreatmentDescription_;
/**
* string data_treatment_description = 9;
* @return The dataTreatmentDescription.
*/
@java.lang.Override
public java.lang.String getDataTreatmentDescription() {
java.lang.Object ref = dataTreatmentDescription_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
dataTreatmentDescription_ = s;
return s;
}
}
/**
* string data_treatment_description = 9;
* @return The bytes for dataTreatmentDescription.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDataTreatmentDescriptionBytes() {
java.lang.Object ref = dataTreatmentDescription_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dataTreatmentDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INVENTORY_METHOD_DESCRIPTION_FIELD_NUMBER = 10;
private volatile java.lang.Object inventoryMethodDescription_;
/**
* string inventory_method_description = 10;
* @return The inventoryMethodDescription.
*/
@java.lang.Override
public java.lang.String getInventoryMethodDescription() {
java.lang.Object ref = inventoryMethodDescription_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
inventoryMethodDescription_ = s;
return s;
}
}
/**
* string inventory_method_description = 10;
* @return The bytes for inventoryMethodDescription.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInventoryMethodDescriptionBytes() {
java.lang.Object ref = inventoryMethodDescription_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
inventoryMethodDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MODELING_CONSTANTS_DESCRIPTION_FIELD_NUMBER = 11;
private volatile java.lang.Object modelingConstantsDescription_;
/**
* string modeling_constants_description = 11;
* @return The modelingConstantsDescription.
*/
@java.lang.Override
public java.lang.String getModelingConstantsDescription() {
java.lang.Object ref = modelingConstantsDescription_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
modelingConstantsDescription_ = s;
return s;
}
}
/**
* string modeling_constants_description = 11;
* @return The bytes for modelingConstantsDescription.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getModelingConstantsDescriptionBytes() {
java.lang.Object ref = modelingConstantsDescription_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
modelingConstantsDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REVIEWER_FIELD_NUMBER = 12;
private org.openlca.proto.ProtoRef reviewer_;
/**
* .protolca.ProtoRef reviewer = 12;
* @return Whether the reviewer field is set.
*/
@java.lang.Override
public boolean hasReviewer() {
return reviewer_ != null;
}
/**
* .protolca.ProtoRef reviewer = 12;
* @return The reviewer.
*/
@java.lang.Override
public org.openlca.proto.ProtoRef getReviewer() {
return reviewer_ == null ? org.openlca.proto.ProtoRef.getDefaultInstance() : reviewer_;
}
/**
* .protolca.ProtoRef reviewer = 12;
*/
@java.lang.Override
public org.openlca.proto.ProtoRefOrBuilder getReviewerOrBuilder() {
return getReviewer();
}
public static final int SAMPLING_DESCRIPTION_FIELD_NUMBER = 13;
private volatile java.lang.Object samplingDescription_;
/**
* string sampling_description = 13;
* @return The samplingDescription.
*/
@java.lang.Override
public java.lang.String getSamplingDescription() {
java.lang.Object ref = samplingDescription_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
samplingDescription_ = s;
return s;
}
}
/**
* string sampling_description = 13;
* @return The bytes for samplingDescription.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSamplingDescriptionBytes() {
java.lang.Object ref = samplingDescription_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
samplingDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SOURCES_FIELD_NUMBER = 14;
private java.util.List sources_;
/**
* repeated .protolca.ProtoRef sources = 14;
*/
@java.lang.Override
public java.util.List getSourcesList() {
return sources_;
}
/**
* repeated .protolca.ProtoRef sources = 14;
*/
@java.lang.Override
public java.util.List extends org.openlca.proto.ProtoRefOrBuilder>
getSourcesOrBuilderList() {
return sources_;
}
/**
* repeated .protolca.ProtoRef sources = 14;
*/
@java.lang.Override
public int getSourcesCount() {
return sources_.size();
}
/**
* repeated .protolca.ProtoRef sources = 14;
*/
@java.lang.Override
public org.openlca.proto.ProtoRef getSources(int index) {
return sources_.get(index);
}
/**
* repeated .protolca.ProtoRef sources = 14;
*/
@java.lang.Override
public org.openlca.proto.ProtoRefOrBuilder getSourcesOrBuilder(
int index) {
return sources_.get(index);
}
public static final int RESTRICTIONS_DESCRIPTION_FIELD_NUMBER = 15;
private volatile java.lang.Object restrictionsDescription_;
/**
* string restrictions_description = 15;
* @return The restrictionsDescription.
*/
@java.lang.Override
public java.lang.String getRestrictionsDescription() {
java.lang.Object ref = restrictionsDescription_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
restrictionsDescription_ = s;
return s;
}
}
/**
* string restrictions_description = 15;
* @return The bytes for restrictionsDescription.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRestrictionsDescriptionBytes() {
java.lang.Object ref = restrictionsDescription_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
restrictionsDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int COPYRIGHT_FIELD_NUMBER = 16;
private boolean copyright_;
/**
* bool copyright = 16;
* @return The copyright.
*/
@java.lang.Override
public boolean getCopyright() {
return copyright_;
}
public static final int CREATION_DATE_FIELD_NUMBER = 17;
private volatile java.lang.Object creationDate_;
/**
* string creation_date = 17;
* @return The creationDate.
*/
@java.lang.Override
public java.lang.String getCreationDate() {
java.lang.Object ref = creationDate_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
creationDate_ = s;
return s;
}
}
/**
* string creation_date = 17;
* @return The bytes for creationDate.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCreationDateBytes() {
java.lang.Object ref = creationDate_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
creationDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DATA_DOCUMENTOR_FIELD_NUMBER = 18;
private org.openlca.proto.ProtoRef dataDocumentor_;
/**
* .protolca.ProtoRef data_documentor = 18;
* @return Whether the dataDocumentor field is set.
*/
@java.lang.Override
public boolean hasDataDocumentor() {
return dataDocumentor_ != null;
}
/**
* .protolca.ProtoRef data_documentor = 18;
* @return The dataDocumentor.
*/
@java.lang.Override
public org.openlca.proto.ProtoRef getDataDocumentor() {
return dataDocumentor_ == null ? org.openlca.proto.ProtoRef.getDefaultInstance() : dataDocumentor_;
}
/**
* .protolca.ProtoRef data_documentor = 18;
*/
@java.lang.Override
public org.openlca.proto.ProtoRefOrBuilder getDataDocumentorOrBuilder() {
return getDataDocumentor();
}
public static final int DATA_GENERATOR_FIELD_NUMBER = 19;
private org.openlca.proto.ProtoRef dataGenerator_;
/**
* .protolca.ProtoRef data_generator = 19;
* @return Whether the dataGenerator field is set.
*/
@java.lang.Override
public boolean hasDataGenerator() {
return dataGenerator_ != null;
}
/**
* .protolca.ProtoRef data_generator = 19;
* @return The dataGenerator.
*/
@java.lang.Override
public org.openlca.proto.ProtoRef getDataGenerator() {
return dataGenerator_ == null ? org.openlca.proto.ProtoRef.getDefaultInstance() : dataGenerator_;
}
/**
* .protolca.ProtoRef data_generator = 19;
*/
@java.lang.Override
public org.openlca.proto.ProtoRefOrBuilder getDataGeneratorOrBuilder() {
return getDataGenerator();
}
public static final int DATA_SET_OWNER_FIELD_NUMBER = 20;
private org.openlca.proto.ProtoRef dataSetOwner_;
/**
* .protolca.ProtoRef data_set_owner = 20;
* @return Whether the dataSetOwner field is set.
*/
@java.lang.Override
public boolean hasDataSetOwner() {
return dataSetOwner_ != null;
}
/**
* .protolca.ProtoRef data_set_owner = 20;
* @return The dataSetOwner.
*/
@java.lang.Override
public org.openlca.proto.ProtoRef getDataSetOwner() {
return dataSetOwner_ == null ? org.openlca.proto.ProtoRef.getDefaultInstance() : dataSetOwner_;
}
/**
* .protolca.ProtoRef data_set_owner = 20;
*/
@java.lang.Override
public org.openlca.proto.ProtoRefOrBuilder getDataSetOwnerOrBuilder() {
return getDataSetOwner();
}
public static final int INTENDED_APPLICATION_FIELD_NUMBER = 21;
private volatile java.lang.Object intendedApplication_;
/**
* string intended_application = 21;
* @return The intendedApplication.
*/
@java.lang.Override
public java.lang.String getIntendedApplication() {
java.lang.Object ref = intendedApplication_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
intendedApplication_ = s;
return s;
}
}
/**
* string intended_application = 21;
* @return The bytes for intendedApplication.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIntendedApplicationBytes() {
java.lang.Object ref = intendedApplication_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
intendedApplication_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PROJECT_DESCRIPTION_FIELD_NUMBER = 22;
private volatile java.lang.Object projectDescription_;
/**
* string project_description = 22;
* @return The projectDescription.
*/
@java.lang.Override
public java.lang.String getProjectDescription() {
java.lang.Object ref = projectDescription_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
projectDescription_ = s;
return s;
}
}
/**
* string project_description = 22;
* @return The bytes for projectDescription.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProjectDescriptionBytes() {
java.lang.Object ref = projectDescription_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
projectDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PUBLICATION_FIELD_NUMBER = 23;
private org.openlca.proto.ProtoRef publication_;
/**
* .protolca.ProtoRef publication = 23;
* @return Whether the publication field is set.
*/
@java.lang.Override
public boolean hasPublication() {
return publication_ != null;
}
/**
* .protolca.ProtoRef publication = 23;
* @return The publication.
*/
@java.lang.Override
public org.openlca.proto.ProtoRef getPublication() {
return publication_ == null ? org.openlca.proto.ProtoRef.getDefaultInstance() : publication_;
}
/**
* .protolca.ProtoRef publication = 23;
*/
@java.lang.Override
public org.openlca.proto.ProtoRefOrBuilder getPublicationOrBuilder() {
return getPublication();
}
public static final int GEOGRAPHY_DESCRIPTION_FIELD_NUMBER = 24;
private volatile java.lang.Object geographyDescription_;
/**
* string geography_description = 24;
* @return The geographyDescription.
*/
@java.lang.Override
public java.lang.String getGeographyDescription() {
java.lang.Object ref = geographyDescription_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
geographyDescription_ = s;
return s;
}
}
/**
* string geography_description = 24;
* @return The bytes for geographyDescription.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGeographyDescriptionBytes() {
java.lang.Object ref = geographyDescription_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
geographyDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(timeDescription_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, timeDescription_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(validUntil_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, validUntil_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(validFrom_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, validFrom_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(technologyDescription_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, technologyDescription_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataCollectionDescription_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, dataCollectionDescription_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(completenessDescription_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, completenessDescription_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataSelectionDescription_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, dataSelectionDescription_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reviewDetails_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, reviewDetails_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataTreatmentDescription_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, dataTreatmentDescription_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inventoryMethodDescription_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, inventoryMethodDescription_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(modelingConstantsDescription_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, modelingConstantsDescription_);
}
if (reviewer_ != null) {
output.writeMessage(12, getReviewer());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(samplingDescription_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, samplingDescription_);
}
for (int i = 0; i < sources_.size(); i++) {
output.writeMessage(14, sources_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(restrictionsDescription_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 15, restrictionsDescription_);
}
if (copyright_ != false) {
output.writeBool(16, copyright_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(creationDate_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 17, creationDate_);
}
if (dataDocumentor_ != null) {
output.writeMessage(18, getDataDocumentor());
}
if (dataGenerator_ != null) {
output.writeMessage(19, getDataGenerator());
}
if (dataSetOwner_ != null) {
output.writeMessage(20, getDataSetOwner());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(intendedApplication_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 21, intendedApplication_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectDescription_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 22, projectDescription_);
}
if (publication_ != null) {
output.writeMessage(23, getPublication());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(geographyDescription_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 24, geographyDescription_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(timeDescription_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, timeDescription_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(validUntil_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, validUntil_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(validFrom_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, validFrom_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(technologyDescription_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, technologyDescription_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataCollectionDescription_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, dataCollectionDescription_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(completenessDescription_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, completenessDescription_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataSelectionDescription_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, dataSelectionDescription_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reviewDetails_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, reviewDetails_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataTreatmentDescription_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, dataTreatmentDescription_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inventoryMethodDescription_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, inventoryMethodDescription_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(modelingConstantsDescription_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, modelingConstantsDescription_);
}
if (reviewer_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, getReviewer());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(samplingDescription_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, samplingDescription_);
}
for (int i = 0; i < sources_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, sources_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(restrictionsDescription_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, restrictionsDescription_);
}
if (copyright_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(16, copyright_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(creationDate_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, creationDate_);
}
if (dataDocumentor_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, getDataDocumentor());
}
if (dataGenerator_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(19, getDataGenerator());
}
if (dataSetOwner_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(20, getDataSetOwner());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(intendedApplication_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, intendedApplication_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectDescription_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, projectDescription_);
}
if (publication_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(23, getPublication());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(geographyDescription_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, geographyDescription_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.openlca.proto.ProtoProcessDocumentation)) {
return super.equals(obj);
}
org.openlca.proto.ProtoProcessDocumentation other = (org.openlca.proto.ProtoProcessDocumentation) obj;
if (!getTimeDescription()
.equals(other.getTimeDescription())) return false;
if (!getValidUntil()
.equals(other.getValidUntil())) return false;
if (!getValidFrom()
.equals(other.getValidFrom())) return false;
if (!getTechnologyDescription()
.equals(other.getTechnologyDescription())) return false;
if (!getDataCollectionDescription()
.equals(other.getDataCollectionDescription())) return false;
if (!getCompletenessDescription()
.equals(other.getCompletenessDescription())) return false;
if (!getDataSelectionDescription()
.equals(other.getDataSelectionDescription())) return false;
if (!getReviewDetails()
.equals(other.getReviewDetails())) return false;
if (!getDataTreatmentDescription()
.equals(other.getDataTreatmentDescription())) return false;
if (!getInventoryMethodDescription()
.equals(other.getInventoryMethodDescription())) return false;
if (!getModelingConstantsDescription()
.equals(other.getModelingConstantsDescription())) return false;
if (hasReviewer() != other.hasReviewer()) return false;
if (hasReviewer()) {
if (!getReviewer()
.equals(other.getReviewer())) return false;
}
if (!getSamplingDescription()
.equals(other.getSamplingDescription())) return false;
if (!getSourcesList()
.equals(other.getSourcesList())) return false;
if (!getRestrictionsDescription()
.equals(other.getRestrictionsDescription())) return false;
if (getCopyright()
!= other.getCopyright()) return false;
if (!getCreationDate()
.equals(other.getCreationDate())) return false;
if (hasDataDocumentor() != other.hasDataDocumentor()) return false;
if (hasDataDocumentor()) {
if (!getDataDocumentor()
.equals(other.getDataDocumentor())) return false;
}
if (hasDataGenerator() != other.hasDataGenerator()) return false;
if (hasDataGenerator()) {
if (!getDataGenerator()
.equals(other.getDataGenerator())) return false;
}
if (hasDataSetOwner() != other.hasDataSetOwner()) return false;
if (hasDataSetOwner()) {
if (!getDataSetOwner()
.equals(other.getDataSetOwner())) return false;
}
if (!getIntendedApplication()
.equals(other.getIntendedApplication())) return false;
if (!getProjectDescription()
.equals(other.getProjectDescription())) return false;
if (hasPublication() != other.hasPublication()) return false;
if (hasPublication()) {
if (!getPublication()
.equals(other.getPublication())) return false;
}
if (!getGeographyDescription()
.equals(other.getGeographyDescription())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + TIME_DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getTimeDescription().hashCode();
hash = (37 * hash) + VALID_UNTIL_FIELD_NUMBER;
hash = (53 * hash) + getValidUntil().hashCode();
hash = (37 * hash) + VALID_FROM_FIELD_NUMBER;
hash = (53 * hash) + getValidFrom().hashCode();
hash = (37 * hash) + TECHNOLOGY_DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getTechnologyDescription().hashCode();
hash = (37 * hash) + DATA_COLLECTION_DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDataCollectionDescription().hashCode();
hash = (37 * hash) + COMPLETENESS_DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getCompletenessDescription().hashCode();
hash = (37 * hash) + DATA_SELECTION_DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDataSelectionDescription().hashCode();
hash = (37 * hash) + REVIEW_DETAILS_FIELD_NUMBER;
hash = (53 * hash) + getReviewDetails().hashCode();
hash = (37 * hash) + DATA_TREATMENT_DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDataTreatmentDescription().hashCode();
hash = (37 * hash) + INVENTORY_METHOD_DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getInventoryMethodDescription().hashCode();
hash = (37 * hash) + MODELING_CONSTANTS_DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getModelingConstantsDescription().hashCode();
if (hasReviewer()) {
hash = (37 * hash) + REVIEWER_FIELD_NUMBER;
hash = (53 * hash) + getReviewer().hashCode();
}
hash = (37 * hash) + SAMPLING_DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getSamplingDescription().hashCode();
if (getSourcesCount() > 0) {
hash = (37 * hash) + SOURCES_FIELD_NUMBER;
hash = (53 * hash) + getSourcesList().hashCode();
}
hash = (37 * hash) + RESTRICTIONS_DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getRestrictionsDescription().hashCode();
hash = (37 * hash) + COPYRIGHT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getCopyright());
hash = (37 * hash) + CREATION_DATE_FIELD_NUMBER;
hash = (53 * hash) + getCreationDate().hashCode();
if (hasDataDocumentor()) {
hash = (37 * hash) + DATA_DOCUMENTOR_FIELD_NUMBER;
hash = (53 * hash) + getDataDocumentor().hashCode();
}
if (hasDataGenerator()) {
hash = (37 * hash) + DATA_GENERATOR_FIELD_NUMBER;
hash = (53 * hash) + getDataGenerator().hashCode();
}
if (hasDataSetOwner()) {
hash = (37 * hash) + DATA_SET_OWNER_FIELD_NUMBER;
hash = (53 * hash) + getDataSetOwner().hashCode();
}
hash = (37 * hash) + INTENDED_APPLICATION_FIELD_NUMBER;
hash = (53 * hash) + getIntendedApplication().hashCode();
hash = (37 * hash) + PROJECT_DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getProjectDescription().hashCode();
if (hasPublication()) {
hash = (37 * hash) + PUBLICATION_FIELD_NUMBER;
hash = (53 * hash) + getPublication().hashCode();
}
hash = (37 * hash) + GEOGRAPHY_DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getGeographyDescription().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.openlca.proto.ProtoProcessDocumentation parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.openlca.proto.ProtoProcessDocumentation parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.openlca.proto.ProtoProcessDocumentation parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.openlca.proto.ProtoProcessDocumentation parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.openlca.proto.ProtoProcessDocumentation parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.openlca.proto.ProtoProcessDocumentation parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.openlca.proto.ProtoProcessDocumentation parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.openlca.proto.ProtoProcessDocumentation parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.openlca.proto.ProtoProcessDocumentation parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.openlca.proto.ProtoProcessDocumentation parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.openlca.proto.ProtoProcessDocumentation parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.openlca.proto.ProtoProcessDocumentation parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.openlca.proto.ProtoProcessDocumentation prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code protolca.ProtoProcessDocumentation}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:protolca.ProtoProcessDocumentation)
org.openlca.proto.ProtoProcessDocumentationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.openlca.proto.Proto.internal_static_protolca_ProtoProcessDocumentation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.openlca.proto.Proto.internal_static_protolca_ProtoProcessDocumentation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.openlca.proto.ProtoProcessDocumentation.class, org.openlca.proto.ProtoProcessDocumentation.Builder.class);
}
// Construct using org.openlca.proto.ProtoProcessDocumentation.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getSourcesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
timeDescription_ = "";
validUntil_ = "";
validFrom_ = "";
technologyDescription_ = "";
dataCollectionDescription_ = "";
completenessDescription_ = "";
dataSelectionDescription_ = "";
reviewDetails_ = "";
dataTreatmentDescription_ = "";
inventoryMethodDescription_ = "";
modelingConstantsDescription_ = "";
if (reviewerBuilder_ == null) {
reviewer_ = null;
} else {
reviewer_ = null;
reviewerBuilder_ = null;
}
samplingDescription_ = "";
if (sourcesBuilder_ == null) {
sources_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
sourcesBuilder_.clear();
}
restrictionsDescription_ = "";
copyright_ = false;
creationDate_ = "";
if (dataDocumentorBuilder_ == null) {
dataDocumentor_ = null;
} else {
dataDocumentor_ = null;
dataDocumentorBuilder_ = null;
}
if (dataGeneratorBuilder_ == null) {
dataGenerator_ = null;
} else {
dataGenerator_ = null;
dataGeneratorBuilder_ = null;
}
if (dataSetOwnerBuilder_ == null) {
dataSetOwner_ = null;
} else {
dataSetOwner_ = null;
dataSetOwnerBuilder_ = null;
}
intendedApplication_ = "";
projectDescription_ = "";
if (publicationBuilder_ == null) {
publication_ = null;
} else {
publication_ = null;
publicationBuilder_ = null;
}
geographyDescription_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.openlca.proto.Proto.internal_static_protolca_ProtoProcessDocumentation_descriptor;
}
@java.lang.Override
public org.openlca.proto.ProtoProcessDocumentation getDefaultInstanceForType() {
return org.openlca.proto.ProtoProcessDocumentation.getDefaultInstance();
}
@java.lang.Override
public org.openlca.proto.ProtoProcessDocumentation build() {
org.openlca.proto.ProtoProcessDocumentation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.openlca.proto.ProtoProcessDocumentation buildPartial() {
org.openlca.proto.ProtoProcessDocumentation result = new org.openlca.proto.ProtoProcessDocumentation(this);
int from_bitField0_ = bitField0_;
result.timeDescription_ = timeDescription_;
result.validUntil_ = validUntil_;
result.validFrom_ = validFrom_;
result.technologyDescription_ = technologyDescription_;
result.dataCollectionDescription_ = dataCollectionDescription_;
result.completenessDescription_ = completenessDescription_;
result.dataSelectionDescription_ = dataSelectionDescription_;
result.reviewDetails_ = reviewDetails_;
result.dataTreatmentDescription_ = dataTreatmentDescription_;
result.inventoryMethodDescription_ = inventoryMethodDescription_;
result.modelingConstantsDescription_ = modelingConstantsDescription_;
if (reviewerBuilder_ == null) {
result.reviewer_ = reviewer_;
} else {
result.reviewer_ = reviewerBuilder_.build();
}
result.samplingDescription_ = samplingDescription_;
if (sourcesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
sources_ = java.util.Collections.unmodifiableList(sources_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.sources_ = sources_;
} else {
result.sources_ = sourcesBuilder_.build();
}
result.restrictionsDescription_ = restrictionsDescription_;
result.copyright_ = copyright_;
result.creationDate_ = creationDate_;
if (dataDocumentorBuilder_ == null) {
result.dataDocumentor_ = dataDocumentor_;
} else {
result.dataDocumentor_ = dataDocumentorBuilder_.build();
}
if (dataGeneratorBuilder_ == null) {
result.dataGenerator_ = dataGenerator_;
} else {
result.dataGenerator_ = dataGeneratorBuilder_.build();
}
if (dataSetOwnerBuilder_ == null) {
result.dataSetOwner_ = dataSetOwner_;
} else {
result.dataSetOwner_ = dataSetOwnerBuilder_.build();
}
result.intendedApplication_ = intendedApplication_;
result.projectDescription_ = projectDescription_;
if (publicationBuilder_ == null) {
result.publication_ = publication_;
} else {
result.publication_ = publicationBuilder_.build();
}
result.geographyDescription_ = geographyDescription_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.openlca.proto.ProtoProcessDocumentation) {
return mergeFrom((org.openlca.proto.ProtoProcessDocumentation)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.openlca.proto.ProtoProcessDocumentation other) {
if (other == org.openlca.proto.ProtoProcessDocumentation.getDefaultInstance()) return this;
if (!other.getTimeDescription().isEmpty()) {
timeDescription_ = other.timeDescription_;
onChanged();
}
if (!other.getValidUntil().isEmpty()) {
validUntil_ = other.validUntil_;
onChanged();
}
if (!other.getValidFrom().isEmpty()) {
validFrom_ = other.validFrom_;
onChanged();
}
if (!other.getTechnologyDescription().isEmpty()) {
technologyDescription_ = other.technologyDescription_;
onChanged();
}
if (!other.getDataCollectionDescription().isEmpty()) {
dataCollectionDescription_ = other.dataCollectionDescription_;
onChanged();
}
if (!other.getCompletenessDescription().isEmpty()) {
completenessDescription_ = other.completenessDescription_;
onChanged();
}
if (!other.getDataSelectionDescription().isEmpty()) {
dataSelectionDescription_ = other.dataSelectionDescription_;
onChanged();
}
if (!other.getReviewDetails().isEmpty()) {
reviewDetails_ = other.reviewDetails_;
onChanged();
}
if (!other.getDataTreatmentDescription().isEmpty()) {
dataTreatmentDescription_ = other.dataTreatmentDescription_;
onChanged();
}
if (!other.getInventoryMethodDescription().isEmpty()) {
inventoryMethodDescription_ = other.inventoryMethodDescription_;
onChanged();
}
if (!other.getModelingConstantsDescription().isEmpty()) {
modelingConstantsDescription_ = other.modelingConstantsDescription_;
onChanged();
}
if (other.hasReviewer()) {
mergeReviewer(other.getReviewer());
}
if (!other.getSamplingDescription().isEmpty()) {
samplingDescription_ = other.samplingDescription_;
onChanged();
}
if (sourcesBuilder_ == null) {
if (!other.sources_.isEmpty()) {
if (sources_.isEmpty()) {
sources_ = other.sources_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureSourcesIsMutable();
sources_.addAll(other.sources_);
}
onChanged();
}
} else {
if (!other.sources_.isEmpty()) {
if (sourcesBuilder_.isEmpty()) {
sourcesBuilder_.dispose();
sourcesBuilder_ = null;
sources_ = other.sources_;
bitField0_ = (bitField0_ & ~0x00000001);
sourcesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSourcesFieldBuilder() : null;
} else {
sourcesBuilder_.addAllMessages(other.sources_);
}
}
}
if (!other.getRestrictionsDescription().isEmpty()) {
restrictionsDescription_ = other.restrictionsDescription_;
onChanged();
}
if (other.getCopyright() != false) {
setCopyright(other.getCopyright());
}
if (!other.getCreationDate().isEmpty()) {
creationDate_ = other.creationDate_;
onChanged();
}
if (other.hasDataDocumentor()) {
mergeDataDocumentor(other.getDataDocumentor());
}
if (other.hasDataGenerator()) {
mergeDataGenerator(other.getDataGenerator());
}
if (other.hasDataSetOwner()) {
mergeDataSetOwner(other.getDataSetOwner());
}
if (!other.getIntendedApplication().isEmpty()) {
intendedApplication_ = other.intendedApplication_;
onChanged();
}
if (!other.getProjectDescription().isEmpty()) {
projectDescription_ = other.projectDescription_;
onChanged();
}
if (other.hasPublication()) {
mergePublication(other.getPublication());
}
if (!other.getGeographyDescription().isEmpty()) {
geographyDescription_ = other.geographyDescription_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.openlca.proto.ProtoProcessDocumentation parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.openlca.proto.ProtoProcessDocumentation) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object timeDescription_ = "";
/**
* string time_description = 1;
* @return The timeDescription.
*/
public java.lang.String getTimeDescription() {
java.lang.Object ref = timeDescription_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
timeDescription_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string time_description = 1;
* @return The bytes for timeDescription.
*/
public com.google.protobuf.ByteString
getTimeDescriptionBytes() {
java.lang.Object ref = timeDescription_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
timeDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string time_description = 1;
* @param value The timeDescription to set.
* @return This builder for chaining.
*/
public Builder setTimeDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
timeDescription_ = value;
onChanged();
return this;
}
/**
* string time_description = 1;
* @return This builder for chaining.
*/
public Builder clearTimeDescription() {
timeDescription_ = getDefaultInstance().getTimeDescription();
onChanged();
return this;
}
/**
* string time_description = 1;
* @param value The bytes for timeDescription to set.
* @return This builder for chaining.
*/
public Builder setTimeDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
timeDescription_ = value;
onChanged();
return this;
}
private java.lang.Object validUntil_ = "";
/**
* string valid_until = 2;
* @return The validUntil.
*/
public java.lang.String getValidUntil() {
java.lang.Object ref = validUntil_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
validUntil_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string valid_until = 2;
* @return The bytes for validUntil.
*/
public com.google.protobuf.ByteString
getValidUntilBytes() {
java.lang.Object ref = validUntil_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
validUntil_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string valid_until = 2;
* @param value The validUntil to set.
* @return This builder for chaining.
*/
public Builder setValidUntil(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
validUntil_ = value;
onChanged();
return this;
}
/**
* string valid_until = 2;
* @return This builder for chaining.
*/
public Builder clearValidUntil() {
validUntil_ = getDefaultInstance().getValidUntil();
onChanged();
return this;
}
/**
* string valid_until = 2;
* @param value The bytes for validUntil to set.
* @return This builder for chaining.
*/
public Builder setValidUntilBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
validUntil_ = value;
onChanged();
return this;
}
private java.lang.Object validFrom_ = "";
/**
* string valid_from = 3;
* @return The validFrom.
*/
public java.lang.String getValidFrom() {
java.lang.Object ref = validFrom_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
validFrom_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string valid_from = 3;
* @return The bytes for validFrom.
*/
public com.google.protobuf.ByteString
getValidFromBytes() {
java.lang.Object ref = validFrom_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
validFrom_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string valid_from = 3;
* @param value The validFrom to set.
* @return This builder for chaining.
*/
public Builder setValidFrom(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
validFrom_ = value;
onChanged();
return this;
}
/**
* string valid_from = 3;
* @return This builder for chaining.
*/
public Builder clearValidFrom() {
validFrom_ = getDefaultInstance().getValidFrom();
onChanged();
return this;
}
/**
* string valid_from = 3;
* @param value The bytes for validFrom to set.
* @return This builder for chaining.
*/
public Builder setValidFromBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
validFrom_ = value;
onChanged();
return this;
}
private java.lang.Object technologyDescription_ = "";
/**
* string technology_description = 4;
* @return The technologyDescription.
*/
public java.lang.String getTechnologyDescription() {
java.lang.Object ref = technologyDescription_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
technologyDescription_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string technology_description = 4;
* @return The bytes for technologyDescription.
*/
public com.google.protobuf.ByteString
getTechnologyDescriptionBytes() {
java.lang.Object ref = technologyDescription_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
technologyDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string technology_description = 4;
* @param value The technologyDescription to set.
* @return This builder for chaining.
*/
public Builder setTechnologyDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
technologyDescription_ = value;
onChanged();
return this;
}
/**
* string technology_description = 4;
* @return This builder for chaining.
*/
public Builder clearTechnologyDescription() {
technologyDescription_ = getDefaultInstance().getTechnologyDescription();
onChanged();
return this;
}
/**
* string technology_description = 4;
* @param value The bytes for technologyDescription to set.
* @return This builder for chaining.
*/
public Builder setTechnologyDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
technologyDescription_ = value;
onChanged();
return this;
}
private java.lang.Object dataCollectionDescription_ = "";
/**
* string data_collection_description = 5;
* @return The dataCollectionDescription.
*/
public java.lang.String getDataCollectionDescription() {
java.lang.Object ref = dataCollectionDescription_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
dataCollectionDescription_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string data_collection_description = 5;
* @return The bytes for dataCollectionDescription.
*/
public com.google.protobuf.ByteString
getDataCollectionDescriptionBytes() {
java.lang.Object ref = dataCollectionDescription_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dataCollectionDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string data_collection_description = 5;
* @param value The dataCollectionDescription to set.
* @return This builder for chaining.
*/
public Builder setDataCollectionDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
dataCollectionDescription_ = value;
onChanged();
return this;
}
/**
* string data_collection_description = 5;
* @return This builder for chaining.
*/
public Builder clearDataCollectionDescription() {
dataCollectionDescription_ = getDefaultInstance().getDataCollectionDescription();
onChanged();
return this;
}
/**
* string data_collection_description = 5;
* @param value The bytes for dataCollectionDescription to set.
* @return This builder for chaining.
*/
public Builder setDataCollectionDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
dataCollectionDescription_ = value;
onChanged();
return this;
}
private java.lang.Object completenessDescription_ = "";
/**
* string completeness_description = 6;
* @return The completenessDescription.
*/
public java.lang.String getCompletenessDescription() {
java.lang.Object ref = completenessDescription_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
completenessDescription_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string completeness_description = 6;
* @return The bytes for completenessDescription.
*/
public com.google.protobuf.ByteString
getCompletenessDescriptionBytes() {
java.lang.Object ref = completenessDescription_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
completenessDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string completeness_description = 6;
* @param value The completenessDescription to set.
* @return This builder for chaining.
*/
public Builder setCompletenessDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
completenessDescription_ = value;
onChanged();
return this;
}
/**
* string completeness_description = 6;
* @return This builder for chaining.
*/
public Builder clearCompletenessDescription() {
completenessDescription_ = getDefaultInstance().getCompletenessDescription();
onChanged();
return this;
}
/**
* string completeness_description = 6;
* @param value The bytes for completenessDescription to set.
* @return This builder for chaining.
*/
public Builder setCompletenessDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
completenessDescription_ = value;
onChanged();
return this;
}
private java.lang.Object dataSelectionDescription_ = "";
/**
* string data_selection_description = 7;
* @return The dataSelectionDescription.
*/
public java.lang.String getDataSelectionDescription() {
java.lang.Object ref = dataSelectionDescription_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
dataSelectionDescription_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string data_selection_description = 7;
* @return The bytes for dataSelectionDescription.
*/
public com.google.protobuf.ByteString
getDataSelectionDescriptionBytes() {
java.lang.Object ref = dataSelectionDescription_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dataSelectionDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string data_selection_description = 7;
* @param value The dataSelectionDescription to set.
* @return This builder for chaining.
*/
public Builder setDataSelectionDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
dataSelectionDescription_ = value;
onChanged();
return this;
}
/**
* string data_selection_description = 7;
* @return This builder for chaining.
*/
public Builder clearDataSelectionDescription() {
dataSelectionDescription_ = getDefaultInstance().getDataSelectionDescription();
onChanged();
return this;
}
/**
* string data_selection_description = 7;
* @param value The bytes for dataSelectionDescription to set.
* @return This builder for chaining.
*/
public Builder setDataSelectionDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
dataSelectionDescription_ = value;
onChanged();
return this;
}
private java.lang.Object reviewDetails_ = "";
/**
* string review_details = 8;
* @return The reviewDetails.
*/
public java.lang.String getReviewDetails() {
java.lang.Object ref = reviewDetails_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
reviewDetails_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string review_details = 8;
* @return The bytes for reviewDetails.
*/
public com.google.protobuf.ByteString
getReviewDetailsBytes() {
java.lang.Object ref = reviewDetails_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
reviewDetails_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string review_details = 8;
* @param value The reviewDetails to set.
* @return This builder for chaining.
*/
public Builder setReviewDetails(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
reviewDetails_ = value;
onChanged();
return this;
}
/**
* string review_details = 8;
* @return This builder for chaining.
*/
public Builder clearReviewDetails() {
reviewDetails_ = getDefaultInstance().getReviewDetails();
onChanged();
return this;
}
/**
* string review_details = 8;
* @param value The bytes for reviewDetails to set.
* @return This builder for chaining.
*/
public Builder setReviewDetailsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
reviewDetails_ = value;
onChanged();
return this;
}
private java.lang.Object dataTreatmentDescription_ = "";
/**
* string data_treatment_description = 9;
* @return The dataTreatmentDescription.
*/
public java.lang.String getDataTreatmentDescription() {
java.lang.Object ref = dataTreatmentDescription_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
dataTreatmentDescription_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string data_treatment_description = 9;
* @return The bytes for dataTreatmentDescription.
*/
public com.google.protobuf.ByteString
getDataTreatmentDescriptionBytes() {
java.lang.Object ref = dataTreatmentDescription_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dataTreatmentDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string data_treatment_description = 9;
* @param value The dataTreatmentDescription to set.
* @return This builder for chaining.
*/
public Builder setDataTreatmentDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
dataTreatmentDescription_ = value;
onChanged();
return this;
}
/**
* string data_treatment_description = 9;
* @return This builder for chaining.
*/
public Builder clearDataTreatmentDescription() {
dataTreatmentDescription_ = getDefaultInstance().getDataTreatmentDescription();
onChanged();
return this;
}
/**
* string data_treatment_description = 9;
* @param value The bytes for dataTreatmentDescription to set.
* @return This builder for chaining.
*/
public Builder setDataTreatmentDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
dataTreatmentDescription_ = value;
onChanged();
return this;
}
private java.lang.Object inventoryMethodDescription_ = "";
/**
* string inventory_method_description = 10;
* @return The inventoryMethodDescription.
*/
public java.lang.String getInventoryMethodDescription() {
java.lang.Object ref = inventoryMethodDescription_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
inventoryMethodDescription_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string inventory_method_description = 10;
* @return The bytes for inventoryMethodDescription.
*/
public com.google.protobuf.ByteString
getInventoryMethodDescriptionBytes() {
java.lang.Object ref = inventoryMethodDescription_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
inventoryMethodDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string inventory_method_description = 10;
* @param value The inventoryMethodDescription to set.
* @return This builder for chaining.
*/
public Builder setInventoryMethodDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
inventoryMethodDescription_ = value;
onChanged();
return this;
}
/**
* string inventory_method_description = 10;
* @return This builder for chaining.
*/
public Builder clearInventoryMethodDescription() {
inventoryMethodDescription_ = getDefaultInstance().getInventoryMethodDescription();
onChanged();
return this;
}
/**
* string inventory_method_description = 10;
* @param value The bytes for inventoryMethodDescription to set.
* @return This builder for chaining.
*/
public Builder setInventoryMethodDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
inventoryMethodDescription_ = value;
onChanged();
return this;
}
private java.lang.Object modelingConstantsDescription_ = "";
/**
* string modeling_constants_description = 11;
* @return The modelingConstantsDescription.
*/
public java.lang.String getModelingConstantsDescription() {
java.lang.Object ref = modelingConstantsDescription_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
modelingConstantsDescription_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string modeling_constants_description = 11;
* @return The bytes for modelingConstantsDescription.
*/
public com.google.protobuf.ByteString
getModelingConstantsDescriptionBytes() {
java.lang.Object ref = modelingConstantsDescription_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
modelingConstantsDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string modeling_constants_description = 11;
* @param value The modelingConstantsDescription to set.
* @return This builder for chaining.
*/
public Builder setModelingConstantsDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
modelingConstantsDescription_ = value;
onChanged();
return this;
}
/**
* string modeling_constants_description = 11;
* @return This builder for chaining.
*/
public Builder clearModelingConstantsDescription() {
modelingConstantsDescription_ = getDefaultInstance().getModelingConstantsDescription();
onChanged();
return this;
}
/**
* string modeling_constants_description = 11;
* @param value The bytes for modelingConstantsDescription to set.
* @return This builder for chaining.
*/
public Builder setModelingConstantsDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
modelingConstantsDescription_ = value;
onChanged();
return this;
}
private org.openlca.proto.ProtoRef reviewer_;
private com.google.protobuf.SingleFieldBuilderV3<
org.openlca.proto.ProtoRef, org.openlca.proto.ProtoRef.Builder, org.openlca.proto.ProtoRefOrBuilder> reviewerBuilder_;
/**
* .protolca.ProtoRef reviewer = 12;
* @return Whether the reviewer field is set.
*/
public boolean hasReviewer() {
return reviewerBuilder_ != null || reviewer_ != null;
}
/**
* .protolca.ProtoRef reviewer = 12;
* @return The reviewer.
*/
public org.openlca.proto.ProtoRef getReviewer() {
if (reviewerBuilder_ == null) {
return reviewer_ == null ? org.openlca.proto.ProtoRef.getDefaultInstance() : reviewer_;
} else {
return reviewerBuilder_.getMessage();
}
}
/**
* .protolca.ProtoRef reviewer = 12;
*/
public Builder setReviewer(org.openlca.proto.ProtoRef value) {
if (reviewerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
reviewer_ = value;
onChanged();
} else {
reviewerBuilder_.setMessage(value);
}
return this;
}
/**
* .protolca.ProtoRef reviewer = 12;
*/
public Builder setReviewer(
org.openlca.proto.ProtoRef.Builder builderForValue) {
if (reviewerBuilder_ == null) {
reviewer_ = builderForValue.build();
onChanged();
} else {
reviewerBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .protolca.ProtoRef reviewer = 12;
*/
public Builder mergeReviewer(org.openlca.proto.ProtoRef value) {
if (reviewerBuilder_ == null) {
if (reviewer_ != null) {
reviewer_ =
org.openlca.proto.ProtoRef.newBuilder(reviewer_).mergeFrom(value).buildPartial();
} else {
reviewer_ = value;
}
onChanged();
} else {
reviewerBuilder_.mergeFrom(value);
}
return this;
}
/**
* .protolca.ProtoRef reviewer = 12;
*/
public Builder clearReviewer() {
if (reviewerBuilder_ == null) {
reviewer_ = null;
onChanged();
} else {
reviewer_ = null;
reviewerBuilder_ = null;
}
return this;
}
/**
* .protolca.ProtoRef reviewer = 12;
*/
public org.openlca.proto.ProtoRef.Builder getReviewerBuilder() {
onChanged();
return getReviewerFieldBuilder().getBuilder();
}
/**
* .protolca.ProtoRef reviewer = 12;
*/
public org.openlca.proto.ProtoRefOrBuilder getReviewerOrBuilder() {
if (reviewerBuilder_ != null) {
return reviewerBuilder_.getMessageOrBuilder();
} else {
return reviewer_ == null ?
org.openlca.proto.ProtoRef.getDefaultInstance() : reviewer_;
}
}
/**
* .protolca.ProtoRef reviewer = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.openlca.proto.ProtoRef, org.openlca.proto.ProtoRef.Builder, org.openlca.proto.ProtoRefOrBuilder>
getReviewerFieldBuilder() {
if (reviewerBuilder_ == null) {
reviewerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.openlca.proto.ProtoRef, org.openlca.proto.ProtoRef.Builder, org.openlca.proto.ProtoRefOrBuilder>(
getReviewer(),
getParentForChildren(),
isClean());
reviewer_ = null;
}
return reviewerBuilder_;
}
private java.lang.Object samplingDescription_ = "";
/**
* string sampling_description = 13;
* @return The samplingDescription.
*/
public java.lang.String getSamplingDescription() {
java.lang.Object ref = samplingDescription_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
samplingDescription_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string sampling_description = 13;
* @return The bytes for samplingDescription.
*/
public com.google.protobuf.ByteString
getSamplingDescriptionBytes() {
java.lang.Object ref = samplingDescription_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
samplingDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string sampling_description = 13;
* @param value The samplingDescription to set.
* @return This builder for chaining.
*/
public Builder setSamplingDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
samplingDescription_ = value;
onChanged();
return this;
}
/**
* string sampling_description = 13;
* @return This builder for chaining.
*/
public Builder clearSamplingDescription() {
samplingDescription_ = getDefaultInstance().getSamplingDescription();
onChanged();
return this;
}
/**
* string sampling_description = 13;
* @param value The bytes for samplingDescription to set.
* @return This builder for chaining.
*/
public Builder setSamplingDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
samplingDescription_ = value;
onChanged();
return this;
}
private java.util.List sources_ =
java.util.Collections.emptyList();
private void ensureSourcesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
sources_ = new java.util.ArrayList(sources_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.openlca.proto.ProtoRef, org.openlca.proto.ProtoRef.Builder, org.openlca.proto.ProtoRefOrBuilder> sourcesBuilder_;
/**
* repeated .protolca.ProtoRef sources = 14;
*/
public java.util.List getSourcesList() {
if (sourcesBuilder_ == null) {
return java.util.Collections.unmodifiableList(sources_);
} else {
return sourcesBuilder_.getMessageList();
}
}
/**
* repeated .protolca.ProtoRef sources = 14;
*/
public int getSourcesCount() {
if (sourcesBuilder_ == null) {
return sources_.size();
} else {
return sourcesBuilder_.getCount();
}
}
/**
* repeated .protolca.ProtoRef sources = 14;
*/
public org.openlca.proto.ProtoRef getSources(int index) {
if (sourcesBuilder_ == null) {
return sources_.get(index);
} else {
return sourcesBuilder_.getMessage(index);
}
}
/**
* repeated .protolca.ProtoRef sources = 14;
*/
public Builder setSources(
int index, org.openlca.proto.ProtoRef value) {
if (sourcesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSourcesIsMutable();
sources_.set(index, value);
onChanged();
} else {
sourcesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .protolca.ProtoRef sources = 14;
*/
public Builder setSources(
int index, org.openlca.proto.ProtoRef.Builder builderForValue) {
if (sourcesBuilder_ == null) {
ensureSourcesIsMutable();
sources_.set(index, builderForValue.build());
onChanged();
} else {
sourcesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .protolca.ProtoRef sources = 14;
*/
public Builder addSources(org.openlca.proto.ProtoRef value) {
if (sourcesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSourcesIsMutable();
sources_.add(value);
onChanged();
} else {
sourcesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .protolca.ProtoRef sources = 14;
*/
public Builder addSources(
int index, org.openlca.proto.ProtoRef value) {
if (sourcesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSourcesIsMutable();
sources_.add(index, value);
onChanged();
} else {
sourcesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .protolca.ProtoRef sources = 14;
*/
public Builder addSources(
org.openlca.proto.ProtoRef.Builder builderForValue) {
if (sourcesBuilder_ == null) {
ensureSourcesIsMutable();
sources_.add(builderForValue.build());
onChanged();
} else {
sourcesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .protolca.ProtoRef sources = 14;
*/
public Builder addSources(
int index, org.openlca.proto.ProtoRef.Builder builderForValue) {
if (sourcesBuilder_ == null) {
ensureSourcesIsMutable();
sources_.add(index, builderForValue.build());
onChanged();
} else {
sourcesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .protolca.ProtoRef sources = 14;
*/
public Builder addAllSources(
java.lang.Iterable extends org.openlca.proto.ProtoRef> values) {
if (sourcesBuilder_ == null) {
ensureSourcesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, sources_);
onChanged();
} else {
sourcesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .protolca.ProtoRef sources = 14;
*/
public Builder clearSources() {
if (sourcesBuilder_ == null) {
sources_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
sourcesBuilder_.clear();
}
return this;
}
/**
* repeated .protolca.ProtoRef sources = 14;
*/
public Builder removeSources(int index) {
if (sourcesBuilder_ == null) {
ensureSourcesIsMutable();
sources_.remove(index);
onChanged();
} else {
sourcesBuilder_.remove(index);
}
return this;
}
/**
* repeated .protolca.ProtoRef sources = 14;
*/
public org.openlca.proto.ProtoRef.Builder getSourcesBuilder(
int index) {
return getSourcesFieldBuilder().getBuilder(index);
}
/**
* repeated .protolca.ProtoRef sources = 14;
*/
public org.openlca.proto.ProtoRefOrBuilder getSourcesOrBuilder(
int index) {
if (sourcesBuilder_ == null) {
return sources_.get(index); } else {
return sourcesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .protolca.ProtoRef sources = 14;
*/
public java.util.List extends org.openlca.proto.ProtoRefOrBuilder>
getSourcesOrBuilderList() {
if (sourcesBuilder_ != null) {
return sourcesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(sources_);
}
}
/**
* repeated .protolca.ProtoRef sources = 14;
*/
public org.openlca.proto.ProtoRef.Builder addSourcesBuilder() {
return getSourcesFieldBuilder().addBuilder(
org.openlca.proto.ProtoRef.getDefaultInstance());
}
/**
* repeated .protolca.ProtoRef sources = 14;
*/
public org.openlca.proto.ProtoRef.Builder addSourcesBuilder(
int index) {
return getSourcesFieldBuilder().addBuilder(
index, org.openlca.proto.ProtoRef.getDefaultInstance());
}
/**
* repeated .protolca.ProtoRef sources = 14;
*/
public java.util.List
getSourcesBuilderList() {
return getSourcesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.openlca.proto.ProtoRef, org.openlca.proto.ProtoRef.Builder, org.openlca.proto.ProtoRefOrBuilder>
getSourcesFieldBuilder() {
if (sourcesBuilder_ == null) {
sourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.openlca.proto.ProtoRef, org.openlca.proto.ProtoRef.Builder, org.openlca.proto.ProtoRefOrBuilder>(
sources_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
sources_ = null;
}
return sourcesBuilder_;
}
private java.lang.Object restrictionsDescription_ = "";
/**
* string restrictions_description = 15;
* @return The restrictionsDescription.
*/
public java.lang.String getRestrictionsDescription() {
java.lang.Object ref = restrictionsDescription_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
restrictionsDescription_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string restrictions_description = 15;
* @return The bytes for restrictionsDescription.
*/
public com.google.protobuf.ByteString
getRestrictionsDescriptionBytes() {
java.lang.Object ref = restrictionsDescription_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
restrictionsDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string restrictions_description = 15;
* @param value The restrictionsDescription to set.
* @return This builder for chaining.
*/
public Builder setRestrictionsDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
restrictionsDescription_ = value;
onChanged();
return this;
}
/**
* string restrictions_description = 15;
* @return This builder for chaining.
*/
public Builder clearRestrictionsDescription() {
restrictionsDescription_ = getDefaultInstance().getRestrictionsDescription();
onChanged();
return this;
}
/**
* string restrictions_description = 15;
* @param value The bytes for restrictionsDescription to set.
* @return This builder for chaining.
*/
public Builder setRestrictionsDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
restrictionsDescription_ = value;
onChanged();
return this;
}
private boolean copyright_ ;
/**
* bool copyright = 16;
* @return The copyright.
*/
@java.lang.Override
public boolean getCopyright() {
return copyright_;
}
/**
* bool copyright = 16;
* @param value The copyright to set.
* @return This builder for chaining.
*/
public Builder setCopyright(boolean value) {
copyright_ = value;
onChanged();
return this;
}
/**
* bool copyright = 16;
* @return This builder for chaining.
*/
public Builder clearCopyright() {
copyright_ = false;
onChanged();
return this;
}
private java.lang.Object creationDate_ = "";
/**
* string creation_date = 17;
* @return The creationDate.
*/
public java.lang.String getCreationDate() {
java.lang.Object ref = creationDate_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
creationDate_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string creation_date = 17;
* @return The bytes for creationDate.
*/
public com.google.protobuf.ByteString
getCreationDateBytes() {
java.lang.Object ref = creationDate_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
creationDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string creation_date = 17;
* @param value The creationDate to set.
* @return This builder for chaining.
*/
public Builder setCreationDate(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
creationDate_ = value;
onChanged();
return this;
}
/**
* string creation_date = 17;
* @return This builder for chaining.
*/
public Builder clearCreationDate() {
creationDate_ = getDefaultInstance().getCreationDate();
onChanged();
return this;
}
/**
* string creation_date = 17;
* @param value The bytes for creationDate to set.
* @return This builder for chaining.
*/
public Builder setCreationDateBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
creationDate_ = value;
onChanged();
return this;
}
private org.openlca.proto.ProtoRef dataDocumentor_;
private com.google.protobuf.SingleFieldBuilderV3<
org.openlca.proto.ProtoRef, org.openlca.proto.ProtoRef.Builder, org.openlca.proto.ProtoRefOrBuilder> dataDocumentorBuilder_;
/**
* .protolca.ProtoRef data_documentor = 18;
* @return Whether the dataDocumentor field is set.
*/
public boolean hasDataDocumentor() {
return dataDocumentorBuilder_ != null || dataDocumentor_ != null;
}
/**
* .protolca.ProtoRef data_documentor = 18;
* @return The dataDocumentor.
*/
public org.openlca.proto.ProtoRef getDataDocumentor() {
if (dataDocumentorBuilder_ == null) {
return dataDocumentor_ == null ? org.openlca.proto.ProtoRef.getDefaultInstance() : dataDocumentor_;
} else {
return dataDocumentorBuilder_.getMessage();
}
}
/**
* .protolca.ProtoRef data_documentor = 18;
*/
public Builder setDataDocumentor(org.openlca.proto.ProtoRef value) {
if (dataDocumentorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
dataDocumentor_ = value;
onChanged();
} else {
dataDocumentorBuilder_.setMessage(value);
}
return this;
}
/**
* .protolca.ProtoRef data_documentor = 18;
*/
public Builder setDataDocumentor(
org.openlca.proto.ProtoRef.Builder builderForValue) {
if (dataDocumentorBuilder_ == null) {
dataDocumentor_ = builderForValue.build();
onChanged();
} else {
dataDocumentorBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .protolca.ProtoRef data_documentor = 18;
*/
public Builder mergeDataDocumentor(org.openlca.proto.ProtoRef value) {
if (dataDocumentorBuilder_ == null) {
if (dataDocumentor_ != null) {
dataDocumentor_ =
org.openlca.proto.ProtoRef.newBuilder(dataDocumentor_).mergeFrom(value).buildPartial();
} else {
dataDocumentor_ = value;
}
onChanged();
} else {
dataDocumentorBuilder_.mergeFrom(value);
}
return this;
}
/**
* .protolca.ProtoRef data_documentor = 18;
*/
public Builder clearDataDocumentor() {
if (dataDocumentorBuilder_ == null) {
dataDocumentor_ = null;
onChanged();
} else {
dataDocumentor_ = null;
dataDocumentorBuilder_ = null;
}
return this;
}
/**
* .protolca.ProtoRef data_documentor = 18;
*/
public org.openlca.proto.ProtoRef.Builder getDataDocumentorBuilder() {
onChanged();
return getDataDocumentorFieldBuilder().getBuilder();
}
/**
* .protolca.ProtoRef data_documentor = 18;
*/
public org.openlca.proto.ProtoRefOrBuilder getDataDocumentorOrBuilder() {
if (dataDocumentorBuilder_ != null) {
return dataDocumentorBuilder_.getMessageOrBuilder();
} else {
return dataDocumentor_ == null ?
org.openlca.proto.ProtoRef.getDefaultInstance() : dataDocumentor_;
}
}
/**
* .protolca.ProtoRef data_documentor = 18;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.openlca.proto.ProtoRef, org.openlca.proto.ProtoRef.Builder, org.openlca.proto.ProtoRefOrBuilder>
getDataDocumentorFieldBuilder() {
if (dataDocumentorBuilder_ == null) {
dataDocumentorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.openlca.proto.ProtoRef, org.openlca.proto.ProtoRef.Builder, org.openlca.proto.ProtoRefOrBuilder>(
getDataDocumentor(),
getParentForChildren(),
isClean());
dataDocumentor_ = null;
}
return dataDocumentorBuilder_;
}
private org.openlca.proto.ProtoRef dataGenerator_;
private com.google.protobuf.SingleFieldBuilderV3<
org.openlca.proto.ProtoRef, org.openlca.proto.ProtoRef.Builder, org.openlca.proto.ProtoRefOrBuilder> dataGeneratorBuilder_;
/**
* .protolca.ProtoRef data_generator = 19;
* @return Whether the dataGenerator field is set.
*/
public boolean hasDataGenerator() {
return dataGeneratorBuilder_ != null || dataGenerator_ != null;
}
/**
* .protolca.ProtoRef data_generator = 19;
* @return The dataGenerator.
*/
public org.openlca.proto.ProtoRef getDataGenerator() {
if (dataGeneratorBuilder_ == null) {
return dataGenerator_ == null ? org.openlca.proto.ProtoRef.getDefaultInstance() : dataGenerator_;
} else {
return dataGeneratorBuilder_.getMessage();
}
}
/**
* .protolca.ProtoRef data_generator = 19;
*/
public Builder setDataGenerator(org.openlca.proto.ProtoRef value) {
if (dataGeneratorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
dataGenerator_ = value;
onChanged();
} else {
dataGeneratorBuilder_.setMessage(value);
}
return this;
}
/**
* .protolca.ProtoRef data_generator = 19;
*/
public Builder setDataGenerator(
org.openlca.proto.ProtoRef.Builder builderForValue) {
if (dataGeneratorBuilder_ == null) {
dataGenerator_ = builderForValue.build();
onChanged();
} else {
dataGeneratorBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .protolca.ProtoRef data_generator = 19;
*/
public Builder mergeDataGenerator(org.openlca.proto.ProtoRef value) {
if (dataGeneratorBuilder_ == null) {
if (dataGenerator_ != null) {
dataGenerator_ =
org.openlca.proto.ProtoRef.newBuilder(dataGenerator_).mergeFrom(value).buildPartial();
} else {
dataGenerator_ = value;
}
onChanged();
} else {
dataGeneratorBuilder_.mergeFrom(value);
}
return this;
}
/**
* .protolca.ProtoRef data_generator = 19;
*/
public Builder clearDataGenerator() {
if (dataGeneratorBuilder_ == null) {
dataGenerator_ = null;
onChanged();
} else {
dataGenerator_ = null;
dataGeneratorBuilder_ = null;
}
return this;
}
/**
* .protolca.ProtoRef data_generator = 19;
*/
public org.openlca.proto.ProtoRef.Builder getDataGeneratorBuilder() {
onChanged();
return getDataGeneratorFieldBuilder().getBuilder();
}
/**
* .protolca.ProtoRef data_generator = 19;
*/
public org.openlca.proto.ProtoRefOrBuilder getDataGeneratorOrBuilder() {
if (dataGeneratorBuilder_ != null) {
return dataGeneratorBuilder_.getMessageOrBuilder();
} else {
return dataGenerator_ == null ?
org.openlca.proto.ProtoRef.getDefaultInstance() : dataGenerator_;
}
}
/**
* .protolca.ProtoRef data_generator = 19;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.openlca.proto.ProtoRef, org.openlca.proto.ProtoRef.Builder, org.openlca.proto.ProtoRefOrBuilder>
getDataGeneratorFieldBuilder() {
if (dataGeneratorBuilder_ == null) {
dataGeneratorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.openlca.proto.ProtoRef, org.openlca.proto.ProtoRef.Builder, org.openlca.proto.ProtoRefOrBuilder>(
getDataGenerator(),
getParentForChildren(),
isClean());
dataGenerator_ = null;
}
return dataGeneratorBuilder_;
}
private org.openlca.proto.ProtoRef dataSetOwner_;
private com.google.protobuf.SingleFieldBuilderV3<
org.openlca.proto.ProtoRef, org.openlca.proto.ProtoRef.Builder, org.openlca.proto.ProtoRefOrBuilder> dataSetOwnerBuilder_;
/**
* .protolca.ProtoRef data_set_owner = 20;
* @return Whether the dataSetOwner field is set.
*/
public boolean hasDataSetOwner() {
return dataSetOwnerBuilder_ != null || dataSetOwner_ != null;
}
/**
* .protolca.ProtoRef data_set_owner = 20;
* @return The dataSetOwner.
*/
public org.openlca.proto.ProtoRef getDataSetOwner() {
if (dataSetOwnerBuilder_ == null) {
return dataSetOwner_ == null ? org.openlca.proto.ProtoRef.getDefaultInstance() : dataSetOwner_;
} else {
return dataSetOwnerBuilder_.getMessage();
}
}
/**
* .protolca.ProtoRef data_set_owner = 20;
*/
public Builder setDataSetOwner(org.openlca.proto.ProtoRef value) {
if (dataSetOwnerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
dataSetOwner_ = value;
onChanged();
} else {
dataSetOwnerBuilder_.setMessage(value);
}
return this;
}
/**
* .protolca.ProtoRef data_set_owner = 20;
*/
public Builder setDataSetOwner(
org.openlca.proto.ProtoRef.Builder builderForValue) {
if (dataSetOwnerBuilder_ == null) {
dataSetOwner_ = builderForValue.build();
onChanged();
} else {
dataSetOwnerBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .protolca.ProtoRef data_set_owner = 20;
*/
public Builder mergeDataSetOwner(org.openlca.proto.ProtoRef value) {
if (dataSetOwnerBuilder_ == null) {
if (dataSetOwner_ != null) {
dataSetOwner_ =
org.openlca.proto.ProtoRef.newBuilder(dataSetOwner_).mergeFrom(value).buildPartial();
} else {
dataSetOwner_ = value;
}
onChanged();
} else {
dataSetOwnerBuilder_.mergeFrom(value);
}
return this;
}
/**
* .protolca.ProtoRef data_set_owner = 20;
*/
public Builder clearDataSetOwner() {
if (dataSetOwnerBuilder_ == null) {
dataSetOwner_ = null;
onChanged();
} else {
dataSetOwner_ = null;
dataSetOwnerBuilder_ = null;
}
return this;
}
/**
* .protolca.ProtoRef data_set_owner = 20;
*/
public org.openlca.proto.ProtoRef.Builder getDataSetOwnerBuilder() {
onChanged();
return getDataSetOwnerFieldBuilder().getBuilder();
}
/**
* .protolca.ProtoRef data_set_owner = 20;
*/
public org.openlca.proto.ProtoRefOrBuilder getDataSetOwnerOrBuilder() {
if (dataSetOwnerBuilder_ != null) {
return dataSetOwnerBuilder_.getMessageOrBuilder();
} else {
return dataSetOwner_ == null ?
org.openlca.proto.ProtoRef.getDefaultInstance() : dataSetOwner_;
}
}
/**
* .protolca.ProtoRef data_set_owner = 20;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.openlca.proto.ProtoRef, org.openlca.proto.ProtoRef.Builder, org.openlca.proto.ProtoRefOrBuilder>
getDataSetOwnerFieldBuilder() {
if (dataSetOwnerBuilder_ == null) {
dataSetOwnerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.openlca.proto.ProtoRef, org.openlca.proto.ProtoRef.Builder, org.openlca.proto.ProtoRefOrBuilder>(
getDataSetOwner(),
getParentForChildren(),
isClean());
dataSetOwner_ = null;
}
return dataSetOwnerBuilder_;
}
private java.lang.Object intendedApplication_ = "";
/**
* string intended_application = 21;
* @return The intendedApplication.
*/
public java.lang.String getIntendedApplication() {
java.lang.Object ref = intendedApplication_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
intendedApplication_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string intended_application = 21;
* @return The bytes for intendedApplication.
*/
public com.google.protobuf.ByteString
getIntendedApplicationBytes() {
java.lang.Object ref = intendedApplication_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
intendedApplication_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string intended_application = 21;
* @param value The intendedApplication to set.
* @return This builder for chaining.
*/
public Builder setIntendedApplication(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
intendedApplication_ = value;
onChanged();
return this;
}
/**
* string intended_application = 21;
* @return This builder for chaining.
*/
public Builder clearIntendedApplication() {
intendedApplication_ = getDefaultInstance().getIntendedApplication();
onChanged();
return this;
}
/**
* string intended_application = 21;
* @param value The bytes for intendedApplication to set.
* @return This builder for chaining.
*/
public Builder setIntendedApplicationBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
intendedApplication_ = value;
onChanged();
return this;
}
private java.lang.Object projectDescription_ = "";
/**
* string project_description = 22;
* @return The projectDescription.
*/
public java.lang.String getProjectDescription() {
java.lang.Object ref = projectDescription_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
projectDescription_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string project_description = 22;
* @return The bytes for projectDescription.
*/
public com.google.protobuf.ByteString
getProjectDescriptionBytes() {
java.lang.Object ref = projectDescription_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
projectDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string project_description = 22;
* @param value The projectDescription to set.
* @return This builder for chaining.
*/
public Builder setProjectDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
projectDescription_ = value;
onChanged();
return this;
}
/**
* string project_description = 22;
* @return This builder for chaining.
*/
public Builder clearProjectDescription() {
projectDescription_ = getDefaultInstance().getProjectDescription();
onChanged();
return this;
}
/**
* string project_description = 22;
* @param value The bytes for projectDescription to set.
* @return This builder for chaining.
*/
public Builder setProjectDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
projectDescription_ = value;
onChanged();
return this;
}
private org.openlca.proto.ProtoRef publication_;
private com.google.protobuf.SingleFieldBuilderV3<
org.openlca.proto.ProtoRef, org.openlca.proto.ProtoRef.Builder, org.openlca.proto.ProtoRefOrBuilder> publicationBuilder_;
/**
* .protolca.ProtoRef publication = 23;
* @return Whether the publication field is set.
*/
public boolean hasPublication() {
return publicationBuilder_ != null || publication_ != null;
}
/**
* .protolca.ProtoRef publication = 23;
* @return The publication.
*/
public org.openlca.proto.ProtoRef getPublication() {
if (publicationBuilder_ == null) {
return publication_ == null ? org.openlca.proto.ProtoRef.getDefaultInstance() : publication_;
} else {
return publicationBuilder_.getMessage();
}
}
/**
* .protolca.ProtoRef publication = 23;
*/
public Builder setPublication(org.openlca.proto.ProtoRef value) {
if (publicationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
publication_ = value;
onChanged();
} else {
publicationBuilder_.setMessage(value);
}
return this;
}
/**
* .protolca.ProtoRef publication = 23;
*/
public Builder setPublication(
org.openlca.proto.ProtoRef.Builder builderForValue) {
if (publicationBuilder_ == null) {
publication_ = builderForValue.build();
onChanged();
} else {
publicationBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .protolca.ProtoRef publication = 23;
*/
public Builder mergePublication(org.openlca.proto.ProtoRef value) {
if (publicationBuilder_ == null) {
if (publication_ != null) {
publication_ =
org.openlca.proto.ProtoRef.newBuilder(publication_).mergeFrom(value).buildPartial();
} else {
publication_ = value;
}
onChanged();
} else {
publicationBuilder_.mergeFrom(value);
}
return this;
}
/**
* .protolca.ProtoRef publication = 23;
*/
public Builder clearPublication() {
if (publicationBuilder_ == null) {
publication_ = null;
onChanged();
} else {
publication_ = null;
publicationBuilder_ = null;
}
return this;
}
/**
* .protolca.ProtoRef publication = 23;
*/
public org.openlca.proto.ProtoRef.Builder getPublicationBuilder() {
onChanged();
return getPublicationFieldBuilder().getBuilder();
}
/**
* .protolca.ProtoRef publication = 23;
*/
public org.openlca.proto.ProtoRefOrBuilder getPublicationOrBuilder() {
if (publicationBuilder_ != null) {
return publicationBuilder_.getMessageOrBuilder();
} else {
return publication_ == null ?
org.openlca.proto.ProtoRef.getDefaultInstance() : publication_;
}
}
/**
* .protolca.ProtoRef publication = 23;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.openlca.proto.ProtoRef, org.openlca.proto.ProtoRef.Builder, org.openlca.proto.ProtoRefOrBuilder>
getPublicationFieldBuilder() {
if (publicationBuilder_ == null) {
publicationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.openlca.proto.ProtoRef, org.openlca.proto.ProtoRef.Builder, org.openlca.proto.ProtoRefOrBuilder>(
getPublication(),
getParentForChildren(),
isClean());
publication_ = null;
}
return publicationBuilder_;
}
private java.lang.Object geographyDescription_ = "";
/**
* string geography_description = 24;
* @return The geographyDescription.
*/
public java.lang.String getGeographyDescription() {
java.lang.Object ref = geographyDescription_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
geographyDescription_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string geography_description = 24;
* @return The bytes for geographyDescription.
*/
public com.google.protobuf.ByteString
getGeographyDescriptionBytes() {
java.lang.Object ref = geographyDescription_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
geographyDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string geography_description = 24;
* @param value The geographyDescription to set.
* @return This builder for chaining.
*/
public Builder setGeographyDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
geographyDescription_ = value;
onChanged();
return this;
}
/**
* string geography_description = 24;
* @return This builder for chaining.
*/
public Builder clearGeographyDescription() {
geographyDescription_ = getDefaultInstance().getGeographyDescription();
onChanged();
return this;
}
/**
* string geography_description = 24;
* @param value The bytes for geographyDescription to set.
* @return This builder for chaining.
*/
public Builder setGeographyDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
geographyDescription_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:protolca.ProtoProcessDocumentation)
}
// @@protoc_insertion_point(class_scope:protolca.ProtoProcessDocumentation)
private static final org.openlca.proto.ProtoProcessDocumentation DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.openlca.proto.ProtoProcessDocumentation();
}
public static org.openlca.proto.ProtoProcessDocumentation getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ProtoProcessDocumentation parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ProtoProcessDocumentation(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.openlca.proto.ProtoProcessDocumentation getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy