Interface UpdateInstanceMetadataItemsResponseOrBuilder (1.47.0)

public interface UpdateInstanceMetadataItemsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsItems(String key)

public abstract boolean containsItems(String key)

Map of items that were added/updated to/in the metadata.

map<string, string> items = 1;

Parameter
Name Description
key String
Returns
Type Description
boolean

getItems() (deprecated)

public abstract Map<String,String> getItems()

Use #getItemsMap() instead.

Returns
Type Description
Map<String,String>

getItemsCount()

public abstract int getItemsCount()

Map of items that were added/updated to/in the metadata.

map<string, string> items = 1;

Returns
Type Description
int

getItemsMap()

public abstract Map<String,String> getItemsMap()

Map of items that were added/updated to/in the metadata.

map<string, string> items = 1;

Returns
Type Description
Map<String,String>

getItemsOrDefault(String key, String defaultValue)

public abstract String getItemsOrDefault(String key, String defaultValue)

Map of items that were added/updated to/in the metadata.

map<string, string> items = 1;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getItemsOrThrow(String key)

public abstract String getItemsOrThrow(String key)

Map of items that were added/updated to/in the metadata.

map<string, string> items = 1;

Parameter
Name Description
key String
Returns
Type Description
String