Class DetectionExclusionApplication (0.33.0)

public final class DetectionExclusionApplication extends GeneratedMessage implements DetectionExclusionApplicationOrBuilder

Describes the detectors a detection exclusion is applied to.

Protobuf type google.cloud.chronicle.v1.DetectionExclusionApplication

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > DetectionExclusionApplication

Static Fields

CURATED_RULES_FIELD_NUMBER

public static final int CURATED_RULES_FIELD_NUMBER
Field Value
Type Description
int

CURATED_RULE_SETS_FIELD_NUMBER

public static final int CURATED_RULE_SETS_FIELD_NUMBER
Field Value
Type Description
int

DELETED_CURATED_RULE_SETS_FIELD_NUMBER

public static final int DELETED_CURATED_RULE_SETS_FIELD_NUMBER
Field Value
Type Description
int

RULES_FIELD_NUMBER

public static final int RULES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DetectionExclusionApplication getDefaultInstance()
Returns
Type Description
DetectionExclusionApplication

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DetectionExclusionApplication.Builder newBuilder()
Returns
Type Description
DetectionExclusionApplication.Builder

newBuilder(DetectionExclusionApplication prototype)

public static DetectionExclusionApplication.Builder newBuilder(DetectionExclusionApplication prototype)
Parameter
Name Description
prototype DetectionExclusionApplication
Returns
Type Description
DetectionExclusionApplication.Builder

parseDelimitedFrom(InputStream input)

public static DetectionExclusionApplication parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DetectionExclusionApplication
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DetectionExclusionApplication parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DetectionExclusionApplication
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DetectionExclusionApplication parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DetectionExclusionApplication
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DetectionExclusionApplication parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DetectionExclusionApplication
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DetectionExclusionApplication parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DetectionExclusionApplication
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DetectionExclusionApplication parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DetectionExclusionApplication
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DetectionExclusionApplication parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DetectionExclusionApplication
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DetectionExclusionApplication parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DetectionExclusionApplication
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DetectionExclusionApplication parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DetectionExclusionApplication
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DetectionExclusionApplication parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DetectionExclusionApplication
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DetectionExclusionApplication parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DetectionExclusionApplication
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DetectionExclusionApplication parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DetectionExclusionApplication
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DetectionExclusionApplication> parser()
Returns
Type Description
Parser<DetectionExclusionApplication>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCuratedRuleSets(int index)

public String getCuratedRuleSets(int index)

The CuratedRuleSets this detection exclusion applies to. Format: projects/{project}/locations/{location}/instances/{instance}/curatedRuleSetCategories/{category}/curatedRuleSets/{rule_set}

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The curatedRuleSets at the given index.

getCuratedRuleSetsBytes(int index)

public ByteString getCuratedRuleSetsBytes(int index)

The CuratedRuleSets this detection exclusion applies to. Format: projects/{project}/locations/{location}/instances/{instance}/curatedRuleSetCategories/{category}/curatedRuleSets/{rule_set}

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

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the curatedRuleSets at the given index.

getCuratedRuleSetsCount()

public int getCuratedRuleSetsCount()

The CuratedRuleSets this detection exclusion applies to. Format: projects/{project}/locations/{location}/instances/{instance}/curatedRuleSetCategories/{category}/curatedRuleSets/{rule_set}

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

Returns
Type Description
int

The count of curatedRuleSets.

getCuratedRuleSetsList()

public ProtocolStringList getCuratedRuleSetsList()

The CuratedRuleSets this detection exclusion applies to. Format: projects/{project}/locations/{location}/instances/{instance}/curatedRuleSetCategories/{category}/curatedRuleSets/{rule_set}

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

Returns
Type Description
ProtocolStringList

A list containing the curatedRuleSets.

getCuratedRules(int index)

public String getCuratedRules(int index)

The CuratedRules this detection exclusion applies to. Format: projects/{project}/locations/{location}/instances/{instance}/curatedRules/{rule}

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The curatedRules at the given index.

getCuratedRulesBytes(int index)

public ByteString getCuratedRulesBytes(int index)

