Class DataProfileResult.Profile.Field.ProfileInfo (1.15.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()

getDescriptor()

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

newBuilder()

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

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataProfileResult.Profile.Field.ProfileInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
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()

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;

getFieldInfoCase()

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

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;

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;

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

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

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>

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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()

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataProfileResult.Profile.Field.ProfileInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
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()

writeTo(CodedOutputStream output)

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