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 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

      boolean containsResourceManagerTags(String key)
       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 Map<String,String> getResourceManagerTags()
      Deprecated.
    • getResourceManagerTagsMap

      Map<String,String> 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

      String getResourceManagerTagsOrDefault(String key, String defaultValue)
       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

      String getResourceManagerTagsOrThrow(String key)
       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;