Class DataScanEvent.Builder (1.10.0)

public static final class DataScanEvent.Builder extends GeneratedMessageV3.Builder<DataScanEvent.Builder> implements DataScanEventOrBuilder

These messages contain information about the execution of a datascan. The monitored resource is 'DataScan'

Protobuf type google.cloud.dataplex.v1.DataScanEvent

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataScanEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DataScanEvent.Builder
Overrides

build()

public DataScanEvent build()
Returns
TypeDescription
DataScanEvent

buildPartial()

public DataScanEvent buildPartial()
Returns
TypeDescription
DataScanEvent

clear()

public DataScanEvent.Builder clear()
Returns
TypeDescription
DataScanEvent.Builder
Overrides

clearDataProfile()

public DataScanEvent.Builder clearDataProfile()

Data profile result for data profile type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101;

Returns
TypeDescription
DataScanEvent.Builder

clearDataQuality()

public DataScanEvent.Builder clearDataQuality()

Data quality result for data quality type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102;

Returns
TypeDescription
DataScanEvent.Builder

clearDataSource()

public DataScanEvent.Builder clearDataSource()

The data source of the data scan

string data_source = 1;

Returns
TypeDescription
DataScanEvent.Builder

This builder for chaining.

clearEndTime()

public DataScanEvent.Builder clearEndTime()

The time when the data scan job finished.

.google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
DataScanEvent.Builder

clearField(Descriptors.FieldDescriptor field)

public DataScanEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DataScanEvent.Builder
Overrides

clearJobId()

public DataScanEvent.Builder clearJobId()

The identifier of the specific data scan job this log entry is for.

string job_id = 2;

Returns
TypeDescription
DataScanEvent.Builder

This builder for chaining.

clearMessage()

public DataScanEvent.Builder clearMessage()

The message describing the data scan job event.

string message = 7;

Returns
TypeDescription
DataScanEvent.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DataScanEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DataScanEvent.Builder
Overrides

clearResult()

public DataScanEvent.Builder clearResult()
Returns
TypeDescription
DataScanEvent.Builder

clearScope()

public DataScanEvent.Builder clearScope()

The scope of the data scan (e.g. full, incremental).

.google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10;

Returns
TypeDescription
DataScanEvent.Builder

This builder for chaining.

clearSpecVersion()

public DataScanEvent.Builder clearSpecVersion()

A version identifier of the spec which was used to execute this job.

string spec_version = 8;

Returns
TypeDescription
DataScanEvent.Builder

This builder for chaining.

clearStartTime()

public DataScanEvent.Builder clearStartTime()

The time when the data scan job started to run.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
DataScanEvent.Builder

clearState()

public DataScanEvent.Builder clearState()

The status of the data scan job.

.google.cloud.dataplex.v1.DataScanEvent.State state = 6;

Returns
TypeDescription
DataScanEvent.Builder

This builder for chaining.

clearTrigger()

public DataScanEvent.Builder clearTrigger()

The trigger type of the data scan job.

.google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9;

Returns
TypeDescription
DataScanEvent.Builder

This builder for chaining.

clearType()

public DataScanEvent.Builder clearType()

The type of the data scan.

.google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5;

Returns
TypeDescription
DataScanEvent.Builder

This builder for chaining.

clone()

public DataScanEvent.Builder clone()
Returns
TypeDescription
DataScanEvent.Builder
Overrides

getDataProfile()

public DataScanEvent.DataProfileResult getDataProfile()

Data profile result for data profile type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101;

Returns
TypeDescription
DataScanEvent.DataProfileResult

The dataProfile.

getDataProfileBuilder()

public DataScanEvent.DataProfileResult.Builder getDataProfileBuilder()

Data profile result for data profile type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101;

Returns
TypeDescription
DataScanEvent.DataProfileResult.Builder

getDataProfileOrBuilder()

public DataScanEvent.DataProfileResultOrBuilder getDataProfileOrBuilder()

Data profile result for data profile type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101;

Returns
TypeDescription
DataScanEvent.DataProfileResultOrBuilder

getDataQuality()

public DataScanEvent.DataQualityResult getDataQuality()

Data quality result for data quality type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102;

Returns
TypeDescription
DataScanEvent.DataQualityResult

The dataQuality.

