# Google Cloud Data Catalog Lineage V1 Client - Class SearchFilters (1.4.0)

1.4.0 (latest) 1.3.0 1.2.3 1.1.1 1.0.3 0.5.5 0.4.0 0.3.1 0.2.1 0.1.3 Reference documentation and code samples for the Google Cloud Data Catalog Lineage V1 Client class SearchFilters.

Filters for the search.

Generated from protobuf message `google.cloud.datacatalog.lineage.v1.SearchLineageStreamingRequest.SearchFilters`

## Namespace

Google \\ Cloud \\ DataCatalog \\ Lineage \\ V1 \\ SearchLineageStreamingRequest

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ dependency_types` | `int[]` Optional. Types of dependencies between entities to retrieve. If unspecified, all dependency types are returned. |
| `↳ entity_set` | `int` Optional. Entity set restriction. If unspecified, the method returns all entities. |
| `↳ time_range` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Interval.html` Optional. Time interval to search for lineage. If unspecified, all lineage is returned. Currently, at most one of `start_time` and `end_time` can be set. |

### getDependencyTypes

Optional. Types of dependencies between entities to retrieve.

If unspecified, all dependency types are returned.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<int>` |   |

### setDependencyTypes

Optional. Types of dependencies between entities to retrieve.

If unspecified, all dependency types are returned.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getEntitySet

Optional. Entity set restriction. If unspecified, the method returns all
entities.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [EntitySet](https://docs.cloud.google.com/php/docs/reference/cloud-datacatalog-lineage/latest/V1.SearchLineageStreamingRequest.EntitySet). |

### setEntitySet

Optional. Entity set restriction. If unspecified, the method returns all
entities.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [EntitySet](https://docs.cloud.google.com/php/docs/reference/cloud-datacatalog-lineage/latest/V1.SearchLineageStreamingRequest.EntitySet). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTimeRange

Optional. Time interval to search for lineage. If unspecified, all
lineage is returned. Currently, at most one of `start_time` and
`end_time` can be set.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Interval.html|null` |   |

### hasTimeRange

### clearTimeRange

### setTimeRange

Optional. Time interval to search for lineage. If unspecified, all
lineage is returned. Currently, at most one of `start_time` and
`end_time` can be set.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Interval.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |