public interface UpdateInstanceMetadataItemsRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsItems(String key)
public abstract boolean containsItems(String key)
Metadata items to add/update for the instance.
map<string, string> items = 2;
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()
Metadata items to add/update for the instance.
map<string, string> items = 2;
Returns | |
---|---|
Type | Description |
int |
getItemsMap()
public abstract Map<String,String> getItemsMap()
Metadata items to add/update for the instance.
map<string, string> items = 2;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getItemsOrThrow(String key)
public abstract String getItemsOrThrow(String key)
Metadata items to add/update for the instance.
map<string, string> items = 2;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString | The bytes for name. |