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
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
PATH_PATTERN_SUPPORTED_FIELD_NUMBER
public static final int PATH_PATTERN_SUPPORTED_FIELD_NUMBER
Field Value
REQUIRED_FIELD_NUMBER
public static final int REQUIRED_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static FilteringAttribute getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static FilteringAttribute.Builder newBuilder()
Returns
newBuilder(FilteringAttribute prototype)
public static FilteringAttribute.Builder newBuilder(FilteringAttribute prototype)
Parameter
Returns
public static FilteringAttribute parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static FilteringAttribute parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static FilteringAttribute parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FilteringAttribute parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static FilteringAttribute parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FilteringAttribute parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FilteringAttribute parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static FilteringAttribute parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FilteringAttribute parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static FilteringAttribute parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static FilteringAttribute parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FilteringAttribute parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<FilteringAttribute> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
getDefaultInstanceForType()
public FilteringAttribute getDefaultInstanceForType()
Returns
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()
Returns
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
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public FilteringAttribute.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FilteringAttribute.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public FilteringAttribute.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions