Interface RegionPreferencesOrBuilder (0.19.0)

public interface RegionPreferencesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPreferredRegions(int index)

public abstract String getPreferredRegions(int index)

A list of preferred regions, ordered by the most preferred region first. Set only valid Google Cloud region names. See https://cloud.google.com/compute/docs/regions-zones for available regions.

repeated string preferred_regions = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The preferredRegions at the given index.

getPreferredRegionsBytes(int index)

public abstract ByteString getPreferredRegionsBytes(int index)

A list of preferred regions, ordered by the most preferred region first. Set only valid Google Cloud region names. See https://cloud.google.com/compute/docs/regions-zones for available regions.

repeated string preferred_regions = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the preferredRegions at the given index.

getPreferredRegionsCount()

public abstract int getPreferredRegionsCount()

A list of preferred regions, ordered by the most preferred region first. Set only valid Google Cloud region names. See https://cloud.google.com/compute/docs/regions-zones for available regions.

repeated string preferred_regions = 1;

Returns
TypeDescription
int

The count of preferredRegions.

getPreferredRegionsList()

public abstract List<String> getPreferredRegionsList()

A list of preferred regions, ordered by the most preferred region first. Set only valid Google Cloud region names. See https://cloud.google.com/compute/docs/regions-zones for available regions.

repeated string preferred_regions = 1;

Returns
TypeDescription
List<String>

A list containing the preferredRegions.