Class EntityId.Builder (3.87.0)

public static final class EntityId.Builder extends GeneratedMessage.Builder<EntityId.Builder> implements EntityIdOrBuilder

An entity in a dataset is a field or set of fields that correspond to a single person. For example, in medical records the EntityId might be a patient identifier, or for financial records it might be an account identifier. This message is used when generalizations or analysis must take into account that multiple rows correspond to the same entity.

Protobuf type google.privacy.dlp.v2.EntityId

Implements

EntityIdOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public EntityId build()
Returns
Type Description
EntityId

buildPartial()

public EntityId buildPartial()
Returns
Type Description
EntityId

clear()

public EntityId.Builder clear()
Returns
Type Description
EntityId.Builder
Overrides

clearField()

public EntityId.Builder clearField()

Composite key indicating which field contains the entity identifier.

.google.privacy.dlp.v2.FieldId field = 1;

Returns
Type Description
EntityId.Builder

getDefaultInstanceForType()

public EntityId getDefaultInstanceForType()
Returns
Type Description
EntityId

getDescriptorForType()

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

getField()

public FieldId getField()

Composite key indicating which field contains the entity identifier.

.google.privacy.dlp.v2.FieldId field = 1;

Returns
Type Description
FieldId

The field.

getFieldBuilder()

public FieldId.Builder getFieldBuilder()

Composite key indicating which field contains the entity identifier.

.google.privacy.dlp.v2.FieldId field = 1;

Returns
Type Description
FieldId.Builder

getFieldOrBuilder()

public FieldIdOrBuilder getFieldOrBuilder()

Composite key indicating which field contains the entity identifier.

.google.privacy.dlp.v2.FieldId field = 1;

Returns
Type Description
FieldIdOrBuilder

hasField()

public boolean hasField()

Composite key indicating which field contains the entity identifier.

.google.privacy.dlp.v2.FieldId field = 1;

Returns
Type Description
boolean

Whether the field field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeField(FieldId value)

public EntityId.Builder mergeField(FieldId value)

Composite key indicating which field contains the entity identifier.

.google.privacy.dlp.v2.FieldId field = 1;

Parameter
Name Description
value FieldId
Returns
Type Description
EntityId.Builder

mergeFrom(EntityId other)

public EntityId.Builder mergeFrom(EntityId other)
Parameter
Name Description
other EntityId
Returns
Type Description
EntityId.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public EntityId.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EntityId.Builder
Overrides

setField(FieldId value)

public EntityId.Builder setField(FieldId value)

Composite key indicating which field contains the entity identifier.

.google.privacy.dlp.v2.FieldId field = 1;

Parameter
Name Description
value FieldId
Returns
Type Description
EntityId.Builder

setField(FieldId.Builder builderForValue)

public EntityId.Builder setField(FieldId.Builder builderForValue)

Composite key indicating which field contains the entity identifier.

.google.privacy.dlp.v2.FieldId field = 1;

Parameter
Name Description
builderForValue FieldId.Builder
Returns
Type Description
EntityId.Builder