public interface RuleOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAssetType()
public abstract String getAssetType()The CAI asset type of the rule is evaluating, for joined asset types, it will be the corresponding primary asset types.
string asset_type = 13;
| Returns | |
|---|---|
| Type | Description |
String |
The assetType. |
getAssetTypeBytes()
public abstract ByteString getAssetTypeBytes()The CAI asset type of the rule is evaluating, for joined asset types, it will be the corresponding primary asset types.
string asset_type = 13;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for assetType. |
getDescription()
public abstract String getDescription()Describe rule in plain language.
string description = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()Describe rule in plain language.
string description = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDisplayName()
public abstract String getDisplayName()The name display in UI.
string display_name = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes()The name display in UI.
string display_name = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getErrorMessage()
public abstract String getErrorMessage()The message template for rule.
string error_message = 8;
| Returns | |
|---|---|
| Type | Description |
String |
The errorMessage. |
getErrorMessageBytes()
public abstract ByteString getErrorMessageBytes()The message template for rule.
string error_message = 8;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for errorMessage. |
getName()
public abstract String getName()Rule name.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Rule name.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPrimaryCategory()
public abstract String getPrimaryCategory()The primary category.
string primary_category = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The primaryCategory. |
getPrimaryCategoryBytes()
public abstract ByteString getPrimaryCategoryBytes()The primary category.
string primary_category = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for primaryCategory. |
getRemediation()
public abstract String getRemediation()The remediation for the rule.
string remediation = 10;
| Returns | |
|---|---|
| Type | Description |
String |
The remediation. |
getRemediationBytes()
public abstract ByteString getRemediationBytes()The remediation for the rule.
string remediation = 10;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for remediation. |
getRevisionId()
public abstract String getRevisionId()Output only. The version of the rule.
string revision_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The revisionId. |
getRevisionIdBytes()
public abstract ByteString getRevisionIdBytes()Output only. The version of the rule.
string revision_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for revisionId. |
getRuleType()
public abstract Rule.RuleType getRuleType()The type of the rule.
.google.cloud.workloadmanager.v1.Rule.RuleType rule_type = 12;
| Returns | |
|---|---|
| Type | Description |
Rule.RuleType |
The ruleType. |
getRuleTypeValue()
public abstract int getRuleTypeValue()The type of the rule.
.google.cloud.workloadmanager.v1.Rule.RuleType rule_type = 12;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for ruleType. |
getSecondaryCategory()
public abstract String getSecondaryCategory()The secondary category.
string secondary_category = 7;
| Returns | |
|---|---|
| Type | Description |
String |
The secondaryCategory. |
getSecondaryCategoryBytes()
public abstract ByteString getSecondaryCategoryBytes()The secondary category.
string secondary_category = 7;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for secondaryCategory. |
getSeverity()
public abstract String getSeverity()The severity of the rule.
string severity = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The severity. |
getSeverityBytes()
public abstract ByteString getSeverityBytes()The severity of the rule.
string severity = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for severity. |
getTags(int index)
public abstract String getTags(int index)List of user-defined tags.
repeated string tags = 11;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The tags at the given index. |
getTagsBytes(int index)
public abstract ByteString getTagsBytes(int index)List of user-defined tags.
repeated string tags = 11;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the tags at the given index. |
getTagsCount()
public abstract int getTagsCount()List of user-defined tags.
repeated string tags = 11;
| Returns | |
|---|---|
| Type | Description |
int |
The count of tags. |
getTagsList()
public abstract List<String> getTagsList()List of user-defined tags.
repeated string tags = 11;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the tags. |
getUri()
public abstract String getUri()The document url for the rule.
string uri = 9;
| Returns | |
|---|---|
| Type | Description |
String |
The uri. |
getUriBytes()
public abstract ByteString getUriBytes()The document url for the rule.
string uri = 9;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uri. |