public static final class FilteringAttribute.Builder extends GeneratedMessageV3.Builder<FilteringAttribute.Builder> implements FilteringAttributeOrBuilderA representation of the FilteringAttribute resource. Filtering attributes are per event type.
Protobuf type google.cloud.eventarc.v1.FilteringAttribute
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FilteringAttribute.BuilderImplements
FilteringAttributeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FilteringAttribute.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| FilteringAttribute.Builder |
build()
public FilteringAttribute build()| Type | Description |
| FilteringAttribute |
buildPartial()
public FilteringAttribute buildPartial()| Type | Description |
| FilteringAttribute |
clear()
public FilteringAttribute.Builder clear()| Type | Description |
| FilteringAttribute.Builder |
clearAttribute()
public FilteringAttribute.Builder clearAttribute()Output only. Attribute used for filtering the event type.
string attribute = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| FilteringAttribute.Builder | This builder for chaining. |
clearDescription()
public FilteringAttribute.Builder clearDescription()Output only. Description of the purpose of the attribute.
string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| FilteringAttribute.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public FilteringAttribute.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| FilteringAttribute.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public FilteringAttribute.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| FilteringAttribute.Builder |
clearPathPatternSupported()
public FilteringAttribute.Builder clearPathPatternSupported()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];
| Type | Description |
| FilteringAttribute.Builder | This builder for chaining. |
clearRequired()
public FilteringAttribute.Builder clearRequired()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];
| Type | Description |
| FilteringAttribute.Builder | This builder for chaining. |
clone()
public FilteringAttribute.Builder clone()| Type | Description |
| FilteringAttribute.Builder |
getAttribute()
public String getAttribute()Output only. Attribute used for filtering the event type.
string attribute = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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];
| Type | Description |
| ByteString | The bytes for attribute. |
getDefaultInstanceForType()
public FilteringAttribute getDefaultInstanceForType()| Type | Description |
| FilteringAttribute |
getDescription()
public String getDescription()Output only. Description of the purpose of the attribute.
string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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];
| Type | Description |
| ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
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];
| 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];
| Type | Description |
| boolean | The required. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(FilteringAttribute other)
public FilteringAttribute.Builder mergeFrom(FilteringAttribute other)| Name | Description |
| other | FilteringAttribute |
| Type | Description |
| FilteringAttribute.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FilteringAttribute.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| FilteringAttribute.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public FilteringAttribute.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| FilteringAttribute.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FilteringAttribute.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| FilteringAttribute.Builder |
setAttribute(String value)
public FilteringAttribute.Builder setAttribute(String value)Output only. Attribute used for filtering the event type.
string attribute = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | StringThe attribute to set. |
| Type | Description |
| FilteringAttribute.Builder | This builder for chaining. |
setAttributeBytes(ByteString value)
public FilteringAttribute.Builder setAttributeBytes(ByteString value)Output only. Attribute used for filtering the event type.
string attribute = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | ByteStringThe bytes for attribute to set. |
| Type | Description |
| FilteringAttribute.Builder | This builder for chaining. |
setDescription(String value)
public FilteringAttribute.Builder setDescription(String value)Output only. Description of the purpose of the attribute.
string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | StringThe description to set. |
| Type | Description |
| FilteringAttribute.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public FilteringAttribute.Builder setDescriptionBytes(ByteString value)Output only. Description of the purpose of the attribute.
string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | ByteStringThe bytes for description to set. |
| Type | Description |
| FilteringAttribute.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public FilteringAttribute.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| FilteringAttribute.Builder |
setPathPatternSupported(boolean value)
public FilteringAttribute.Builder setPathPatternSupported(boolean value)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];
| Name | Description |
| value | booleanThe pathPatternSupported to set. |
| Type | Description |
| FilteringAttribute.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FilteringAttribute.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| FilteringAttribute.Builder |
setRequired(boolean value)
public FilteringAttribute.Builder setRequired(boolean value)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];
| Name | Description |
| value | booleanThe required to set. |
| Type | Description |
| FilteringAttribute.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final FilteringAttribute.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| FilteringAttribute.Builder |