Interface InstanceParamsOrBuilder (0.31.0)
public interface InstanceParamsOrBuilder extends MessageOrBuilder
Methods
public abstract boolean containsResourceManagerTags(String key)
Optional. Resource manager tags to be bound to the instance.
map<string, string> resource_manager_tags = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
public abstract Map<String,String> getResourceManagerTags()
public abstract int getResourceManagerTagsCount()
Optional. Resource manager tags to be bound to the instance.
map<string, string> resource_manager_tags = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
public abstract Map<String,String> getResourceManagerTagsMap()
Optional. Resource manager tags to be bound to the instance.
map<string, string> resource_manager_tags = 1 [(.google.api.field_behavior) = OPTIONAL];
public abstract String getResourceManagerTagsOrDefault(String key, String defaultValue)
Optional. Resource manager tags to be bound to the instance.
map<string, string> resource_manager_tags = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
|
public abstract String getResourceManagerTagsOrThrow(String key)
Optional. Resource manager tags to be bound to the instance.
map<string, string> resource_manager_tags = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-18 UTC."],[],[],null,["# Interface InstanceParamsOrBuilder (0.31.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.31.0 (latest)](/java/docs/reference/google-cloud-backupdr/latest/com.google.cloud.backupdr.v1.InstanceParamsOrBuilder)\n- [0.29.0](/java/docs/reference/google-cloud-backupdr/0.29.0/com.google.cloud.backupdr.v1.InstanceParamsOrBuilder)\n- [0.27.0](/java/docs/reference/google-cloud-backupdr/0.27.0/com.google.cloud.backupdr.v1.InstanceParamsOrBuilder)\n- [0.26.0](/java/docs/reference/google-cloud-backupdr/0.26.0/com.google.cloud.backupdr.v1.InstanceParamsOrBuilder)\n- [0.23.0](/java/docs/reference/google-cloud-backupdr/0.23.0/com.google.cloud.backupdr.v1.InstanceParamsOrBuilder)\n- [0.22.0](/java/docs/reference/google-cloud-backupdr/0.22.0/com.google.cloud.backupdr.v1.InstanceParamsOrBuilder)\n- [0.21.0](/java/docs/reference/google-cloud-backupdr/0.21.0/com.google.cloud.backupdr.v1.InstanceParamsOrBuilder)\n- [0.19.0](/java/docs/reference/google-cloud-backupdr/0.19.0/com.google.cloud.backupdr.v1.InstanceParamsOrBuilder)\n- [0.18.0](/java/docs/reference/google-cloud-backupdr/0.18.0/com.google.cloud.backupdr.v1.InstanceParamsOrBuilder)\n- [0.17.0](/java/docs/reference/google-cloud-backupdr/0.17.0/com.google.cloud.backupdr.v1.InstanceParamsOrBuilder)\n- [0.16.0](/java/docs/reference/google-cloud-backupdr/0.16.0/com.google.cloud.backupdr.v1.InstanceParamsOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloud-backupdr/0.15.0/com.google.cloud.backupdr.v1.InstanceParamsOrBuilder)\n- [0.14.0](/java/docs/reference/google-cloud-backupdr/0.14.0/com.google.cloud.backupdr.v1.InstanceParamsOrBuilder)\n- [0.13.0](/java/docs/reference/google-cloud-backupdr/0.13.0/com.google.cloud.backupdr.v1.InstanceParamsOrBuilder)\n- [0.12.0](/java/docs/reference/google-cloud-backupdr/0.12.0/com.google.cloud.backupdr.v1.InstanceParamsOrBuilder)\n- [0.11.0](/java/docs/reference/google-cloud-backupdr/0.11.0/com.google.cloud.backupdr.v1.InstanceParamsOrBuilder)\n- [0.10.0](/java/docs/reference/google-cloud-backupdr/0.10.0/com.google.cloud.backupdr.v1.InstanceParamsOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-backupdr/0.8.0/com.google.cloud.backupdr.v1.InstanceParamsOrBuilder)\n- [0.7.0](/java/docs/reference/google-cloud-backupdr/0.7.0/com.google.cloud.backupdr.v1.InstanceParamsOrBuilder)\n- [0.6.0](/java/docs/reference/google-cloud-backupdr/0.6.0/com.google.cloud.backupdr.v1.InstanceParamsOrBuilder)\n- [0.5.0](/java/docs/reference/google-cloud-backupdr/0.5.0/com.google.cloud.backupdr.v1.InstanceParamsOrBuilder)\n- [0.4.0](/java/docs/reference/google-cloud-backupdr/0.4.0/com.google.cloud.backupdr.v1.InstanceParamsOrBuilder)\n- [0.3.0](/java/docs/reference/google-cloud-backupdr/0.3.0/com.google.cloud.backupdr.v1.InstanceParamsOrBuilder)\n- [0.2.0](/java/docs/reference/google-cloud-backupdr/0.2.0/com.google.cloud.backupdr.v1.InstanceParamsOrBuilder)\n- [0.1.0](/java/docs/reference/google-cloud-backupdr/0.1.0/com.google.cloud.backupdr.v1.InstanceParamsOrBuilder) \n\n public interface InstanceParamsOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### containsResourceManagerTags(String key)\n\n public abstract boolean containsResourceManagerTags(String key)\n\nOptional. Resource manager tags to be bound to the instance.\n\n`\nmap\u003cstring, string\u003e resource_manager_tags = 1 [(.google.api.field_behavior) = OPTIONAL];\n`\n\n### getResourceManagerTags() (deprecated)\n\n public abstract Map\u003cString,String\u003e getResourceManagerTags()\n\nUse [#getResourceManagerTagsMap()](/java/docs/reference/google-cloud-backupdr/latest/com.google.cloud.backupdr.v1.InstanceParamsOrBuilder#com_google_cloud_backupdr_v1_InstanceParamsOrBuilder_getResourceManagerTagsMap__) instead.\n\n### getResourceManagerTagsCount()\n\n public abstract int getResourceManagerTagsCount()\n\nOptional. Resource manager tags to be bound to the instance.\n\n`\nmap\u003cstring, string\u003e resource_manager_tags = 1 [(.google.api.field_behavior) = OPTIONAL];\n`\n\n### getResourceManagerTagsMap()\n\n public abstract Map\u003cString,String\u003e getResourceManagerTagsMap()\n\nOptional. Resource manager tags to be bound to the instance.\n\n`\nmap\u003cstring, string\u003e resource_manager_tags = 1 [(.google.api.field_behavior) = OPTIONAL];\n`\n\n### getResourceManagerTagsOrDefault(String key, String defaultValue)\n\n public abstract String getResourceManagerTagsOrDefault(String key, String defaultValue)\n\nOptional. Resource manager tags to be bound to the instance.\n\n`\nmap\u003cstring, string\u003e resource_manager_tags = 1 [(.google.api.field_behavior) = OPTIONAL];\n`\n\n### getResourceManagerTagsOrThrow(String key)\n\n public abstract String getResourceManagerTagsOrThrow(String key)\n\nOptional. Resource manager tags to be bound to the instance.\n\n`\nmap\u003cstring, string\u003e resource_manager_tags = 1 [(.google.api.field_behavior) = OPTIONAL];\n`"]]