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)

Required. The resource types to run the detector on.

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

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)

Required. The resource types to run the detector on.

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

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()

Required. The resource types to run the detector on.

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

Returns
TypeDescription
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
TypeDescription
List<String>

A list containing the resourceTypes.