Class DataProfileResult.Profile.Field.ProfileInfo (1.14.0)

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

ProfileInfo defines the profile information for each schema 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()

The ratio of rows that are distinct against the rows in the sampled data.

double distinct_ratio = 3;

Returns
TypeDescription
double

The distinctRatio.

getDoubleProfile()

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

The corresponding double field profile.

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

The corresponding double field profile.

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

The corresponding integer field profile.

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

The corresponding integer field profile.

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

Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfoOrBuilder

getNullRatio()

public double getNullRatio()

The ratio of null rows against the rows in the sampled data.

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

The corresponding string field profile.

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

The corresponding string field profile.

.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 array of top N values of the field in the sampled data. Currently N is set as 10 or equal to distinct values in the field, whichever is smaller. This will be optional for complex non-groupable data-types such as JSON, ARRAY, JSON, STRUCT.

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 array of top N values of the field in the sampled data. Currently N is set as 10 or equal to distinct values in the field, whichever is smaller. This will be optional for complex non-groupable data-types such as JSON, ARRAY, JSON, STRUCT.

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 array of top N values of the field in the sampled data. Currently N is set as 10 or equal to distinct values in the field, whichever is smaller. This will be optional for complex non-groupable data-types such as JSON, ARRAY, JSON, STRUCT.

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 array of top N values of the field in the sampled data. Currently N is set as 10 or equal to distinct values in the field, whichever is smaller. This will be optional for complex non-groupable data-types such as JSON, ARRAY, JSON, STRUCT.

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 array of top N values of the field in the sampled data. Currently N is set as 10 or equal to distinct values in the field, whichever is smaller. This will be optional for complex non-groupable data-types such as JSON, ARRAY, JSON, STRUCT.

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

The corresponding double field profile.

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

The corresponding integer field profile.

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

The corresponding string field profile.

.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