Class EntityReference (0.85.0)

public final class EntityReference extends GeneratedMessage implements EntityReferenceOrBuilder

The soft reference to everything you can attach a lineage event to.

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

Static Fields

FIELD_FIELD_NUMBER

public static final int FIELD_FIELD_NUMBER
Field Value
Type Description
int

FULLY_QUALIFIED_NAME_FIELD_NUMBER

public static final int FULLY_QUALIFIED_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EntityReference getDefaultInstance()
Returns
Type Description
EntityReference

getDescriptor()

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

newBuilder()

public static EntityReference.Builder newBuilder()
Returns
Type Description
EntityReference.Builder

newBuilder(EntityReference prototype)

public static EntityReference.Builder newBuilder(EntityReference prototype)
Parameter
Name Description
prototype EntityReference
Returns
Type Description
EntityReference.Builder

parseDelimitedFrom(InputStream input)

public static EntityReference parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EntityReference
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityReference parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityReference
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EntityReference parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EntityReference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EntityReference parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityReference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EntityReference parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EntityReference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EntityReference parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityReference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EntityReference parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EntityReference
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityReference parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityReference
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EntityReference parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EntityReference
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityReference parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityReference
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EntityReference parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EntityReference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EntityReference parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityReference
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EntityReference> parser()
Returns
Type Description
Parser<EntityReference>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public EntityReference getDefaultInstanceForType()
Returns
Type Description
EntityReference

getField(int index)

public String getField(int index)

Optional. Field path within the entity. Each nesting level should be a separate value in the repeated field. The order matters. Must be empty for asset level lineage

For example to address "salary.net" subfield where "salary" is a column and "net" is a proto field two values in the field should be reported, the first is "salary" and the second is "net".

Each field length is limited to 500 characters. Maximum supported nesting level is 20.

repeated string field = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The field at the given index.

getFieldBytes(int index)

public ByteString getFieldBytes(int index)

Optional. Field path within the entity. Each nesting level should be a separate value in the repeated field. The order matters. Must be empty for asset level lineage

For example to address "salary.net" subfield where "salary" is a column and "net" is a proto field two values in the field should be reported, the first is "salary" and the second is "net".

Each field length is limited to 500 characters. Maximum supported nesting level is 20.

repeated string field = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the field at the given index.

getFieldCount()

public int getFieldCount()

Optional. Field path within the entity. Each nesting level should be a separate value in the repeated field. The order matters. Must be empty for asset level lineage

For example to address "salary.net" subfield where "salary" is a column and "net" is a proto field two values in the field should be reported, the first is "salary" and the second is "net".

Each field length is limited to 500 characters. Maximum supported nesting level is 20.

repeated string field = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of field.

getFieldList()

public ProtocolStringList getFieldList()

Optional. Field path within the entity. Each nesting level should be a separate value in the repeated field. The order matters. Must be empty for asset level lineage

For example to address "salary.net" subfield where "salary" is a column and "net" is a proto field two values in the field should be reported, the first is "salary" and the second is "net".

Each field length is limited to 500 characters. Maximum supported nesting level is 20.

repeated string field = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the field.

getFullyQualifiedName()

public String getFullyQualifiedName()

Required. Fully Qualified Name (FQN) of the entity.

string fully_qualified_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The fullyQualifiedName.

getFullyQualifiedNameBytes()

public ByteString getFullyQualifiedNameBytes()

Required. Fully Qualified Name (FQN) of the entity.

string fully_qualified_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for fullyQualifiedName.

getParserForType()

public Parser<EntityReference> getParserForType()
Returns
Type Description
Parser<EntityReference>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EntityReference.Builder newBuilderForType()
Returns
Type Description
EntityReference.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected EntityReference.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EntityReference.Builder
Overrides

toBuilder()

public EntityReference.Builder toBuilder()
Returns
Type Description
EntityReference.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException