Interface LocationIdSetOrBuilder (0.5.0)

public interface LocationIdSetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLocationIds(int index)

public abstract String getLocationIds(int index)

Required. A non-empty list of location IDs. They must all be of the same location type (For example, state).

repeated string location_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The locationIds at the given index.

getLocationIdsBytes(int index)

public abstract ByteString getLocationIdsBytes(int index)

Required. A non-empty list of location IDs. They must all be of the same location type (For example, state).

repeated string location_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the locationIds at the given index.

getLocationIdsCount()

public abstract int getLocationIdsCount()

Required. A non-empty list of location IDs. They must all be of the same location type (For example, state).

repeated string location_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of locationIds.

getLocationIdsList()

public abstract List<String> getLocationIdsList()

Required. A non-empty list of location IDs. They must all be of the same location type (For example, state).

repeated string location_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<String>

A list containing the locationIds.