Class DataScanEvent

  • All Implemented Interfaces:
    DataScanEventOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class DataScanEvent
    extends com.google.protobuf.GeneratedMessageV3
    implements DataScanEventOrBuilder
     These messages contain information about the execution of a datascan.
     The monitored resource is 'DataScan'
     Next ID: 13
     
    Protobuf type google.cloud.dataplex.v1.DataScanEvent
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.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 class com.google.protobuf.GeneratedMessageV3
      • getDataSourceBytes

        public com.google.protobuf.ByteString getDataSourceBytes()
         The data source of the data scan
         
        string data_source = 1;
        Specified by:
        getDataSourceBytes in interface DataScanEventOrBuilder
        Returns:
        The bytes for dataSource.
      • getJobId

        public String getJobId()
         The identifier of the specific data scan job this log entry is for.
         
        string job_id = 2;
        Specified by:
        getJobId in interface DataScanEventOrBuilder
        Returns:
        The jobId.
      • getJobIdBytes

        public com.google.protobuf.ByteString getJobIdBytes()
         The identifier of the specific data scan job this log entry is for.
         
        string job_id = 2;
        Specified by:
        getJobIdBytes in interface DataScanEventOrBuilder
        Returns:
        The bytes for jobId.
      • hasCreateTime

        public boolean hasCreateTime()
         The time when the data scan job was created.
         
        .google.protobuf.Timestamp create_time = 12;
        Specified by:
        hasCreateTime in interface DataScanEventOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         The time when the data scan job was created.
         
        .google.protobuf.Timestamp create_time = 12;
        Specified by:
        getCreateTime in interface DataScanEventOrBuilder
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         The time when the data scan job was created.
         
        .google.protobuf.Timestamp create_time = 12;
        Specified by:
        getCreateTimeOrBuilder in interface DataScanEventOrBuilder
      • hasStartTime

        public boolean hasStartTime()
         The time when the data scan job started to run.
         
        .google.protobuf.Timestamp start_time = 3;
        Specified by:
        hasStartTime in interface DataScanEventOrBuilder
        Returns:
        Whether the startTime field is set.
      • getStartTime

        public com.google.protobuf.Timestamp getStartTime()
         The time when the data scan job started to run.
         
        .google.protobuf.Timestamp start_time = 3;
        Specified by:
        getStartTime in interface DataScanEventOrBuilder
        Returns:
        The startTime.
      • getStartTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
         The time when the data scan job started to run.
         
        .google.protobuf.Timestamp start_time = 3;
        Specified by:
        getStartTimeOrBuilder in interface DataScanEventOrBuilder
      • hasEndTime

        public boolean hasEndTime()
         The time when the data scan job finished.
         
        .google.protobuf.Timestamp end_time = 4;
        Specified by:
        hasEndTime in interface DataScanEventOrBuilder
        Returns:
        Whether the endTime field is set.
      • getEndTime

        public com.google.protobuf.Timestamp getEndTime()
         The time when the data scan job finished.
         
        .google.protobuf.Timestamp end_time = 4;
        Specified by:
        getEndTime in interface DataScanEventOrBuilder
        Returns:
        The endTime.
      • getEndTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
         The time when the data scan job finished.
         
        .google.protobuf.Timestamp end_time = 4;
        Specified by:
        getEndTimeOrBuilder in interface DataScanEventOrBuilder
      • getTypeValue

        public int getTypeValue()
         The type of the data scan.
         
        .google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5;
        Specified by:
        getTypeValue in interface DataScanEventOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • getStateValue

        public int getStateValue()
         The status of the data scan job.
         
        .google.cloud.dataplex.v1.DataScanEvent.State state = 6;
        Specified by:
        getStateValue in interface DataScanEventOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • getMessage

        public String getMessage()
         The message describing the data scan job event.
         
        string message = 7;
        Specified by:
        getMessage in interface DataScanEventOrBuilder
        Returns:
        The message.
      • getMessageBytes

        public com.google.protobuf.ByteString getMessageBytes()
         The message describing the data scan job event.
         
        string message = 7;
        Specified by:
        getMessageBytes in interface DataScanEventOrBuilder
        Returns:
        The bytes for message.
      • getSpecVersion

        public String getSpecVersion()
         A version identifier of the spec which was used to execute this job.
         
        string spec_version = 8;
        Specified by:
        getSpecVersion in interface DataScanEventOrBuilder
        Returns:
        The specVersion.
      • getSpecVersionBytes

        public com.google.protobuf.ByteString getSpecVersionBytes()
         A version identifier of the spec which was used to execute this job.
         
        string spec_version = 8;
        Specified by:
        getSpecVersionBytes in interface DataScanEventOrBuilder
        Returns:
        The bytes for specVersion.
      • getTriggerValue

        public int getTriggerValue()
         The trigger type of the data scan job.
         
        .google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9;
        Specified by:
        getTriggerValue in interface DataScanEventOrBuilder
        Returns:
        The enum numeric value on the wire for trigger.
      • getScopeValue

        public int getScopeValue()
         The scope of the data scan (e.g. full, incremental).
         
        .google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10;
        Specified by:
        getScopeValue in interface DataScanEventOrBuilder
        Returns:
        The enum numeric value on the wire for scope.
      • hasDataProfile

        public boolean hasDataProfile()
         Data profile result for data profile type data scan.
         
        .google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101;
        Specified by:
        hasDataProfile in interface DataScanEventOrBuilder
        Returns:
        Whether the dataProfile field is set.
      • hasDataQuality

        public boolean hasDataQuality()
         Data quality result for data quality type data scan.
         
        .google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102;
        Specified by:
        hasDataQuality in interface DataScanEventOrBuilder
        Returns:
        Whether the dataQuality field is set.
      • hasDataProfileConfigs

        public boolean hasDataProfileConfigs()
         Applied configs for data profile type data scan.
         
        .google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201;
        Specified by:
        hasDataProfileConfigs in interface DataScanEventOrBuilder
        Returns:
        Whether the dataProfileConfigs field is set.
      • hasDataQualityConfigs

        public boolean hasDataQualityConfigs()
         Applied configs for data quality type data scan.
         
        .google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202;
        Specified by:
        hasDataQualityConfigs in interface DataScanEventOrBuilder
        Returns:
        Whether the dataQualityConfigs field is set.
      • hasPostScanActionsResult

        public boolean hasPostScanActionsResult()
         The result of post scan actions.
         
        .google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11;
        Specified by:
        hasPostScanActionsResult in interface DataScanEventOrBuilder
        Returns:
        Whether the postScanActionsResult field is set.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static DataScanEvent parseFrom​(ByteBuffer data)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DataScanEvent parseFrom​(ByteBuffer data,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DataScanEvent parseFrom​(com.google.protobuf.ByteString data)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DataScanEvent parseFrom​(com.google.protobuf.ByteString data,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DataScanEvent parseFrom​(byte[] data)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DataScanEvent parseFrom​(byte[] data,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DataScanEvent parseFrom​(com.google.protobuf.CodedInputStream input,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws IOException
        Throws:
        IOException
      • newBuilderForType

        public DataScanEvent.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public DataScanEvent.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected DataScanEvent.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static DataScanEvent getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<DataScanEvent> parser()
      • getParserForType

        public com.google.protobuf.Parser<DataScanEvent> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public DataScanEvent getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder