Class DatastoreKey.Builder (3.49.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DatastoreKey.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DatastoreKey.Builder
Overrides

build()

public DatastoreKey build()
Returns
Type Description
DatastoreKey

buildPartial()

public DatastoreKey buildPartial()
Returns
Type Description
DatastoreKey

clear()

public DatastoreKey.Builder clear()
Returns
Type Description
DatastoreKey.Builder
Overrides

clearEntityKey()

public DatastoreKey.Builder clearEntityKey()

Datastore entity key.

.google.privacy.dlp.v2.Key entity_key = 1;

Returns
Type Description
DatastoreKey.Builder

clearField(Descriptors.FieldDescriptor field)

public DatastoreKey.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DatastoreKey.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DatastoreKey.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DatastoreKey.Builder
Overrides

clone()

public DatastoreKey.Builder clone()
Returns
Type Description
DatastoreKey.Builder
Overrides

getDefaultInstanceForType()

public DatastoreKey getDefaultInstanceForType()
Returns
Type Description
DatastoreKey

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
Key.Builder

getEntityKeyOrBuilder()

public KeyOrBuilder getEntityKeyOrBuilder()

Datastore entity key.

.google.privacy.dlp.v2.Key entity_key = 1;

Returns
Type Description
KeyOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEntityKey(Key value)

public DatastoreKey.Builder mergeEntityKey(Key value)

Datastore entity key.

.google.privacy.dlp.v2.Key entity_key = 1;

Parameter
Name Description
value Key
Returns
Type Description
DatastoreKey.Builder

mergeFrom(DatastoreKey other)

public DatastoreKey.Builder mergeFrom(DatastoreKey other)
Parameter
Name Description
other DatastoreKey
Returns
Type Description
DatastoreKey.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DatastoreKey.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatastoreKey.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DatastoreKey.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DatastoreKey.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DatastoreKey.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DatastoreKey.Builder
Overrides

setEntityKey(Key value)

public DatastoreKey.Builder setEntityKey(Key value)

Datastore entity key.

.google.privacy.dlp.v2.Key entity_key = 1;

Parameter
Name Description
value Key
Returns
Type Description
DatastoreKey.Builder

setEntityKey(Key.Builder builderForValue)

public DatastoreKey.Builder setEntityKey(Key.Builder builderForValue)

Datastore entity key.

.google.privacy.dlp.v2.Key entity_key = 1;

Parameter
Name Description
builderForValue Key.Builder
Returns
Type Description
DatastoreKey.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DatastoreKey.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DatastoreKey.Builder
Overrides

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

public DatastoreKey.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DatastoreKey.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DatastoreKey.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DatastoreKey.Builder
Overrides