Interface RegionPreferencesOrBuilder (0.37.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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
List<String>

A list containing the preferredRegions.