Class DataProfileResult.Profile.Field (1.38.0)

public static final class DataProfileResult.Profile.Field extends GeneratedMessageV3 implements DataProfileResult.Profile.FieldOrBuilder

A field within a table.

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

Inheritance

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

Static Fields

MODE_FIELD_NUMBER

public static final int MODE_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PROFILE_FIELD_NUMBER

public static final int PROFILE_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(DataProfileResult.Profile.Field prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getMode()

public String getMode()

The mode of the field. Possible values include:

  • REQUIRED, if it is a required field.
  • NULLABLE, if it is an optional field.
  • REPEATED, if it is a repeated field.

string mode = 3;

Returns
TypeDescription
String

The mode.

getModeBytes()

public ByteString getModeBytes()

The mode of the field. Possible values include:

  • REQUIRED, if it is a required field.
  • NULLABLE, if it is an optional field.
  • REPEATED, if it is a repeated field.

string mode = 3;

Returns
TypeDescription
ByteString

The bytes for mode.

getName()

public String getName()

The name of the field.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the field.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getProfile()

public DataProfileResult.Profile.Field.ProfileInfo getProfile()

Profile information for the corresponding field.

.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4;

Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo

The profile.

getProfileOrBuilder()

public DataProfileResult.Profile.Field.ProfileInfoOrBuilder getProfileOrBuilder()

Profile information for the corresponding field.

.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4;

Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfoOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getType()

public String getType()

The data type retrieved from the schema of the data source. For instance, for a BigQuery native table, it is the BigQuery Table Schema. For a Dataplex Entity, it is the Entity Schema.

string type = 2;

Returns
TypeDescription
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

The data type retrieved from the schema of the data source. For instance, for a BigQuery native table, it is the BigQuery Table Schema. For a Dataplex Entity, it is the Entity Schema.

string type = 2;

Returns
TypeDescription
ByteString

The bytes for type.

hasProfile()

public boolean hasProfile()

Profile information for the corresponding field.

.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4;

Returns
TypeDescription
boolean

Whether the profile 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.Builder newBuilderForType()
Returns
TypeDescription
DataProfileResult.Profile.Field.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataProfileResult.Profile.Field.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DataProfileResult.Profile.Field.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DataProfileResult.Profile.Field.Builder toBuilder()
Returns
TypeDescription
DataProfileResult.Profile.Field.Builder

writeTo(CodedOutputStream output)

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