Package com.google.cloud.dataplex.v1
Class Asset.DiscoveryStatus
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dataplex.v1.Asset.DiscoveryStatus
-
- All Implemented Interfaces:
Asset.DiscoveryStatusOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
- Enclosing class:
- Asset
public static final class Asset.DiscoveryStatus extends com.google.protobuf.GeneratedMessageV3 implements Asset.DiscoveryStatusOrBuilder
Status of discovery for an asset.
Protobuf typegoogle.cloud.dataplex.v1.Asset.DiscoveryStatus
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Asset.DiscoveryStatus.Builder
Status of discovery for an asset.static class
Asset.DiscoveryStatus.State
Current state of discovery.static class
Asset.DiscoveryStatus.Stats
The aggregated data statistics for the asset reported by discovery.static interface
Asset.DiscoveryStatus.StatsOrBuilder
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
LAST_RUN_DURATION_FIELD_NUMBER
static int
LAST_RUN_TIME_FIELD_NUMBER
static int
MESSAGE_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
STATS_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static Asset.DiscoveryStatus
getDefaultInstance()
Asset.DiscoveryStatus
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Duration
getLastRunDuration()
The duration of the last discovery run.com.google.protobuf.DurationOrBuilder
getLastRunDurationOrBuilder()
The duration of the last discovery run.com.google.protobuf.Timestamp
getLastRunTime()
The start time of the last discovery run.com.google.protobuf.TimestampOrBuilder
getLastRunTimeOrBuilder()
The start time of the last discovery run.String
getMessage()
Additional information about the current state.com.google.protobuf.ByteString
getMessageBytes()
Additional information about the current state.com.google.protobuf.Parser<Asset.DiscoveryStatus>
getParserForType()
int
getSerializedSize()
Asset.DiscoveryStatus.State
getState()
The current status of the discovery feature.int
getStateValue()
The current status of the discovery feature.Asset.DiscoveryStatus.Stats
getStats()
Data Stats of the asset reported by discovery.Asset.DiscoveryStatus.StatsOrBuilder
getStatsOrBuilder()
Data Stats of the asset reported by discovery.com.google.protobuf.Timestamp
getUpdateTime()
Last update time of the status.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Last update time of the status.int
hashCode()
boolean
hasLastRunDuration()
The duration of the last discovery run.boolean
hasLastRunTime()
The start time of the last discovery run.boolean
hasStats()
Data Stats of the asset reported by discovery.boolean
hasUpdateTime()
Last update time of the status.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Asset.DiscoveryStatus.Builder
newBuilder()
static Asset.DiscoveryStatus.Builder
newBuilder(Asset.DiscoveryStatus prototype)
Asset.DiscoveryStatus.Builder
newBuilderForType()
protected Asset.DiscoveryStatus.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Asset.DiscoveryStatus
parseDelimitedFrom(InputStream input)
static Asset.DiscoveryStatus
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Asset.DiscoveryStatus
parseFrom(byte[] data)
static Asset.DiscoveryStatus
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Asset.DiscoveryStatus
parseFrom(com.google.protobuf.ByteString data)
static Asset.DiscoveryStatus
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Asset.DiscoveryStatus
parseFrom(com.google.protobuf.CodedInputStream input)
static Asset.DiscoveryStatus
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Asset.DiscoveryStatus
parseFrom(InputStream input)
static Asset.DiscoveryStatus
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Asset.DiscoveryStatus
parseFrom(ByteBuffer data)
static Asset.DiscoveryStatus
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Asset.DiscoveryStatus>
parser()
Asset.DiscoveryStatus.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_RUN_TIME_FIELD_NUMBER
public static final int LAST_RUN_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATS_FIELD_NUMBER
public static final int STATS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_RUN_DURATION_FIELD_NUMBER
public static final int LAST_RUN_DURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getStateValue
public int getStateValue()
The current status of the discovery feature.
.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1;
- Specified by:
getStateValue
in interfaceAsset.DiscoveryStatusOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
getState
public Asset.DiscoveryStatus.State getState()
The current status of the discovery feature.
.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1;
- Specified by:
getState
in interfaceAsset.DiscoveryStatusOrBuilder
- Returns:
- The state.
-
getMessage
public String getMessage()
Additional information about the current state.
string message = 2;
- Specified by:
getMessage
in interfaceAsset.DiscoveryStatusOrBuilder
- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()
Additional information about the current state.
string message = 2;
- Specified by:
getMessageBytes
in interfaceAsset.DiscoveryStatusOrBuilder
- Returns:
- The bytes for message.
-
hasUpdateTime
public boolean hasUpdateTime()
Last update time of the status.
.google.protobuf.Timestamp update_time = 3;
- Specified by:
hasUpdateTime
in interfaceAsset.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 interfaceAsset.DiscoveryStatusOrBuilder
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Last update time of the status.
.google.protobuf.Timestamp update_time = 3;
- Specified by:
getUpdateTimeOrBuilder
in interfaceAsset.DiscoveryStatusOrBuilder
-
hasLastRunTime
public boolean hasLastRunTime()
The start time of the last discovery run.
.google.protobuf.Timestamp last_run_time = 4;
- Specified by:
hasLastRunTime
in interfaceAsset.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 interfaceAsset.DiscoveryStatusOrBuilder
- Returns:
- The lastRunTime.
-
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 interfaceAsset.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 interfaceAsset.DiscoveryStatusOrBuilder
- Returns:
- Whether the stats field is set.
-
getStats
public Asset.DiscoveryStatus.Stats getStats()
Data Stats of the asset reported by discovery.
.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6;
- Specified by:
getStats
in interfaceAsset.DiscoveryStatusOrBuilder
- Returns:
- 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;
- Specified by:
getStatsOrBuilder
in interfaceAsset.DiscoveryStatusOrBuilder
-
hasLastRunDuration
public boolean hasLastRunDuration()
The duration of the last discovery run.
.google.protobuf.Duration last_run_duration = 7;
- Specified by:
hasLastRunDuration
in interfaceAsset.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 interfaceAsset.DiscoveryStatusOrBuilder
- Returns:
- The lastRunDuration.
-
getLastRunDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getLastRunDurationOrBuilder()
The duration of the last discovery run.
.google.protobuf.Duration last_run_duration = 7;
- Specified by:
getLastRunDurationOrBuilder
in interfaceAsset.DiscoveryStatusOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Asset.DiscoveryStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Asset.DiscoveryStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Asset.DiscoveryStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Asset.DiscoveryStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Asset.DiscoveryStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Asset.DiscoveryStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Asset.DiscoveryStatus parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Asset.DiscoveryStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Asset.DiscoveryStatus parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Asset.DiscoveryStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Asset.DiscoveryStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Asset.DiscoveryStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Asset.DiscoveryStatus.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Asset.DiscoveryStatus.Builder newBuilder()
-
newBuilder
public static Asset.DiscoveryStatus.Builder newBuilder(Asset.DiscoveryStatus prototype)
-
toBuilder
public Asset.DiscoveryStatus.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Asset.DiscoveryStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Asset.DiscoveryStatus getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Asset.DiscoveryStatus> parser()
-
getParserForType
public com.google.protobuf.Parser<Asset.DiscoveryStatus> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Asset.DiscoveryStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-