Interface InstanceSettingsMetadataOrBuilder (1.56.0)

public interface InstanceSettingsMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsItems(String key)

public abstract boolean containsItems(String key)

A metadata key/value items map. The total size of all keys and values must be less than 512KB.

map<string, string> items = 100526016;

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

A metadata key/value items map. The total size of all keys and values must be less than 512KB.

map<string, string> items = 100526016;

Returns
Type Description
int

getItemsMap()

public abstract Map<String,String> getItemsMap()

A metadata key/value items map. The total size of all keys and values must be less than 512KB.

map<string, string> items = 100526016;

Returns
Type Description
Map<String,String>

getItemsOrDefault(String key, String defaultValue)

public abstract String getItemsOrDefault(String key, String defaultValue)

A metadata key/value items map. The total size of all keys and values must be less than 512KB.

map<string, string> items = 100526016;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getItemsOrThrow(String key)

public abstract String getItemsOrThrow(String key)

A metadata key/value items map. The total size of all keys and values must be less than 512KB.

map<string, string> items = 100526016;

Parameter
Name Description
key String
Returns
Type Description
String

getKind()

public abstract String getKind()

[Output Only] Type of the resource. Always compute#metadata for metadata.

optional string kind = 3292052;

Returns
Type Description
String

The kind.

getKindBytes()

public abstract ByteString getKindBytes()

[Output Only] Type of the resource. Always compute#metadata for metadata.

optional string kind = 3292052;

Returns
Type Description
ByteString

The bytes for kind.

hasKind()

public abstract boolean hasKind()

[Output Only] Type of the resource. Always compute#metadata for metadata.

optional string kind = 3292052;

Returns
Type Description
boolean

Whether the kind field is set.