Class Asset.DiscoveryStatus.Builder (1.40.0)

public static final class Asset.DiscoveryStatus.Builder extends GeneratedMessageV3.Builder<Asset.DiscoveryStatus.Builder> implements Asset.DiscoveryStatusOrBuilder

Status of discovery for an asset.

Protobuf type google.cloud.dataplex.v1.Asset.DiscoveryStatus

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Asset.DiscoveryStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Asset.DiscoveryStatus.Builder
Overrides

build()

public Asset.DiscoveryStatus build()
Returns
Type Description
Asset.DiscoveryStatus

buildPartial()

public Asset.DiscoveryStatus buildPartial()
Returns
Type Description
Asset.DiscoveryStatus

clear()

public Asset.DiscoveryStatus.Builder clear()
Returns
Type Description
Asset.DiscoveryStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Asset.DiscoveryStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Asset.DiscoveryStatus.Builder
Overrides

clearLastRunDuration()

public Asset.DiscoveryStatus.Builder clearLastRunDuration()

The duration of the last discovery run.

.google.protobuf.Duration last_run_duration = 7;

Returns
Type Description
Asset.DiscoveryStatus.Builder

clearLastRunTime()

public Asset.DiscoveryStatus.Builder clearLastRunTime()

The start time of the last discovery run.

.google.protobuf.Timestamp last_run_time = 4;

Returns
Type Description
Asset.DiscoveryStatus.Builder

clearMessage()

public Asset.DiscoveryStatus.Builder clearMessage()

Additional information about the current state.

string message = 2;

Returns
Type Description
Asset.DiscoveryStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Asset.DiscoveryStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Asset.DiscoveryStatus.Builder
Overrides

clearState()

public Asset.DiscoveryStatus.Builder clearState()

The current status of the discovery feature.

.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1;

Returns
Type Description
Asset.DiscoveryStatus.Builder

This builder for chaining.

clearStats()

public Asset.DiscoveryStatus.Builder clearStats()

Data Stats of the asset reported by discovery.

.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6;

Returns
Type Description
Asset.DiscoveryStatus.Builder

clearUpdateTime()

public Asset.DiscoveryStatus.Builder clearUpdateTime()

Last update time of the status.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
Asset.DiscoveryStatus.Builder

clone()

public Asset.DiscoveryStatus.Builder clone()
Returns
Type Description
Asset.DiscoveryStatus.Builder
Overrides

getDefaultInstanceForType()

public Asset.DiscoveryStatus getDefaultInstanceForType()
Returns
Type Description
Asset.DiscoveryStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLastRunDuration()

public Duration getLastRunDuration()

The duration of the last discovery run.

.google.protobuf.Duration last_run_duration = 7;

Returns
Type Description
Duration

The lastRunDuration.

getLastRunDurationBuilder()

public Duration.Builder getLastRunDurationBuilder()

The duration of the last discovery run.

.google.protobuf.Duration last_run_duration = 7;

Returns
Type Description
Builder

getLastRunDurationOrBuilder()

public DurationOrBuilder getLastRunDurationOrBuilder()

The duration of the last discovery run.

.google.protobuf.Duration last_run_duration = 7;

Returns
Type Description
DurationOrBuilder

getLastRunTime()

public Timestamp getLastRunTime()

The start time of the last discovery run.

.google.protobuf.Timestamp last_run_time = 4;

Returns
Type Description
Timestamp

The lastRunTime.

getLastRunTimeBuilder()

public Timestamp.Builder getLastRunTimeBuilder()

The start time of the last discovery run.

.google.protobuf.Timestamp last_run_time = 4;

Returns
Type Description
Builder

getLastRunTimeOrBuilder()

public TimestampOrBuilder getLastRunTimeOrBuilder()

The start time of the last discovery run.

.google.protobuf.Timestamp last_run_time = 4;

Returns
Type Description
TimestampOrBuilder

getMessage()

public String getMessage()

Additional information about the current state.

string message = 2;

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Additional information about the current state.

string message = 2;

Returns
Type Description
ByteString

The bytes for message.

getState()

public Asset.DiscoveryStatus.State getState()

The current status of the discovery feature.

.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1;

Returns
Type Description
Asset.DiscoveryStatus.State

The state.

getStateValue()

public int getStateValue()

The current status of the discovery feature.

.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1;

Returns
Type Description
int

The enum numeric value on the wire for state.

getStats()

public Asset.DiscoveryStatus.Stats getStats()

Data Stats of the asset reported by discovery.

.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6;

Returns
Type Description
Asset.DiscoveryStatus.Stats

The stats.

getStatsBuilder()

public Asset.DiscoveryStatus.Stats.Builder getStatsBuilder()

Data Stats of the asset reported by discovery.

.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6;

Returns
Type Description
Asset.DiscoveryStatus.Stats.Builder

getStatsOrBuilder()

public Asset.DiscoveryStatus.StatsOrBuilder getStatsOrBuilder()

Data Stats of the asset reported by discovery.

.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6;

Returns
Type Description
Asset.DiscoveryStatus.StatsOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

Last update time of the status.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Last update time of the status.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Last update time of the status.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
TimestampOrBuilder

hasLastRunDuration()

public boolean hasLastRunDuration()

The duration of the last discovery run.

.google.protobuf.Duration last_run_duration = 7;

Returns
Type Description
boolean

Whether the lastRunDuration field is set.

hasLastRunTime()

