Interface UpdateInstanceMetadataItemsRequestOrBuilder (1.9.0)

public interface UpdateInstanceMetadataItemsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsItems(String key)

public abstract boolean containsItems(String key)

Metadata items to add/update for the instance.

map<string, string> items = 2;

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

Metadata items to add/update for the instance.

map<string, string> items = 2;

Returns
TypeDescription
int

getItemsMap()

public abstract Map<String,String> getItemsMap()

Metadata items to add/update for the instance.

map<string, string> items = 2;

Returns
TypeDescription
Map<String,String>

getItemsOrDefault(String key, String defaultValue)

public abstract String getItemsOrDefault(String key, String defaultValue)

Metadata items to add/update for the instance.

map<string, string> items = 2;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getItemsOrThrow(String key)

public abstract String getItemsOrThrow(String key)

Metadata items to add/update for the instance.

map<string, string> items = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getName()

public abstract String getName()

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for name.