Interface LocationMetadataOrBuilder (2.20.0)

public interface LocationMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnvironments(int index)

public abstract Environment getEnvironments(int index)

The Cloud Function environments this location supports.

repeated .google.cloud.functions.v2.Environment environments = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
Environment

The environments at the given index.

getEnvironmentsCount()

public abstract int getEnvironmentsCount()

The Cloud Function environments this location supports.

repeated .google.cloud.functions.v2.Environment environments = 1;

Returns
TypeDescription
int

The count of environments.

getEnvironmentsList()

public abstract List<Environment> getEnvironmentsList()

The Cloud Function environments this location supports.

repeated .google.cloud.functions.v2.Environment environments = 1;

Returns
TypeDescription
List<Environment>

A list containing the environments.

getEnvironmentsValue(int index)

public abstract int getEnvironmentsValue(int index)

The Cloud Function environments this location supports.

repeated .google.cloud.functions.v2.Environment environments = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of environments at the given index.

getEnvironmentsValueList()

public abstract List<Integer> getEnvironmentsValueList()

The Cloud Function environments this location supports.

repeated .google.cloud.functions.v2.Environment environments = 1;

Returns
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for environments.