org.openlca.proto.ProtoDQIndicator Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: olca.proto
package org.openlca.proto;
/**
*
* An indicator of a data quality system ([DQSystem]).
*
*
* Protobuf type {@code protolca.ProtoDQIndicator}
*/
public final class ProtoDQIndicator extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:protolca.ProtoDQIndicator)
ProtoDQIndicatorOrBuilder {
private static final long serialVersionUID = 0L;
// Use ProtoDQIndicator.newBuilder() to construct.
private ProtoDQIndicator(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ProtoDQIndicator() {
name_ = "";
scores_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ProtoDQIndicator();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ProtoDQIndicator(
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();
name_ = s;
break;
}
case 16: {
position_ = input.readInt32();
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
scores_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
scores_.add(
input.readMessage(org.openlca.proto.ProtoDQScore.parser(), extensionRegistry));
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)) {
scores_ = java.util.Collections.unmodifiableList(scores_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.openlca.proto.Proto.internal_static_protolca_ProtoDQIndicator_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.openlca.proto.Proto.internal_static_protolca_ProtoDQIndicator_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.openlca.proto.ProtoDQIndicator.class, org.openlca.proto.ProtoDQIndicator.Builder.class);
}
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
* string name = 1;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
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();
name_ = s;
return s;
}
}
/**
* string name = 1;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int POSITION_FIELD_NUMBER = 2;
private int position_;
/**
* int32 position = 2;
* @return The position.
*/
@java.lang.Override
public int getPosition() {
return position_;
}
public static final int SCORES_FIELD_NUMBER = 3;
private java.util.List scores_;
/**
* repeated .protolca.ProtoDQScore scores = 3;
*/
@java.lang.Override
public java.util.List getScoresList() {
return scores_;
}
/**
* repeated .protolca.ProtoDQScore scores = 3;
*/
@java.lang.Override
public java.util.List extends org.openlca.proto.ProtoDQScoreOrBuilder>
getScoresOrBuilderList() {
return scores_;
}
/**
* repeated .protolca.ProtoDQScore scores = 3;
*/
@java.lang.Override
public int getScoresCount() {
return scores_.size();
}
/**
* repeated .protolca.ProtoDQScore scores = 3;
*/
@java.lang.Override
public org.openlca.proto.ProtoDQScore getScores(int index) {
return scores_.get(index);
}
/**
* repeated .protolca.ProtoDQScore scores = 3;
*/
@java.lang.Override
public org.openlca.proto.ProtoDQScoreOrBuilder getScoresOrBuilder(
int index) {
return scores_.get(index);
}
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(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (position_ != 0) {
output.writeInt32(2, position_);
}
for (int i = 0; i < scores_.size(); i++) {
output.writeMessage(3, scores_.get(i));
}
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(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (position_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, position_);
}
for (int i = 0; i < scores_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, scores_.get(i));
}
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.ProtoDQIndicator)) {
return super.equals(obj);
}
org.openlca.proto.ProtoDQIndicator other = (org.openlca.proto.ProtoDQIndicator) obj;
if (!getName()
.equals(other.getName())) return false;
if (getPosition()
!= other.getPosition()) return false;
if (!getScoresList()
.equals(other.getScoresList())) 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) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + POSITION_FIELD_NUMBER;
hash = (53 * hash) + getPosition();
if (getScoresCount() > 0) {
hash = (37 * hash) + SCORES_FIELD_NUMBER;
hash = (53 * hash) + getScoresList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.openlca.proto.ProtoDQIndicator parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.openlca.proto.ProtoDQIndicator 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.ProtoDQIndicator parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.openlca.proto.ProtoDQIndicator 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.ProtoDQIndicator parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.openlca.proto.ProtoDQIndicator parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.openlca.proto.ProtoDQIndicator parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.openlca.proto.ProtoDQIndicator 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.ProtoDQIndicator parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.openlca.proto.ProtoDQIndicator 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.ProtoDQIndicator parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.openlca.proto.ProtoDQIndicator 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.ProtoDQIndicator 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;
}
/**
*
* An indicator of a data quality system ([DQSystem]).
*
*
* Protobuf type {@code protolca.ProtoDQIndicator}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:protolca.ProtoDQIndicator)
org.openlca.proto.ProtoDQIndicatorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.openlca.proto.Proto.internal_static_protolca_ProtoDQIndicator_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.openlca.proto.Proto.internal_static_protolca_ProtoDQIndicator_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.openlca.proto.ProtoDQIndicator.class, org.openlca.proto.ProtoDQIndicator.Builder.class);
}
// Construct using org.openlca.proto.ProtoDQIndicator.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getScoresFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
name_ = "";
position_ = 0;
if (scoresBuilder_ == null) {
scores_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
scoresBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.openlca.proto.Proto.internal_static_protolca_ProtoDQIndicator_descriptor;
}
@java.lang.Override
public org.openlca.proto.ProtoDQIndicator getDefaultInstanceForType() {
return org.openlca.proto.ProtoDQIndicator.getDefaultInstance();
}
@java.lang.Override
public org.openlca.proto.ProtoDQIndicator build() {
org.openlca.proto.ProtoDQIndicator result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.openlca.proto.ProtoDQIndicator buildPartial() {
org.openlca.proto.ProtoDQIndicator result = new org.openlca.proto.ProtoDQIndicator(this);
int from_bitField0_ = bitField0_;
result.name_ = name_;
result.position_ = position_;
if (scoresBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
scores_ = java.util.Collections.unmodifiableList(scores_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.scores_ = scores_;
} else {
result.scores_ = scoresBuilder_.build();
}
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.ProtoDQIndicator) {
return mergeFrom((org.openlca.proto.ProtoDQIndicator)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.openlca.proto.ProtoDQIndicator other) {
if (other == org.openlca.proto.ProtoDQIndicator.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (other.getPosition() != 0) {
setPosition(other.getPosition());
}
if (scoresBuilder_ == null) {
if (!other.scores_.isEmpty()) {
if (scores_.isEmpty()) {
scores_ = other.scores_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureScoresIsMutable();
scores_.addAll(other.scores_);
}
onChanged();
}
} else {
if (!other.scores_.isEmpty()) {
if (scoresBuilder_.isEmpty()) {
scoresBuilder_.dispose();
scoresBuilder_ = null;
scores_ = other.scores_;
bitField0_ = (bitField0_ & ~0x00000001);
scoresBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getScoresFieldBuilder() : null;
} else {
scoresBuilder_.addAllMessages(other.scores_);
}
}
}
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.ProtoDQIndicator parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.openlca.proto.ProtoDQIndicator) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* string name = 1;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string name = 1;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string name = 1;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
* string name = 1;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* string name = 1;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private int position_ ;
/**
* int32 position = 2;
* @return The position.
*/
@java.lang.Override
public int getPosition() {
return position_;
}
/**
* int32 position = 2;
* @param value The position to set.
* @return This builder for chaining.
*/
public Builder setPosition(int value) {
position_ = value;
onChanged();
return this;
}
/**
* int32 position = 2;
* @return This builder for chaining.
*/
public Builder clearPosition() {
position_ = 0;
onChanged();
return this;
}
private java.util.List scores_ =
java.util.Collections.emptyList();
private void ensureScoresIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
scores_ = new java.util.ArrayList(scores_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.openlca.proto.ProtoDQScore, org.openlca.proto.ProtoDQScore.Builder, org.openlca.proto.ProtoDQScoreOrBuilder> scoresBuilder_;
/**
* repeated .protolca.ProtoDQScore scores = 3;
*/
public java.util.List getScoresList() {
if (scoresBuilder_ == null) {
return java.util.Collections.unmodifiableList(scores_);
} else {
return scoresBuilder_.getMessageList();
}
}
/**
* repeated .protolca.ProtoDQScore scores = 3;
*/
public int getScoresCount() {
if (scoresBuilder_ == null) {
return scores_.size();
} else {
return scoresBuilder_.getCount();
}
}
/**
* repeated .protolca.ProtoDQScore scores = 3;
*/
public org.openlca.proto.ProtoDQScore getScores(int index) {
if (scoresBuilder_ == null) {
return scores_.get(index);
} else {
return scoresBuilder_.getMessage(index);
}
}
/**
* repeated .protolca.ProtoDQScore scores = 3;
*/
public Builder setScores(
int index, org.openlca.proto.ProtoDQScore value) {
if (scoresBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureScoresIsMutable();
scores_.set(index, value);
onChanged();
} else {
scoresBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .protolca.ProtoDQScore scores = 3;
*/
public Builder setScores(
int index, org.openlca.proto.ProtoDQScore.Builder builderForValue) {
if (scoresBuilder_ == null) {
ensureScoresIsMutable();
scores_.set(index, builderForValue.build());
onChanged();
} else {
scoresBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .protolca.ProtoDQScore scores = 3;
*/
public Builder addScores(org.openlca.proto.ProtoDQScore value) {
if (scoresBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureScoresIsMutable();
scores_.add(value);
onChanged();
} else {
scoresBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .protolca.ProtoDQScore scores = 3;
*/
public Builder addScores(
int index, org.openlca.proto.ProtoDQScore value) {
if (scoresBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureScoresIsMutable();
scores_.add(index, value);
onChanged();
} else {
scoresBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .protolca.ProtoDQScore scores = 3;
*/
public Builder addScores(
org.openlca.proto.ProtoDQScore.Builder builderForValue) {
if (scoresBuilder_ == null) {
ensureScoresIsMutable();
scores_.add(builderForValue.build());
onChanged();
} else {
scoresBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .protolca.ProtoDQScore scores = 3;
*/
public Builder addScores(
int index, org.openlca.proto.ProtoDQScore.Builder builderForValue) {
if (scoresBuilder_ == null) {
ensureScoresIsMutable();
scores_.add(index, builderForValue.build());
onChanged();
} else {
scoresBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .protolca.ProtoDQScore scores = 3;
*/
public Builder addAllScores(
java.lang.Iterable extends org.openlca.proto.ProtoDQScore> values) {
if (scoresBuilder_ == null) {
ensureScoresIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, scores_);
onChanged();
} else {
scoresBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .protolca.ProtoDQScore scores = 3;
*/
public Builder clearScores() {
if (scoresBuilder_ == null) {
scores_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
scoresBuilder_.clear();
}
return this;
}
/**
* repeated .protolca.ProtoDQScore scores = 3;
*/
public Builder removeScores(int index) {
if (scoresBuilder_ == null) {
ensureScoresIsMutable();
scores_.remove(index);
onChanged();
} else {
scoresBuilder_.remove(index);
}
return this;
}
/**
* repeated .protolca.ProtoDQScore scores = 3;
*/
public org.openlca.proto.ProtoDQScore.Builder getScoresBuilder(
int index) {
return getScoresFieldBuilder().getBuilder(index);
}
/**
* repeated .protolca.ProtoDQScore scores = 3;
*/
public org.openlca.proto.ProtoDQScoreOrBuilder getScoresOrBuilder(
int index) {
if (scoresBuilder_ == null) {
return scores_.get(index); } else {
return scoresBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .protolca.ProtoDQScore scores = 3;
*/
public java.util.List extends org.openlca.proto.ProtoDQScoreOrBuilder>
getScoresOrBuilderList() {
if (scoresBuilder_ != null) {
return scoresBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(scores_);
}
}
/**
* repeated .protolca.ProtoDQScore scores = 3;
*/
public org.openlca.proto.ProtoDQScore.Builder addScoresBuilder() {
return getScoresFieldBuilder().addBuilder(
org.openlca.proto.ProtoDQScore.getDefaultInstance());
}
/**
* repeated .protolca.ProtoDQScore scores = 3;
*/
public org.openlca.proto.ProtoDQScore.Builder addScoresBuilder(
int index) {
return getScoresFieldBuilder().addBuilder(
index, org.openlca.proto.ProtoDQScore.getDefaultInstance());
}
/**
* repeated .protolca.ProtoDQScore scores = 3;
*/
public java.util.List
getScoresBuilderList() {
return getScoresFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.openlca.proto.ProtoDQScore, org.openlca.proto.ProtoDQScore.Builder, org.openlca.proto.ProtoDQScoreOrBuilder>
getScoresFieldBuilder() {
if (scoresBuilder_ == null) {
scoresBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.openlca.proto.ProtoDQScore, org.openlca.proto.ProtoDQScore.Builder, org.openlca.proto.ProtoDQScoreOrBuilder>(
scores_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
scores_ = null;
}
return scoresBuilder_;
}
@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.ProtoDQIndicator)
}
// @@protoc_insertion_point(class_scope:protolca.ProtoDQIndicator)
private static final org.openlca.proto.ProtoDQIndicator DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.openlca.proto.ProtoDQIndicator();
}
public static org.openlca.proto.ProtoDQIndicator getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ProtoDQIndicator parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ProtoDQIndicator(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.ProtoDQIndicator getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy