Class Asset.DiscoveryStatus (1.16.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
TypeDescription
int

LAST_RUN_TIME_FIELD_NUMBER

public static final int LAST_RUN_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

STATS_FIELD_NUMBER

public static final int STATS_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Asset.DiscoveryStatus getDefaultInstance()
Returns
TypeDescription
Asset.DiscoveryStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Asset.DiscoveryStatus.Builder newBuilder()
Returns
TypeDescription
Asset.DiscoveryStatus.Builder

newBuilder(Asset.DiscoveryStatus prototype)

public static Asset.DiscoveryStatus.Builder newBuilder(Asset.DiscoveryStatus prototype)
Parameter
NameDescription
prototypeAsset.DiscoveryStatus
Returns
TypeDescription
Asset.DiscoveryStatus.Builder

parseDelimitedFrom(InputStream input)

public static Asset.DiscoveryStatus parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Asset.DiscoveryStatus
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Asset.DiscoveryStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Asset.DiscoveryStatus
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Asset.DiscoveryStatus parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Asset.DiscoveryStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Asset.DiscoveryStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Asset.DiscoveryStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Asset.DiscoveryStatus parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Asset.DiscoveryStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Asset.DiscoveryStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Asset.DiscoveryStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Asset.DiscoveryStatus parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Asset.DiscoveryStatus
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Asset.DiscoveryStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Asset.DiscoveryStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Asset.DiscoveryStatus parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Asset.DiscoveryStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Asset.DiscoveryStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Asset.DiscoveryStatus
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Asset.DiscoveryStatus parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Asset.DiscoveryStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Asset.DiscoveryStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Asset.DiscoveryStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getLastRunDuration()

public Duration getLastRunDuration()

The duration of the last discovery run.

.google.protobuf.Duration last_run_duration = 7;

Returns
TypeDescription
Duration

The lastRunDuration.

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.

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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
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.

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUpdateTime()

public Timestamp getUpdateTime()

Last update time of the status.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Timestamp

The updateTime.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Asset.DiscoveryStatus.Builder newBuilderForType()
Returns
TypeDescription
Asset.DiscoveryStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Asset.DiscoveryStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Asset.DiscoveryStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Asset.DiscoveryStatus.Builder toBuilder()
Returns
TypeDescription
Asset.DiscoveryStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException