Class DataProfileResult.Profile.Field.Builder (1.41.0)

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

A field within a table.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataProfileResult.Profile.Field.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataProfileResult.Profile.Field.Builder
Overrides

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

public DataProfileResult.Profile.Field.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DataProfileResult.Profile.Field.Builder
Overrides

clearMode()

public DataProfileResult.Profile.Field.Builder clearMode()

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
Type Description
DataProfileResult.Profile.Field.Builder

This builder for chaining.

clearName()

public DataProfileResult.Profile.Field.Builder clearName()

The name of the field.

string name = 1;

Returns
Type Description
DataProfileResult.Profile.Field.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DataProfileResult.Profile.Field.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DataProfileResult.Profile.Field.Builder
Overrides

clearProfile()

public DataProfileResult.Profile.Field.Builder clearProfile()

Profile information for the corresponding field.

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

Returns
Type Description
DataProfileResult.Profile.Field.Builder

clearType()

public DataProfileResult.Profile.Field.Builder clearType()

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
Type Description
DataProfileResult.Profile.Field.Builder

This builder for chaining.

clone()

public DataProfileResult.Profile.Field.Builder clone()
Returns
Type Description
DataProfileResult.Profile.Field.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

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

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
Type Description
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
Type Description
ByteString

The bytes for mode.

getName()

public String getName()

The name of the field.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the field.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getProfile()

public DataProfileResult.Profile.Field.ProfileInfo getProfile()

Profile information for the corresponding field.

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

Returns
Type Description
DataProfileResult.Profile.Field.ProfileInfo

The profile.

getProfileBuilder()

public DataProfileResult.Profile.Field.ProfileInfo.Builder getProfileBuilder()

Profile information for the corresponding field.

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

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

getProfileOrBuilder()

public DataProfileResult.Profile.Field.ProfileInfoOrBuilder getProfileOrBuilder()

Profile information for the corresponding field.

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

Returns
Type Description
DataProfileResult.Profile.Field.ProfileInfoOrBuilder

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
Type Description
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
Type Description
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
Type Description
boolean

Whether the profile field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataProfileResult.Profile.Field other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeProfile(DataProfileResult.Profile.Field.ProfileInfo value)

public DataProfileResult.Profile.Field.Builder mergeProfile(DataProfileResult.Profile.Field.ProfileInfo value)

Profile information for the corresponding field.

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

Parameter
Name Description
value DataProfileResult.Profile.Field.ProfileInfo
Returns
Type Description
DataProfileResult.Profile.Field.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataProfileResult.Profile.Field.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataProfileResult.Profile.Field.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DataProfileResult.Profile.Field.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataProfileResult.Profile.Field.Builder
Overrides

setMode(String value)

public DataProfileResult.Profile.Field.Builder setMode(String value)

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;

Parameter
Name Description
value String

The mode to set.

Returns
Type Description
DataProfileResult.Profile.Field.Builder

This builder for chaining.

setModeBytes(ByteString value)

public DataProfileResult.Profile.Field.Builder setModeBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for mode to set.

Returns
Type Description
DataProfileResult.Profile.Field.Builder

This builder for chaining.

setName(String value)

public DataProfileResult.Profile.Field.Builder setName(String value)

The name of the field.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DataProfileResult.Profile.Field.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DataProfileResult.Profile.Field.Builder setNameBytes(ByteString value)

The name of the field.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DataProfileResult.Profile.Field.Builder

This builder for chaining.

setProfile(DataProfileResult.Profile.Field.ProfileInfo value)

public DataProfileResult.Profile.Field.Builder setProfile(DataProfileResult.Profile.Field.ProfileInfo value)

Profile information for the corresponding field.

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

Parameter
Name Description
value DataProfileResult.Profile.Field.ProfileInfo
Returns
Type Description
DataProfileResult.Profile.Field.Builder

setProfile(DataProfileResult.Profile.Field.ProfileInfo.Builder builderForValue)

public DataProfileResult.Profile.Field.Builder setProfile(DataProfileResult.Profile.Field.ProfileInfo.Builder builderForValue)

Profile information for the corresponding field.

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

Parameter
Name Description
builderForValue DataProfileResult.Profile.Field.ProfileInfo.Builder
Returns
Type Description
DataProfileResult.Profile.Field.Builder

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

public DataProfileResult.Profile.Field.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DataProfileResult.Profile.Field.Builder
Overrides

setType(String value)

public DataProfileResult.Profile.Field.Builder setType(String value)

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;

Parameter
Name Description
value String

The type to set.

Returns
Type Description
DataProfileResult.Profile.Field.Builder

This builder for chaining.

setTypeBytes(ByteString value)

public DataProfileResult.Profile.Field.Builder setTypeBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for type to set.

Returns
Type Description
DataProfileResult.Profile.Field.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DataProfileResult.Profile.Field.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataProfileResult.Profile.Field.Builder
Overrides