Class NotificationConfig.StreamingConfig.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.StreamingConfig.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.StreamingConfig.Builder>
      • getDefaultInstanceForType

        public NotificationConfig.StreamingConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public NotificationConfig.StreamingConfig build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public NotificationConfig.StreamingConfig buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.StreamingConfig.Builder>
      • getFilter

        public String getFilter()
         Expression that defines the filter to apply across create/update events
         of assets or findings as specified by the event type. The expression is a
         list of zero or more restrictions combined via logical operators `AND`
         and `OR`. Parentheses are supported, and `OR` has higher precedence than
         `AND`.
        
         Restrictions have the form `<field> <operator> <value>` and may have a
         `-` character in front of them to indicate negation. The fields map to
         those defined in the corresponding resource.
        
         The supported operators are:
        
         * `=` for all value types.
         * `>`, `<`, `>=`, `<=` for integer values.
         * `:`, meaning substring matching, for strings.
        
         The supported value types are:
        
         * string literals in quotes.
         * integer literals without quotes.
         * boolean literals `true` and `false` without quotes.
         
        string filter = 1;
        Specified by:
        getFilter in interface NotificationConfig.StreamingConfigOrBuilder
        Returns:
        The filter.
      • getFilterBytes

        public com.google.protobuf.ByteString getFilterBytes()
         Expression that defines the filter to apply across create/update events
         of assets or findings as specified by the event type. The expression is a
         list of zero or more restrictions combined via logical operators `AND`
         and `OR`. Parentheses are supported, and `OR` has higher precedence than
         `AND`.
        
         Restrictions have the form `<field> <operator> <value>` and may have a
         `-` character in front of them to indicate negation. The fields map to
         those defined in the corresponding resource.
        
         The supported operators are:
        
         * `=` for all value types.
         * `>`, `<`, `>=`, `<=` for integer values.
         * `:`, meaning substring matching, for strings.
        
         The supported value types are:
        
         * string literals in quotes.
         * integer literals without quotes.
         * boolean literals `true` and `false` without quotes.
         
        string filter = 1;
        Specified by:
        getFilterBytes in interface NotificationConfig.StreamingConfigOrBuilder
        Returns:
        The bytes for filter.
      • setFilter

        public NotificationConfig.StreamingConfig.Builder setFilter​(String value)
         Expression that defines the filter to apply across create/update events
         of assets or findings as specified by the event type. The expression is a
         list of zero or more restrictions combined via logical operators `AND`
         and `OR`. Parentheses are supported, and `OR` has higher precedence than
         `AND`.
        
         Restrictions have the form `<field> <operator> <value>` and may have a
         `-` character in front of them to indicate negation. The fields map to
         those defined in the corresponding resource.
        
         The supported operators are:
        
         * `=` for all value types.
         * `>`, `<`, `>=`, `<=` for integer values.
         * `:`, meaning substring matching, for strings.
        
         The supported value types are:
        
         * string literals in quotes.
         * integer literals without quotes.
         * boolean literals `true` and `false` without quotes.
         
        string filter = 1;
        Parameters:
        value - The filter to set.
        Returns:
        This builder for chaining.
      • clearFilter

        public NotificationConfig.StreamingConfig.Builder clearFilter()
         Expression that defines the filter to apply across create/update events
         of assets or findings as specified by the event type. The expression is a
         list of zero or more restrictions combined via logical operators `AND`
         and `OR`. Parentheses are supported, and `OR` has higher precedence than
         `AND`.
        
         Restrictions have the form `<field> <operator> <value>` and may have a
         `-` character in front of them to indicate negation. The fields map to
         those defined in the corresponding resource.
        
         The supported operators are:
        
         * `=` for all value types.
         * `>`, `<`, `>=`, `<=` for integer values.
         * `:`, meaning substring matching, for strings.
        
         The supported value types are:
        
         * string literals in quotes.
         * integer literals without quotes.
         * boolean literals `true` and `false` without quotes.
         
        string filter = 1;
        Returns:
        This builder for chaining.
      • setFilterBytes

        public NotificationConfig.StreamingConfig.Builder setFilterBytes​(com.google.protobuf.ByteString value)
         Expression that defines the filter to apply across create/update events
         of assets or findings as specified by the event type. The expression is a
         list of zero or more restrictions combined via logical operators `AND`
         and `OR`. Parentheses are supported, and `OR` has higher precedence than
         `AND`.
        
         Restrictions have the form `<field> <operator> <value>` and may have a
         `-` character in front of them to indicate negation. The fields map to
         those defined in the corresponding resource.
        
         The supported operators are:
        
         * `=` for all value types.
         * `>`, `<`, `>=`, `<=` for integer values.
         * `:`, meaning substring matching, for strings.
        
         The supported value types are:
        
         * string literals in quotes.
         * integer literals without quotes.
         * boolean literals `true` and `false` without quotes.
         
        string filter = 1;
        Parameters:
        value - The bytes for filter to set.
        Returns:
        This builder for chaining.