Class DatastoreOptions.Builder (3.25.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DatastoreOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DatastoreOptions.Builder
Overrides

build()

public DatastoreOptions build()
Returns
TypeDescription
DatastoreOptions

buildPartial()

public DatastoreOptions buildPartial()
Returns
TypeDescription
DatastoreOptions

clear()

public DatastoreOptions.Builder clear()
Returns
TypeDescription
DatastoreOptions.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DatastoreOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DatastoreOptions.Builder
Overrides

clearKind()

public DatastoreOptions.Builder clearKind()

The kind to process.

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

Returns
TypeDescription
DatastoreOptions.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DatastoreOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
DatastoreOptions.Builder

clone()

public DatastoreOptions.Builder clone()
Returns
TypeDescription
DatastoreOptions.Builder
Overrides

getDefaultInstanceForType()

public DatastoreOptions getDefaultInstanceForType()
Returns
TypeDescription
DatastoreOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getKind()

public KindExpression getKind()

The kind to process.

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

Returns
TypeDescription
KindExpression

The kind.

getKindBuilder()

public KindExpression.Builder getKindBuilder()

The kind to process.

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

Returns
TypeDescription
KindExpression.Builder

getKindOrBuilder()

public KindExpressionOrBuilder getKindOrBuilder()

The kind to process.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
PartitionIdOrBuilder

hasKind()

public boolean hasKind()

The kind to process.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the partitionId field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DatastoreOptions other)

public DatastoreOptions.Builder mergeFrom(DatastoreOptions other)
Parameter
NameDescription
otherDatastoreOptions
Returns
TypeDescription
DatastoreOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DatastoreOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatastoreOptions.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DatastoreOptions.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DatastoreOptions.Builder
Overrides

mergeKind(KindExpression value)

public DatastoreOptions.Builder mergeKind(KindExpression value)

The kind to process.

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

Parameter
NameDescription
valueKindExpression
Returns
TypeDescription
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
NameDescription
valuePartitionId
Returns
TypeDescription
DatastoreOptions.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DatastoreOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DatastoreOptions.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DatastoreOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DatastoreOptions.Builder
Overrides

setKind(KindExpression value)

public DatastoreOptions.Builder setKind(KindExpression value)

The kind to process.

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

Parameter
NameDescription
valueKindExpression
Returns
TypeDescription
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
NameDescription
builderForValueKindExpression.Builder
Returns
TypeDescription
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
NameDescription
valuePartitionId
Returns
TypeDescription
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
NameDescription
builderForValuePartitionId.Builder
Returns
TypeDescription
DatastoreOptions.Builder

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

public DatastoreOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DatastoreOptions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DatastoreOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DatastoreOptions.Builder
Overrides