Class DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo (1.6.0)

public static final class DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo extends GeneratedMessageV3 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<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo

Static Fields

AVERAGE_LENGTH_FIELD_NUMBER

public static final int AVERAGE_LENGTH_FIELD_NUMBER
Field Value
TypeDescription
int

MAX_LENGTH_FIELD_NUMBER

public static final int MAX_LENGTH_FIELD_NUMBER
Field Value
TypeDescription
int

MIN_LENGTH_FIELD_NUMBER

public static final int MIN_LENGTH_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo getDefaultInstance()
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo

getDescriptor()

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

newBuilder()

public static DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder newBuilder()
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder

newBuilder(DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo prototype)

public static DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder newBuilder(DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo prototype)
Parameter
NameDescription
prototypeDataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo> parser()
Returns
TypeDescription
Parser<StringFieldInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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.

getParserForType()

public Parser<DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo> getParserForType()
Returns
TypeDescription
Parser<StringFieldInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.StringFieldInfo.Builder newBuilderForType()
Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

writeTo(CodedOutputStream output)

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