public boolean hasLastRunTime()

The start time of the last discovery run.

.google.protobuf.Timestamp last_run_time = 4;

Returns
Type Description
boolean

Whether the lastRunTime field is set.

hasStats()

public boolean hasStats()

Data Stats of the asset reported by discovery.

.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6;

Returns
Type Description
boolean

Whether the stats field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Last update time of the status.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Asset.DiscoveryStatus other)

public Asset.DiscoveryStatus.Builder mergeFrom(Asset.DiscoveryStatus other)
Parameter
Name Description
other Asset.DiscoveryStatus
Returns
Type Description
Asset.DiscoveryStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Asset.DiscoveryStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Asset.DiscoveryStatus.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Asset.DiscoveryStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Asset.DiscoveryStatus.Builder
Overrides

mergeLastRunDuration(Duration value)

public Asset.DiscoveryStatus.Builder mergeLastRunDuration(Duration value)

The duration of the last discovery run.

.google.protobuf.Duration last_run_duration = 7;

Parameter
Name Description
value Duration
Returns
Type Description
Asset.DiscoveryStatus.Builder

mergeLastRunTime(Timestamp value)

public Asset.DiscoveryStatus.Builder mergeLastRunTime(Timestamp value)

The start time of the last discovery run.

.google.protobuf.Timestamp last_run_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
Asset.DiscoveryStatus.Builder

mergeStats(Asset.DiscoveryStatus.Stats value)

public Asset.DiscoveryStatus.Builder mergeStats(Asset.DiscoveryStatus.Stats value)

Data Stats of the asset reported by discovery.

.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6;

Parameter
Name Description
value Asset.DiscoveryStatus.Stats
Returns
Type Description
Asset.DiscoveryStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Asset.DiscoveryStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Asset.DiscoveryStatus.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Asset.DiscoveryStatus.Builder mergeUpdateTime(Timestamp value)

Last update time of the status.

.google.protobuf.Timestamp update_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
Asset.DiscoveryStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Asset.DiscoveryStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Asset.DiscoveryStatus.Builder
Overrides

setLastRunDuration(Duration value)

public Asset.DiscoveryStatus.Builder setLastRunDuration(Duration value)

The duration of the last discovery run.

.google.protobuf.Duration last_run_duration = 7;

Parameter
Name Description
value Duration
Returns
Type Description
Asset.DiscoveryStatus.Builder

setLastRunDuration(Duration.Builder builderForValue)

public Asset.DiscoveryStatus.Builder setLastRunDuration(Duration.Builder builderForValue)

The duration of the last discovery run.

.google.protobuf.Duration last_run_duration = 7;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Asset.DiscoveryStatus.Builder

setLastRunTime(Timestamp value)

public Asset.DiscoveryStatus.Builder setLastRunTime(Timestamp value)

The start time of the last discovery run.

.google.protobuf.Timestamp last_run_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
Asset.DiscoveryStatus.Builder

setLastRunTime(Timestamp.Builder builderForValue)

public Asset.DiscoveryStatus.Builder setLastRunTime(Timestamp.Builder builderForValue)

The start time of the last discovery run.

.google.protobuf.Timestamp last_run_time = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Asset.DiscoveryStatus.Builder

setMessage(String value)

public Asset.DiscoveryStatus.Builder setMessage(String value)

Additional information about the current state.

string message = 2;

Parameter
Name Description
value String

The message to set.

Returns
Type Description
Asset.DiscoveryStatus.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public Asset.DiscoveryStatus.Builder setMessageBytes(ByteString value)

Additional information about the current state.

string message = 2;

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
Asset.DiscoveryStatus.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Asset.DiscoveryStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Asset.DiscoveryStatus.Builder
Overrides

setState(Asset.DiscoveryStatus.State value)

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;

Parameter
Name Description
value Asset.DiscoveryStatus.State

The state to set.

Returns
Type Description
Asset.DiscoveryStatus.Builder

This builder for chaining.

setStateValue(int value)

public Asset.DiscoveryStatus.Builder setStateValue(int value)

The current status of the discovery feature.

.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
Asset.DiscoveryStatus.Builder

This builder for chaining.

setStats(Asset.DiscoveryStatus.Stats value)

public Asset.DiscoveryStatus.Builder setStats(Asset.DiscoveryStatus.Stats value)

Data Stats of the asset reported by discovery.

.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6;

Parameter
Name Description
value Asset.DiscoveryStatus.Stats
Returns
Type Description
Asset.DiscoveryStatus.Builder

setStats(Asset.DiscoveryStatus.Stats.Builder builderForValue)

public Asset.DiscoveryStatus.Builder setStats(Asset.DiscoveryStatus.Stats.Builder builderForValue)

Data Stats of the asset reported by discovery.

.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6;

Parameter
Name Description
builderForValue Asset.DiscoveryStatus.Stats.Builder
Returns
Type Description
Asset.DiscoveryStatus.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Asset.DiscoveryStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Asset.DiscoveryStatus.Builder
Overrides

setUpdateTime(Timestamp value)

public Asset.DiscoveryStatus.Builder setUpdateTime(Timestamp value)

Last update time of the status.

.google.protobuf.Timestamp update_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
Asset.DiscoveryStatus.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Asset.DiscoveryStatus.Builder setUpdateTime(Timestamp.Builder builderForValue)

Last update time of the status.

.google.protobuf.Timestamp update_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Asset.DiscoveryStatus.Builder