Package com.google.cloud.dataplex.v1
Class Asset.DiscoveryStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Asset.DiscoveryStatus.Builder>
com.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Builder
- All Implemented Interfaces:
Asset.DiscoveryStatusOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Asset.DiscoveryStatus
public static final class Asset.DiscoveryStatus.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Asset.DiscoveryStatus.Builder>
implements Asset.DiscoveryStatusOrBuilder
Status of discovery for an asset.Protobuf type
google.cloud.dataplex.v1.Asset.DiscoveryStatus-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The duration of the last discovery run.The start time of the last discovery run.Additional information about the current state.The current status of the discovery feature.Data Stats of the asset reported by discovery.Last update time of the status.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationThe duration of the last discovery run.com.google.protobuf.Duration.BuilderThe 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.Timestamp.BuilderThe 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.getState()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.Data Stats of the asset reported by discovery.com.google.protobuf.TimestampLast update time of the status.com.google.protobuf.Timestamp.BuilderLast update time of the status.com.google.protobuf.TimestampOrBuilderLast update time of the status.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 booleanmergeFrom(Asset.DiscoveryStatus other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeLastRunDuration(com.google.protobuf.Duration value) The duration of the last discovery run.mergeLastRunTime(com.google.protobuf.Timestamp value) The start time of the last discovery run.Data Stats of the asset reported by discovery.mergeUpdateTime(com.google.protobuf.Timestamp value) Last update time of the status.setLastRunDuration(com.google.protobuf.Duration value) The duration of the last discovery run.setLastRunDuration(com.google.protobuf.Duration.Builder builderForValue) The duration of the last discovery run.setLastRunTime(com.google.protobuf.Timestamp value) The start time of the last discovery run.setLastRunTime(com.google.protobuf.Timestamp.Builder builderForValue) The start time of the last discovery run.setMessage(String value) Additional information about the current state.setMessageBytes(com.google.protobuf.ByteString value) Additional information about the current state.The current status of the discovery feature.setStateValue(int value) The current status of the discovery feature.Data Stats of the asset reported by discovery.setStats(Asset.DiscoveryStatus.Stats.Builder builderForValue) Data Stats of the asset reported by discovery.setUpdateTime(com.google.protobuf.Timestamp value) Last update time of the status.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Last update time of the status.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<Asset.DiscoveryStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Asset.DiscoveryStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Asset.DiscoveryStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Asset.DiscoveryStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Asset.DiscoveryStatus.Builder>
-
mergeFrom
public Asset.DiscoveryStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Asset.DiscoveryStatus.Builder>- Throws:
IOException
-
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.
-
setStateValue
The current status of the discovery feature.
.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
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.
-
setState
The current status of the discovery feature.
.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
The current status of the discovery feature.
.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State state = 1;- Returns:
- This builder for chaining.
-
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.
-
setMessage
Additional information about the current state.
string message = 2;- Parameters:
value- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
Additional information about the current state.
string message = 2;- Returns:
- This builder for chaining.
-
setMessageBytes
Additional information about the current state.
string message = 2;- Parameters:
value- The bytes for message to set.- Returns:
- This builder for chaining.
-
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.
-
setUpdateTime
Last update time of the status.
.google.protobuf.Timestamp update_time = 3; -
setUpdateTime
public Asset.DiscoveryStatus.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Last update time of the status.
.google.protobuf.Timestamp update_time = 3; -
mergeUpdateTime
Last update time of the status.
.google.protobuf.Timestamp update_time = 3; -
clearUpdateTime
Last update time of the status.
.google.protobuf.Timestamp update_time = 3; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Last update time of the status.
.google.protobuf.Timestamp update_time = 3; -
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.
-
setLastRunTime
The start time of the last discovery run.
.google.protobuf.Timestamp last_run_time = 4; -
setLastRunTime
public Asset.DiscoveryStatus.Builder setLastRunTime(com.google.protobuf.Timestamp.Builder builderForValue) The start time of the last discovery run.
.google.protobuf.Timestamp last_run_time = 4; -
mergeLastRunTime
The start time of the last discovery run.
.google.protobuf.Timestamp last_run_time = 4; -
clearLastRunTime
The start time of the last discovery run.
.google.protobuf.Timestamp last_run_time = 4; -
getLastRunTimeBuilder
public com.google.protobuf.Timestamp.Builder getLastRunTimeBuilder()The start time of the last discovery run.
.google.protobuf.Timestamp last_run_time = 4; -
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.
-
setStats
Data Stats of the asset reported by discovery.
.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6; -
setStats
Data Stats of the asset reported by discovery.
.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6; -
mergeStats
Data Stats of the asset reported by discovery.
.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6; -
clearStats
Data Stats of the asset reported by discovery.
.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6; -
getStatsBuilder
Data Stats of the asset reported by discovery.
.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats stats = 6; -
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.
-
setLastRunDuration
The duration of the last discovery run.
.google.protobuf.Duration last_run_duration = 7; -
setLastRunDuration
public Asset.DiscoveryStatus.Builder setLastRunDuration(com.google.protobuf.Duration.Builder builderForValue) The duration of the last discovery run.
.google.protobuf.Duration last_run_duration = 7; -
mergeLastRunDuration
The duration of the last discovery run.
.google.protobuf.Duration last_run_duration = 7; -
clearLastRunDuration
The duration of the last discovery run.
.google.protobuf.Duration last_run_duration = 7; -
getLastRunDurationBuilder
public com.google.protobuf.Duration.Builder getLastRunDurationBuilder()The duration of the last discovery run.
.google.protobuf.Duration last_run_duration = 7; -
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
-