Interface CustomConfig.ResourceSelectorOrBuilder (0.12.0)

public static interface CustomConfig.ResourceSelectorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getResourceTypes(int index)

public abstract String getResourceTypes(int index)

Required. The resource types to run the detector on.

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The resourceTypes at the given index.

getResourceTypesBytes(int index)

public abstract ByteString getResourceTypesBytes(int index)

Required. The resource types to run the detector on.

repeated string resource_types = 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 resourceTypes at the given index.

getResourceTypesCount()

public abstract int getResourceTypesCount()

Required. The resource types to run the detector on.

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

Returns
Type Description
int

The count of resourceTypes.

getResourceTypesList()

public abstract List<String> getResourceTypesList()

Required. The resource types to run the detector on.

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

Returns
Type Description
List<String>

A list containing the resourceTypes.