Class Origin (0.33.0)

public final class Origin extends GeneratedMessageV3 implements OriginOrBuilder

Origin of a process.

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

Implements

OriginOrBuilder

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_TYPE_FIELD_NUMBER

public static final int SOURCE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Origin getDefaultInstance()
Returns
TypeDescription
Origin

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Origin.Builder newBuilder()
Returns
TypeDescription
Origin.Builder

newBuilder(Origin prototype)

public static Origin.Builder newBuilder(Origin prototype)
Parameter
NameDescription
prototypeOrigin
Returns
TypeDescription
Origin.Builder

parseDelimitedFrom(InputStream input)

public static Origin parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Origin
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Origin parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Origin
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Origin parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Origin
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Origin parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Origin
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Origin parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Origin
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Origin parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Origin
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Origin parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Origin
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Origin parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Origin
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Origin parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Origin
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Origin parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Origin
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Origin parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Origin
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Origin parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Origin
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Origin> parser()
Returns
TypeDescription
Parser<Origin>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Origin getDefaultInstanceForType()
Returns
TypeDescription
Origin

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.

getParserForType()

public Parser<Origin> getParserForType()
Returns
TypeDescription
Parser<Origin>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for sourceType.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Origin.Builder newBuilderForType()
Returns
TypeDescription
Origin.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Origin.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Origin.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Origin.Builder toBuilder()
Returns
TypeDescription
Origin.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException