Interface SustainabilityProjectionOrBuilder (2.55.0)

public interface SustainabilityProjectionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDuration()

public abstract Duration getDuration()

Duration for which this sustainability applies.

.google.protobuf.Duration duration = 2;

Returns
Type Description
Duration

The duration.

getDurationOrBuilder()

public abstract DurationOrBuilder getDurationOrBuilder()

Duration for which this sustainability applies.

.google.protobuf.Duration duration = 2;

Returns
Type Description
DurationOrBuilder

getKgCO2E()

public abstract double getKgCO2E()

Carbon Footprint generated in kg of CO2 equivalent. Chose kg_c_o2e so that the name renders correctly in camelCase (kgCO2e).

double kg_c_o2e = 1;

Returns
Type Description
double

The kgCO2e.

hasDuration()

public abstract boolean hasDuration()

Duration for which this sustainability applies.

.google.protobuf.Duration duration = 2;

Returns
Type Description
boolean

Whether the duration field is set.