All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openlca.proto.ProtoFlowResult Maven / Gradle / Ivy

There is a newer version: 2.0.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: olca.proto

package org.openlca.proto;

/**
 * 
 * A result value for a flow; given in the reference unit of the flow.
 * 
* * Protobuf type {@code protolca.ProtoFlowResult} */ public final class ProtoFlowResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:protolca.ProtoFlowResult) ProtoFlowResultOrBuilder { private static final long serialVersionUID = 0L; // Use ProtoFlowResult.newBuilder() to construct. private ProtoFlowResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ProtoFlowResult() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ProtoFlowResult(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ProtoFlowResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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: { org.openlca.proto.ProtoRef.Builder subBuilder = null; if (flow_ != null) { subBuilder = flow_.toBuilder(); } flow_ = input.readMessage(org.openlca.proto.ProtoRef.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(flow_); flow_ = subBuilder.buildPartial(); } break; } case 16: { input_ = input.readBool(); break; } case 25: { value_ = input.readDouble(); break; } case 34: { org.openlca.proto.ProtoRef.Builder subBuilder = null; if (location_ != null) { subBuilder = location_.toBuilder(); } location_ = input.readMessage(org.openlca.proto.ProtoRef.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(location_); location_ = subBuilder.buildPartial(); } 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.openlca.proto.Proto.internal_static_protolca_ProtoFlowResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.openlca.proto.Proto.internal_static_protolca_ProtoFlowResult_fieldAccessorTable .ensureFieldAccessorsInitialized( org.openlca.proto.ProtoFlowResult.class, org.openlca.proto.ProtoFlowResult.Builder.class); } public static final int FLOW_FIELD_NUMBER = 1; private org.openlca.proto.ProtoRef flow_; /** *
   * The flow reference.
   * 
* * .protolca.ProtoRef flow = 1; * @return Whether the flow field is set. */ @java.lang.Override public boolean hasFlow() { return flow_ != null; } /** *
   * The flow reference.
   * 
* * .protolca.ProtoRef flow = 1; * @return The flow. */ @java.lang.Override public org.openlca.proto.ProtoRef getFlow() { return flow_ == null ? org.openlca.proto.ProtoRef.getDefaultInstance() : flow_; } /** *
   * The flow reference.
   * 
* * .protolca.ProtoRef flow = 1; */ @java.lang.Override public org.openlca.proto.ProtoRefOrBuilder getFlowOrBuilder() { return getFlow(); } public static final int INPUT_FIELD_NUMBER = 2; private boolean input_; /** *
   * Indicates whether the flow is an input or not.
   * 
* * bool input = 2; * @return The input. */ @java.lang.Override public boolean getInput() { return input_; } public static final int VALUE_FIELD_NUMBER = 3; private double value_; /** *
   * The value of the flow amount.
   * 
* * double value = 3; * @return The value. */ @java.lang.Override public double getValue() { return value_; } public static final int LOCATION_FIELD_NUMBER = 4; private org.openlca.proto.ProtoRef location_; /** *
   * The (reference to the) location of this flow result in case of a
   * regionalized result.
   * 
* * .protolca.ProtoRef location = 4; * @return Whether the location field is set. */ @java.lang.Override public boolean hasLocation() { return location_ != null; } /** *
   * The (reference to the) location of this flow result in case of a
   * regionalized result.
   * 
* * .protolca.ProtoRef location = 4; * @return The location. */ @java.lang.Override public org.openlca.proto.ProtoRef getLocation() { return location_ == null ? org.openlca.proto.ProtoRef.getDefaultInstance() : location_; } /** *
   * The (reference to the) location of this flow result in case of a
   * regionalized result.
   * 
* * .protolca.ProtoRef location = 4; */ @java.lang.Override public org.openlca.proto.ProtoRefOrBuilder getLocationOrBuilder() { return getLocation(); } 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 (flow_ != null) { output.writeMessage(1, getFlow()); } if (input_ != false) { output.writeBool(2, input_); } if (value_ != 0D) { output.writeDouble(3, value_); } if (location_ != null) { output.writeMessage(4, getLocation()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (flow_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getFlow()); } if (input_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, input_); } if (value_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, value_); } if (location_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getLocation()); } 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.ProtoFlowResult)) { return super.equals(obj); } org.openlca.proto.ProtoFlowResult other = (org.openlca.proto.ProtoFlowResult) obj; if (hasFlow() != other.hasFlow()) return false; if (hasFlow()) { if (!getFlow() .equals(other.getFlow())) return false; } if (getInput() != other.getInput()) return false; if (java.lang.Double.doubleToLongBits(getValue()) != java.lang.Double.doubleToLongBits( other.getValue())) return false; if (hasLocation() != other.hasLocation()) return false; if (hasLocation()) { if (!getLocation() .equals(other.getLocation())) 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(); if (hasFlow()) { hash = (37 * hash) + FLOW_FIELD_NUMBER; hash = (53 * hash) + getFlow().hashCode(); } hash = (37 * hash) + INPUT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getInput()); hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getValue())); if (hasLocation()) { hash = (37 * hash) + LOCATION_FIELD_NUMBER; hash = (53 * hash) + getLocation().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.openlca.proto.ProtoFlowResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.openlca.proto.ProtoFlowResult 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.ProtoFlowResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.openlca.proto.ProtoFlowResult 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.ProtoFlowResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.openlca.proto.ProtoFlowResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.openlca.proto.ProtoFlowResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.openlca.proto.ProtoFlowResult 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.ProtoFlowResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.openlca.proto.ProtoFlowResult 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.ProtoFlowResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.openlca.proto.ProtoFlowResult 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.ProtoFlowResult 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; } /** *
   * A result value for a flow; given in the reference unit of the flow.
   * 
* * Protobuf type {@code protolca.ProtoFlowResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:protolca.ProtoFlowResult) org.openlca.proto.ProtoFlowResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.openlca.proto.Proto.internal_static_protolca_ProtoFlowResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.openlca.proto.Proto.internal_static_protolca_ProtoFlowResult_fieldAccessorTable .ensureFieldAccessorsInitialized( org.openlca.proto.ProtoFlowResult.class, org.openlca.proto.ProtoFlowResult.Builder.class); } // Construct using org.openlca.proto.ProtoFlowResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (flowBuilder_ == null) { flow_ = null; } else { flow_ = null; flowBuilder_ = null; } input_ = false; value_ = 0D; if (locationBuilder_ == null) { location_ = null; } else { location_ = null; locationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.openlca.proto.Proto.internal_static_protolca_ProtoFlowResult_descriptor; } @java.lang.Override public org.openlca.proto.ProtoFlowResult getDefaultInstanceForType() { return org.openlca.proto.ProtoFlowResult.getDefaultInstance(); } @java.lang.Override public org.openlca.proto.ProtoFlowResult build() { org.openlca.proto.ProtoFlowResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.openlca.proto.ProtoFlowResult buildPartial() { org.openlca.proto.ProtoFlowResult result = new org.openlca.proto.ProtoFlowResult(this); if (flowBuilder_ == null) { result.flow_ = flow_; } else { result.flow_ = flowBuilder_.build(); } result.input_ = input_; result.value_ = value_; if (locationBuilder_ == null) { result.location_ = location_; } else { result.location_ = locationBuilder_.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.ProtoFlowResult) { return mergeFrom((org.openlca.proto.ProtoFlowResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.openlca.proto.ProtoFlowResult other) { if (other == org.openlca.proto.ProtoFlowResult.getDefaultInstance()) return this; if (other.hasFlow()) { mergeFlow(other.getFlow()); } if (other.getInput() != false) { setInput(other.getInput()); } if (other.getValue() != 0D) { setValue(other.getValue()); } if (other.hasLocation()) { mergeLocation(other.getLocation()); } 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.ProtoFlowResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.openlca.proto.ProtoFlowResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private org.openlca.proto.ProtoRef flow_; private com.google.protobuf.SingleFieldBuilderV3< org.openlca.proto.ProtoRef, org.openlca.proto.ProtoRef.Builder, org.openlca.proto.ProtoRefOrBuilder> flowBuilder_; /** *
     * The flow reference.
     * 
* * .protolca.ProtoRef flow = 1; * @return Whether the flow field is set. */ public boolean hasFlow() { return flowBuilder_ != null || flow_ != null; } /** *
     * The flow reference.
     * 
* * .protolca.ProtoRef flow = 1; * @return The flow. */ public org.openlca.proto.ProtoRef getFlow() { if (flowBuilder_ == null) { return flow_ == null ? org.openlca.proto.ProtoRef.getDefaultInstance() : flow_; } else { return flowBuilder_.getMessage(); } } /** *
     * The flow reference.
     * 
* * .protolca.ProtoRef flow = 1; */ public Builder setFlow(org.openlca.proto.ProtoRef value) { if (flowBuilder_ == null) { if (value == null) { throw new NullPointerException(); } flow_ = value; onChanged(); } else { flowBuilder_.setMessage(value); } return this; } /** *
     * The flow reference.
     * 
* * .protolca.ProtoRef flow = 1; */ public Builder setFlow( org.openlca.proto.ProtoRef.Builder builderForValue) { if (flowBuilder_ == null) { flow_ = builderForValue.build(); onChanged(); } else { flowBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * The flow reference.
     * 
* * .protolca.ProtoRef flow = 1; */ public Builder mergeFlow(org.openlca.proto.ProtoRef value) { if (flowBuilder_ == null) { if (flow_ != null) { flow_ = org.openlca.proto.ProtoRef.newBuilder(flow_).mergeFrom(value).buildPartial(); } else { flow_ = value; } onChanged(); } else { flowBuilder_.mergeFrom(value); } return this; } /** *
     * The flow reference.
     * 
* * .protolca.ProtoRef flow = 1; */ public Builder clearFlow() { if (flowBuilder_ == null) { flow_ = null; onChanged(); } else { flow_ = null; flowBuilder_ = null; } return this; } /** *
     * The flow reference.
     * 
* * .protolca.ProtoRef flow = 1; */ public org.openlca.proto.ProtoRef.Builder getFlowBuilder() { onChanged(); return getFlowFieldBuilder().getBuilder(); } /** *
     * The flow reference.
     * 
* * .protolca.ProtoRef flow = 1; */ public org.openlca.proto.ProtoRefOrBuilder getFlowOrBuilder() { if (flowBuilder_ != null) { return flowBuilder_.getMessageOrBuilder(); } else { return flow_ == null ? org.openlca.proto.ProtoRef.getDefaultInstance() : flow_; } } /** *
     * The flow reference.
     * 
* * .protolca.ProtoRef flow = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.openlca.proto.ProtoRef, org.openlca.proto.ProtoRef.Builder, org.openlca.proto.ProtoRefOrBuilder> getFlowFieldBuilder() { if (flowBuilder_ == null) { flowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.openlca.proto.ProtoRef, org.openlca.proto.ProtoRef.Builder, org.openlca.proto.ProtoRefOrBuilder>( getFlow(), getParentForChildren(), isClean()); flow_ = null; } return flowBuilder_; } private boolean input_ ; /** *
     * Indicates whether the flow is an input or not.
     * 
* * bool input = 2; * @return The input. */ @java.lang.Override public boolean getInput() { return input_; } /** *
     * Indicates whether the flow is an input or not.
     * 
* * bool input = 2; * @param value The input to set. * @return This builder for chaining. */ public Builder setInput(boolean value) { input_ = value; onChanged(); return this; } /** *
     * Indicates whether the flow is an input or not.
     * 
* * bool input = 2; * @return This builder for chaining. */ public Builder clearInput() { input_ = false; onChanged(); return this; } private double value_ ; /** *
     * The value of the flow amount.
     * 
* * double value = 3; * @return The value. */ @java.lang.Override public double getValue() { return value_; } /** *
     * The value of the flow amount.
     * 
* * double value = 3; * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(double value) { value_ = value; onChanged(); return this; } /** *
     * The value of the flow amount.
     * 
* * double value = 3; * @return This builder for chaining. */ public Builder clearValue() { value_ = 0D; onChanged(); return this; } private org.openlca.proto.ProtoRef location_; private com.google.protobuf.SingleFieldBuilderV3< org.openlca.proto.ProtoRef, org.openlca.proto.ProtoRef.Builder, org.openlca.proto.ProtoRefOrBuilder> locationBuilder_; /** *
     * The (reference to the) location of this flow result in case of a
     * regionalized result.
     * 
* * .protolca.ProtoRef location = 4; * @return Whether the location field is set. */ public boolean hasLocation() { return locationBuilder_ != null || location_ != null; } /** *
     * The (reference to the) location of this flow result in case of a
     * regionalized result.
     * 
* * .protolca.ProtoRef location = 4; * @return The location. */ public org.openlca.proto.ProtoRef getLocation() { if (locationBuilder_ == null) { return location_ == null ? org.openlca.proto.ProtoRef.getDefaultInstance() : location_; } else { return locationBuilder_.getMessage(); } } /** *
     * The (reference to the) location of this flow result in case of a
     * regionalized result.
     * 
* * .protolca.ProtoRef location = 4; */ public Builder setLocation(org.openlca.proto.ProtoRef value) { if (locationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } location_ = value; onChanged(); } else { locationBuilder_.setMessage(value); } return this; } /** *
     * The (reference to the) location of this flow result in case of a
     * regionalized result.
     * 
* * .protolca.ProtoRef location = 4; */ public Builder setLocation( org.openlca.proto.ProtoRef.Builder builderForValue) { if (locationBuilder_ == null) { location_ = builderForValue.build(); onChanged(); } else { locationBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * The (reference to the) location of this flow result in case of a
     * regionalized result.
     * 
* * .protolca.ProtoRef location = 4; */ public Builder mergeLocation(org.openlca.proto.ProtoRef value) { if (locationBuilder_ == null) { if (location_ != null) { location_ = org.openlca.proto.ProtoRef.newBuilder(location_).mergeFrom(value).buildPartial(); } else { location_ = value; } onChanged(); } else { locationBuilder_.mergeFrom(value); } return this; } /** *
     * The (reference to the) location of this flow result in case of a
     * regionalized result.
     * 
* * .protolca.ProtoRef location = 4; */ public Builder clearLocation() { if (locationBuilder_ == null) { location_ = null; onChanged(); } else { location_ = null; locationBuilder_ = null; } return this; } /** *
     * The (reference to the) location of this flow result in case of a
     * regionalized result.
     * 
* * .protolca.ProtoRef location = 4; */ public org.openlca.proto.ProtoRef.Builder getLocationBuilder() { onChanged(); return getLocationFieldBuilder().getBuilder(); } /** *
     * The (reference to the) location of this flow result in case of a
     * regionalized result.
     * 
* * .protolca.ProtoRef location = 4; */ public org.openlca.proto.ProtoRefOrBuilder getLocationOrBuilder() { if (locationBuilder_ != null) { return locationBuilder_.getMessageOrBuilder(); } else { return location_ == null ? org.openlca.proto.ProtoRef.getDefaultInstance() : location_; } } /** *
     * The (reference to the) location of this flow result in case of a
     * regionalized result.
     * 
* * .protolca.ProtoRef location = 4; */ private com.google.protobuf.SingleFieldBuilderV3< org.openlca.proto.ProtoRef, org.openlca.proto.ProtoRef.Builder, org.openlca.proto.ProtoRefOrBuilder> getLocationFieldBuilder() { if (locationBuilder_ == null) { locationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.openlca.proto.ProtoRef, org.openlca.proto.ProtoRef.Builder, org.openlca.proto.ProtoRefOrBuilder>( getLocation(), getParentForChildren(), isClean()); location_ = null; } return locationBuilder_; } @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.ProtoFlowResult) } // @@protoc_insertion_point(class_scope:protolca.ProtoFlowResult) private static final org.openlca.proto.ProtoFlowResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.openlca.proto.ProtoFlowResult(); } public static org.openlca.proto.ProtoFlowResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProtoFlowResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ProtoFlowResult(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.ProtoFlowResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy