Interface OriginOrBuilder (0.34.0)

public interface OriginOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

If the source_type isn't CUSTOM, the value of this field should be a GCP resource name of the system, which reports lineage. The project and location parts of the resource name must match the project and location of the lineage resource being created. Examples:

  • {source_type: COMPOSER, name: "projects/foo/locations/us/environments/bar"}
  • {source_type: BIGQUERY, name: "projects/foo/locations/eu"}
  • {source_type: CUSTOM, name: "myCustomIntegration"}

string name = 2;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

If the source_type isn't CUSTOM, the value of this field should be a GCP resource name of the system, which reports lineage. The project and location parts of the resource name must match the project and location of the lineage resource being created. Examples:

  • {source_type: COMPOSER, name: "projects/foo/locations/us/environments/bar"}
  • {source_type: BIGQUERY, name: "projects/foo/locations/eu"}
  • {source_type: CUSTOM, name: "myCustomIntegration"}

string name = 2;

Returns
Type Description
ByteString

The bytes for name.

getSourceType()

public abstract Origin.SourceType getSourceType()

Type of the source.

Use of a source_type other than CUSTOM for process creation or updating is highly discouraged, and may be restricted in the future without notice.

.google.cloud.datacatalog.lineage.v1.Origin.SourceType source_type = 1;

Returns
Type Description
Origin.SourceType

The sourceType.

getSourceTypeValue()

public abstract int getSourceTypeValue()

Type of the source.

Use of a source_type other than CUSTOM for process creation or updating is highly discouraged, and may be restricted in the future without notice.

.google.cloud.datacatalog.lineage.v1.Origin.SourceType source_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for sourceType.