Interface CreateRuleRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    Required.
    boolean
    Required.

    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

    • getParent

      String getParent()
       Required. The parent resource where this rule will be created.
       Format: `projects/{project}/locations/{location}/instances/{instance}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The parent resource where this rule will be created.
       Format: `projects/{project}/locations/{location}/instances/{instance}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • hasRule

      boolean hasRule()
       Required. The rule to create.
       
      .google.cloud.chronicle.v1.Rule rule = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the rule field is set.
    • getRule

      Rule getRule()
       Required. The rule to create.
       
      .google.cloud.chronicle.v1.Rule rule = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The rule.
    • getRuleOrBuilder

      RuleOrBuilder getRuleOrBuilder()
       Required. The rule to create.
       
      .google.cloud.chronicle.v1.Rule rule = 2 [(.google.api.field_behavior) = REQUIRED];