getDataQualityBuilder()

public DataScanEvent.DataQualityResult.Builder getDataQualityBuilder()

Data quality result for data quality type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102;

Returns
TypeDescription
DataScanEvent.DataQualityResult.Builder

getDataQualityOrBuilder()

public DataScanEvent.DataQualityResultOrBuilder getDataQualityOrBuilder()

Data quality result for data quality type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102;

Returns
TypeDescription
DataScanEvent.DataQualityResultOrBuilder

getDataSource()

public String getDataSource()

The data source of the data scan

string data_source = 1;

Returns
TypeDescription
String

The dataSource.

getDataSourceBytes()

public ByteString getDataSourceBytes()

The data source of the data scan

string data_source = 1;

Returns
TypeDescription
ByteString

The bytes for dataSource.

getDefaultInstanceForType()

public DataScanEvent getDefaultInstanceForType()
Returns
TypeDescription
DataScanEvent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

The time when the data scan job finished.

.google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

The time when the data scan job finished.

.google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The time when the data scan job finished.

.google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getJobId()

public String getJobId()

The identifier of the specific data scan job this log entry is for.

string job_id = 2;

Returns
TypeDescription
String

The jobId.

getJobIdBytes()

public ByteString getJobIdBytes()

The identifier of the specific data scan job this log entry is for.

string job_id = 2;

Returns
TypeDescription
ByteString

The bytes for jobId.

getMessage()

public String getMessage()

The message describing the data scan job event.

string message = 7;

Returns
TypeDescription
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

The message describing the data scan job event.

string message = 7;

Returns
TypeDescription
ByteString

The bytes for message.

getResultCase()

public DataScanEvent.ResultCase getResultCase()
Returns
TypeDescription
DataScanEvent.ResultCase

getScope()

public DataScanEvent.Scope getScope()

The scope of the data scan (e.g. full, incremental).

.google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10;

Returns
TypeDescription
DataScanEvent.Scope

The scope.

getScopeValue()

public int getScopeValue()

The scope of the data scan (e.g. full, incremental).

.google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10;

Returns
TypeDescription
int

The enum numeric value on the wire for scope.

getSpecVersion()

public String getSpecVersion()

A version identifier of the spec which was used to execute this job.

string spec_version = 8;

Returns
TypeDescription
String

The specVersion.

getSpecVersionBytes()

public ByteString getSpecVersionBytes()

A version identifier of the spec which was used to execute this job.

string spec_version = 8;

Returns
TypeDescription
ByteString

The bytes for specVersion.

getStartTime()

public Timestamp getStartTime()

The time when the data scan job started to run.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The time when the data scan job started to run.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time when the data scan job started to run.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getState()

public DataScanEvent.State getState()

The status of the data scan job.

.google.cloud.dataplex.v1.DataScanEvent.State state = 6;

Returns
TypeDescription
DataScanEvent.State

The state.

getStateValue()

public int getStateValue()

The status of the data scan job.

.google.cloud.dataplex.v1.DataScanEvent.State state = 6;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getTrigger()

public DataScanEvent.Trigger getTrigger()

The trigger type of the data scan job.

.google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9;

Returns
TypeDescription
DataScanEvent.Trigger

The trigger.

getTriggerValue()

public int getTriggerValue()

The trigger type of the data scan job.

.google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9;

Returns
TypeDescription
int

The enum numeric value on the wire for trigger.

getType()

public DataScanEvent.ScanType getType()

The type of the data scan.

.google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5;

Returns
TypeDescription
DataScanEvent.ScanType

The type.

getTypeValue()

public int getTypeValue()

The type of the data scan.

.google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5;

Returns
TypeDescription
int

The enum numeric value on the wire for type.

hasDataProfile()

public boolean hasDataProfile()

Data profile result for data profile type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101;

Returns
TypeDescription
boolean

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;

Returns
TypeDescription
boolean

Whether the dataQuality field is set.

hasEndTime()

public boolean hasEndTime()

The time when the data scan job finished.

.google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

The time when the data scan job started to run.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDataProfile(DataScanEvent.DataProfileResult value)

public DataScanEvent.Builder mergeDataProfile(DataScanEvent.DataProfileResult value)

Data profile result for data profile type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101;

