Interface DataSourceOrBuilder (1.21.0)

public interface DataSourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEntity()

public abstract String getEntity()

Immutable. The Dataplex entity that represents the data source (e.g. BigQuery table) for DataScan, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.

string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The entity.

getEntityBytes()

public abstract ByteString getEntityBytes()

Immutable. The Dataplex entity that represents the data source (e.g. BigQuery table) for DataScan, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.

string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for entity.

getResource()

public abstract String getResource()

Immutable. The service-qualified full resource name of the cloud resource for a DataScan job to scan against. The field could be: BigQuery table of type "TABLE" for DataProfileScan/DataQualityScan Format: //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID

string resource = 101 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
String

The resource.

getResourceBytes()

public abstract ByteString getResourceBytes()

Immutable. The service-qualified full resource name of the cloud resource for a DataScan job to scan against. The field could be: BigQuery table of type "TABLE" for DataProfileScan/DataQualityScan Format: //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID

string resource = 101 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ByteString

The bytes for resource.

getSourceCase()

public abstract DataSource.SourceCase getSourceCase()
Returns
TypeDescription
DataSource.SourceCase

hasEntity()

public abstract boolean hasEntity()

Immutable. The Dataplex entity that represents the data source (e.g. BigQuery table) for DataScan, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.

string entity = 100 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
boolean

Whether the entity field is set.

hasResource()

public abstract boolean hasResource()

Immutable. The service-qualified full resource name of the cloud resource for a DataScan job to scan against. The field could be: BigQuery table of type "TABLE" for DataProfileScan/DataQualityScan Format: //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID

string resource = 101 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
boolean

Whether the resource field is set.