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

public static final class DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder extends GeneratedMessage.Builder<DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder> implements DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfoOrBuilder

The profile information for a string type field.

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

Inheritance

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearAverageLength()

public DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder clearAverageLength()

Output only. Average length of non-null values in the scanned data.

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

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

This builder for chaining.

clearMaxLength()

public DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder clearMaxLength()

Output only. Maximum length of non-null values in the scanned data.

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

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

This builder for chaining.

clearMinLength()

public DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder clearMinLength()

Output only. Minimum length of non-null values in the scanned data.

int64 min_length = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

This builder for chaining.

getAverageLength()

public double getAverageLength()

Output only. Average length of non-null values in the scanned data.

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

Returns
Type Description
double

The averageLength.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getMaxLength()

public long getMaxLength()

Output only. Maximum length of non-null values in the scanned data.

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

Returns
Type Description
long

The maxLength.

getMinLength()

public long getMinLength()

Output only. Minimum length of non-null values in the scanned data.

int64 min_length = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The minLength.

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.StringFieldInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAverageLength(double value)

public DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder setAverageLength(double value)

Output only. Average length of non-null values in the scanned data.

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

Parameter
Name Description
value double

The averageLength to set.

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

This builder for chaining.

setMaxLength(long value)

public DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder setMaxLength(long value)

Output only. Maximum length of non-null values in the scanned data.

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

Parameter
Name Description
value long

The maxLength to set.

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

This builder for chaining.

setMinLength(long value)

public DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder setMinLength(long value)

Output only. Minimum length of non-null values in the scanned data.

int64 min_length = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The minLength to set.

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

This builder for chaining.