Class DataProfileResult.Builder (1.20.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataProfileResult build()
Returns
TypeDescription
DataProfileResult

buildPartial()

public DataProfileResult buildPartial()
Returns
TypeDescription
DataProfileResult

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProfile()

public DataProfileResult.Builder clearProfile()

The profile information per field.

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

Returns
TypeDescription
DataProfileResult.Builder

clearRowCount()

public DataProfileResult.Builder clearRowCount()

The count of rows scanned.

int64 row_count = 3;

Returns
TypeDescription
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
TypeDescription
DataProfileResult.Builder

clone()

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

getDefaultInstanceForType()

public DataProfileResult getDefaultInstanceForType()
Returns
TypeDescription
DataProfileResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getProfile()

public DataProfileResult.Profile getProfile()

The profile information per field.

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

Returns
TypeDescription
DataProfileResult.Profile

The profile.

getProfileBuilder()

public DataProfileResult.Profile.Builder getProfileBuilder()

The profile information per field.

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

Returns
TypeDescription
DataProfileResult.Profile.Builder

getProfileOrBuilder()

public DataProfileResult.ProfileOrBuilder getProfileOrBuilder()

The profile information per field.

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

Returns
TypeDescription
DataProfileResult.ProfileOrBuilder

getRowCount()

public long getRowCount()

The count of rows scanned.

int64 row_count = 3;

Returns
TypeDescription
long

The rowCount.

getScannedData()

public ScannedData getScannedData()

The data scanned for this result.

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

Returns
TypeDescription
ScannedData

The scannedData.

getScannedDataBuilder()

public ScannedData.Builder getScannedDataBuilder()

The data scanned for this result.

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

Returns
TypeDescription
ScannedData.Builder

getScannedDataOrBuilder()

public ScannedDataOrBuilder getScannedDataOrBuilder()

The data scanned for this result.

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

Returns
TypeDescription
ScannedDataOrBuilder

hasProfile()

public boolean hasProfile()

The profile information per field.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the scannedData field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DataProfileResult other)

public DataProfileResult.Builder mergeFrom(DataProfileResult other)
Parameter
NameDescription
otherDataProfileResult
Returns
TypeDescription
DataProfileResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

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
NameDescription
valueDataProfileResult.Profile
Returns
TypeDescription
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
NameDescription
valueScannedData
Returns
TypeDescription
DataProfileResult.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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
NameDescription
valueDataProfileResult.Profile
Returns
TypeDescription
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
NameDescription
builderForValueDataProfileResult.Profile.Builder
Returns
TypeDescription
DataProfileResult.Builder

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

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

setRowCount(long value)

public DataProfileResult.Builder setRowCount(long value)

The count of rows scanned.

int64 row_count = 3;

Parameter
NameDescription
valuelong

The rowCount to set.

Returns
TypeDescription
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
NameDescription
valueScannedData
Returns
TypeDescription
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
NameDescription
builderForValueScannedData.Builder
Returns
TypeDescription
DataProfileResult.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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