Package com.google.cloud.compute.v1
Interface InstanceParamsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstanceParams,InstanceParams.Builder
@Generated
public interface InstanceParamsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanInput only.Relative deadline for waiting for capacity.Relative deadline for waiting for capacity.Deprecated.intInput only.Input only.getResourceManagerTagsOrDefault(String key, String defaultValue) Input only.Input only.booleanRelative deadline for waiting for capacity.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasRequestValidForDuration
boolean hasRequestValidForDuration()Relative deadline for waiting for capacity. Relevant only for Instances.Insert API.
optional .google.cloud.compute.v1.Duration request_valid_for_duration = 116247389;- Returns:
- Whether the requestValidForDuration field is set.
-
getRequestValidForDuration
Duration getRequestValidForDuration()Relative deadline for waiting for capacity. Relevant only for Instances.Insert API.
optional .google.cloud.compute.v1.Duration request_valid_for_duration = 116247389;- Returns:
- The requestValidForDuration.
-
getRequestValidForDurationOrBuilder
DurationOrBuilder getRequestValidForDurationOrBuilder()Relative deadline for waiting for capacity. Relevant only for Instances.Insert API.
optional .google.cloud.compute.v1.Duration request_valid_for_duration = 116247389; -
getResourceManagerTagsCount
int getResourceManagerTagsCount()Input only. Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys and values can be either in numeric format, such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and `{tag_value_short_name}`. The field is ignored (both PUT & PATCH) when empty.map<string, string> resource_manager_tags = 377671164; -
containsResourceManagerTags
Input only. Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys and values can be either in numeric format, such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and `{tag_value_short_name}`. The field is ignored (both PUT & PATCH) when empty.map<string, string> resource_manager_tags = 377671164; -
getResourceManagerTags
Deprecated.UsegetResourceManagerTagsMap()instead. -
getResourceManagerTagsMap
Input only. Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys and values can be either in numeric format, such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and `{tag_value_short_name}`. The field is ignored (both PUT & PATCH) when empty.map<string, string> resource_manager_tags = 377671164; -
getResourceManagerTagsOrDefault
Input only. Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys and values can be either in numeric format, such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and `{tag_value_short_name}`. The field is ignored (both PUT & PATCH) when empty.map<string, string> resource_manager_tags = 377671164; -
getResourceManagerTagsOrThrow
Input only. Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys and values can be either in numeric format, such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and `{tag_value_short_name}`. The field is ignored (both PUT & PATCH) when empty.map<string, string> resource_manager_tags = 377671164;
-