Interface UpdateInstanceMetadataItemsResponseOrBuilder (1.19.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
NameDescription
keyString
Returns
TypeDescription
boolean

getItems()

public abstract Map<String,String> getItems()

Use #getItemsMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String