Class DataProfileResult.Builder (1.45.0)

public static final class DataProfileResult.Builder extends GeneratedMessageV3.Builder<DataProfileResult.Builder> implements DataProfileResultOrBuilder

DataProfileResult defines the output of DataProfileScan. Each field of the table will have field type specific profile result.

Protobuf type google.cloud.dataplex.v1.DataProfileResult

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataProfileResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataProfileResult.Builder
Overrides

build()

public DataProfileResult build()
Returns
Type Description
DataProfileResult

buildPartial()

public DataProfileResult buildPartial()
Returns
Type Description
DataProfileResult

clear()

public DataProfileResult.Builder clear()
Returns
Type Description
DataProfileResult.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DataProfileResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DataProfileResult.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DataProfileResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DataProfileResult.Builder
Overrides

clearPostScanActionsResult()

public DataProfileResult.Builder clearPostScanActionsResult()

Output only. The result of post scan actions.

.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataProfileResult.Builder

clearProfile()

public DataProfileResult.Builder clearProfile()

The profile information per field.

.google.cloud.dataplex.v1.DataProfileResult.Profile profile = 4;

Returns
Type Description
DataProfileResult.Builder

clearRowCount()

public DataProfileResult.Builder clearRowCount()

The count of rows scanned.

int64 row_count = 3;

Returns
Type Description
DataProfileResult.Builder

This builder for chaining.

clearScannedData()

public DataProfileResult.Builder clearScannedData()

The data scanned for this result.

.google.cloud.dataplex.v1.ScannedData scanned_data = 5;

Returns
Type Description
DataProfileResult.Builder

clone()

public DataProfileResult.Builder clone()
Returns
Type Description
DataProfileResult.Builder
Overrides

getDefaultInstanceForType()

public DataProfileResult getDefaultInstanceForType()
Returns
Type Description
DataProfileResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPostScanActionsResult()

public DataProfileResult.PostScanActionsResult getPostScanActionsResult()

Output only. The result of post scan actions.

.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataProfileResult.PostScanActionsResult

The postScanActionsResult.

getPostScanActionsResultBuilder()

public DataProfileResult.PostScanActionsResult.Builder getPostScanActionsResultBuilder()

Output only. The result of post scan actions.

.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataProfileResult.PostScanActionsResult.Builder

getPostScanActionsResultOrBuilder()

public DataProfileResult.PostScanActionsResultOrBuilder getPostScanActionsResultOrBuilder()

Output only. The result of post scan actions.

.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataProfileResult.PostScanActionsResultOrBuilder

getProfile()

public DataProfileResult.Profile getProfile()

The profile information per field.

.google.cloud.dataplex.v1.DataProfileResult.Profile profile = 4;

Returns
Type Description
DataProfileResult.Profile

The profile.

getProfileBuilder()

public DataProfileResult.Profile.Builder getProfileBuilder()

The profile information per field.

.google.cloud.dataplex.v1.DataProfileResult.Profile profile = 4;

Returns
Type Description
DataProfileResult.Profile.Builder

getProfileOrBuilder()

public DataProfileResult.ProfileOrBuilder getProfileOrBuilder()

The profile information per field.

.google.cloud.dataplex.v1.DataProfileResult.Profile profile = 4;

Returns
Type Description
DataProfileResult.ProfileOrBuilder

getRowCount()

public long getRowCount()

The count of rows scanned.

int64 row_count = 3;

Returns
Type Description
long

The rowCount.

getScannedData()

public ScannedData getScannedData()

The data scanned for this result.

.google.cloud.dataplex.v1.ScannedData scanned_data = 5;

Returns
Type Description
ScannedData

The scannedData.

getScannedDataBuilder()

public ScannedData.Builder getScannedDataBuilder()

The data scanned for this result.

.google.cloud.dataplex.v1.ScannedData scanned_data = 5;

Returns
Type Description
ScannedData.Builder

getScannedDataOrBuilder()

public ScannedDataOrBuilder getScannedDataOrBuilder()

The data scanned for this result.

.google.cloud.dataplex.v1.ScannedData scanned_data = 5;

Returns
Type Description
ScannedDataOrBuilder

hasPostScanActionsResult()

public boolean hasPostScanActionsResult()

Output only. The result of post scan actions.