The CuratedRules this detection exclusion applies to. Format: projects/{project}/locations/{location}/instances/{instance}/curatedRules/{rule}

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

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the curatedRules at the given index.

getCuratedRulesCount()

public int getCuratedRulesCount()

The CuratedRules this detection exclusion applies to. Format: projects/{project}/locations/{location}/instances/{instance}/curatedRules/{rule}

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

Returns
Type Description
int

The count of curatedRules.

getCuratedRulesList()

public ProtocolStringList getCuratedRulesList()

The CuratedRules this detection exclusion applies to. Format: projects/{project}/locations/{location}/instances/{instance}/curatedRules/{rule}

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

Returns
Type Description
ProtocolStringList

A list containing the curatedRules.

getDefaultInstanceForType()

public DetectionExclusionApplication getDefaultInstanceForType()
Returns
Type Description
DetectionExclusionApplication

getDeletedCuratedRuleSets(int index)

public String getDeletedCuratedRuleSets(int index)

Output only. The deleted CuratedRuleSets this detection exclusion applies to. Indicates to the customer that the detection exclusion no longer applies to the rule sets, so the detection exclusion should be updated. Format: projects/{project}/locations/{location}/instances/{instance}/curatedRuleSetCategories/{category}/curatedRuleSets/{rule_set}

repeated string deleted_curated_rule_sets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The deletedCuratedRuleSets at the given index.

getDeletedCuratedRuleSetsBytes(int index)

public ByteString getDeletedCuratedRuleSetsBytes(int index)

Output only. The deleted CuratedRuleSets this detection exclusion applies to. Indicates to the customer that the detection exclusion no longer applies to the rule sets, so the detection exclusion should be updated. Format: projects/{project}/locations/{location}/instances/{instance}/curatedRuleSetCategories/{category}/curatedRuleSets/{rule_set}

repeated string deleted_curated_rule_sets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the deletedCuratedRuleSets at the given index.

getDeletedCuratedRuleSetsCount()

public int getDeletedCuratedRuleSetsCount()

Output only. The deleted CuratedRuleSets this detection exclusion applies to. Indicates to the customer that the detection exclusion no longer applies to the rule sets, so the detection exclusion should be updated. Format: projects/{project}/locations/{location}/instances/{instance}/curatedRuleSetCategories/{category}/curatedRuleSets/{rule_set}

repeated string deleted_curated_rule_sets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of deletedCuratedRuleSets.

getDeletedCuratedRuleSetsList()

public ProtocolStringList getDeletedCuratedRuleSetsList()

Output only. The deleted CuratedRuleSets this detection exclusion applies to. Indicates to the customer that the detection exclusion no longer applies to the rule sets, so the detection exclusion should be updated. Format: projects/{project}/locations/{location}/instances/{instance}/curatedRuleSetCategories/{category}/curatedRuleSets/{rule_set}

repeated string deleted_curated_rule_sets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ProtocolStringList

A list containing the deletedCuratedRuleSets.

getParserForType()

public Parser<DetectionExclusionApplication> getParserForType()
Returns
Type Description
Parser<DetectionExclusionApplication>
Overrides

getRules(int index)

public String getRules(int index)

Optional. The Rules this detection exclusion applies to. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}

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

getRulesBytes(int index)

public ByteString getRulesBytes(int index)

Optional. The Rules this detection exclusion applies to. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}

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

getRulesCount()

public int getRulesCount()

Optional. The Rules this detection exclusion applies to. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}

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

Returns
Type Description
int

The count of rules.

getRulesList()

public ProtocolStringList getRulesList()

Optional. The Rules this detection exclusion applies to. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}

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

Returns
Type Description
ProtocolStringList

A list containing the rules.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DetectionExclusionApplication.Builder newBuilderForType()
Returns
Type Description
DetectionExclusionApplication.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected DetectionExclusionApplication.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DetectionExclusionApplication.Builder
Overrides

toBuilder()

public DetectionExclusionApplication.Builder toBuilder()
Returns
Type Description
DetectionExclusionApplication.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException