Interface EventFilterOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getAttribute()
      Required.
      com.google.protobuf.ByteString getAttributeBytes()
      Required.
      String getOperator()
      Optional.
      com.google.protobuf.ByteString getOperatorBytes()
      Optional.
      String getValue()
      Required.
      com.google.protobuf.ByteString getValueBytes()
      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 Detail

      • getAttribute

        String getAttribute()
         Required. The name of a CloudEvents attribute. Currently, only a subset of attributes
         are supported for filtering.
        
         All triggers MUST provide a filter for the 'type' attribute.
         
        string attribute = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The attribute.
      • getAttributeBytes

        com.google.protobuf.ByteString getAttributeBytes()
         Required. The name of a CloudEvents attribute. Currently, only a subset of attributes
         are supported for filtering.
        
         All triggers MUST provide a filter for the 'type' attribute.
         
        string attribute = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for attribute.
      • getValue

        String getValue()
         Required. The value for the attribute.
         
        string value = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The value.
      • getValueBytes

        com.google.protobuf.ByteString getValueBytes()
         Required. The value for the attribute.
         
        string value = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for value.
      • getOperator

        String getOperator()
         Optional. The operator used for matching the events with the value of the
         filter. If not specified, only events that have an exact key-value pair
         specified in the filter are matched. The only allowed value is
         `match-path-pattern`.
         
        string operator = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The operator.
      • getOperatorBytes

        com.google.protobuf.ByteString getOperatorBytes()
         Optional. The operator used for matching the events with the value of the
         filter. If not specified, only events that have an exact key-value pair
         specified in the filter are matched. The only allowed value is
         `match-path-pattern`.
         
        string operator = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for operator.