Interface DeviceCategoryTargetingOrBuilder (0.27.0)

public interface DeviceCategoryTargetingOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExcludedCategories(int index)

public abstract String getExcludedCategories(int index)

Optional. A list of device category resource names that should be excluded.

repeated string excluded_categories = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The excludedCategories at the given index.

getExcludedCategoriesBytes(int index)

public abstract ByteString getExcludedCategoriesBytes(int index)

Optional. A list of device category resource names that should be excluded.

repeated string excluded_categories = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the excludedCategories at the given index.

getExcludedCategoriesCount()

public abstract int getExcludedCategoriesCount()

Optional. A list of device category resource names that should be excluded.

repeated string excluded_categories = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of excludedCategories.

getExcludedCategoriesList()

public abstract List<String> getExcludedCategoriesList()

Optional. A list of device category resource names that should be excluded.

repeated string excluded_categories = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
List<String>

A list containing the excludedCategories.

getTargetedCategories(int index)

public abstract String getTargetedCategories(int index)

Optional. A list of device category resource names that should be targeted/included.

repeated string targeted_categories = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The targetedCategories at the given index.

getTargetedCategoriesBytes(int index)

public abstract ByteString getTargetedCategoriesBytes(int index)

Optional. A list of device category resource names that should be targeted/included.

repeated string targeted_categories = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the targetedCategories at the given index.

getTargetedCategoriesCount()

public abstract int getTargetedCategoriesCount()

Optional. A list of device category resource names that should be targeted/included.

repeated string targeted_categories = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of targetedCategories.

getTargetedCategoriesList()

public abstract List<String> getTargetedCategoriesList()

Optional. A list of device category resource names that should be targeted/included.

repeated string targeted_categories = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
List<String>

A list containing the targetedCategories.