Interface Region.GeoTargetAreaOrBuilder (0.3.0)

public static interface Region.GeoTargetAreaOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGeotargetCriteriaIds(int index)

public abstract long getGeotargetCriteriaIds(int index)

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

repeated int64 geotarget_criteria_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
long

The geotargetCriteriaIds at the given index.

getGeotargetCriteriaIdsCount()

public abstract int getGeotargetCriteriaIdsCount()

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

repeated int64 geotarget_criteria_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of geotargetCriteriaIds.

getGeotargetCriteriaIdsList()

public abstract List<Long> getGeotargetCriteriaIdsList()

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

repeated int64 geotarget_criteria_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Long>

A list containing the geotargetCriteriaIds.