Parameter
NameDescription
valueDataScanEvent.DataProfileResult
Returns
TypeDescription
DataScanEvent.Builder

mergeDataQuality(DataScanEvent.DataQualityResult value)

public DataScanEvent.Builder mergeDataQuality(DataScanEvent.DataQualityResult value)

Data quality result for data quality type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102;

Parameter
NameDescription
valueDataScanEvent.DataQualityResult
Returns
TypeDescription
DataScanEvent.Builder

mergeEndTime(Timestamp value)

public DataScanEvent.Builder mergeEndTime(Timestamp value)

The time when the data scan job finished.

.google.protobuf.Timestamp end_time = 4;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
DataScanEvent.Builder

mergeFrom(DataScanEvent other)

public DataScanEvent.Builder mergeFrom(DataScanEvent other)
Parameter
NameDescription
otherDataScanEvent
Returns
TypeDescription
DataScanEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataScanEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataScanEvent.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DataScanEvent.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DataScanEvent.Builder
Overrides

mergeStartTime(Timestamp value)

public DataScanEvent.Builder mergeStartTime(Timestamp value)

The time when the data scan job started to run.

.google.protobuf.Timestamp start_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
DataScanEvent.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataScanEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataScanEvent.Builder
Overrides

setDataProfile(DataScanEvent.DataProfileResult value)

public DataScanEvent.Builder setDataProfile(DataScanEvent.DataProfileResult value)

Data profile result for data profile type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101;

Parameter
NameDescription
valueDataScanEvent.DataProfileResult
Returns
TypeDescription
DataScanEvent.Builder

setDataProfile(DataScanEvent.DataProfileResult.Builder builderForValue)

public DataScanEvent.Builder setDataProfile(DataScanEvent.DataProfileResult.Builder builderForValue)

Data profile result for data profile type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101;

Parameter
NameDescription
builderForValueDataScanEvent.DataProfileResult.Builder
Returns
TypeDescription
DataScanEvent.Builder

setDataQuality(DataScanEvent.DataQualityResult value)

public DataScanEvent.Builder setDataQuality(DataScanEvent.DataQualityResult value)

Data quality result for data quality type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102;

Parameter
NameDescription
valueDataScanEvent.DataQualityResult
Returns
TypeDescription
DataScanEvent.Builder

setDataQuality(DataScanEvent.DataQualityResult.Builder builderForValue)

public DataScanEvent.Builder setDataQuality(DataScanEvent.DataQualityResult.Builder builderForValue)

Data quality result for data quality type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102;

Parameter
NameDescription
builderForValueDataScanEvent.DataQualityResult.Builder
Returns
TypeDescription
DataScanEvent.Builder

setDataSource(String value)

public DataScanEvent.Builder setDataSource(String value)

The data source of the data scan

string data_source = 1;

Parameter
NameDescription
valueString

The dataSource to set.

Returns
TypeDescription
DataScanEvent.Builder

This builder for chaining.

setDataSourceBytes(ByteString value)

public DataScanEvent.Builder setDataSourceBytes(ByteString value)

The data source of the data scan

string data_source = 1;

Parameter
NameDescription
valueByteString

The bytes for dataSource to set.

Returns
TypeDescription
DataScanEvent.Builder

This builder for chaining.

setEndTime(Timestamp value)

public DataScanEvent.Builder setEndTime(Timestamp value)

The time when the data scan job finished.

.google.protobuf.Timestamp end_time = 4;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
DataScanEvent.Builder

setEndTime(Timestamp.Builder builderForValue)

public DataScanEvent.Builder setEndTime(Timestamp.Builder builderForValue)

The time when the data scan job finished.

.google.protobuf.Timestamp end_time = 4;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
DataScanEvent.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DataScanEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DataScanEvent.Builder
Overrides

setJobId(String value)

public DataScanEvent.Builder setJobId(String value)

The identifier of the specific data scan job this log entry is for.

string job_id = 2;

Parameter
NameDescription
valueString

The jobId to set.

Returns
TypeDescription
DataScanEvent.Builder

This builder for chaining.

setJobIdBytes(ByteString value)

public DataScanEvent.Builder setJobIdBytes(ByteString value)

The identifier of the specific data scan job this log entry is for.

string job_id = 2;

Parameter
NameDescription
valueByteString

The bytes for jobId to set.

