org.openlca.proto.ProtoAllocationFactorOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: olca.proto
package org.openlca.proto;
public interface ProtoAllocationFactorOrBuilder extends
// @@protoc_insertion_point(interface_extends:protolca.ProtoAllocationFactor)
com.google.protobuf.MessageOrBuilder {
/**
*
* The type of allocation.
*
*
* .protolca.ProtoAllocationType allocation_type = 1;
* @return The enum numeric value on the wire for allocationType.
*/
int getAllocationTypeValue();
/**
*
* The type of allocation.
*
*
* .protolca.ProtoAllocationType allocation_type = 1;
* @return The allocationType.
*/
org.openlca.proto.ProtoAllocationType getAllocationType();
/**
*
* The output product (or waste input) to which this allocation factor is
* related. The must be an exchange with this product output (or waste input)
* in this process.
*
*
* .protolca.ProtoRef product = 2;
* @return Whether the product field is set.
*/
boolean hasProduct();
/**
*
* The output product (or waste input) to which this allocation factor is
* related. The must be an exchange with this product output (or waste input)
* in this process.
*
*
* .protolca.ProtoRef product = 2;
* @return The product.
*/
org.openlca.proto.ProtoRef getProduct();
/**
*
* The output product (or waste input) to which this allocation factor is
* related. The must be an exchange with this product output (or waste input)
* in this process.
*
*
* .protolca.ProtoRef product = 2;
*/
org.openlca.proto.ProtoRefOrBuilder getProductOrBuilder();
/**
*
* The value of the allocation factor.
*
*
* double value = 3;
* @return The value.
*/
double getValue();
/**
*
* An optional formula from which the value of the allocation factor is
* calculated.
*
*
* string formula = 4;
* @return The formula.
*/
java.lang.String getFormula();
/**
*
* An optional formula from which the value of the allocation factor is
* calculated.
*
*
* string formula = 4;
* @return The bytes for formula.
*/
com.google.protobuf.ByteString
getFormulaBytes();
/**
*
* A product input, waste output, or elementary flow exchange which is
* allocated by this factor. This is only valid for causal allocation where
* allocation factors can be assigned to single exchanges.
*
*
* .protolca.ProtoExchangeRef exchange = 5;
* @return Whether the exchange field is set.
*/
boolean hasExchange();
/**
*
* A product input, waste output, or elementary flow exchange which is
* allocated by this factor. This is only valid for causal allocation where
* allocation factors can be assigned to single exchanges.
*
*
* .protolca.ProtoExchangeRef exchange = 5;
* @return The exchange.
*/
org.openlca.proto.ProtoExchangeRef getExchange();
/**
*
* A product input, waste output, or elementary flow exchange which is
* allocated by this factor. This is only valid for causal allocation where
* allocation factors can be assigned to single exchanges.
*
*
* .protolca.ProtoExchangeRef exchange = 5;
*/
org.openlca.proto.ProtoExchangeRefOrBuilder getExchangeOrBuilder();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy