public interface AllocationResourceStatusSpecificSKUAllocationOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsUtilizations(String key)
public abstract boolean containsUtilizations(String key)
Per service utilization breakdown. The Key is the Google Cloud managed service name.
map<string, int64> utilizations = 402495121;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getSourceInstanceTemplateId()
public abstract String getSourceInstanceTemplateId()
ID of the instance template used to populate reservation properties.
optional string source_instance_template_id = 111196154;
Returns | |
---|---|
Type | Description |
String |
The sourceInstanceTemplateId. |
getSourceInstanceTemplateIdBytes()
public abstract ByteString getSourceInstanceTemplateIdBytes()
ID of the instance template used to populate reservation properties.
optional string source_instance_template_id = 111196154;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for sourceInstanceTemplateId. |
getUtilizations() (deprecated)
public abstract Map<String,Long> getUtilizations()
Use #getUtilizationsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,Long> |
getUtilizationsCount()
public abstract int getUtilizationsCount()
Per service utilization breakdown. The Key is the Google Cloud managed service name.
map<string, int64> utilizations = 402495121;
Returns | |
---|---|
Type | Description |
int |
getUtilizationsMap()
public abstract Map<String,Long> getUtilizationsMap()
Per service utilization breakdown. The Key is the Google Cloud managed service name.
map<string, int64> utilizations = 402495121;
Returns | |
---|---|
Type | Description |
Map<String,Long> |
getUtilizationsOrDefault(String key, long defaultValue)
public abstract long getUtilizationsOrDefault(String key, long defaultValue)
Per service utilization breakdown. The Key is the Google Cloud managed service name.
map<string, int64> utilizations = 402495121;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
long |
Returns | |
---|---|
Type | Description |
long |
getUtilizationsOrThrow(String key)
public abstract long getUtilizationsOrThrow(String key)
Per service utilization breakdown. The Key is the Google Cloud managed service name.
map<string, int64> utilizations = 402495121;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
long |
hasSourceInstanceTemplateId()
public abstract boolean hasSourceInstanceTemplateId()
ID of the instance template used to populate reservation properties.
optional string source_instance_template_id = 111196154;
Returns | |
---|---|
Type | Description |
boolean |
Whether the sourceInstanceTemplateId field is set. |