# Enum RuleView (0.31.0)

0.31.0 (latest) 0.29.0 0.26.0 0.25.0 0.23.0 0.21.0 0.20.0 0.19.0 0.18.0 0.16.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.8.0 0.6.0 0.5.0 0.2.0 0.1.0

    public enum RuleView extends Enum<RuleView> implements ProtocolMessageEnum

RuleView indicates the scope of fields to populate when returning the Rule
resource.

Protobuf enum `google.cloud.chronicle.v1.RuleView`

## Implements

[ProtocolMessageEnum](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ProtocolMessageEnum.html)

## Inherited Members

[Enum.\<T\>valueOf(Class\<T\>,String)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#valueOf-java.lang.Class-java.lang.String-) [Enum.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#clone--) [Enum.compareTo(E)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#compareTo-E-) [Enum.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#equals-java.lang.Object-) [Enum.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#finalize--) [Enum.getDeclaringClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#getDeclaringClass--) [Enum.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#hashCode--) [Enum.name()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#name--) [Enum.ordinal()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#ordinal--) [Enum.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#toString--) [Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) [Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) [Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) [Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) [Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) [Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)

| ## Static Fields ||
|---|---|
| **Name** | **Description** |
| `BASIC` | Include basic metadata about the rule, but not the full contents. Returned fields include: revision_id, revision_create_time, display_name, author, severity, type, allowed_run_frequency, near_real_time_live_rule_eligible, etag, and scope. This is the default value for ListRules and ListRuleRevisions. `BASIC = 1;` |
| `BASIC_VALUE` | Include basic metadata about the rule, but not the full contents. Returned fields include: revision_id, revision_create_time, display_name, author, severity, type, allowed_run_frequency, near_real_time_live_rule_eligible, etag, and scope. This is the default value for ListRules and ListRuleRevisions. `BASIC = 1;` |
| `FULL` | Include all fields. This is the default value for GetRule. `FULL = 2;` |
| `FULL_VALUE` | Include all fields. This is the default value for GetRule. `FULL = 2;` |
| `REVISION_METADATA_ONLY` | Include basic metadata about the rule's revision only. Returned fields include: revision_id and revision_create_time. `REVISION_METADATA_ONLY = 3;` |
| `REVISION_METADATA_ONLY_VALUE` | Include basic metadata about the rule's revision only. Returned fields include: revision_id and revision_create_time. `REVISION_METADATA_ONLY = 3;` |
| `RULE_VIEW_UNSPECIFIED` | The default/unset value. The API will default to the BASIC view for ListRules/ListRuleRevisions. The API will default to the FULL view for GetRule. `RULE_VIEW_UNSPECIFIED = 0;` |
| `RULE_VIEW_UNSPECIFIED_VALUE` | The default/unset value. The API will default to the BASIC view for ListRules/ListRuleRevisions. The API will default to the FULL view for GetRule. `RULE_VIEW_UNSPECIFIED = 0;` |
| `UNRECOGNIZED` |   |

| ## Static Methods ||
|---|---|
| **Name** | **Description** |
| `forNumber(int value)` |   |
| `getDescriptor()` |   |
| `internalGetValueMap()` |   |
| `valueOf(Descriptors.EnumValueDescriptor desc)` |   |
| `valueOf(int value)` | **Deprecated.** *Use [#forNumber(int)](https://docs.cloud.google.com/java/docs/reference/google-cloud-chronicle/latest/com.google.cloud.chronicle.v1.RuleView#com_google_cloud_chronicle_v1_RuleView_forNumber_int_) instead.* |
| `valueOf(String name)` |   |
| `values()` |   |

| ## Methods ||
|---|---|
| **Name** | **Description** |
| `getDescriptorForType()` |   |
| `getNumber()` |   |
| `getValueDescriptor()` |   |