Class Asset.DiscoveryStatus

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dataplex.v1.Asset.DiscoveryStatus
All Implemented Interfaces:
Asset.DiscoveryStatusOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Asset

public static final class Asset.DiscoveryStatus extends com.google.protobuf.GeneratedMessage implements Asset.DiscoveryStatusOrBuilder
 Status of discovery for an asset.
 
Protobuf type google.cloud.dataplex.v1.Asset.DiscoveryStatus
See Also:
  • Field Details

    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • MESSAGE_FIELD_NUMBER

      public static final int MESSAGE_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_FIELD_NUMBER
      See Also:
    • LAST_RUN_TIME_FIELD_NUMBER

      public static final int LAST_RUN_TIME_FIELD_NUMBER
      See Also:
    • STATS_FIELD_NUMBER

      public static final int STATS_FIELD_NUMBER
      See Also:
    • LAST_RUN_DURATION_FIELD_NUMBER

      public static final int LAST_RUN_DURATION_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

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

      public int getStateValue()
       The current status of the discovery feature.
       
      .google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1;
      Specified by:
      getStateValue in interface Asset.DiscoveryStatusOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public Asset.DiscoveryStatus.State getState()
       The current status of the discovery feature.
       
      .google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1;
      Specified by:
      getState in interface Asset.DiscoveryStatusOrBuilder
      Returns:
      The state.
    • getMessage

      public String getMessage()
       Additional information about the current state.
       
      string message = 2;
      Specified by:
      getMessage in interface Asset.DiscoveryStatusOrBuilder
      Returns:
      The message.
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
       Additional information about the current state.
       
      string message = 2;
      Specified by:
      getMessageBytes in interface Asset.DiscoveryStatusOrBuilder
      Returns:
      The bytes for message.
    • hasUpdateTime

      public boolean hasUpdateTime()
       Last update time of the status.
       
      .google.protobuf.Timestamp update_time = 3;
      Specified by:
      hasUpdateTime in interface Asset.DiscoveryStatusOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Last update time of the status.
       
      .google.protobuf.Timestamp update_time = 3;
      Specified by:
      getUpdateTime in interface Asset.DiscoveryStatusOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Last update time of the status.
       
      .google.protobuf.Timestamp update_time = 3;
      Specified by:
      getUpdateTimeOrBuilder in interface Asset.DiscoveryStatusOrBuilder
    • hasLastRunTime

      public boolean hasLastRunTime()
       The start time of the last discovery run.
       
      .google.protobuf.Timestamp last_run_time = 4;
      Specified by:
      hasLastRunTime in interface Asset.DiscoveryStatusOrBuilder
      Returns:
      Whether the lastRunTime field is set.
    • getLastRunTime

      public com.google.protobuf.Timestamp getLastRunTime()
       The start time of the last discovery run.
       
      .google.protobuf.Timestamp last_run_time = 4;
      Specified by:
      getLastRunTime in interface Asset.DiscoveryStatusOrBuilder
      Returns:
      The lastRunTime.
    • getLastRunTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder()
       The start time of the last discovery run.
       
      .google.protobuf.Timestamp last_run_time = 4;
      Specified by:
      getLastRunTimeOrBuilder in interface Asset.DiscoveryStatusOrBuilder
    • hasStats

      public boolean hasStats()
       Data Stats of the asset reported by discovery.
       
      .google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6;
      Specified by:
      hasStats in interface Asset.DiscoveryStatusOrBuilder
      Returns:
      Whether the stats field is set.
    • getStats

      public Asset.DiscoveryStatus.Stats getStats()
       Data Stats of the asset reported by discovery.
       
      .google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6;
      Specified by:
      getStats in interface Asset.DiscoveryStatusOrBuilder
      Returns:
      The stats.
    • getStatsOrBuilder

      public Asset.DiscoveryStatus.StatsOrBuilder getStatsOrBuilder()
       Data Stats of the asset reported by discovery.
       
      .google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6;
      Specified by:
      getStatsOrBuilder in interface Asset.DiscoveryStatusOrBuilder
    • hasLastRunDuration

      public boolean hasLastRunDuration()
       The duration of the last discovery run.
       
      .google.protobuf.Duration last_run_duration = 7;
      Specified by:
      hasLastRunDuration in interface Asset.DiscoveryStatusOrBuilder
      Returns:
      Whether the lastRunDuration field is set.
    • getLastRunDuration

      public com.google.protobuf.Duration getLastRunDuration()
       The duration of the last discovery run.
       
      .google.protobuf.Duration last_run_duration = 7;
      Specified by:
      getLastRunDuration in interface Asset.DiscoveryStatusOrBuilder
      Returns:
      The lastRunDuration.
    • getLastRunDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getLastRunDurationOrBuilder()
       The duration of the last discovery run.
       
      .google.protobuf.Duration last_run_duration = 7;
      Specified by:
      getLastRunDurationOrBuilder in interface Asset.DiscoveryStatusOrBuilder
    • 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 Asset.DiscoveryStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static Asset.DiscoveryStatus parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Asset.DiscoveryStatus parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static Asset.DiscoveryStatus.Builder newBuilder()
    • newBuilder

      public static Asset.DiscoveryStatus.Builder newBuilder(Asset.DiscoveryStatus prototype)
    • toBuilder

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

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

      public static Asset.DiscoveryStatus getDefaultInstance()
    • parser

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

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