Class EntrySource

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

@Generated public final class EntrySource extends com.google.protobuf.GeneratedMessage implements EntrySourceOrBuilder
 Information related to the source system of the data resource that is
 represented by the entry.
 
Protobuf type google.cloud.dataplex.v1.EntrySource
See Also:
  • Field Details

  • 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
    • getResource

      public String getResource()
       The name of the resource in the source system.
       Maximum length is 4,000 characters.
       
      string resource = 1;
      Specified by:
      getResource in interface EntrySourceOrBuilder
      Returns:
      The resource.
    • getResourceBytes

      public com.google.protobuf.ByteString getResourceBytes()
       The name of the resource in the source system.
       Maximum length is 4,000 characters.
       
      string resource = 1;
      Specified by:
      getResourceBytes in interface EntrySourceOrBuilder
      Returns:
      The bytes for resource.
    • getSystem

      public String getSystem()
       The name of the source system.
       Maximum length is 64 characters.
       
      string system = 2;
      Specified by:
      getSystem in interface EntrySourceOrBuilder
      Returns:
      The system.
    • getSystemBytes

      public com.google.protobuf.ByteString getSystemBytes()
       The name of the source system.
       Maximum length is 64 characters.
       
      string system = 2;
      Specified by:
      getSystemBytes in interface EntrySourceOrBuilder
      Returns:
      The bytes for system.
    • getPlatform

      public String getPlatform()
       The platform containing the source system.
       Maximum length is 64 characters.
       
      string platform = 3;
      Specified by:
      getPlatform in interface EntrySourceOrBuilder
      Returns:
      The platform.
    • getPlatformBytes

      public com.google.protobuf.ByteString getPlatformBytes()
       The platform containing the source system.
       Maximum length is 64 characters.
       
      string platform = 3;
      Specified by:
      getPlatformBytes in interface EntrySourceOrBuilder
      Returns:
      The bytes for platform.
    • getDisplayName

      public String getDisplayName()
       A user-friendly display name.
       Maximum length is 500 characters.
       
      string display_name = 5;
      Specified by:
      getDisplayName in interface EntrySourceOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       A user-friendly display name.
       Maximum length is 500 characters.
       
      string display_name = 5;
      Specified by:
      getDisplayNameBytes in interface EntrySourceOrBuilder
      Returns:
      The bytes for displayName.
    • getDescription

      public String getDescription()
       A description of the data resource.
       Maximum length is 2,000 characters.
       
      string description = 6;
      Specified by:
      getDescription in interface EntrySourceOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       A description of the data resource.
       Maximum length is 2,000 characters.
       
      string description = 6;
      Specified by:
      getDescriptionBytes in interface EntrySourceOrBuilder
      Returns:
      The bytes for description.
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: EntrySourceOrBuilder
       User-defined labels.
       The maximum size of keys and values is 128 characters each.
       
      map<string, string> labels = 7;
      Specified by:
      getLabelsCount in interface EntrySourceOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       User-defined labels.
       The maximum size of keys and values is 128 characters each.
       
      map<string, string> labels = 7;
      Specified by:
      containsLabels in interface EntrySourceOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface EntrySourceOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       User-defined labels.
       The maximum size of keys and values is 128 characters each.
       
      map<string, string> labels = 7;
      Specified by:
      getLabelsMap in interface EntrySourceOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       User-defined labels.
       The maximum size of keys and values is 128 characters each.
       
      map<string, string> labels = 7;
      Specified by:
      getLabelsOrDefault in interface EntrySourceOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       User-defined labels.
       The maximum size of keys and values is 128 characters each.
       
      map<string, string> labels = 7;
      Specified by:
      getLabelsOrThrow in interface EntrySourceOrBuilder
    • getAncestorsList

      public List<EntrySource.Ancestor> getAncestorsList()
       Immutable. The entries representing the ancestors of the data resource in
       the source system.
       
      repeated .google.cloud.dataplex.v1.EntrySource.Ancestor ancestors = 9 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAncestorsList in interface EntrySourceOrBuilder
    • getAncestorsOrBuilderList

      public List<? extends EntrySource.AncestorOrBuilder> getAncestorsOrBuilderList()
       Immutable. The entries representing the ancestors of the data resource in
       the source system.
       
      repeated .google.cloud.dataplex.v1.EntrySource.Ancestor ancestors = 9 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAncestorsOrBuilderList in interface EntrySourceOrBuilder
    • getAncestorsCount

      public int getAncestorsCount()
       Immutable. The entries representing the ancestors of the data resource in
       the source system.
       
      repeated .google.cloud.dataplex.v1.EntrySource.Ancestor ancestors = 9 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAncestorsCount in interface EntrySourceOrBuilder
    • getAncestors

      public EntrySource.Ancestor getAncestors(int index)
       Immutable. The entries representing the ancestors of the data resource in
       the source system.
       
      repeated .google.cloud.dataplex.v1.EntrySource.Ancestor ancestors = 9 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAncestors in interface EntrySourceOrBuilder
    • getAncestorsOrBuilder

      public EntrySource.AncestorOrBuilder getAncestorsOrBuilder(int index)
       Immutable. The entries representing the ancestors of the data resource in
       the source system.
       
      repeated .google.cloud.dataplex.v1.EntrySource.Ancestor ancestors = 9 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAncestorsOrBuilder in interface EntrySourceOrBuilder
    • hasCreateTime

      public boolean hasCreateTime()
       The time when the resource was created in the source system.
       
      .google.protobuf.Timestamp create_time = 10;
      Specified by:
      hasCreateTime in interface EntrySourceOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       The time when the resource was created in the source system.
       
      .google.protobuf.Timestamp create_time = 10;
      Specified by:
      getCreateTime in interface EntrySourceOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       The time when the resource was created in the source system.
       
      .google.protobuf.Timestamp create_time = 10;
      Specified by:
      getCreateTimeOrBuilder in interface EntrySourceOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       The time when the resource was last updated in the source system. If the
       entry exists in the system and its `EntrySource` has `update_time`
       populated, further updates to the `EntrySource` of the entry must provide
       incremental updates to its `update_time`.
       
      .google.protobuf.Timestamp update_time = 11;
      Specified by:
      hasUpdateTime in interface EntrySourceOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       The time when the resource was last updated in the source system. If the
       entry exists in the system and its `EntrySource` has `update_time`
       populated, further updates to the `EntrySource` of the entry must provide
       incremental updates to its `update_time`.
       
      .google.protobuf.Timestamp update_time = 11;
      Specified by:
      getUpdateTime in interface EntrySourceOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       The time when the resource was last updated in the source system. If the
       entry exists in the system and its `EntrySource` has `update_time`
       populated, further updates to the `EntrySource` of the entry must provide
       incremental updates to its `update_time`.
       
      .google.protobuf.Timestamp update_time = 11;
      Specified by:
      getUpdateTimeOrBuilder in interface EntrySourceOrBuilder
    • getLocation

      public String getLocation()
       Output only. Location of the resource in the source system. You can search
       the entry by this location. By default, this should match the location of
       the entry group containing this entry. A different value allows capturing
       the source location for data external to Google Cloud.
       
      string location = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLocation in interface EntrySourceOrBuilder
      Returns:
      The location.
    • getLocationBytes

      public com.google.protobuf.ByteString getLocationBytes()
       Output only. Location of the resource in the source system. You can search
       the entry by this location. By default, this should match the location of
       the entry group containing this entry. A different value allows capturing
       the source location for data external to Google Cloud.
       
      string location = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLocationBytes in interface EntrySourceOrBuilder
      Returns:
      The bytes for location.
    • 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 EntrySource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static EntrySource.Builder newBuilder()
    • newBuilder

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

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

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

      public static EntrySource getDefaultInstance()
    • parser

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

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