Class Asset.DiscoveryStatus.Builder (1.1.2)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Asset.DiscoveryStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Asset.DiscoveryStatus.Builder
Overrides

build()

public Asset.DiscoveryStatus build()
Returns
TypeDescription
Asset.DiscoveryStatus

buildPartial()

public Asset.DiscoveryStatus buildPartial()
Returns
TypeDescription
Asset.DiscoveryStatus

clear()

public Asset.DiscoveryStatus.Builder clear()
Returns
TypeDescription
Asset.DiscoveryStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Asset.DiscoveryStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Asset.DiscoveryStatus.Builder

clearMessage()

public Asset.DiscoveryStatus.Builder clearMessage()

Additional information about the current state.

string message = 2;

Returns
TypeDescription
Asset.DiscoveryStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Asset.DiscoveryStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Asset.DiscoveryStatus.Builder

clearUpdateTime()

public Asset.DiscoveryStatus.Builder clearUpdateTime()

Last update time of the status.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Asset.DiscoveryStatus.Builder

clone()

public Asset.DiscoveryStatus.Builder clone()
Returns
TypeDescription
Asset.DiscoveryStatus.Builder
Overrides

getDefaultInstanceForType()

public Asset.DiscoveryStatus getDefaultInstanceForType()
Returns
TypeDescription
Asset.DiscoveryStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLastRunDuration()

public Duration getLastRunDuration()

The duration of the last discovery run.

.google.protobuf.Duration last_run_duration = 7;

Returns
TypeDescription
Duration

The lastRunDuration.

getLastRunDurationBuilder()

public Duration.Builder getLastRunDurationBuilder()

The duration of the last discovery run.

.google.protobuf.Duration last_run_duration = 7;

Returns
TypeDescription
Builder

getLastRunDurationOrBuilder()

public DurationOrBuilder getLastRunDurationOrBuilder()

The duration of the last discovery run.

.google.protobuf.Duration last_run_duration = 7;

Returns
TypeDescription
DurationOrBuilder

getLastRunTime()

public Timestamp getLastRunTime()

The start time of the last discovery run.

.google.protobuf.Timestamp last_run_time = 4;

Returns
TypeDescription
Timestamp

The lastRunTime.

getLastRunTimeBuilder()

public Timestamp.Builder getLastRunTimeBuilder()

The start time of the last discovery run.

.google.protobuf.Timestamp last_run_time = 4;

Returns
TypeDescription
Builder

getLastRunTimeOrBuilder()

public TimestampOrBuilder getLastRunTimeOrBuilder()

The start time of the last discovery run.

.google.protobuf.Timestamp last_run_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getMessage()

public String getMessage()

Additional information about the current state.

string message = 2;

Returns
TypeDescription
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Additional information about the current state.

string message = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Asset.DiscoveryStatus.StatsOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

Last update time of the status.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Last update time of the status.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Last update time of the status.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
TimestampOrBuilder

hasLastRunDuration()

public boolean hasLastRunDuration()

The duration of the last discovery run.

.google.protobuf.Duration last_run_duration = 7;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the stats field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Last update time of the status.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Asset.DiscoveryStatus other)

public Asset.DiscoveryStatus.Builder mergeFrom(Asset.DiscoveryStatus other)
Parameter
NameDescription
otherAsset.DiscoveryStatus
Returns
TypeDescription
Asset.DiscoveryStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Asset.DiscoveryStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Asset.DiscoveryStatus.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Asset.DiscoveryStatus.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueAsset.DiscoveryStatus.Stats
Returns
TypeDescription
Asset.DiscoveryStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Asset.DiscoveryStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
Asset.DiscoveryStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Asset.DiscoveryStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
Asset.DiscoveryStatus.Builder

setMessage(String value)

public Asset.DiscoveryStatus.Builder setMessage(String value)

Additional information about the current state.

string message = 2;

Parameter
NameDescription
valueString

The message to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for message to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueAsset.DiscoveryStatus.State

The state to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueAsset.DiscoveryStatus.Stats
Returns
TypeDescription
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
NameDescription
builderForValueAsset.DiscoveryStatus.Stats.Builder
Returns
TypeDescription
Asset.DiscoveryStatus.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Asset.DiscoveryStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
Asset.DiscoveryStatus.Builder