Class DataScanEvent.DataProfileAppliedConfigs.Builder (1.22.0)

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

Applied configs for data profile type data scan job.

Protobuf type google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataScanEvent.DataProfileAppliedConfigs build()
Returns
TypeDescription
DataScanEvent.DataProfileAppliedConfigs

buildPartial()

public DataScanEvent.DataProfileAppliedConfigs buildPartial()
Returns
TypeDescription
DataScanEvent.DataProfileAppliedConfigs

clear()

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

clearColumnFilterApplied()

public DataScanEvent.DataProfileAppliedConfigs.Builder clearColumnFilterApplied()

Boolean indicating whether a column filter was applied in the DataScan job.

bool column_filter_applied = 3;

Returns
TypeDescription
DataScanEvent.DataProfileAppliedConfigs.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRowFilterApplied()

public DataScanEvent.DataProfileAppliedConfigs.Builder clearRowFilterApplied()

Boolean indicating whether a row filter was applied in the DataScan job.

bool row_filter_applied = 2;

Returns
TypeDescription
DataScanEvent.DataProfileAppliedConfigs.Builder

This builder for chaining.

clearSamplingPercent()

public DataScanEvent.DataProfileAppliedConfigs.Builder clearSamplingPercent()

The percentage of the records selected from the dataset for DataScan.

  • Value ranges between 0.0 and 100.0.
  • Value 0.0 or 100.0 imply that sampling was not applied.

float sampling_percent = 1;

Returns
TypeDescription
DataScanEvent.DataProfileAppliedConfigs.Builder

This builder for chaining.

clone()

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

getColumnFilterApplied()

public boolean getColumnFilterApplied()

Boolean indicating whether a column filter was applied in the DataScan job.

bool column_filter_applied = 3;

Returns
TypeDescription
boolean

The columnFilterApplied.

getDefaultInstanceForType()

public DataScanEvent.DataProfileAppliedConfigs getDefaultInstanceForType()
Returns
TypeDescription
DataScanEvent.DataProfileAppliedConfigs

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRowFilterApplied()

public boolean getRowFilterApplied()

Boolean indicating whether a row filter was applied in the DataScan job.

bool row_filter_applied = 2;

Returns
TypeDescription
boolean

The rowFilterApplied.

getSamplingPercent()

public float getSamplingPercent()

The percentage of the records selected from the dataset for DataScan.

  • Value ranges between 0.0 and 100.0.
  • Value 0.0 or 100.0 imply that sampling was not applied.

float sampling_percent = 1;

Returns
TypeDescription
float

The samplingPercent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DataScanEvent.DataProfileAppliedConfigs other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setColumnFilterApplied(boolean value)

public DataScanEvent.DataProfileAppliedConfigs.Builder setColumnFilterApplied(boolean value)

Boolean indicating whether a column filter was applied in the DataScan job.

bool column_filter_applied = 3;

Parameter
NameDescription
valueboolean

The columnFilterApplied to set.

Returns
TypeDescription
DataScanEvent.DataProfileAppliedConfigs.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRowFilterApplied(boolean value)

public DataScanEvent.DataProfileAppliedConfigs.Builder setRowFilterApplied(boolean value)

Boolean indicating whether a row filter was applied in the DataScan job.

bool row_filter_applied = 2;

Parameter
NameDescription
valueboolean

The rowFilterApplied to set.

Returns
TypeDescription
DataScanEvent.DataProfileAppliedConfigs.Builder

This builder for chaining.

setSamplingPercent(float value)

public DataScanEvent.DataProfileAppliedConfigs.Builder setSamplingPercent(float value)

The percentage of the records selected from the dataset for DataScan.

  • Value ranges between 0.0 and 100.0.
  • Value 0.0 or 100.0 imply that sampling was not applied.

float sampling_percent = 1;

Parameter
NameDescription
valuefloat

The samplingPercent to set.

Returns
TypeDescription
DataScanEvent.DataProfileAppliedConfigs.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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