public static final class DetectionExclusionApplication.Builder extends GeneratedMessage.Builder<DetectionExclusionApplication.Builder> implements DetectionExclusionApplicationOrBuilderDescribes the detectors a detection exclusion is applied to.
Protobuf type google.cloud.chronicle.v1.DetectionExclusionApplication
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DetectionExclusionApplication.BuilderImplements
DetectionExclusionApplicationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllCuratedRuleSets(Iterable<String> values)
public DetectionExclusionApplication.Builder addAllCuratedRuleSets(Iterable<String> values)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 |
values |
Iterable<String>The curatedRuleSets to add. |
| Returns | |
|---|---|
| Type | Description |
DetectionExclusionApplication.Builder |
This builder for chaining. |
addAllCuratedRules(Iterable<String> values)
public DetectionExclusionApplication.Builder addAllCuratedRules(Iterable<String> values)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 |
values |
Iterable<String>The curatedRules to add. |
| Returns | |
|---|---|
| Type | Description |
DetectionExclusionApplication.Builder |
This builder for chaining. |
addAllDeletedCuratedRuleSets(Iterable<String> values)
public DetectionExclusionApplication.Builder addAllDeletedCuratedRuleSets(Iterable<String> values)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 |
values |
Iterable<String>The deletedCuratedRuleSets to add. |
| Returns | |
|---|---|
| Type | Description |
DetectionExclusionApplication.Builder |
This builder for chaining. |
addAllRules(Iterable<String> values)
public DetectionExclusionApplication.Builder addAllRules(Iterable<String> values)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 |
values |
Iterable<String>The rules to add. |
| Returns | |
|---|---|
| Type | Description |
DetectionExclusionApplication.Builder |
This builder for chaining. |
addCuratedRuleSets(String value)
public DetectionExclusionApplication.Builder addCuratedRuleSets(String value)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 |
value |
StringThe curatedRuleSets to add. |
| Returns | |
|---|---|
| Type | Description |
DetectionExclusionApplication.Builder |
This builder for chaining. |
addCuratedRuleSetsBytes(ByteString value)
public DetectionExclusionApplication.Builder addCuratedRuleSetsBytes(ByteString value)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 |
value |
ByteStringThe bytes of the curatedRuleSets to add. |
| Returns | |
|---|---|
| Type | Description |
DetectionExclusionApplication.Builder |
This builder for chaining. |
addCuratedRules(String value)
public DetectionExclusionApplication.Builder addCuratedRules(String value)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 |
value |
StringThe curatedRules to add. |
| Returns | |
|---|---|
| Type | Description |
DetectionExclusionApplication.Builder |
This builder for chaining. |
addCuratedRulesBytes(ByteString value)
public DetectionExclusionApplication.Builder addCuratedRulesBytes(ByteString value)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 |
value |
ByteStringThe bytes of the curatedRules to add. |
| Returns | |
|---|---|
| Type | Description |
DetectionExclusionApplication.Builder |
This builder for chaining. |
addDeletedCuratedRuleSets(String value)
public DetectionExclusionApplication.Builder addDeletedCuratedRuleSets(String value)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 |
value |
StringThe deletedCuratedRuleSets to add. |
| Returns | |
|---|---|
| Type | Description |
DetectionExclusionApplication.Builder |
This builder for chaining. |
addDeletedCuratedRuleSetsBytes(ByteString value)
public DetectionExclusionApplication.Builder addDeletedCuratedRuleSetsBytes(ByteString value)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 |
value |
ByteStringThe bytes of the deletedCuratedRuleSets to add. |
| Returns | |
|---|---|
| Type | Description |
DetectionExclusionApplication.Builder |
This builder for chaining. |
addRules(String value)
public DetectionExclusionApplication.Builder addRules(String value)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 |
value |
StringThe rules to add. |
| Returns | |
|---|---|
| Type | Description |
DetectionExclusionApplication.Builder |
This builder for chaining. |
addRulesBytes(ByteString value)
public DetectionExclusionApplication.Builder addRulesBytes(ByteString value)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 |
value |
ByteStringThe bytes of the rules to add. |
| Returns | |
|---|---|
| Type | Description |
DetectionExclusionApplication.Builder |
This builder for chaining. |
build()
public DetectionExclusionApplication build()| Returns | |
|---|---|
| Type | Description |
DetectionExclusionApplication |
|
buildPartial()
public DetectionExclusionApplication buildPartial()| Returns | |
|---|---|
| Type | Description |
DetectionExclusionApplication |
|
clear()
public DetectionExclusionApplication.Builder clear()| Returns | |
|---|---|
| Type | Description |
DetectionExclusionApplication.Builder |
|
clearCuratedRuleSets()
public DetectionExclusionApplication.Builder clearCuratedRuleSets()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 |
DetectionExclusionApplication.Builder |
This builder for chaining. |
clearCuratedRules()
public DetectionExclusionApplication.Builder clearCuratedRules()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 |
DetectionExclusionApplication.Builder |
This builder for chaining. |
clearDeletedCuratedRuleSets()
public DetectionExclusionApplication.Builder clearDeletedCuratedRuleSets()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 |
DetectionExclusionApplication.Builder |
This builder for chaining. |
clearRules()
public DetectionExclusionApplication.Builder clearRules()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 |
DetectionExclusionApplication.Builder |
This builder for chaining. |
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 |
intThe 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 |
intThe 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 |
intThe 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 |
intThe 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 |
intThe 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 |
intThe 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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
intThe 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 |
intThe 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DetectionExclusionApplication other)
public DetectionExclusionApplication.Builder mergeFrom(DetectionExclusionApplication other)| Parameter | |
|---|---|
| Name | Description |
other |
DetectionExclusionApplication |
| Returns | |
|---|---|
| Type | Description |
DetectionExclusionApplication.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DetectionExclusionApplication.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DetectionExclusionApplication.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DetectionExclusionApplication.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DetectionExclusionApplication.Builder |
|
setCuratedRuleSets(int index, String value)
public DetectionExclusionApplication.Builder setCuratedRuleSets(int index, String value)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) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe curatedRuleSets to set. |
| Returns | |
|---|---|
| Type | Description |
DetectionExclusionApplication.Builder |
This builder for chaining. |
setCuratedRules(int index, String value)
public DetectionExclusionApplication.Builder setCuratedRules(int index, String value)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) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe curatedRules to set. |
| Returns | |
|---|---|
| Type | Description |
DetectionExclusionApplication.Builder |
This builder for chaining. |
setDeletedCuratedRuleSets(int index, String value)
public DetectionExclusionApplication.Builder setDeletedCuratedRuleSets(int index, String value)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) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe deletedCuratedRuleSets to set. |
| Returns | |
|---|---|
| Type | Description |
DetectionExclusionApplication.Builder |
This builder for chaining. |
setRules(int index, String value)
public DetectionExclusionApplication.Builder setRules(int index, String value)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) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe rules to set. |
| Returns | |
|---|---|
| Type | Description |
DetectionExclusionApplication.Builder |
This builder for chaining. |