Class EntryLink

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dataplex.v1.EntryLink
All Implemented Interfaces:
EntryLinkOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class EntryLink extends com.google.protobuf.GeneratedMessage implements EntryLinkOrBuilder
 EntryLink represents a link between two Entries.
 
Protobuf type google.cloud.dataplex.v1.EntryLink
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • ENTRY_LINK_TYPE_FIELD_NUMBER

      public static final int ENTRY_LINK_TYPE_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_FIELD_NUMBER
      See Also:
    • ASPECTS_FIELD_NUMBER

      public static final int ASPECTS_FIELD_NUMBER
      See Also:
    • ENTRY_REFERENCES_FIELD_NUMBER

      public static final int ENTRY_REFERENCES_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      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) = { ... }
      Specified by:
      getName in interface EntryLinkOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.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) = { ... }
      Specified by:
      getNameBytes in interface EntryLinkOrBuilder
      Returns:
      The bytes for name.
    • getEntryLinkType

      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];
      Specified by:
      getEntryLinkType in interface EntryLinkOrBuilder
      Returns:
      The entryLinkType.
    • getEntryLinkTypeBytes

      public com.google.protobuf.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];
      Specified by:
      getEntryLinkTypeBytes in interface EntryLinkOrBuilder
      Returns:
      The bytes for entryLinkType.
    • hasCreateTime

      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];
      Specified by:
      hasCreateTime in interface EntryLinkOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time when the Entry Link was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface EntryLinkOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time when the Entry Link was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface EntryLinkOrBuilder
    • hasUpdateTime

      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];
      Specified by:
      hasUpdateTime in interface EntryLinkOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.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];
      Specified by:
      getUpdateTime in interface EntryLinkOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.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];
      Specified by:
      getUpdateTimeOrBuilder in interface EntryLinkOrBuilder
    • getAspectsCount

      public int getAspectsCount()
      Description copied from interface: EntryLinkOrBuilder
       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];
      Specified by:
      getAspectsCount in interface EntryLinkOrBuilder
    • containsAspects

      public 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];
      Specified by:
      containsAspects in interface EntryLinkOrBuilder
    • getAspects

      @Deprecated public Map<String,Aspect> getAspects()
      Deprecated.
      Use getAspectsMap() instead.
      Specified by:
      getAspects in interface EntryLinkOrBuilder
    • getAspectsMap

      public 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];
      Specified by:
      getAspectsMap in interface EntryLinkOrBuilder
    • getAspectsOrDefault

      public 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];
      Specified by:
      getAspectsOrDefault in interface EntryLinkOrBuilder
    • getAspectsOrThrow

      public 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];
      Specified by:
      getAspectsOrThrow in interface EntryLinkOrBuilder
    • getEntryReferencesList

      public 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];
      Specified by:
      getEntryReferencesList in interface EntryLinkOrBuilder
    • getEntryReferencesOrBuilderList

      public 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];
      Specified by:
      getEntryReferencesOrBuilderList in interface EntryLinkOrBuilder
    • getEntryReferencesCount

      public 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];
      Specified by:
      getEntryReferencesCount in interface EntryLinkOrBuilder
    • getEntryReferences

      public 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];
      Specified by:
      getEntryReferences in interface EntryLinkOrBuilder
    • getEntryReferencesOrBuilder

      public 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];
      Specified by:
      getEntryReferencesOrBuilder in interface EntryLinkOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static EntryLink parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EntryLink parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EntryLink parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EntryLink parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EntryLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EntryLink parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EntryLink parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EntryLink parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static EntryLink parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static EntryLink parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EntryLink parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EntryLink parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public EntryLink.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static EntryLink.Builder newBuilder()
    • newBuilder

      public static EntryLink.Builder newBuilder(EntryLink prototype)
    • toBuilder

      public EntryLink.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected EntryLink.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static EntryLink getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<EntryLink> parser()
    • getParserForType

      public com.google.protobuf.Parser<EntryLink> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public EntryLink getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder