Class DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder (1.81.0)

public static final class DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder extends GeneratedMessage.Builder<DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder> implements DataProfileResult.Profile.Field.ProfileInfo.TopNValueOrBuilder

Top N non-null values in the scanned data.

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

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public DataProfileResult.Profile.Field.ProfileInfo.TopNValue build()
Returns
Type Description
DataProfileResult.Profile.Field.ProfileInfo.TopNValue

buildPartial()

public DataProfileResult.Profile.Field.ProfileInfo.TopNValue buildPartial()
Returns
Type Description
DataProfileResult.Profile.Field.ProfileInfo.TopNValue

clear()

public DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder clear()
Returns
Type Description
DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder
Overrides

clearCount()

public DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder clearCount()

Output only. Count of the corresponding value in the scanned data.

int64 count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder

This builder for chaining.

clearRatio()

public DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder clearRatio()

Output only. Ratio of the corresponding value in the field against the total number of rows in the scanned data.

double ratio = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder

This builder for chaining.

clearValue()

public DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder clearValue()

Output only. String value of a top N non-null value.

string value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder

This builder for chaining.

getCount()

public long getCount()

Output only. Count of the corresponding value in the scanned data.

int64 count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The count.

getDefaultInstanceForType()

public DataProfileResult.Profile.Field.ProfileInfo.TopNValue getDefaultInstanceForType()
Returns
Type Description
DataProfileResult.Profile.Field.ProfileInfo.TopNValue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRatio()

public double getRatio()

Output only. Ratio of the corresponding value in the field against the total number of rows in the scanned data.

double ratio = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
double

The ratio.

getValue()

public String getValue()

Output only. String value of a top N non-null value.

string value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The value.

getValueBytes()

public ByteString getValueBytes()

Output only. String value of a top N non-null value.

string value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for value.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataProfileResult.Profile.Field.ProfileInfo.TopNValue other)

public DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder mergeFrom(DataProfileResult.Profile.Field.ProfileInfo.TopNValue other)
Parameter
Name Description
other DataProfileResult.Profile.Field.ProfileInfo.TopNValue
Returns
Type Description
DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder
Overrides

setCount(long value)

public DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder setCount(long value)

Output only. Count of the corresponding value in the scanned data.

int64 count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The count to set.

Returns
Type Description
DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder

This builder for chaining.

setRatio(double value)

public DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder setRatio(double value)

Output only. Ratio of the corresponding value in the field against the total number of rows in the scanned data.

double ratio = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value double

The ratio to set.

Returns
Type Description
DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder

This builder for chaining.

setValue(String value)

public DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder setValue(String value)

Output only. String value of a top N non-null value.

string value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The value to set.

Returns
Type Description
DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder

This builder for chaining.

setValueBytes(ByteString value)

public DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder setValueBytes(ByteString value)

Output only. String value of a top N non-null value.

string value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for value to set.

Returns
Type Description
DataProfileResult.Profile.Field.ProfileInfo.TopNValue.Builder

This builder for chaining.