Interface OriginOrBuilder (0.21.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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getSourceType()

public abstract Origin.SourceType getSourceType()

Type of the source.

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

Returns
TypeDescription
Origin.SourceType

The sourceType.

getSourceTypeValue()

public abstract int getSourceTypeValue()

Type of the source.

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

Returns
TypeDescription
int

The enum numeric value on the wire for sourceType.