Class DataProfileResult.Profile.Field.ProfileInfo (1.18.0)

public static final class DataProfileResult.Profile.Field.ProfileInfo extends GeneratedMessageV3 implements DataProfileResult.Profile.Field.ProfileInfoOrBuilder

The profile information for each field type.

Protobuf type google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DataProfileResult.Profile.Field.ProfileInfo

Static Fields

DISTINCT_RATIO_FIELD_NUMBER

public static final int DISTINCT_RATIO_FIELD_NUMBER
Field Value
TypeDescription
int

DOUBLE_PROFILE_FIELD_NUMBER

public static final int DOUBLE_PROFILE_FIELD_NUMBER
Field Value
TypeDescription
int

INTEGER_PROFILE_FIELD_NUMBER

public static final int INTEGER_PROFILE_FIELD_NUMBER
Field Value
TypeDescription
int

NULL_RATIO_FIELD_NUMBER

public static final int NULL_RATIO_FIELD_NUMBER
Field Value
TypeDescription
int

STRING_PROFILE_FIELD_NUMBER

public static final int STRING_PROFILE_FIELD_NUMBER
Field Value
TypeDescription
int

TOP_N_VALUES_FIELD_NUMBER

public static final int TOP_N_VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DataProfileResult.Profile.Field.ProfileInfo getDefaultInstance()
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo

getDescriptor()

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

newBuilder()

public static DataProfileResult.Profile.Field.ProfileInfo.Builder newBuilder()
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.Builder

newBuilder(DataProfileResult.Profile.Field.ProfileInfo prototype)

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

parseDelimitedFrom(InputStream input)

public static DataProfileResult.Profile.Field.ProfileInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static DataProfileResult.Profile.Field.ProfileInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static DataProfileResult.Profile.Field.ProfileInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static DataProfileResult.Profile.Field.ProfileInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static DataProfileResult.Profile.Field.ProfileInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<DataProfileResult.Profile.Field.ProfileInfo> parser()
Returns
TypeDescription
Parser<ProfileInfo>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DataProfileResult.Profile.Field.ProfileInfo getDefaultInstanceForType()
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo

getDistinctRatio()

public double getDistinctRatio()

Ratio of rows with distinct values against total scanned rows. Not available for complex non-groupable field type RECORD and fields with REPEATABLE mode.

double distinct_ratio = 3;

Returns
TypeDescription
double

The distinctRatio.

getDoubleProfile()

public DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo getDoubleProfile()

Double type field information.

.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103;

Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo

The doubleProfile.

getDoubleProfileOrBuilder()

public DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfoOrBuilder getDoubleProfileOrBuilder()

Double type field information.

.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103;

Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfoOrBuilder

getFieldInfoCase()

public DataProfileResult.Profile.Field.ProfileInfo.FieldInfoCase getFieldInfoCase()
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.FieldInfoCase

getIntegerProfile()

public DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo getIntegerProfile()

Integer type field information.

.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102;

Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo

The integerProfile.

getIntegerProfileOrBuilder()

public DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfoOrBuilder getIntegerProfileOrBuilder()

Integer type field information.

.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102;

Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfoOrBuilder

getNullRatio()

public double getNullRatio()

Ratio of rows with null value against total scanned rows.

double null_ratio = 2;

Returns
TypeDescription
double

The nullRatio.

getParserForType()

public Parser<DataProfileResult.Profile.Field.ProfileInfo> getParserForType()
Returns
TypeDescription
Parser<ProfileInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStringProfile()

public DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo getStringProfile()

String type field information.

.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101;

Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo

The stringProfile.

getStringProfileOrBuilder()

public DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfoOrBuilder getStringProfileOrBuilder()

String type field information.

.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101;

Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfoOrBuilder

getTopNValues(int index)

public DataProfileResult.Profile.Field.ProfileInfo.TopNValue getTopNValues(int index)

The list of top N non-null values and number of times they occur in the scanned data. N is 10 or equal to the number of distinct values in the field, whichever is smaller. Not available for complex non-groupable field type RECORD and fields with REPEATABLE mode.

repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.TopNValue

getTopNValuesCount()

public int getTopNValuesCount()

The list of top N non-null values and number of times they occur in the scanned data. N is 10 or equal to the number of distinct values in the field, whichever is smaller. Not available for complex non-groupable field type RECORD and fields with REPEATABLE mode.

repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4;

Returns
TypeDescription
int

getTopNValuesList()

public List<DataProfileResult.Profile.Field.ProfileInfo.TopNValue> getTopNValuesList()

The list of top N non-null values and number of times they occur in the scanned data. N is 10 or equal to the number of distinct values in the field, whichever is smaller. Not available for complex non-groupable field type RECORD and fields with REPEATABLE mode.

repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4;

Returns
TypeDescription
List<TopNValue>

getTopNValuesOrBuilder(int index)

public DataProfileResult.Profile.Field.ProfileInfo.TopNValueOrBuilder getTopNValuesOrBuilder(int index)

The list of top N non-null values and number of times they occur in the scanned data. N is 10 or equal to the number of distinct values in the field, whichever is smaller. Not available for complex non-groupable field type RECORD and fields with REPEATABLE mode.

repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.TopNValueOrBuilder

getTopNValuesOrBuilderList()

public List<? extends DataProfileResult.Profile.Field.ProfileInfo.TopNValueOrBuilder> getTopNValuesOrBuilderList()

The list of top N non-null values and number of times they occur in the scanned data. N is 10 or equal to the number of distinct values in the field, whichever is smaller. Not available for complex non-groupable field type RECORD and fields with REPEATABLE mode.

repeated .google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue top_n_values = 4;

Returns
TypeDescription
List<? extends com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValueOrBuilder>

hasDoubleProfile()

public boolean hasDoubleProfile()

Double type field information.

.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo double_profile = 103;

Returns
TypeDescription
boolean

Whether the doubleProfile field is set.

hasIntegerProfile()

public boolean hasIntegerProfile()

Integer type field information.

.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo integer_profile = 102;

Returns
TypeDescription
boolean

Whether the integerProfile field is set.

hasStringProfile()

public boolean hasStringProfile()

String type field information.

.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo string_profile = 101;

Returns
TypeDescription
boolean

Whether the stringProfile 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.Profile.Field.ProfileInfo.Builder newBuilderForType()
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public DataProfileResult.Profile.Field.ProfileInfo.Builder toBuilder()
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.Builder

writeTo(CodedOutputStream output)

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