Interface EntryLinkOrBuilder (1.86.0)

public interface EntryLinkOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsAspects(String key)

public abstract boolean containsAspects(String key)

Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed.

map<string, .google.cloud.dataplex.v1.Aspect> aspects = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getAspects() (deprecated)

public abstract Map<String,Aspect> getAspects()

Use #getAspectsMap() instead.

Returns
Type Description
Map<String,Aspect>

getAspectsCount()

public abstract int getAspectsCount()

Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed.

map<string, .google.cloud.dataplex.v1.Aspect> aspects = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAspectsMap()

public abstract Map<String,Aspect> getAspectsMap()

Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed.

map<string, .google.cloud.dataplex.v1.Aspect> aspects = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,Aspect>

getAspectsOrDefault(String key, Aspect defaultValue)

public abstract Aspect getAspectsOrDefault(String key, Aspect defaultValue)

Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed.

map<string, .google.cloud.dataplex.v1.Aspect> aspects = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue Aspect
Returns
Type Description
Aspect

getAspectsOrThrow(String key)

public abstract Aspect getAspectsOrThrow(String key)

Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed.

map<string, .google.cloud.dataplex.v1.Aspect> aspects = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
Aspect

getCreateTime()

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

getCreateTimeOrBuilder()

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

getEntryLinkType()

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

getEntryLinkTypeBytes()

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

getEntryReferences(int index)

public abstract EntryLink.EntryReference getEntryReferences(int index)

Required. Immutable. 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, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
index int
Returns
Type Description
EntryLink.EntryReference

getEntryReferencesCount()

public abstract int getEntryReferencesCount()

Required. Immutable. 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, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
int

getEntryReferencesList()

public abstract List<EntryLink.EntryReference> getEntryReferencesList()

Required. Immutable. 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, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
List<EntryReference>

getEntryReferencesOrBuilder(int index)

public abstract EntryLink.EntryReferenceOrBuilder getEntryReferencesOrBuilder(int index)

Required. Immutable. 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, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
index int
Returns
Type Description
EntryLink.EntryReferenceOrBuilder

getEntryReferencesOrBuilderList()

public abstract List<? extends EntryLink.EntryReferenceOrBuilder> getEntryReferencesOrBuilderList()

Required. Immutable. 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, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
List<? extends com.google.cloud.dataplex.v1.EntryLink.EntryReferenceOrBuilder>

getName()

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

getNameBytes()

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

getUpdateTime()

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

getUpdateTimeOrBuilder()

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

hasCreateTime()

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

hasUpdateTime()

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