org.openlca.proto.ProtoUnitOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: olca.proto
package org.openlca.proto;
public interface ProtoUnitOrBuilder extends
// @@protoc_insertion_point(interface_extends:protolca.ProtoUnit)
com.google.protobuf.MessageOrBuilder {
/**
*
* The reference ID (typically an UUID) of the entity.
*
*
* string id = 1 [json_name = "@id"];
* @return The id.
*/
java.lang.String getId();
/**
*
* The reference ID (typically an UUID) of the entity.
*
*
* string id = 1 [json_name = "@id"];
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
*
* The name of the entity.
*
*
* string name = 2;
* @return The name.
*/
java.lang.String getName();
/**
*
* The name of the entity.
*
*
* string name = 2;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* The description of the entity.
*
*
* string description = 3;
* @return The description.
*/
java.lang.String getDescription();
/**
*
* The description of the entity.
*
*
* string description = 3;
* @return The bytes for description.
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
*
* A version number in MAJOR.MINOR.PATCH format where the MINOR and PATCH
* fields are optional and the fields may have leading zeros (so 01.00.00 is
* the same as 1.0.0 or 1).
*
*
* string version = 4;
* @return The version.
*/
java.lang.String getVersion();
/**
*
* A version number in MAJOR.MINOR.PATCH format where the MINOR and PATCH
* fields are optional and the fields may have leading zeros (so 01.00.00 is
* the same as 1.0.0 or 1).
*
*
* string version = 4;
* @return The bytes for version.
*/
com.google.protobuf.ByteString
getVersionBytes();
/**
*
* The timestamp when the entity was changed the last time.
*
*
* string last_change = 5;
* @return The lastChange.
*/
java.lang.String getLastChange();
/**
*
* The timestamp when the entity was changed the last time.
*
*
* string last_change = 5;
* @return The bytes for lastChange.
*/
com.google.protobuf.ByteString
getLastChangeBytes();
/**
*
* The conversion factor to the reference unit of the unit group to which
* this unit belongs.
*
*
* double conversion_factor = 6;
* @return The conversionFactor.
*/
double getConversionFactor();
/**
*
* Indicates whether the unit is the reference unit of the unit group to
* which this unit belongs. If it is the reference unit the conversion factor
* must be 1.0. There should be always only one reference unit in a unit
* group. The reference unit is used to convert amounts given in one unit to
* amounts given in another unit of the respective unit group.
*
*
* bool reference_unit = 7;
* @return The referenceUnit.
*/
boolean getReferenceUnit();
/**
*
* A list of synonyms for the unit.
*
*
* repeated string synonyms = 8;
* @return A list containing the synonyms.
*/
java.util.List
getSynonymsList();
/**
*
* A list of synonyms for the unit.
*
*
* repeated string synonyms = 8;
* @return The count of synonyms.
*/
int getSynonymsCount();
/**
*
* A list of synonyms for the unit.
*
*
* repeated string synonyms = 8;
* @param index The index of the element to return.
* @return The synonyms at the given index.
*/
java.lang.String getSynonyms(int index);
/**
*
* A list of synonyms for the unit.
*
*
* repeated string synonyms = 8;
* @param index The index of the value to return.
* @return The bytes of the synonyms at the given index.
*/
com.google.protobuf.ByteString
getSynonymsBytes(int index);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy