Class EntityId.Builder (3.18.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EntityId build()
Returns
TypeDescription
EntityId

buildPartial()

public EntityId buildPartial()
Returns
TypeDescription
EntityId

clear()

public EntityId.Builder clear()
Returns
TypeDescription
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
TypeDescription
EntityId.Builder

clearField(Descriptors.FieldDescriptor field)

public EntityId.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EntityId.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EntityId.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
EntityId.Builder
Overrides

clone()

public EntityId.Builder clone()
Returns
TypeDescription
EntityId.Builder
Overrides

getDefaultInstanceForType()

public EntityId getDefaultInstanceForType()
Returns
TypeDescription
EntityId

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getField()

public FieldId getField()

Composite key indicating which field contains the entity identifier.

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

Returns
TypeDescription
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
TypeDescription
FieldId.Builder

getFieldOrBuilder()

public FieldIdOrBuilder getFieldOrBuilder()

Composite key indicating which field contains the entity identifier.

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

Returns
TypeDescription
FieldIdOrBuilder

hasField()

public boolean hasField()

Composite key indicating which field contains the entity identifier.

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

Returns
TypeDescription
boolean

Whether the field field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueFieldId
Returns
TypeDescription
EntityId.Builder

mergeFrom(EntityId other)

public EntityId.Builder mergeFrom(EntityId other)
Parameter
NameDescription
otherEntityId
Returns
TypeDescription
EntityId.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public EntityId.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
EntityId.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EntityId.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldId
Returns
TypeDescription
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
NameDescription
builderForValueFieldId.Builder
Returns
TypeDescription
EntityId.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public EntityId.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EntityId.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EntityId.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EntityId.Builder
Overrides