Class Asset.DiscoveryStatus (1.42.0)

public static final class Asset.DiscoveryStatus extends GeneratedMessageV3 implements Asset.DiscoveryStatusOrBuilder

Status of discovery for an asset.

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

Static Fields

LAST_RUN_DURATION_FIELD_NUMBER

public static final int LAST_RUN_DURATION_FIELD_NUMBER
Field Value
Type Description
int

LAST_RUN_TIME_FIELD_NUMBER

public static final int LAST_RUN_TIME_FIELD_NUMBER
Field Value
Type Description
int

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

STATS_FIELD_NUMBER

public static final int STATS_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Asset.DiscoveryStatus getDefaultInstance()
Returns
Type Description
Asset.DiscoveryStatus

getDescriptor()

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

newBuilder()

public static Asset.DiscoveryStatus.Builder newBuilder()
Returns
Type Description
Asset.DiscoveryStatus.Builder

newBuilder(Asset.DiscoveryStatus prototype)

public static Asset.DiscoveryStatus.Builder newBuilder(Asset.DiscoveryStatus prototype)
Parameter
Name Description
prototype Asset.DiscoveryStatus
Returns
Type Description
Asset.DiscoveryStatus.Builder

parseDelimitedFrom(InputStream input)

public static Asset.DiscoveryStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Asset.DiscoveryStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Asset.DiscoveryStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Asset.DiscoveryStatus
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Asset.DiscoveryStatus parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Asset.DiscoveryStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Asset.DiscoveryStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Asset.DiscoveryStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Asset.DiscoveryStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Asset.DiscoveryStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Asset.DiscoveryStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Asset.DiscoveryStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Asset.DiscoveryStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Asset.DiscoveryStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Asset.DiscoveryStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Asset.DiscoveryStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Asset.DiscoveryStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Asset.DiscoveryStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Asset.DiscoveryStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Asset.DiscoveryStatus
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Asset.DiscoveryStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Asset.DiscoveryStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Asset.DiscoveryStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Asset.DiscoveryStatus
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Asset.DiscoveryStatus> parser()
Returns
Type Description
Parser<DiscoveryStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

getLastRunDuration()

public Duration getLastRunDuration()

The duration of the last discovery run.

.google.protobuf.Duration last_run_duration = 7;

Returns
Type Description
Duration

The lastRunDuration.

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.

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.

getParserForType()

public Parser<Asset.DiscoveryStatus> getParserForType()
Returns
Type Description
Parser<DiscoveryStatus>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Asset.DiscoveryStatus.Builder newBuilderForType()
Returns
Type Description
Asset.DiscoveryStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Asset.DiscoveryStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Asset.DiscoveryStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Asset.DiscoveryStatus.Builder toBuilder()
Returns
Type Description
Asset.DiscoveryStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException