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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EntityId.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public EntityId buildPartial()
Returns
clear()
public EntityId.Builder clear()
Returns
Overrides
clearField()
public EntityId.Builder clearField()
Composite key indicating which field contains the entity identifier.
.google.privacy.dlp.v2.FieldId field = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public EntityId.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public EntityId.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public EntityId.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public EntityId getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getField()
public FieldId getField()
Composite key indicating which field contains the entity identifier.
.google.privacy.dlp.v2.FieldId field = 1;
Returns
getFieldBuilder()
public FieldId.Builder getFieldBuilder()
Composite key indicating which field contains the entity identifier.
.google.privacy.dlp.v2.FieldId field = 1;
Returns
getFieldOrBuilder()
public FieldIdOrBuilder getFieldOrBuilder()
Composite key indicating which field contains the entity identifier.
.google.privacy.dlp.v2.FieldId field = 1;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(EntityId other)
public EntityId.Builder mergeFrom(EntityId other)
Parameter
Returns
public EntityId.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public EntityId.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EntityId.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public EntityId.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EntityId.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EntityId.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides