Interface DetectionExclusionActivity.DetectionExclusionDetectorActivityOrBuilder (0.33.0)

public static interface DetectionExclusionActivity.DetectionExclusionDetectorActivityOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCuratedRule()

public abstract String getCuratedRule()

Full resource name for the curated rule this activity corresponds to. Format: projects/{project}/locations/{location}/instances/{instance}/curatedRules/{rule}

string curated_rule = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The curatedRule.

getCuratedRuleBytes()

public abstract ByteString getCuratedRuleBytes()

Full resource name for the curated rule this activity corresponds to. Format: projects/{project}/locations/{location}/instances/{instance}/curatedRules/{rule}

string curated_rule = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for curatedRule.

getCuratedRuleSet()

public abstract String getCuratedRuleSet()

Full resource name for the curated rule set this activity corresponds to. This field will only be set if the customer has access to the curated rule set the exclusion is applied to. Format: projects/{project}/locations/{location}/instances/{instance}/curatedRuleSetCategories/{curated_rule_set_category}/curatedRuleSets/{curated_rule_set}

string curated_rule_set = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The curatedRuleSet.

getCuratedRuleSetBytes()

public abstract ByteString getCuratedRuleSetBytes()

Full resource name for the curated rule set this activity corresponds to. This field will only be set if the customer has access to the curated rule set the exclusion is applied to. Format: projects/{project}/locations/{location}/instances/{instance}/curatedRuleSetCategories/{curated_rule_set_category}/curatedRuleSets/{curated_rule_set}

string curated_rule_set = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for curatedRuleSet.

getDeletedCuratedRuleSet()

public abstract String getDeletedCuratedRuleSet()

Full resource name for the deleted curated rule set this activity corresponds to. This field will only be set if the customer does not have access to the curated rule set the exclusion is applied to. Format: projects/{project}/locations/{location}/instances/{instance}/curatedRuleSetCategories/{curated_rule_set_category}/curatedRuleSets/{curated_rule_set}

string deleted_curated_rule_set = 6 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The deletedCuratedRuleSet.

getDeletedCuratedRuleSetBytes()

public abstract ByteString getDeletedCuratedRuleSetBytes()

Full resource name for the deleted curated rule set this activity corresponds to. This field will only be set if the customer does not have access to the curated rule set the exclusion is applied to. Format: projects/{project}/locations/{location}/instances/{instance}/curatedRuleSetCategories/{curated_rule_set_category}/curatedRuleSets/{curated_rule_set}

string deleted_curated_rule_set = 6 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for deletedCuratedRuleSet.

getDetectorNameCase()

public abstract DetectionExclusionActivity.DetectionExclusionDetectorActivity.DetectorNameCase getDetectorNameCase()
Returns
Type Description
DetectionExclusionActivity.DetectionExclusionDetectorActivity.DetectorNameCase

getExcludedDetectionCount()

public abstract long getExcludedDetectionCount()

The number of detections for the detector that were excluded by the detection exclusion.

int64 excluded_detection_count = 3;

Returns
Type Description
long

The excludedDetectionCount.

getRule()

public abstract String getRule()

Full resource name for the rule this activity corresponds to. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}

string rule = 5 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The rule.

getRuleBytes()

public abstract ByteString getRuleBytes()

Full resource name for the rule this activity corresponds to. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}

string rule = 5 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for rule.

getTotalDetectionCount()

public abstract long getTotalDetectionCount()

The total number of detections found by the detector. This includes both excluded detections and non-excluded detections.

int64 total_detection_count = 4;

Returns
Type Description
long

The totalDetectionCount.

hasCuratedRule()

public abstract boolean hasCuratedRule()

Full resource name for the curated rule this activity corresponds to. Format: projects/{project}/locations/{location}/instances/{instance}/curatedRules/{rule}

string curated_rule = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the curatedRule field is set.

hasCuratedRuleSet()

public abstract boolean hasCuratedRuleSet()

Full resource name for the curated rule set this activity corresponds to. This field will only be set if the customer has access to the curated rule set the exclusion is applied to. Format: projects/{project}/locations/{location}/instances/{instance}/curatedRuleSetCategories/{curated_rule_set_category}/curatedRuleSets/{curated_rule_set}

string curated_rule_set = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the curatedRuleSet field is set.

hasDeletedCuratedRuleSet()

public abstract boolean hasDeletedCuratedRuleSet()

Full resource name for the deleted curated rule set this activity corresponds to. This field will only be set if the customer does not have access to the curated rule set the exclusion is applied to. Format: projects/{project}/locations/{location}/instances/{instance}/curatedRuleSetCategories/{curated_rule_set_category}/curatedRuleSets/{curated_rule_set}

string deleted_curated_rule_set = 6 [(.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the deletedCuratedRuleSet field is set.

hasRule()

public abstract boolean hasRule()

Full resource name for the rule this activity corresponds to. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}

string rule = 5 [(.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the rule field is set.