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