public static final class MetadataFeed.Filters extends GeneratedMessage implements MetadataFeed.FiltersOrBuilder
Filters defines the type of changes that you want to listen to.
You can have multiple entry type filters and multiple aspect type filters.
All of the entry type filters are OR'ed together.
All of the aspect type filters are OR'ed together.
All of the entry type filters and aspect type filters are AND'ed together.
Protobuf type google.cloud.dataplex.v1.MetadataFeed.Filters
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int ASPECT_TYPES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int CHANGE_TYPES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ENTRY_TYPES_FIELD_NUMBER
public static final int ENTRY_TYPES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static MetadataFeed.Filters getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static MetadataFeed.Filters.Builder newBuilder()
public static MetadataFeed.Filters.Builder newBuilder(MetadataFeed.Filters prototype)
public static MetadataFeed.Filters parseDelimitedFrom(InputStream input)
public static MetadataFeed.Filters parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MetadataFeed.Filters parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static MetadataFeed.Filters parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MetadataFeed.Filters parseFrom(ByteString data)
public static MetadataFeed.Filters parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MetadataFeed.Filters parseFrom(CodedInputStream input)
public static MetadataFeed.Filters parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MetadataFeed.Filters parseFrom(InputStream input)
public static MetadataFeed.Filters parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MetadataFeed.Filters parseFrom(ByteBuffer data)
public static MetadataFeed.Filters parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<MetadataFeed.Filters> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public String getAspectTypes(int index)
Optional. The aspect types that you want to listen to. Depending on how
the aspect is attached to the entry, in the format:
projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}.
repeated string aspect_types = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The aspectTypes at the given index.
|
public ByteString getAspectTypesBytes(int index)
Optional. The aspect types that you want to listen to. Depending on how
the aspect is attached to the entry, in the format:
projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}.
repeated string aspect_types = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the aspectTypes at the given index.
|
public int getAspectTypesCount()
Optional. The aspect types that you want to listen to. Depending on how
the aspect is attached to the entry, in the format:
projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}.
repeated string aspect_types = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
int |
The count of aspectTypes.
|
public ProtocolStringList getAspectTypesList()
Optional. The aspect types that you want to listen to. Depending on how
the aspect is attached to the entry, in the format:
projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}.
repeated string aspect_types = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
public MetadataFeed.Filters.ChangeType getChangeTypes(int index)
Optional. The type of change that you want to listen to.
If not specified, all changes are published.
repeated .google.cloud.dataplex.v1.MetadataFeed.Filters.ChangeType change_types = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
public int getChangeTypesCount()
Optional. The type of change that you want to listen to.
If not specified, all changes are published.
repeated .google.cloud.dataplex.v1.MetadataFeed.Filters.ChangeType change_types = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The count of changeTypes.
|
public List<MetadataFeed.Filters.ChangeType> getChangeTypesList()
Optional. The type of change that you want to listen to.
If not specified, all changes are published.
repeated .google.cloud.dataplex.v1.MetadataFeed.Filters.ChangeType change_types = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
List<ChangeType> |
A list containing the changeTypes.
|
public int getChangeTypesValue(int index)
Optional. The type of change that you want to listen to.
If not specified, all changes are published.
repeated .google.cloud.dataplex.v1.MetadataFeed.Filters.ChangeType change_types = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire of changeTypes at the given index.
|
public List<Integer> getChangeTypesValueList()
Optional. The type of change that you want to listen to.
If not specified, all changes are published.
repeated .google.cloud.dataplex.v1.MetadataFeed.Filters.ChangeType change_types = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
List<Integer> |
A list containing the enum numeric values on the wire for changeTypes.
|
public MetadataFeed.Filters getDefaultInstanceForType()
getEntryTypes(int index)
public String getEntryTypes(int index)
Optional. The entry types that you want to listen to, specified as
relative resource names in the format
projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}.
Only entries that belong to the specified entry types are published.
repeated string entry_types = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The entryTypes at the given index.
|
getEntryTypesBytes(int index)
public ByteString getEntryTypesBytes(int index)
Optional. The entry types that you want to listen to, specified as
relative resource names in the format
projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}.
Only entries that belong to the specified entry types are published.
repeated string entry_types = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the entryTypes at the given index.
|
getEntryTypesCount()
public int getEntryTypesCount()
Optional. The entry types that you want to listen to, specified as
relative resource names in the format
projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}.
Only entries that belong to the specified entry types are published.
repeated string entry_types = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
int |
The count of entryTypes.
|
getEntryTypesList()
public ProtocolStringList getEntryTypesList()
Optional. The entry types that you want to listen to, specified as
relative resource names in the format
projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}.
Only entries that belong to the specified entry types are published.
repeated string entry_types = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
public Parser<MetadataFeed.Filters> getParserForType()
Overrides
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public MetadataFeed.Filters.Builder newBuilderForType()
protected MetadataFeed.Filters.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public MetadataFeed.Filters.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides