Class EntryLink (1.72.0)

public final class EntryLink extends GeneratedMessageV3 implements EntryLinkOrBuilder

EntryLink represents a link between two Entries.

Protobuf type google.cloud.dataplex.v1.EntryLink

Implements

EntryLinkOrBuilder

Static Fields

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

ENTRY_LINK_TYPE_FIELD_NUMBER

public static final int ENTRY_LINK_TYPE_FIELD_NUMBER
Field Value
Type Description
int

ENTRY_REFERENCES_FIELD_NUMBER

public static final int ENTRY_REFERENCES_FIELD_NUMBER
Field Value
Type Description
int
public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

public static EntryLink getDefaultInstance()
Returns
Type Description
EntryLink
public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor
public static EntryLink.Builder newBuilder()
Returns
Type Description
EntryLink.Builder
public static EntryLink.Builder newBuilder(EntryLink prototype)
Parameter
Name Description
prototype EntryLink
Returns
Type Description
EntryLink.Builder
public static EntryLink parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EntryLink
Exceptions
Type Description
IOException
public static EntryLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntryLink
Exceptions
Type Description
IOException
public static EntryLink parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EntryLink
Exceptions
Type Description
InvalidProtocolBufferException
public static EntryLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntryLink
Exceptions
Type Description
InvalidProtocolBufferException
public static EntryLink parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EntryLink
Exceptions
Type Description
InvalidProtocolBufferException
public static EntryLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntryLink
Exceptions
Type Description
InvalidProtocolBufferException
public static EntryLink parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EntryLink
Exceptions
Type Description
IOException
public static EntryLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntryLink
Exceptions
Type Description
IOException
public static EntryLink parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EntryLink
Exceptions
Type Description
IOException
public static EntryLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntryLink
Exceptions
Type Description
IOException
public static EntryLink parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EntryLink
Exceptions
Type Description
InvalidProtocolBufferException
public static EntryLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntryLink
Exceptions
Type Description
InvalidProtocolBufferException
public static Parser<EntryLink> parser()
Returns
Type Description
Parser<EntryLink>

Methods

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

Output only. The time when the Entry Link was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time when the Entry Link was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder
public EntryLink getDefaultInstanceForType()
Returns
Type Description
EntryLink
public String getEntryLinkType()

Required. Immutable. Relative resource name of the Entry Link Type used to create this Entry Link. For example:

  • Entry link between synonym terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/synonym
  • Entry link between related terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/related
  • Entry link between glossary terms and data assets: projects/dataplex-types/locations/global/entryLinkTypes/definition

string entry_link_type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The entryLinkType.

public ByteString getEntryLinkTypeBytes()

Required. Immutable. Relative resource name of the Entry Link Type used to create this Entry Link. For example:

  • Entry link between synonym terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/synonym
  • Entry link between related terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/related
  • Entry link between glossary terms and data assets: projects/dataplex-types/locations/global/entryLinkTypes/definition

string entry_link_type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for entryLinkType.

public EntryLink.EntryReference getEntryReferences(int index)

Required. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references.

repeated .google.cloud.dataplex.v1.EntryLink.EntryReference entry_references = 10 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
EntryLink.EntryReference
public int getEntryReferencesCount()

Required. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references.

repeated .google.cloud.dataplex.v1.EntryLink.EntryReference entry_references = 10 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int
public List<EntryLink.EntryReference> getEntryReferencesList()

Required. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references.

repeated .google.cloud.dataplex.v1.EntryLink.EntryReference entry_references = 10 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<EntryReference>
public EntryLink.EntryReferenceOrBuilder getEntryReferencesOrBuilder(int index)

Required. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references.

repeated .google.cloud.dataplex.v1.EntryLink.EntryReference entry_references = 10 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
EntryLink.EntryReferenceOrBuilder
public List<? extends EntryLink.EntryReferenceOrBuilder> getEntryReferencesOrBuilderList()

Required. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references.

repeated .google.cloud.dataplex.v1.EntryLink.EntryReference entry_references = 10 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.dataplex.v1.EntryLink.EntryReferenceOrBuilder>
public String getName()

Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

public ByteString getNameBytes()

Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

public Parser<EntryLink> getParserForType()
Returns
Type Description
Parser<EntryLink>
Overrides
public int getSerializedSize()
Returns
Type Description
int
Overrides
public Timestamp getUpdateTime()

Output only. The time when the Entry Link was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time when the Entry Link was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder
public boolean hasCreateTime()

Output only. The time when the Entry Link was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

public boolean hasUpdateTime()

Output only. The time when the Entry Link was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

public int hashCode()
Returns
Type Description
int
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public EntryLink.Builder newBuilderForType()
Returns
Type Description
EntryLink.Builder
protected EntryLink.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EntryLink.Builder
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides
public EntryLink.Builder toBuilder()
Returns
Type Description
EntryLink.Builder
public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException