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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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
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