Interface InstanceParamsOrBuilder (0.39.0)

publicinterface InstanceParamsOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

containsResourceManagerTags(String key)

publicabstractbooleancontainsResourceManagerTags(Stringkey)

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
boolean

getResourceManagerTags() (deprecated)

publicabstractMap<String,String>getResourceManagerTags()
Returns
Type Description
Map<String,String>

getResourceManagerTagsCount()

publicabstractintgetResourceManagerTagsCount()

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

getResourceManagerTagsMap()

publicabstractMap<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];

Returns
Type Description
Map<String,String>

getResourceManagerTagsOrDefault(String key, String defaultValue)

publicabstractStringgetResourceManagerTagsOrDefault(Stringkey,StringdefaultValue)

Optional. Resource manager tags to be bound to the instance.

map<string, string> resource_manager_tags = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getResourceManagerTagsOrThrow(String key)

publicabstractStringgetResourceManagerTagsOrThrow(Stringkey)

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年11月19日 UTC.