Returns
TypeDescription
DataScanEvent.Builder

This builder for chaining.

setMessage(String value)

public DataScanEvent.Builder setMessage(String value)

The message describing the data scan job event.

string message = 7;

Parameter
NameDescription
valueString

The message to set.

Returns
TypeDescription
DataScanEvent.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public DataScanEvent.Builder setMessageBytes(ByteString value)

The message describing the data scan job event.

string message = 7;

Parameter
NameDescription
valueByteString

The bytes for message to set.

Returns
TypeDescription
DataScanEvent.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DataScanEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DataScanEvent.Builder
Overrides

setScope(DataScanEvent.Scope value)

public DataScanEvent.Builder setScope(DataScanEvent.Scope value)

The scope of the data scan (e.g. full, incremental).

.google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10;

Parameter
NameDescription
valueDataScanEvent.Scope

The scope to set.

Returns
TypeDescription
DataScanEvent.Builder

This builder for chaining.

setScopeValue(int value)

public DataScanEvent.Builder setScopeValue(int value)

The scope of the data scan (e.g. full, incremental).

.google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10;

Parameter
NameDescription
valueint

The enum numeric value on the wire for scope to set.

Returns
TypeDescription
DataScanEvent.Builder

This builder for chaining.

setSpecVersion(String value)

public DataScanEvent.Builder setSpecVersion(String value)

A version identifier of the spec which was used to execute this job.

string spec_version = 8;

Parameter
NameDescription
valueString

The specVersion to set.

Returns
TypeDescription
DataScanEvent.Builder

This builder for chaining.

setSpecVersionBytes(ByteString value)

public DataScanEvent.Builder setSpecVersionBytes(ByteString value)

A version identifier of the spec which was used to execute this job.

string spec_version = 8;

Parameter
NameDescription
valueByteString

The bytes for specVersion to set.

Returns
TypeDescription
DataScanEvent.Builder

This builder for chaining.

setStartTime(Timestamp value)

public DataScanEvent.Builder setStartTime(Timestamp value)

The time when the data scan job started to run.

.google.protobuf.Timestamp start_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
DataScanEvent.Builder

setStartTime(Timestamp.Builder builderForValue)

public DataScanEvent.Builder setStartTime(Timestamp.Builder builderForValue)

The time when the data scan job started to run.

.google.protobuf.Timestamp start_time = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
DataScanEvent.Builder

setState(DataScanEvent.State value)

public DataScanEvent.Builder setState(DataScanEvent.State value)

The status of the data scan job.

.google.cloud.dataplex.v1.DataScanEvent.State state = 6;

Parameter
NameDescription
valueDataScanEvent.State

The state to set.

Returns
TypeDescription
DataScanEvent.Builder

This builder for chaining.

setStateValue(int value)

public DataScanEvent.Builder setStateValue(int value)

The status of the data scan job.

.google.cloud.dataplex.v1.DataScanEvent.State state = 6;

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
DataScanEvent.Builder

This builder for chaining.

setTrigger(DataScanEvent.Trigger value)

public DataScanEvent.Builder setTrigger(DataScanEvent.Trigger value)

The trigger type of the data scan job.

.google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9;

Parameter
NameDescription
valueDataScanEvent.Trigger

The trigger to set.

Returns
TypeDescription
DataScanEvent.Builder

This builder for chaining.

setTriggerValue(int value)

public DataScanEvent.Builder setTriggerValue(int value)

The trigger type of the data scan job.

.google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9;

Parameter
NameDescription
valueint

The enum numeric value on the wire for trigger to set.

Returns
TypeDescription
DataScanEvent.Builder

This builder for chaining.

setType(DataScanEvent.ScanType value)

public DataScanEvent.Builder setType(DataScanEvent.ScanType value)

The type of the data scan.

.google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5;

Parameter
NameDescription
valueDataScanEvent.ScanType

The type to set.

Returns
TypeDescription
DataScanEvent.Builder

This builder for chaining.

setTypeValue(int value)

public DataScanEvent.Builder setTypeValue(int value)

The type of the data scan.

.google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5;

Parameter
NameDescription
valueint

The enum numeric value on the wire for type to set.

Returns
TypeDescription
DataScanEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DataScanEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataScanEvent.Builder
Overrides