Class DatastoreOptions.Builder (3.52.0)

public static final class DatastoreOptions.Builder extends GeneratedMessageV3.Builder<DatastoreOptions.Builder> implements DatastoreOptionsOrBuilder

Options defining a data set within Google Cloud Datastore.

Protobuf type google.privacy.dlp.v2.DatastoreOptions

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DatastoreOptions build()
Returns
Type Description
DatastoreOptions

buildPartial()

public DatastoreOptions buildPartial()
Returns
Type Description
DatastoreOptions

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearKind()

public DatastoreOptions.Builder clearKind()

The kind to process.

.google.privacy.dlp.v2.KindExpression kind = 2;

Returns
Type Description
DatastoreOptions.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPartitionId()

public DatastoreOptions.Builder clearPartitionId()

A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty.

.google.privacy.dlp.v2.PartitionId partition_id = 1;

Returns
Type Description
DatastoreOptions.Builder

clone()

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

getDefaultInstanceForType()

public DatastoreOptions getDefaultInstanceForType()
Returns
Type Description
DatastoreOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getKind()

public KindExpression getKind()

The kind to process.

.google.privacy.dlp.v2.KindExpression kind = 2;

Returns
Type Description
KindExpression

The kind.

getKindBuilder()

public KindExpression.Builder getKindBuilder()

The kind to process.

.google.privacy.dlp.v2.KindExpression kind = 2;

Returns
Type Description
KindExpression.Builder

getKindOrBuilder()

public KindExpressionOrBuilder getKindOrBuilder()

The kind to process.

.google.privacy.dlp.v2.KindExpression kind = 2;

Returns
Type Description
KindExpressionOrBuilder

getPartitionId()

public PartitionId getPartitionId()

A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty.

.google.privacy.dlp.v2.PartitionId partition_id = 1;

Returns
Type Description
PartitionId

The partitionId.

getPartitionIdBuilder()

public PartitionId.Builder getPartitionIdBuilder()

A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty.

.google.privacy.dlp.v2.PartitionId partition_id = 1;

Returns
Type Description
PartitionId.Builder

getPartitionIdOrBuilder()

public PartitionIdOrBuilder getPartitionIdOrBuilder()

A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty.

.google.privacy.dlp.v2.PartitionId partition_id = 1;

Returns
Type Description
PartitionIdOrBuilder

hasKind()

public boolean hasKind()

The kind to process.

.google.privacy.dlp.v2.KindExpression kind = 2;

Returns
Type Description
boolean

Whether the kind field is set.

hasPartitionId()

public boolean hasPartitionId()

A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty.

.google.privacy.dlp.v2.PartitionId partition_id = 1;

Returns
Type Description
boolean

Whether the partitionId field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DatastoreOptions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeKind(KindExpression value)

public DatastoreOptions.Builder mergeKind(KindExpression value)

The kind to process.

.google.privacy.dlp.v2.KindExpression kind = 2;

Parameter
Name Description
value KindExpression
Returns
Type Description
DatastoreOptions.Builder

mergePartitionId(PartitionId value)

public DatastoreOptions.Builder mergePartitionId(PartitionId value)

A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty.

.google.privacy.dlp.v2.PartitionId partition_id = 1;

Parameter
Name Description
value PartitionId
Returns
Type Description
DatastoreOptions.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setKind(KindExpression value)

public DatastoreOptions.Builder setKind(KindExpression value)

The kind to process.

.google.privacy.dlp.v2.KindExpression kind = 2;

Parameter
Name Description
value KindExpression
Returns
Type Description
DatastoreOptions.Builder

setKind(KindExpression.Builder builderForValue)

public DatastoreOptions.Builder setKind(KindExpression.Builder builderForValue)

The kind to process.

.google.privacy.dlp.v2.KindExpression kind = 2;

Parameter
Name Description
builderForValue KindExpression.Builder
Returns
Type Description
DatastoreOptions.Builder

setPartitionId(PartitionId value)

public DatastoreOptions.Builder setPartitionId(PartitionId value)

A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty.

.google.privacy.dlp.v2.PartitionId partition_id = 1;

Parameter
Name Description
value PartitionId
Returns
Type Description
DatastoreOptions.Builder

setPartitionId(PartitionId.Builder builderForValue)

public DatastoreOptions.Builder setPartitionId(PartitionId.Builder builderForValue)

A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty.

.google.privacy.dlp.v2.PartitionId partition_id = 1;

Parameter
Name Description
builderForValue PartitionId.Builder
Returns
Type Description
DatastoreOptions.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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