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

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

StringFieldInfo defines output info for any string type field.

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

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder
Overrides

build()

public DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo build()
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo

buildPartial()

public DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo buildPartial()
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo

clear()

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

clearAverageLength()

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

The average length of a string field in the sampled data. Optional if zero non-null rows.

double average_length = 3;

Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder
Overrides

clearMaxLength()

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

The maximum length of a string field in the sampled data. Optional if zero non-null rows.

int64 max_length = 2;

Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder

This builder for chaining.

clearMinLength()

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

The minimum length of the string field in the sampled data. Optional if zero non-null rows.

int64 min_length = 1;

Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder
Overrides

clone()

public DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder clone()
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder
Overrides

getAverageLength()

public double getAverageLength()

The average length of a string field in the sampled data. Optional if zero non-null rows.

double average_length = 3;

Returns
TypeDescription
double

The averageLength.

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMaxLength()

public long getMaxLength()

The maximum length of a string field in the sampled data. Optional if zero non-null rows.

int64 max_length = 2;

Returns
TypeDescription
long

The maxLength.

getMinLength()

public long getMinLength()

The minimum length of the string field in the sampled data. Optional if zero non-null rows.

int64 min_length = 1;

Returns
TypeDescription
long

The minLength.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

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

public DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder mergeFrom(DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo other)
Parameter
NameDescription
otherDataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder
Overrides

setAverageLength(double value)

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

The average length of a string field in the sampled data. Optional if zero non-null rows.

double average_length = 3;

Parameter
NameDescription
valuedouble

The averageLength to set.

Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder
Overrides

setMaxLength(long value)

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

The maximum length of a string field in the sampled data. Optional if zero non-null rows.

int64 max_length = 2;

Parameter
NameDescription
valuelong

The maxLength to set.

Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder

This builder for chaining.

setMinLength(long value)

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

The minimum length of the string field in the sampled data. Optional if zero non-null rows.

int64 min_length = 1;

Parameter
NameDescription
valuelong

The minLength to set.

Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder
Overrides