Interface ReservationDataOrBuilder (0.1.0)

public interface ReservationDataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllocations(int index)

public abstract Allocation getAllocations(int index)

Allocations filtered by the criteria.

repeated .google.cloud.capacityplanner.v1beta.Allocation allocations = 4;

Parameter
Name Description
index int
Returns
Type Description
Allocation

getAllocationsCount()

public abstract int getAllocationsCount()

Allocations filtered by the criteria.

repeated .google.cloud.capacityplanner.v1beta.Allocation allocations = 4;

Returns
Type Description
int

getAllocationsList()

public abstract List<Allocation> getAllocationsList()

Allocations filtered by the criteria.

repeated .google.cloud.capacityplanner.v1beta.Allocation allocations = 4;

Returns
Type Description
List<Allocation>

getAllocationsOrBuilder(int index)

public abstract AllocationOrBuilder getAllocationsOrBuilder(int index)

Allocations filtered by the criteria.

repeated .google.cloud.capacityplanner.v1beta.Allocation allocations = 4;

Parameter
Name Description
index int
Returns
Type Description
AllocationOrBuilder

getAllocationsOrBuilderList()

public abstract List<? extends AllocationOrBuilder> getAllocationsOrBuilderList()

Allocations filtered by the criteria.

repeated .google.cloud.capacityplanner.v1beta.Allocation allocations = 4;

Returns
Type Description
List<? extends com.google.cloud.capacityplanner.v1beta.AllocationOrBuilder>

getFutureReservations(int index)

public abstract FutureReservation getFutureReservations(int index)

Future reservations filtered by the criteria.

repeated .google.cloud.capacityplanner.v1beta.FutureReservation future_reservations = 3;

Parameter
Name Description
index int
Returns
Type Description
FutureReservation

getFutureReservationsCount()

public abstract int getFutureReservationsCount()

Future reservations filtered by the criteria.

repeated .google.cloud.capacityplanner.v1beta.FutureReservation future_reservations = 3;

Returns
Type Description
int

getFutureReservationsList()

public abstract List<FutureReservation> getFutureReservationsList()

Future reservations filtered by the criteria.

repeated .google.cloud.capacityplanner.v1beta.FutureReservation future_reservations = 3;

Returns
Type Description
List<FutureReservation>

getFutureReservationsOrBuilder(int index)

public abstract FutureReservationOrBuilder getFutureReservationsOrBuilder(int index)

Future reservations filtered by the criteria.

repeated .google.cloud.capacityplanner.v1beta.FutureReservation future_reservations = 3;

Parameter
Name Description
index int
Returns
Type Description
FutureReservationOrBuilder

getFutureReservationsOrBuilderList()

public abstract List<? extends FutureReservationOrBuilder> getFutureReservationsOrBuilderList()

Future reservations filtered by the criteria.

repeated .google.cloud.capacityplanner.v1beta.FutureReservation future_reservations = 3;

Returns
Type Description
List<? extends com.google.cloud.capacityplanner.v1beta.FutureReservationOrBuilder>

getName()

public abstract String getName()

Identifier. The resource name of the connection in the form of: projects/{project_id}/locations/{location_id}/reservations/{reservation_id} or organizations/{organization_id}/locations/{location_id}/reservations/{reservation_id} or folders/{folder_id}/locations/{location_id}/reservations/{reservation_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The resource name of the connection in the form of: projects/{project_id}/locations/{location_id}/reservations/{reservation_id} or organizations/{organization_id}/locations/{location_id}/reservations/{reservation_id} or folders/{folder_id}/locations/{location_id}/reservations/{reservation_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getTimeSeries()

public abstract TimeSeries getTimeSeries()

The collection of data points that represent the aggregated reserved value for reservations filtered by the criteria.

.google.cloud.capacityplanner.v1beta.TimeSeries time_series = 2;

Returns
Type Description
TimeSeries

The timeSeries.

getTimeSeriesOrBuilder()

public abstract TimeSeriesOrBuilder getTimeSeriesOrBuilder()

The collection of data points that represent the aggregated reserved value for reservations filtered by the criteria.

.google.cloud.capacityplanner.v1beta.TimeSeries time_series = 2;

Returns
Type Description
TimeSeriesOrBuilder

getUsedReservationValues()

public abstract TimeSeries getUsedReservationValues()

The collection of data points that represent the aggregated used value for reservations filtered by the criteria.

.google.cloud.capacityplanner.v1beta.TimeSeries used_reservation_values = 5;

Returns
Type Description
TimeSeries

The usedReservationValues.

getUsedReservationValuesOrBuilder()

public abstract TimeSeriesOrBuilder getUsedReservationValuesOrBuilder()

The collection of data points that represent the aggregated used value for reservations filtered by the criteria.

.google.cloud.capacityplanner.v1beta.TimeSeries used_reservation_values = 5;

Returns
Type Description
TimeSeriesOrBuilder

hasTimeSeries()

public abstract boolean hasTimeSeries()

The collection of data points that represent the aggregated reserved value for reservations filtered by the criteria.

.google.cloud.capacityplanner.v1beta.TimeSeries time_series = 2;

Returns
Type Description
boolean

Whether the timeSeries field is set.

hasUsedReservationValues()

public abstract boolean hasUsedReservationValues()

The collection of data points that represent the aggregated used value for reservations filtered by the criteria.

.google.cloud.capacityplanner.v1beta.TimeSeries used_reservation_values = 5;

Returns
Type Description
boolean

Whether the usedReservationValues field is set.