Interface LocationIdentifierOrBuilder (0.1.0)

public interface LocationIdentifierOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLinkedLocations(int index)

public abstract LocationIdentifier.LinkedLocation getLinkedLocations(int index)

Optional. Other linked locations.

repeated .google.cloud.capacityplanner.v1beta.LocationIdentifier.LinkedLocation linked_locations = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
LocationIdentifier.LinkedLocation

getLinkedLocationsCount()

public abstract int getLinkedLocationsCount()

Optional. Other linked locations.

repeated .google.cloud.capacityplanner.v1beta.LocationIdentifier.LinkedLocation linked_locations = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLinkedLocationsList()

public abstract List<LocationIdentifier.LinkedLocation> getLinkedLocationsList()

Optional. Other linked locations.

repeated .google.cloud.capacityplanner.v1beta.LocationIdentifier.LinkedLocation linked_locations = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<LinkedLocation>

getLinkedLocationsOrBuilder(int index)

public abstract LocationIdentifier.LinkedLocationOrBuilder getLinkedLocationsOrBuilder(int index)

Optional. Other linked locations.

repeated .google.cloud.capacityplanner.v1beta.LocationIdentifier.LinkedLocation linked_locations = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
LocationIdentifier.LinkedLocationOrBuilder

getLinkedLocationsOrBuilderList()

public abstract List<? extends LocationIdentifier.LinkedLocationOrBuilder> getLinkedLocationsOrBuilderList()

Optional. Other linked locations.

repeated .google.cloud.capacityplanner.v1beta.LocationIdentifier.LinkedLocation linked_locations = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.capacityplanner.v1beta.LocationIdentifier.LinkedLocationOrBuilder>

getLocationLevel()

public abstract LocationLevel getLocationLevel()

The location level such as a region.

.google.cloud.capacityplanner.v1beta.LocationLevel location_level = 1;

Returns
Type Description
LocationLevel

The locationLevel.

getLocationLevelValue()

public abstract int getLocationLevelValue()

The location level such as a region.

.google.cloud.capacityplanner.v1beta.LocationLevel location_level = 1;

Returns
Type Description
int

The enum numeric value on the wire for locationLevel.

getSource()

public abstract String getSource()

Required. Location where resource is sourced. For Cloud Storage, the alphabetically first location is the source.

string source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The source.

getSourceBytes()

public abstract ByteString getSourceBytes()

Required. Location where resource is sourced. For Cloud Storage, the alphabetically first location is the source.

string source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for source.