Interface RuleSetOrBuilder

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

    public interface RuleSetOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getDescription()
      Short description of the rule-set.
      com.google.protobuf.ByteString getDescriptionBytes()
      Short description of the rule-set.
      String getName()
      The resource name of the rule set.
      com.google.protobuf.ByteString getNameBytes()
      The resource name of the rule set.
      Rule getRules​(int index)
      List of rules given by the customer.
      int getRulesCount()
      List of rules given by the customer.
      List<Rule> getRulesList()
      List of rules given by the customer.
      RuleOrBuilder getRulesOrBuilder​(int index)
      List of rules given by the customer.
      List<? extends RuleOrBuilder> getRulesOrBuilderList()
      List of rules given by the customer.
      String getSource()
      Source of the rules i.e., customer name.
      com.google.protobuf.ByteString getSourceBytes()
      Source of the rules i.e., customer name.
      • 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 Detail

      • getName

        String getName()
         The resource name of the rule set. Managed internally.
         Format:
         projects/{project_number}/locations/{location}/ruleSet/{rule_set_id}.
        
         The name is ignored when creating a rule set.
         
        string name = 6;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         The resource name of the rule set. Managed internally.
         Format:
         projects/{project_number}/locations/{location}/ruleSet/{rule_set_id}.
        
         The name is ignored when creating a rule set.
         
        string name = 6;
        Returns:
        The bytes for name.
      • getDescription

        String getDescription()
         Short description of the rule-set.
         
        string description = 1;
        Returns:
        The description.
      • getDescriptionBytes

        com.google.protobuf.ByteString getDescriptionBytes()
         Short description of the rule-set.
         
        string description = 1;
        Returns:
        The bytes for description.
      • getSource

        String getSource()
         Source of the rules i.e., customer name.
         
        string source = 2;
        Returns:
        The source.
      • getSourceBytes

        com.google.protobuf.ByteString getSourceBytes()
         Source of the rules i.e., customer name.
         
        string source = 2;
        Returns:
        The bytes for source.
      • getRulesList

        List<Rule> getRulesList()
         List of rules given by the customer.
         
        repeated .google.cloud.contentwarehouse.v1.Rule rules = 3;
      • getRules

        Rule getRules​(int index)
         List of rules given by the customer.
         
        repeated .google.cloud.contentwarehouse.v1.Rule rules = 3;
      • getRulesCount

        int getRulesCount()
         List of rules given by the customer.
         
        repeated .google.cloud.contentwarehouse.v1.Rule rules = 3;
      • getRulesOrBuilderList

        List<? extends RuleOrBuilder> getRulesOrBuilderList()
         List of rules given by the customer.
         
        repeated .google.cloud.contentwarehouse.v1.Rule rules = 3;
      • getRulesOrBuilder

        RuleOrBuilder getRulesOrBuilder​(int index)
         List of rules given by the customer.
         
        repeated .google.cloud.contentwarehouse.v1.Rule rules = 3;