Package com.google.cloud.dataplex.v1
Class Asset.DiscoveryStatus
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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.GeneratedMessage
implements Asset.DiscoveryStatusOrBuilder
Status of discovery for an asset.Protobuf type
google.cloud.dataplex.v1.Asset.DiscoveryStatus- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classStatus of discovery for an asset.static enumCurrent state of discovery.static final classThe aggregated data statistics for the asset reported by discovery.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Asset.DiscoveryStatusstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationThe duration of the last discovery run.com.google.protobuf.DurationOrBuilderThe duration of the last discovery run.com.google.protobuf.TimestampThe start time of the last discovery run.com.google.protobuf.TimestampOrBuilderThe start time of the last discovery run.Additional information about the current state.com.google.protobuf.ByteStringAdditional information about the current state.com.google.protobuf.Parser<Asset.DiscoveryStatus>intgetState()The current status of the discovery feature.intThe current status of the discovery feature.getStats()Data Stats of the asset reported by discovery.Data Stats of the asset reported by discovery.com.google.protobuf.TimestampLast update time of the status.com.google.protobuf.TimestampOrBuilderLast update time of the status.inthashCode()booleanThe duration of the last discovery run.booleanThe start time of the last discovery run.booleanhasStats()Data Stats of the asset reported by discovery.booleanLast update time of the status.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(Asset.DiscoveryStatus prototype) protected Asset.DiscoveryStatus.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Asset.DiscoveryStatusparseDelimitedFrom(InputStream input) static Asset.DiscoveryStatusparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Asset.DiscoveryStatusparseFrom(byte[] data) static Asset.DiscoveryStatusparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Asset.DiscoveryStatusparseFrom(com.google.protobuf.ByteString data) static Asset.DiscoveryStatusparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Asset.DiscoveryStatusparseFrom(com.google.protobuf.CodedInputStream input) static Asset.DiscoveryStatusparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Asset.DiscoveryStatusparseFrom(InputStream input) static Asset.DiscoveryStatusparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Asset.DiscoveryStatusparseFrom(ByteBuffer data) static Asset.DiscoveryStatusparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Asset.DiscoveryStatus>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
LAST_RUN_TIME_FIELD_NUMBER
public static final int LAST_RUN_TIME_FIELD_NUMBER- See Also:
-
STATS_FIELD_NUMBER
public static final int STATS_FIELD_NUMBER- See Also:
-
LAST_RUN_DURATION_FIELD_NUMBER
public static final int LAST_RUN_DURATION_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getStateValue
public int getStateValue()The current status of the discovery feature.
.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1;- Specified by:
getStateValuein interfaceAsset.DiscoveryStatusOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
The current status of the discovery feature.
.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1;- Specified by:
getStatein interfaceAsset.DiscoveryStatusOrBuilder- Returns:
- The state.
-
getMessage
Additional information about the current state.
string message = 2;- Specified by:
getMessagein interfaceAsset.DiscoveryStatusOrBuilder- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()Additional information about the current state.
string message = 2;- Specified by:
getMessageBytesin 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:
hasUpdateTimein 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:
getUpdateTimein 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:
getUpdateTimeOrBuilderin interfaceAsset.DiscoveryStatusOrBuilder
-
hasLastRunTime
public boolean hasLastRunTime()The start time of the last discovery run.
.google.protobuf.Timestamp last_run_time = 4;- Specified by:
hasLastRunTimein 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:
getLastRunTimein 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:
getLastRunTimeOrBuilderin 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:
hasStatsin interfaceAsset.DiscoveryStatusOrBuilder- Returns:
- Whether the stats field is set.
-
getStats
Data Stats of the asset reported by discovery.
.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6;- Specified by:
getStatsin interfaceAsset.DiscoveryStatusOrBuilder- Returns:
- The stats.
-
getStatsOrBuilder
Data Stats of the asset reported by discovery.
.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6;- Specified by:
getStatsOrBuilderin interfaceAsset.DiscoveryStatusOrBuilder
-
hasLastRunDuration
public boolean hasLastRunDuration()The duration of the last discovery run.
.google.protobuf.Duration last_run_duration = 7;- Specified by:
hasLastRunDurationin 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:
getLastRunDurationin 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:
getLastRunDurationOrBuilderin interfaceAsset.DiscoveryStatusOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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
- Throws:
IOException
-
parseFrom
public static Asset.DiscoveryStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Asset.DiscoveryStatus.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-