public static final class DatastoreKey.Builder extends GeneratedMessageV3.Builder<DatastoreKey.Builder> implements DatastoreKeyOrBuilder
Record key for a finding in Cloud Datastore.
Protobuf type google.privacy.dlp.v2.DatastoreKey
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DatastoreKey.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DatastoreKey build()
Returns
buildPartial()
public DatastoreKey buildPartial()
Returns
clear()
public DatastoreKey.Builder clear()
Returns
Overrides
clearEntityKey()
public DatastoreKey.Builder clearEntityKey()
Datastore entity key.
.google.privacy.dlp.v2.Key entity_key = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public DatastoreKey.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DatastoreKey.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public DatastoreKey.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DatastoreKey getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEntityKey()
public Key getEntityKey()
Datastore entity key.
.google.privacy.dlp.v2.Key entity_key = 1;
Returns
Type | Description |
Key | The entityKey.
|
getEntityKeyBuilder()
public Key.Builder getEntityKeyBuilder()
Datastore entity key.
.google.privacy.dlp.v2.Key entity_key = 1;
Returns
getEntityKeyOrBuilder()
public KeyOrBuilder getEntityKeyOrBuilder()
Datastore entity key.
.google.privacy.dlp.v2.Key entity_key = 1;
Returns
hasEntityKey()
public boolean hasEntityKey()
Datastore entity key.
.google.privacy.dlp.v2.Key entity_key = 1;
Returns
Type | Description |
boolean | Whether the entityKey field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeEntityKey(Key value)
public DatastoreKey.Builder mergeEntityKey(Key value)
Datastore entity key.
.google.privacy.dlp.v2.Key entity_key = 1;
Parameter
Returns
mergeFrom(DatastoreKey other)
public DatastoreKey.Builder mergeFrom(DatastoreKey other)
Parameter
Returns
public DatastoreKey.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DatastoreKey.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DatastoreKey.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setEntityKey(Key value)
public DatastoreKey.Builder setEntityKey(Key value)
Datastore entity key.
.google.privacy.dlp.v2.Key entity_key = 1;
Parameter
Returns
setEntityKey(Key.Builder builderForValue)
public DatastoreKey.Builder setEntityKey(Key.Builder builderForValue)
Datastore entity key.
.google.privacy.dlp.v2.Key entity_key = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public DatastoreKey.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DatastoreKey.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DatastoreKey.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides