Interface CustomConfig.ResourceSelectorOrBuilder (0.5.0)

public static interface CustomConfig.ResourceSelectorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getResourceTypes(int index)

public abstract String getResourceTypes(int index)

Optional. The resource types to run the detector on.

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

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The resourceTypes at the given index.

getResourceTypesBytes(int index)

public abstract ByteString getResourceTypesBytes(int index)

Optional. The resource types to run the detector on.

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

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the resourceTypes at the given index.

getResourceTypesCount()

public abstract int getResourceTypesCount()

Optional. The resource types to run the detector on.

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

Returns
TypeDescription
int

The count of resourceTypes.

getResourceTypesList()

public abstract List<String> getResourceTypesList()

Optional. The resource types to run the detector on.

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

Returns
TypeDescription
List<String>

A list containing the resourceTypes.