Class Origin.Builder (0.75.0)

public static final class Origin.Builder extends GeneratedMessage.Builder<Origin.Builder> implements OriginOrBuilder

Origin of a process.

Protobuf type google.cloud.datacatalog.lineage.v1.Origin

Implements

OriginOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public Origin build()
Returns
Type Description
Origin

buildPartial()

public Origin buildPartial()
Returns
Type Description
Origin

clear()

public Origin.Builder clear()
Returns
Type Description
Origin.Builder
Overrides

clearName()

public Origin.Builder clearName()

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
Origin.Builder

This builder for chaining.

clearSourceType()

public Origin.Builder clearSourceType()

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.Builder

This builder for chaining.

getDefaultInstanceForType()

public Origin getDefaultInstanceForType()
Returns
Type Description
Origin

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public 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 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 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 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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Origin other)

public Origin.Builder mergeFrom(Origin other)
Parameter
Name Description
other Origin
Returns
Type Description
Origin.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Origin.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Origin.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Origin.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Origin.Builder
Overrides

setName(String value)

public Origin.Builder setName(String value)

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;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Origin.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Origin.Builder setNameBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Origin.Builder

This builder for chaining.

setSourceType(Origin.SourceType value)

public Origin.Builder setSourceType(Origin.SourceType value)

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;

Parameter
Name Description
value Origin.SourceType

The sourceType to set.

Returns
Type Description
Origin.Builder

This builder for chaining.

setSourceTypeValue(int value)

public Origin.Builder setSourceTypeValue(int value)

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;

Parameter
Name Description
value int

The enum numeric value on the wire for sourceType to set.

Returns
Type Description
Origin.Builder

This builder for chaining.