Package com.google.cloud.functions.v2
Interface EventFilterOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EventFilter,EventFilter.Builder
@Generated
public interface EventFilterOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.getValue()Required.com.google.protobuf.ByteStringRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAttribute
String getAttribute()Required. The name of a CloudEvents 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.
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.
-