Class Origin.Builder (0.19.0)

public static final class Origin.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Origin.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Origin.Builder
Overrides

build()

public Origin build()
Returns
TypeDescription
Origin

buildPartial()

public Origin buildPartial()
Returns
TypeDescription
Origin

clear()

public Origin.Builder clear()
Returns
TypeDescription
Origin.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Origin.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Origin.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Origin.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Origin.Builder
Overrides

clearSourceType()

public Origin.Builder clearSourceType()

Type of the source.

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

Returns
TypeDescription
Origin.Builder

This builder for chaining.

clone()

public Origin.Builder clone()
Returns
TypeDescription
Origin.Builder
Overrides

getDefaultInstanceForType()

public Origin getDefaultInstanceForType()
Returns
TypeDescription
Origin

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getSourceType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Origin other)

public Origin.Builder mergeFrom(Origin other)
Parameter
NameDescription
otherOrigin
Returns
TypeDescription
Origin.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Origin.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Origin.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Origin.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Origin.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Origin.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Origin.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Origin.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Origin.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Origin.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Origin.Builder
Overrides

setSourceType(Origin.SourceType value)

public Origin.Builder setSourceType(Origin.SourceType value)

Type of the source.

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

Parameter
NameDescription
valueOrigin.SourceType

The sourceType to set.

Returns
TypeDescription
Origin.Builder

This builder for chaining.

setSourceTypeValue(int value)

public Origin.Builder setSourceTypeValue(int value)

Type of the source.

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

Parameter
NameDescription
valueint

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

Returns
TypeDescription
Origin.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Origin.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Origin.Builder
Overrides