Class DataProfileResult (1.10.0)

public final class DataProfileResult extends GeneratedMessageV3 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 Fields

PROFILE_FIELD_NUMBER

public static final int PROFILE_FIELD_NUMBER
Field Value
TypeDescription
int

ROW_COUNT_FIELD_NUMBER

public static final int ROW_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

SCANNED_DATA_FIELD_NUMBER

public static final int SCANNED_DATA_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DataProfileResult getDefaultInstance()
Returns
TypeDescription
DataProfileResult

getDescriptor()

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

newBuilder()

public static DataProfileResult.Builder newBuilder()
Returns
TypeDescription
DataProfileResult.Builder

newBuilder(DataProfileResult prototype)

public static DataProfileResult.Builder newBuilder(DataProfileResult prototype)
Parameter
NameDescription
prototypeDataProfileResult
Returns
TypeDescription
DataProfileResult.Builder

parseDelimitedFrom(InputStream input)

public static DataProfileResult parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataProfileResult
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfileResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfileResult
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DataProfileResult parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DataProfileResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataProfileResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfileResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataProfileResult parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DataProfileResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataProfileResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfileResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataProfileResult parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DataProfileResult
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfileResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfileResult
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DataProfileResult parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataProfileResult
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfileResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfileResult
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DataProfileResult parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DataProfileResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataProfileResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfileResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DataProfileResult> parser()
Returns
TypeDescription
Parser<DataProfileResult>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DataProfileResult getDefaultInstanceForType()
Returns
TypeDescription
DataProfileResult

getParserForType()

public Parser<DataProfileResult> getParserForType()
Returns
TypeDescription
Parser<DataProfileResult>
Overrides

getProfile()

public DataProfileResult.Profile getProfile()

This represents the profile information per field.

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

Returns
TypeDescription
DataProfileResult.Profile

The profile.

getProfileOrBuilder()

public DataProfileResult.ProfileOrBuilder getProfileOrBuilder()

This represents the profile information per field.

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

Returns
TypeDescription
DataProfileResult.ProfileOrBuilder

getRowCount()

public long getRowCount()

The count of all rows in the sampled data. Return 0, if zero rows.

int64 row_count = 3;

Returns
TypeDescription
long

The rowCount.

getScannedData()

public ScannedData getScannedData()

The data scanned for this profile.

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

Returns
TypeDescription
ScannedData

The scannedData.

getScannedDataOrBuilder()

public ScannedDataOrBuilder getScannedDataOrBuilder()

The data scanned for this profile.

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

Returns
TypeDescription
ScannedDataOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasProfile()

public boolean hasProfile()

This represents 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 profile.

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

Returns
TypeDescription
boolean

Whether the scannedData field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DataProfileResult.Builder newBuilderForType()
Returns
TypeDescription
DataProfileResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataProfileResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DataProfileResult.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DataProfileResult.Builder toBuilder()
Returns
TypeDescription
DataProfileResult.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException