public interface RuleOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCelExpression()
public abstract CELExpression getCelExpression()
Logic expression in CEL language.
.google.cloud.cloudsecuritycompliance.v1.CELExpression cel_expression = 1;
Returns | |
---|---|
Type | Description |
CELExpression |
The celExpression. |
getCelExpressionOrBuilder()
public abstract CELExpressionOrBuilder getCelExpressionOrBuilder()
Logic expression in CEL language.
.google.cloud.cloudsecuritycompliance.v1.CELExpression cel_expression = 1;
Returns | |
---|---|
Type | Description |
CELExpressionOrBuilder |
getDescription()
public abstract String getDescription()
Optional. Description of the Rule. The maximum length is 2000 characters.
string description = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()
Optional. Description of the Rule. The maximum length is 2000 characters.
string description = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getImplementationCase()
public abstract Rule.ImplementationCase getImplementationCase()
Returns | |
---|---|
Type | Description |
Rule.ImplementationCase |
getRuleActionTypes(int index)
public abstract RuleActionType getRuleActionTypes(int index)
Required. The functionality enabled by the Rule.
repeated .google.cloud.cloudsecuritycompliance.v1.RuleActionType rule_action_types = 16 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
RuleActionType |
The ruleActionTypes at the given index. |
getRuleActionTypesCount()
public abstract int getRuleActionTypesCount()
Required. The functionality enabled by the Rule.
repeated .google.cloud.cloudsecuritycompliance.v1.RuleActionType rule_action_types = 16 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The count of ruleActionTypes. |
getRuleActionTypesList()
public abstract List<RuleActionType> getRuleActionTypesList()
Required. The functionality enabled by the Rule.
repeated .google.cloud.cloudsecuritycompliance.v1.RuleActionType rule_action_types = 16 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<RuleActionType> |
A list containing the ruleActionTypes. |
getRuleActionTypesValue(int index)
public abstract int getRuleActionTypesValue(int index)
Required. The functionality enabled by the Rule.
repeated .google.cloud.cloudsecuritycompliance.v1.RuleActionType rule_action_types = 16 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire of ruleActionTypes at the given index. |
getRuleActionTypesValueList()
public abstract List<Integer> getRuleActionTypesValueList()
Required. The functionality enabled by the Rule.
repeated .google.cloud.cloudsecuritycompliance.v1.RuleActionType rule_action_types = 16 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for ruleActionTypes. |
hasCelExpression()
public abstract boolean hasCelExpression()
Logic expression in CEL language.
.google.cloud.cloudsecuritycompliance.v1.CELExpression cel_expression = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the celExpression field is set. |