.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the postScanActionsResult field is set.

hasProfile()

public boolean hasProfile()

The profile information per field.

.google.cloud.dataplex.v1.DataProfileResult.Profile profile = 4;

Returns
Type Description
boolean

Whether the profile field is set.

hasScannedData()

public boolean hasScannedData()

The data scanned for this result.

.google.cloud.dataplex.v1.ScannedData scanned_data = 5;

Returns
Type Description
boolean

Whether the scannedData field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataProfileResult other)

public DataProfileResult.Builder mergeFrom(DataProfileResult other)
Parameter
Name Description
other DataProfileResult
Returns
Type Description
DataProfileResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataProfileResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileResult.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DataProfileResult.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DataProfileResult.Builder
Overrides

mergePostScanActionsResult(DataProfileResult.PostScanActionsResult value)

public DataProfileResult.Builder mergePostScanActionsResult(DataProfileResult.PostScanActionsResult value)

Output only. The result of post scan actions.

.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DataProfileResult.PostScanActionsResult
Returns
Type Description
DataProfileResult.Builder

mergeProfile(DataProfileResult.Profile value)

public DataProfileResult.Builder mergeProfile(DataProfileResult.Profile value)

The profile information per field.

.google.cloud.dataplex.v1.DataProfileResult.Profile profile = 4;

Parameter
Name Description
value DataProfileResult.Profile
Returns
Type Description
DataProfileResult.Builder

mergeScannedData(ScannedData value)

public DataProfileResult.Builder mergeScannedData(ScannedData value)

The data scanned for this result.

.google.cloud.dataplex.v1.ScannedData scanned_data = 5;

Parameter
Name Description
value ScannedData
Returns
Type Description
DataProfileResult.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataProfileResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataProfileResult.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DataProfileResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataProfileResult.Builder
Overrides

setPostScanActionsResult(DataProfileResult.PostScanActionsResult value)

public DataProfileResult.Builder setPostScanActionsResult(DataProfileResult.PostScanActionsResult value)

Output only. The result of post scan actions.

.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DataProfileResult.PostScanActionsResult
Returns
Type Description
DataProfileResult.Builder

setPostScanActionsResult(DataProfileResult.PostScanActionsResult.Builder builderForValue)

public DataProfileResult.Builder setPostScanActionsResult(DataProfileResult.PostScanActionsResult.Builder builderForValue)

Output only. The result of post scan actions.

.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue DataProfileResult.PostScanActionsResult.Builder
Returns
Type Description
DataProfileResult.Builder

setProfile(DataProfileResult.Profile value)

public DataProfileResult.Builder setProfile(DataProfileResult.Profile value)

The profile information per field.

.google.cloud.dataplex.v1.DataProfileResult.Profile profile = 4;

Parameter
Name Description
value DataProfileResult.Profile
Returns
Type Description
DataProfileResult.Builder

setProfile(DataProfileResult.Profile.Builder builderForValue)

public DataProfileResult.Builder setProfile(DataProfileResult.Profile.Builder builderForValue)

The profile information per field.

.google.cloud.dataplex.v1.DataProfileResult.Profile profile = 4;

Parameter
Name Description
builderForValue DataProfileResult.Profile.Builder
Returns
Type Description
DataProfileResult.Builder

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

public DataProfileResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DataProfileResult.Builder
Overrides

setRowCount(long value)

public DataProfileResult.Builder setRowCount(long value)

The count of rows scanned.

int64 row_count = 3;

Parameter
Name Description
value long

The rowCount to set.

Returns
Type Description
DataProfileResult.Builder

This builder for chaining.

setScannedData(ScannedData value)

public DataProfileResult.Builder setScannedData(ScannedData value)

The data scanned for this result.

.google.cloud.dataplex.v1.ScannedData scanned_data = 5;

Parameter
Name Description
value ScannedData
Returns
Type Description
DataProfileResult.Builder

setScannedData(ScannedData.Builder builderForValue)

public DataProfileResult.Builder setScannedData(ScannedData.Builder builderForValue)

The data scanned for this result.

.google.cloud.dataplex.v1.ScannedData scanned_data = 5;

Parameter
Name Description
builderForValue ScannedData.Builder
Returns
Type Description
DataProfileResult.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DataProfileResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataProfileResult.Builder
Overrides