Class EntityId.Builder (3.53.0)

public static final class EntityId.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public EntityId.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EntityId.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EntityId.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EntityId.Builder
Overrides

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EntityId.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final EntityId.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EntityId.Builder
Overrides