Interface ZoneMetadataOrBuilder (0.48.0)

public interface ZoneMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsRackTypes(String key)

public abstract boolean containsRackTypes(String key)

The map keyed by rack name and has value of RackType.

map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;

Parameter
Name Description
key String
Returns
Type Description
boolean

getQuota(int index)

public abstract Quota getQuota(int index)

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Parameter
Name Description
index int
Returns
Type Description
Quota

getQuotaCount()

public abstract int getQuotaCount()

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Returns
Type Description
int

getQuotaList()

public abstract List<Quota> getQuotaList()

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Returns
Type Description
List<Quota>

getQuotaOrBuilder(int index)

public abstract QuotaOrBuilder getQuotaOrBuilder(int index)

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Parameter
Name Description
index int
Returns
Type Description
QuotaOrBuilder

getQuotaOrBuilderList()

public abstract List<? extends QuotaOrBuilder> getQuotaOrBuilderList()

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Returns
Type Description
List<? extends com.google.cloud.edgecontainer.v1.QuotaOrBuilder>

getRackTypes() (deprecated)

public abstract Map<String,ZoneMetadata.RackType> getRackTypes()

Use #getRackTypesMap() instead.

Returns
Type Description
Map<String,RackType>

getRackTypesCount()

public abstract int getRackTypesCount()

The map keyed by rack name and has value of RackType.

map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;

Returns
Type Description
int

getRackTypesMap()

public abstract Map<String,ZoneMetadata.RackType> getRackTypesMap()

The map keyed by rack name and has value of RackType.

map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;

Returns
Type Description
Map<String,RackType>

getRackTypesOrDefault(String key, ZoneMetadata.RackType defaultValue)

public abstract ZoneMetadata.RackType getRackTypesOrDefault(String key, ZoneMetadata.RackType defaultValue)

The map keyed by rack name and has value of RackType.

map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;

Parameters
Name Description
key String
defaultValue ZoneMetadata.RackType
Returns
Type Description
ZoneMetadata.RackType

getRackTypesOrThrow(String key)

public abstract ZoneMetadata.RackType getRackTypesOrThrow(String key)

The map keyed by rack name and has value of RackType.

map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;

Parameter
Name Description
key String
Returns
Type Description
ZoneMetadata.RackType

getRackTypesValue() (deprecated)

public abstract Map<String,Integer> getRackTypesValue()
Returns
Type Description
Map<String,java.lang.Integer>

getRackTypesValueMap()

public abstract Map<String,Integer> getRackTypesValueMap()

The map keyed by rack name and has value of RackType.

map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;

Returns
Type Description
Map<String,java.lang.Integer>

getRackTypesValueOrDefault(String key, int defaultValue)

public abstract int getRackTypesValueOrDefault(String key, int defaultValue)

The map keyed by rack name and has value of RackType.

map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;

Parameters
Name Description
key String
defaultValue int
Returns
Type Description
int

getRackTypesValueOrThrow(String key)

public abstract int getRackTypesValueOrThrow(String key)

The map keyed by rack name and has value of RackType.

map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;

Parameter
Name Description
key String
Returns
Type Description
int