Interface GetRuleRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GetRuleRequest, GetRuleRequest.Builder

@Generated public interface GetRuleRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    The view field indicates the scope of fields to populate for the Rule being returned.
    int
    The view field indicates the scope of fields to populate for the Rule being returned.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       Required. The name of the rule to retrieve.
       Format:
       `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. The name of the rule to retrieve.
       Format:
       `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for name.
    • getViewValue

      int getViewValue()
       The view field indicates the scope of fields to populate for the Rule being
       returned. If unspecified, defaults to FULL.
       
      .google.cloud.chronicle.v1.RuleView view = 2;
      Returns:
      The enum numeric value on the wire for view.
    • getView

      RuleView getView()
       The view field indicates the scope of fields to populate for the Rule being
       returned. If unspecified, defaults to FULL.
       
      .google.cloud.chronicle.v1.RuleView view = 2;
      Returns:
      The view.