public interface CapacityHistoryRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getInstanceProperties()
public abstract CapacityHistoryRequestInstanceProperties getInstanceProperties()Instance properties for this request.
optional .google.cloud.compute.v1.CapacityHistoryRequestInstanceProperties instance_properties = 215355165;
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryRequestInstanceProperties |
The instanceProperties. |
getInstancePropertiesOrBuilder()
public abstract CapacityHistoryRequestInstancePropertiesOrBuilder getInstancePropertiesOrBuilder()Instance properties for this request.
optional .google.cloud.compute.v1.CapacityHistoryRequestInstanceProperties instance_properties = 215355165;
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryRequestInstancePropertiesOrBuilder |
|
getLocationPolicy()
public abstract CapacityHistoryRequestLocationPolicy getLocationPolicy()Location policy for this request.
optional .google.cloud.compute.v1.CapacityHistoryRequestLocationPolicy location_policy = 465689852;
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryRequestLocationPolicy |
The locationPolicy. |
getLocationPolicyOrBuilder()
public abstract CapacityHistoryRequestLocationPolicyOrBuilder getLocationPolicyOrBuilder()Location policy for this request.
optional .google.cloud.compute.v1.CapacityHistoryRequestLocationPolicy location_policy = 465689852;
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryRequestLocationPolicyOrBuilder |
|
getTypes(int index)
public abstract String getTypes(int index)List of history types to get capacity history for. Check the Types enum for the list of possible values.
repeated string types = 110844025;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The types at the given index. |
getTypesBytes(int index)
public abstract ByteString getTypesBytes(int index)List of history types to get capacity history for. Check the Types enum for the list of possible values.
repeated string types = 110844025;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the types at the given index. |
getTypesCount()
public abstract int getTypesCount()List of history types to get capacity history for. Check the Types enum for the list of possible values.
repeated string types = 110844025;
| Returns | |
|---|---|
| Type | Description |
int |
The count of types. |
getTypesList()
public abstract List<String> getTypesList()List of history types to get capacity history for. Check the Types enum for the list of possible values.
repeated string types = 110844025;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the types. |
hasInstanceProperties()
public abstract boolean hasInstanceProperties()Instance properties for this request.
optional .google.cloud.compute.v1.CapacityHistoryRequestInstanceProperties instance_properties = 215355165;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the instanceProperties field is set. |
hasLocationPolicy()
public abstract boolean hasLocationPolicy()Location policy for this request.
optional .google.cloud.compute.v1.CapacityHistoryRequestLocationPolicy location_policy = 465689852;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the locationPolicy field is set. |