Interface CapacityHistoryResponseOrBuilder (1.109.0)

public interface CapacityHistoryResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLocation()

public abstract String getLocation()

Output only. The location (region or zone) for which the capacity history is returned. It is returned as a URL - For example,https://www.googleapis.com/compute/v1/projects/project/zones/zone.

optional string location = 290430901;

Returns
Type Description
String

The location.

getLocationBytes()

public abstract ByteString getLocationBytes()

Output only. The location (region or zone) for which the capacity history is returned. It is returned as a URL - For example,https://www.googleapis.com/compute/v1/projects/project/zones/zone.

optional string location = 290430901;

Returns
Type Description
ByteString

The bytes for location.

getMachineType()

public abstract String getMachineType()

The machine type for which the capacity history is returned.

optional string machine_type = 227711026;

Returns
Type Description
String

The machineType.

getMachineTypeBytes()

public abstract ByteString getMachineTypeBytes()

The machine type for which the capacity history is returned.

optional string machine_type = 227711026;

Returns
Type Description
ByteString

The bytes for machineType.

getPreemptionHistory(int index)

public abstract CapacityHistoryResponsePreemptionRecord getPreemptionHistory(int index)

The preemption history for the requested machine type and location.

repeated .google.cloud.compute.v1.CapacityHistoryResponsePreemptionRecord preemption_history = 364018222;

Parameter
Name Description
index int
Returns
Type Description
CapacityHistoryResponsePreemptionRecord

getPreemptionHistoryCount()

public abstract int getPreemptionHistoryCount()

The preemption history for the requested machine type and location.

repeated .google.cloud.compute.v1.CapacityHistoryResponsePreemptionRecord preemption_history = 364018222;

Returns
Type Description
int

getPreemptionHistoryList()

public abstract List<CapacityHistoryResponsePreemptionRecord> getPreemptionHistoryList()

The preemption history for the requested machine type and location.

repeated .google.cloud.compute.v1.CapacityHistoryResponsePreemptionRecord preemption_history = 364018222;

Returns
Type Description
List<CapacityHistoryResponsePreemptionRecord>

getPreemptionHistoryOrBuilder(int index)

public abstract CapacityHistoryResponsePreemptionRecordOrBuilder getPreemptionHistoryOrBuilder(int index)

The preemption history for the requested machine type and location.

repeated .google.cloud.compute.v1.CapacityHistoryResponsePreemptionRecord preemption_history = 364018222;

Parameter
Name Description
index int
Returns
Type Description
CapacityHistoryResponsePreemptionRecordOrBuilder

getPreemptionHistoryOrBuilderList()

public abstract List<? extends CapacityHistoryResponsePreemptionRecordOrBuilder> getPreemptionHistoryOrBuilderList()

The preemption history for the requested machine type and location.

repeated .google.cloud.compute.v1.CapacityHistoryResponsePreemptionRecord preemption_history = 364018222;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.CapacityHistoryResponsePreemptionRecordOrBuilder>

getPriceHistory(int index)

public abstract CapacityHistoryResponsePriceRecord getPriceHistory(int index)

The price history for the requested machine type and location.

repeated .google.cloud.compute.v1.CapacityHistoryResponsePriceRecord price_history = 326230942;

Parameter
Name Description
index int
Returns
Type Description
CapacityHistoryResponsePriceRecord

getPriceHistoryCount()

public abstract int getPriceHistoryCount()

The price history for the requested machine type and location.

repeated .google.cloud.compute.v1.CapacityHistoryResponsePriceRecord price_history = 326230942;

Returns
Type Description
int

getPriceHistoryList()

public abstract List<CapacityHistoryResponsePriceRecord> getPriceHistoryList()

The price history for the requested machine type and location.

repeated .google.cloud.compute.v1.CapacityHistoryResponsePriceRecord price_history = 326230942;

Returns
Type Description
List<CapacityHistoryResponsePriceRecord>

getPriceHistoryOrBuilder(int index)

public abstract CapacityHistoryResponsePriceRecordOrBuilder getPriceHistoryOrBuilder(int index)

The price history for the requested machine type and location.

repeated .google.cloud.compute.v1.CapacityHistoryResponsePriceRecord price_history = 326230942;

Parameter
Name Description
index int
Returns
Type Description
CapacityHistoryResponsePriceRecordOrBuilder

getPriceHistoryOrBuilderList()

public abstract List<? extends CapacityHistoryResponsePriceRecordOrBuilder> getPriceHistoryOrBuilderList()

The price history for the requested machine type and location.

repeated .google.cloud.compute.v1.CapacityHistoryResponsePriceRecord price_history = 326230942;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.CapacityHistoryResponsePriceRecordOrBuilder>

hasLocation()

public abstract boolean hasLocation()

Output only. The location (region or zone) for which the capacity history is returned. It is returned as a URL - For example,https://www.googleapis.com/compute/v1/projects/project/zones/zone.

optional string location = 290430901;

Returns
Type Description
boolean

Whether the location field is set.

hasMachineType()

public abstract boolean hasMachineType()

The machine type for which the capacity history is returned.

optional string machine_type = 227711026;

Returns
Type Description
boolean

Whether the machineType field is set.