public final class EntityId extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
Static Fields
FIELD_FIELD_NUMBER
public static final int FIELD_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static EntityId getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static EntityId.Builder newBuilder()
newBuilder(EntityId prototype)
public static EntityId.Builder newBuilder(EntityId prototype)
Parameter |
---|
Name | Description |
prototype | EntityId
|
public static EntityId parseDelimitedFrom(InputStream input)
public static EntityId parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static EntityId parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EntityId parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static EntityId parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EntityId parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EntityId parseFrom(CodedInputStream input)
public static EntityId parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static EntityId parseFrom(InputStream input)
public static EntityId parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static EntityId parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EntityId parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<EntityId> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public EntityId getDefaultInstanceForType()
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.
|
getFieldOrBuilder()
public FieldIdOrBuilder getFieldOrBuilder()
Composite key indicating which field contains the entity identifier.
.google.privacy.dlp.v2.FieldId field = 1;
getParserForType()
public Parser<EntityId> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public EntityId.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EntityId.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public EntityId.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides