Interface LocationMetadataOrBuilder (2.77.0)

publicinterface LocationMetadataOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnvironments(int index)

publicabstractEnvironmentgetEnvironments(intindex)

The Cloud Function environments this location supports.

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
Environment

The environments at the given index.

getEnvironmentsCount()

publicabstractintgetEnvironmentsCount()

The Cloud Function environments this location supports.

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

Returns
Type Description
int

The count of environments.

getEnvironmentsList()

publicabstractList<Environment>getEnvironmentsList()

The Cloud Function environments this location supports.

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

Returns
Type Description
List<Environment>

A list containing the environments.

getEnvironmentsValue(int index)

publicabstractintgetEnvironmentsValue(intindex)

The Cloud Function environments this location supports.

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

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

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

getEnvironmentsValueList()

publicabstractList<Integer>getEnvironmentsValueList()

The Cloud Function environments this location supports.

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

Returns
Type Description
List<Integer>

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.