Class Entry

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

@Generated public final class Entry extends com.google.protobuf.GeneratedMessage implements EntryOrBuilder
 An entry is a representation of a data resource that can be described by
 various metadata.
 
Protobuf type google.cloud.dataplex.v1.Entry
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    An entry is a representation of a data resource that can be described by various metadata.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Optional.
    boolean
     
    Deprecated.
    int
    Optional.
    Optional.
    getAspectsOrDefault(String key, Aspect defaultValue)
    Optional.
    Optional.
    com.google.protobuf.Timestamp
    Output only.
    com.google.protobuf.TimestampOrBuilder
    Output only.
    static Entry
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    Optional.
    Optional.
    Required.
    com.google.protobuf.ByteString
    Required.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Identifier.
    com.google.protobuf.ByteString
    Identifier.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    com.google.protobuf.Parser<Entry>
     
    int
     
    com.google.protobuf.Timestamp
    Output only.
    com.google.protobuf.TimestampOrBuilder
    Output only.
    boolean
    Output only.
    boolean
    Optional.
    int
     
    boolean
    Output only.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    protected com.google.protobuf.MapFieldReflectionAccessor
     
    final boolean
     
     
    newBuilder(Entry prototype)
     
     
    protected Entry.Builder
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static Entry
     
    static Entry
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Entry
    parseFrom(byte[] data)
     
    static Entry
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Entry
    parseFrom(com.google.protobuf.ByteString data)
     
    static Entry
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Entry
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Entry
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Entry
     
    static Entry
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Entry
     
    static Entry
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Entry>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • ENTRY_TYPE_FIELD_NUMBER

      public static final int ENTRY_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:
    • PARENT_ENTRY_FIELD_NUMBER

      public static final int PARENT_ENTRY_FIELD_NUMBER
      See Also:
    • FULLY_QUALIFIED_NAME_FIELD_NUMBER

      public static final int FULLY_QUALIFIED_NAME_FIELD_NUMBER
      See Also:
    • ENTRY_SOURCE_FIELD_NUMBER

      public static final int ENTRY_SOURCE_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()
       Identifier. The relative resource name of the entry, in the format
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface EntryOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The relative resource name of the entry, in the format
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface EntryOrBuilder
      Returns:
      The bytes for name.
    • getEntryType

      public String getEntryType()
       Required. Immutable. The relative resource name of the entry type that was
       used to create this entry, in the format
       `projects/{project_id_or_number}/locations/{location_id}/entryTypes/{entry_type_id}`.
       
      string entry_type = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getEntryType in interface EntryOrBuilder
      Returns:
      The entryType.
    • getEntryTypeBytes

      public com.google.protobuf.ByteString getEntryTypeBytes()
       Required. Immutable. The relative resource name of the entry type that was
       used to create this entry, in the format
       `projects/{project_id_or_number}/locations/{location_id}/entryTypes/{entry_type_id}`.
       
      string entry_type = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getEntryTypeBytes in interface EntryOrBuilder
      Returns:
      The bytes for entryType.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The time when the entry was created in Dataplex Universal
       Catalog.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface EntryOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time when the entry was created in Dataplex Universal
       Catalog.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface EntryOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time when the entry was created in Dataplex Universal
       Catalog.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface EntryOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The time when the entry was last updated in Dataplex Universal
       Catalog.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface EntryOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time when the entry was last updated in Dataplex Universal
       Catalog.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface EntryOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time when the entry was last updated in Dataplex Universal
       Catalog.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface EntryOrBuilder
    • getAspectsCount

      public int getAspectsCount()
      Description copied from interface: EntryOrBuilder
       Optional. The aspects that are attached to the entry. Depending on how the
       aspect is attached to the entry, the format of the aspect key can be one of
       the following:
      
       * If the aspect is attached directly to the entry:
       `{project_id_or_number}.{location_id}.{aspect_type_id}`
       * If the aspect is attached to an entry's path:
       `{project_id_or_number}.{location_id}.{aspect_type_id}@{path}`
       
      map<string, .google.cloud.dataplex.v1.Aspect> aspects = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAspectsCount in interface EntryOrBuilder
    • containsAspects

      public boolean containsAspects(String key)
       Optional. The aspects that are attached to the entry. Depending on how the
       aspect is attached to the entry, the format of the aspect key can be one of
       the following:
      
       * If the aspect is attached directly to the entry:
       `{project_id_or_number}.{location_id}.{aspect_type_id}`
       * If the aspect is attached to an entry's path:
       `{project_id_or_number}.{location_id}.{aspect_type_id}@{path}`
       
      map<string, .google.cloud.dataplex.v1.Aspect> aspects = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsAspects in interface EntryOrBuilder
    • getAspects

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

      public Map<String,Aspect> getAspectsMap()
       Optional. The aspects that are attached to the entry. Depending on how the
       aspect is attached to the entry, the format of the aspect key can be one of
       the following:
      
       * If the aspect is attached directly to the entry:
       `{project_id_or_number}.{location_id}.{aspect_type_id}`
       * If the aspect is attached to an entry's path:
       `{project_id_or_number}.{location_id}.{aspect_type_id}@{path}`
       
      map<string, .google.cloud.dataplex.v1.Aspect> aspects = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAspectsMap in interface EntryOrBuilder
    • getAspectsOrDefault

      public Aspect getAspectsOrDefault(String key, Aspect defaultValue)
       Optional. The aspects that are attached to the entry. Depending on how the
       aspect is attached to the entry, the format of the aspect key can be one of
       the following:
      
       * If the aspect is attached directly to the entry:
       `{project_id_or_number}.{location_id}.{aspect_type_id}`
       * If the aspect is attached to an entry's path:
       `{project_id_or_number}.{location_id}.{aspect_type_id}@{path}`
       
      map<string, .google.cloud.dataplex.v1.Aspect> aspects = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAspectsOrDefault in interface EntryOrBuilder
    • getAspectsOrThrow

      public Aspect getAspectsOrThrow(String key)
       Optional. The aspects that are attached to the entry. Depending on how the
       aspect is attached to the entry, the format of the aspect key can be one of
       the following:
      
       * If the aspect is attached directly to the entry:
       `{project_id_or_number}.{location_id}.{aspect_type_id}`
       * If the aspect is attached to an entry's path:
       `{project_id_or_number}.{location_id}.{aspect_type_id}@{path}`
       
      map<string, .google.cloud.dataplex.v1.Aspect> aspects = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAspectsOrThrow in interface EntryOrBuilder
    • getParentEntry

      public String getParentEntry()
       Optional. Immutable. The resource name of the parent entry, in the format
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`.
       
      string parent_entry = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getParentEntry in interface EntryOrBuilder
      Returns:
      The parentEntry.
    • getParentEntryBytes

      public com.google.protobuf.ByteString getParentEntryBytes()
       Optional. Immutable. The resource name of the parent entry, in the format
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`.
       
      string parent_entry = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getParentEntryBytes in interface EntryOrBuilder
      Returns:
      The bytes for parentEntry.
    • getFullyQualifiedName

      public String getFullyQualifiedName()
       Optional. A name for the entry that can be referenced by an external
       system. For more information, see [Fully qualified
       names](https://cloud.google.com/data-catalog/docs/fully-qualified-names).
       The maximum size of the field is 4000 characters.
       
      string fully_qualified_name = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFullyQualifiedName in interface EntryOrBuilder
      Returns:
      The fullyQualifiedName.
    • getFullyQualifiedNameBytes

      public com.google.protobuf.ByteString getFullyQualifiedNameBytes()
       Optional. A name for the entry that can be referenced by an external
       system. For more information, see [Fully qualified
       names](https://cloud.google.com/data-catalog/docs/fully-qualified-names).
       The maximum size of the field is 4000 characters.
       
      string fully_qualified_name = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFullyQualifiedNameBytes in interface EntryOrBuilder
      Returns:
      The bytes for fullyQualifiedName.
    • hasEntrySource

      public boolean hasEntrySource()
       Optional. Information related to the source system of the data resource
       that is represented by the entry.
       
      .google.cloud.dataplex.v1.EntrySource entry_source = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasEntrySource in interface EntryOrBuilder
      Returns:
      Whether the entrySource field is set.
    • getEntrySource

      public EntrySource getEntrySource()
       Optional. Information related to the source system of the data resource
       that is represented by the entry.
       
      .google.cloud.dataplex.v1.EntrySource entry_source = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEntrySource in interface EntryOrBuilder
      Returns:
      The entrySource.
    • getEntrySourceOrBuilder

      public EntrySourceOrBuilder getEntrySourceOrBuilder()
       Optional. Information related to the source system of the data resource
       that is represented by the entry.
       
      .google.cloud.dataplex.v1.EntrySource entry_source = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEntrySourceOrBuilder in interface EntryOrBuilder
    • 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 Entry parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static Entry.Builder newBuilder()
    • newBuilder

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

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

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

      public static Entry getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Entry> 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 Entry getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder