Class DataProfileResult.Profile.Field.Builder (1.9.0)

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

Represents a column field within a table schema.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMode()

public DataProfileResult.Profile.Field.Builder clearMode()

The mode of the field. Its value will be: 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
DataProfileResult.Profile.Field.Builder

This builder for chaining.

clearName()

public DataProfileResult.Profile.Field.Builder clearName()

The name of the field.

string name = 1;

Returns
TypeDescription
DataProfileResult.Profile.Field.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProfile()

public DataProfileResult.Profile.Field.Builder clearProfile()

The profile information for the corresponding field.

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

Returns
TypeDescription
DataProfileResult.Profile.Field.Builder

clearType()

public DataProfileResult.Profile.Field.Builder clearType()

The field data type. Possible values include:

  • STRING
  • BYTE
  • INT64
  • INT32
  • INT16
  • DOUBLE
  • FLOAT
  • DECIMAL
  • BOOLEAN
  • BINARY
  • TIMESTAMP
  • DATE
  • TIME
  • NULL
  • RECORD

string type = 2;

Returns
TypeDescription
DataProfileResult.Profile.Field.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMode()

public String getMode()

The mode of the field. Its value will be: 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. Its value will be: 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.

getProfile()

public DataProfileResult.Profile.Field.ProfileInfo getProfile()

The profile information for the corresponding field.

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

Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo

The profile.

getProfileBuilder()

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

The profile information for the corresponding field.

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

Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfo.Builder

getProfileOrBuilder()

public DataProfileResult.Profile.Field.ProfileInfoOrBuilder getProfileOrBuilder()

The profile information for the corresponding field.

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

Returns
TypeDescription
DataProfileResult.Profile.Field.ProfileInfoOrBuilder

getType()

public String getType()

The field data type. Possible values include:

  • STRING
  • BYTE
  • INT64
  • INT32
  • INT16
  • DOUBLE
  • FLOAT
  • DECIMAL
  • BOOLEAN
  • BINARY
  • TIMESTAMP
  • DATE
  • TIME
  • NULL
  • RECORD

string type = 2;

Returns
TypeDescription
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

The field data type. Possible values include:

  • STRING
  • BYTE
  • INT64
  • INT32
  • INT16
  • DOUBLE
  • FLOAT
  • DECIMAL
  • BOOLEAN
  • BINARY
  • TIMESTAMP
  • DATE
  • TIME
  • NULL
  • RECORD

string type = 2;

Returns
TypeDescription
ByteString

The bytes for type.

hasProfile()

public boolean hasProfile()

The 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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DataProfileResult.Profile.Field other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeProfile(DataProfileResult.Profile.Field.ProfileInfo value)

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

The profile information for the corresponding field.

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

Parameter
NameDescription
valueDataProfileResult.Profile.Field.ProfileInfo
Returns
TypeDescription
DataProfileResult.Profile.Field.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMode(String value)

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

The mode of the field. Its value will be: 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
NameDescription
valueString

The mode to set.

Returns
TypeDescription
DataProfileResult.Profile.Field.Builder

This builder for chaining.

setModeBytes(ByteString value)

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

The mode of the field. Its value will be: 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
NameDescription
valueByteString

The bytes for mode to set.

Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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)

The profile information for the corresponding field.

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

Parameter
NameDescription
valueDataProfileResult.Profile.Field.ProfileInfo
Returns
TypeDescription
DataProfileResult.Profile.Field.Builder

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

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

The profile information for the corresponding field.

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

Parameter
NameDescription
builderForValueDataProfileResult.Profile.Field.ProfileInfo.Builder
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DataProfileResult.Profile.Field.Builder
Overrides

setType(String value)

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

The field data type. Possible values include:

  • STRING
  • BYTE
  • INT64
  • INT32
  • INT16
  • DOUBLE
  • FLOAT
  • DECIMAL
  • BOOLEAN
  • BINARY
  • TIMESTAMP
  • DATE
  • TIME
  • NULL
  • RECORD

string type = 2;

Parameter
NameDescription
valueString

The type to set.

Returns
TypeDescription
DataProfileResult.Profile.Field.Builder

This builder for chaining.

setTypeBytes(ByteString value)

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

The field data type. Possible values include:

  • STRING
  • BYTE
  • INT64
  • INT32
  • INT16
  • DOUBLE
  • FLOAT
  • DECIMAL
  • BOOLEAN
  • BINARY
  • TIMESTAMP
  • DATE
  • TIME
  • NULL
  • RECORD

string type = 2;

Parameter
NameDescription
valueByteString

The bytes for type to set.

Returns
TypeDescription
DataProfileResult.Profile.Field.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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