Class Asset.DiscoveryStatus.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.DiscoveryStatus.Builder>
      • clear

        public 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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public Asset.DiscoveryStatus.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.DiscoveryStatus.Builder>
      • clearField

        public Asset.DiscoveryStatus.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.DiscoveryStatus.Builder>
      • clearOneof

        public Asset.DiscoveryStatus.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.DiscoveryStatus.Builder>
      • setRepeatedField

        public Asset.DiscoveryStatus.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              int index,
                                                              Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.DiscoveryStatus.Builder>
      • addRepeatedField

        public Asset.DiscoveryStatus.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.DiscoveryStatus.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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.
      • setState

        public Asset.DiscoveryStatus.Builder setState​(Asset.DiscoveryStatus.State value)
         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.
      • 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;
      • 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.
      • 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;
      • 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;
      • setUnknownFields

        public final Asset.DiscoveryStatus.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.DiscoveryStatus.Builder>
      • mergeUnknownFields

        public final Asset.DiscoveryStatus.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.DiscoveryStatus.Builder>