Class Asset.DiscoveryStatus.Builder

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

public static final class Asset.DiscoveryStatus.Builder extends com.google.protobuf.GeneratedMessage.Builder<Asset.DiscoveryStatus.Builder> implements Asset.DiscoveryStatusOrBuilder
 Status of discovery for an asset.
 
Protobuf type google.cloud.dataplex.v1.Asset.DiscoveryStatus
  • 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.Builder<Asset.DiscoveryStatus.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Asset.DiscoveryStatus.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Asset.DiscoveryStatus.Builder>
    • getDefaultInstanceForType

      public Asset.DiscoveryStatus getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

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

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

      public Asset.DiscoveryStatus.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Asset.DiscoveryStatus.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Asset.DiscoveryStatus.Builder>
    • mergeFrom

      public Asset.DiscoveryStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Asset.DiscoveryStatus.Builder>
      Throws:
      IOException
    • 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.
    • setStateValue

      public Asset.DiscoveryStatus.Builder setStateValue(int value)
       The current status of the discovery feature.
       
      .google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1;
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • 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.
    • setState

       The current status of the discovery feature.
       
      .google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1;
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public Asset.DiscoveryStatus.Builder clearState()
       The current status of the discovery feature.
       
      .google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1;
      Returns:
      This builder for chaining.
    • 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.
    • setMessage

      public Asset.DiscoveryStatus.Builder setMessage(String value)
       Additional information about the current state.
       
      string message = 2;
      Parameters:
      value - The message to set.
      Returns:
      This builder for chaining.
    • clearMessage

      public Asset.DiscoveryStatus.Builder clearMessage()
       Additional information about the current state.
       
      string message = 2;
      Returns:
      This builder for chaining.
    • setMessageBytes

      public Asset.DiscoveryStatus.Builder setMessageBytes(com.google.protobuf.ByteString value)
       Additional information about the current state.
       
      string message = 2;
      Parameters:
      value - The bytes for message to set.
      Returns:
      This builder for chaining.
    • 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.
    • setUpdateTime

      public Asset.DiscoveryStatus.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Last update time of the status.
       
      .google.protobuf.Timestamp update_time = 3;
    • setUpdateTime

      public Asset.DiscoveryStatus.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Last update time of the status.
       
      .google.protobuf.Timestamp update_time = 3;
    • mergeUpdateTime

      public Asset.DiscoveryStatus.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Last update time of the status.
       
      .google.protobuf.Timestamp update_time = 3;
    • clearUpdateTime

      public Asset.DiscoveryStatus.Builder clearUpdateTime()
       Last update time of the status.
       
      .google.protobuf.Timestamp update_time = 3;
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Last update time of the status.
       
      .google.protobuf.Timestamp update_time = 3;
    • 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.
    • setLastRunTime

      public Asset.DiscoveryStatus.Builder setLastRunTime(com.google.protobuf.Timestamp value)
       The start time of the last discovery run.
       
      .google.protobuf.Timestamp last_run_time = 4;
    • setLastRunTime

      public Asset.DiscoveryStatus.Builder setLastRunTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The start time of the last discovery run.
       
      .google.protobuf.Timestamp last_run_time = 4;
    • mergeLastRunTime

      public Asset.DiscoveryStatus.Builder mergeLastRunTime(com.google.protobuf.Timestamp value)
       The start time of the last discovery run.
       
      .google.protobuf.Timestamp last_run_time = 4;
    • clearLastRunTime

      public Asset.DiscoveryStatus.Builder clearLastRunTime()
       The start time of the last discovery run.
       
      .google.protobuf.Timestamp last_run_time = 4;
    • getLastRunTimeBuilder

      public com.google.protobuf.Timestamp.Builder getLastRunTimeBuilder()
       The start time of the last discovery run.
       
      .google.protobuf.Timestamp last_run_time = 4;
    • 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.
    • setStats

       Data Stats of the asset reported by discovery.
       
      .google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6;
    • setStats

       Data Stats of the asset reported by discovery.
       
      .google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6;
    • mergeStats

       Data Stats of the asset reported by discovery.
       
      .google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6;
    • clearStats

      public Asset.DiscoveryStatus.Builder clearStats()
       Data Stats of the asset reported by discovery.
       
      .google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6;
    • getStatsBuilder

      public Asset.DiscoveryStatus.Stats.Builder getStatsBuilder()
       Data Stats of the asset reported by discovery.
       
      .google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6;
    • 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.
    • setLastRunDuration

      public Asset.DiscoveryStatus.Builder setLastRunDuration(com.google.protobuf.Duration value)
       The duration of the last discovery run.
       
      .google.protobuf.Duration last_run_duration = 7;
    • setLastRunDuration

      public Asset.DiscoveryStatus.Builder setLastRunDuration(com.google.protobuf.Duration.Builder builderForValue)
       The duration of the last discovery run.
       
      .google.protobuf.Duration last_run_duration = 7;
    • mergeLastRunDuration

      public Asset.DiscoveryStatus.Builder mergeLastRunDuration(com.google.protobuf.Duration value)
       The duration of the last discovery run.
       
      .google.protobuf.Duration last_run_duration = 7;
    • clearLastRunDuration

      public Asset.DiscoveryStatus.Builder clearLastRunDuration()
       The duration of the last discovery run.
       
      .google.protobuf.Duration last_run_duration = 7;
    • getLastRunDurationBuilder

      public com.google.protobuf.Duration.Builder getLastRunDurationBuilder()
       The duration of the last discovery run.
       
      .google.protobuf.Duration last_run_duration = 7;
    • 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