Class MetadataFeed.Filters (1.86.0)

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

Static Fields

ASPECT_TYPES_FIELD_NUMBER

public static final int ASPECT_TYPES_FIELD_NUMBER
Field Value
Type Description
int

CHANGE_TYPES_FIELD_NUMBER

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

getDefaultInstance()

public static MetadataFeed.Filters getDefaultInstance()
Returns
Type Description
MetadataFeed.Filters

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static MetadataFeed.Filters.Builder newBuilder()
Returns
Type Description
MetadataFeed.Filters.Builder

newBuilder(MetadataFeed.Filters prototype)

public static MetadataFeed.Filters.Builder newBuilder(MetadataFeed.Filters prototype)
Parameter
Name Description
prototype MetadataFeed.Filters
Returns
Type Description
MetadataFeed.Filters.Builder

parseDelimitedFrom(InputStream input)

public static MetadataFeed.Filters parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MetadataFeed.Filters
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MetadataFeed.Filters parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetadataFeed.Filters
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MetadataFeed.Filters parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MetadataFeed.Filters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MetadataFeed.Filters parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetadataFeed.Filters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MetadataFeed.Filters parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MetadataFeed.Filters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MetadataFeed.Filters parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetadataFeed.Filters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MetadataFeed.Filters parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MetadataFeed.Filters
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MetadataFeed.Filters parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetadataFeed.Filters
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MetadataFeed.Filters parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MetadataFeed.Filters
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MetadataFeed.Filters parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetadataFeed.Filters
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MetadataFeed.Filters parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MetadataFeed.Filters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MetadataFeed.Filters parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetadataFeed.Filters
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MetadataFeed.Filters> parser()
Returns
Type Description
Parser<Filters>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAspectTypes(int index)

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.

getAspectTypesBytes(int 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.

getAspectTypesCount()

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.

getAspectTypesList()

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) = { ... }

Returns
Type Description
ProtocolStringList

A list containing the aspectTypes.

getChangeTypes(int index)

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.

Returns
Type Description
MetadataFeed.Filters.ChangeType

The changeTypes at the given index.

getChangeTypesCount()

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.

getChangeTypesList()

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.

getChangeTypesValue(int index)

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.

getChangeTypesValueList()

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.

getDefaultInstanceForType()

public MetadataFeed.Filters getDefaultInstanceForType()
Returns
Type Description
MetadataFeed.Filters

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) = { ... }

Returns
Type Description
ProtocolStringList

A list containing the entryTypes.

getParserForType()

public Parser<MetadataFeed.Filters> getParserForType()
Returns
Type Description
Parser<Filters>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public MetadataFeed.Filters.Builder newBuilderForType()
Returns
Type Description
MetadataFeed.Filters.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected MetadataFeed.Filters.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MetadataFeed.Filters.Builder
Overrides

toBuilder()

public MetadataFeed.Filters.Builder toBuilder()
Returns
Type Description
MetadataFeed.Filters.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException