Send feedback
Class FilteringAttribute (1.15.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.15.0 keyboard_arrow_down
public final class FilteringAttribute extends GeneratedMessageV3 implements FilteringAttributeOrBuilder
A representation of the FilteringAttribute resource.
Filtering attributes are per event type.
Protobuf type google.cloud.eventarc.v1.FilteringAttribute
Static Fields
ATTRIBUTE_FIELD_NUMBER
public static final int ATTRIBUTE_FIELD_NUMBER
Field Value Type Description int
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value Type Description int
PATH_PATTERN_SUPPORTED_FIELD_NUMBER
public static final int PATH_PATTERN_SUPPORTED_FIELD_NUMBER
Field Value Type Description int
REQUIRED_FIELD_NUMBER
public static final int REQUIRED_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static FilteringAttribute getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static FilteringAttribute . Builder newBuilder ()
newBuilder(FilteringAttribute prototype)
public static FilteringAttribute . Builder newBuilder ( FilteringAttribute prototype )
public static FilteringAttribute parseDelimitedFrom ( InputStream input )
public static FilteringAttribute parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static FilteringAttribute parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FilteringAttribute parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static FilteringAttribute parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FilteringAttribute parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static FilteringAttribute parseFrom ( CodedInputStream input )
public static FilteringAttribute parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static FilteringAttribute parseFrom ( InputStream input )
public static FilteringAttribute parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static FilteringAttribute parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FilteringAttribute parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<FilteringAttribute> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getAttribute()
public String getAttribute ()
Output only. Attribute used for filtering the event type.
string attribute = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns Type Description String
The attribute.
getAttributeBytes()
public ByteString getAttributeBytes ()
Output only. Attribute used for filtering the event type.
string attribute = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns Type Description ByteString
The bytes for attribute.
getDefaultInstanceForType()
public FilteringAttribute getDefaultInstanceForType ()
getDescription()
public String getDescription ()
Output only. Description of the purpose of the attribute.
string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns Type Description String
The description.
getDescriptionBytes()
public ByteString getDescriptionBytes ()
Output only. Description of the purpose of the attribute.
string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns Type Description ByteString
The bytes for description.
getParserForType()
public Parser<FilteringAttribute> getParserForType ()
Overrides
getPathPatternSupported()
public boolean getPathPatternSupported ()
Output only. If true, the attribute accepts matching expressions in the Eventarc
PathPattern format.
bool path_pattern_supported = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns Type Description boolean
The pathPatternSupported.
getRequired()
public boolean getRequired ()
Output only. If true, the triggers for this provider should always specify a filter
on these attributes. Trigger creation will fail otherwise.
bool required = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns Type Description boolean
The required.
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public FilteringAttribute . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FilteringAttribute . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public FilteringAttribute . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]