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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DatastoreOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DatastoreOptions build()
Returns
buildPartial()
public DatastoreOptions buildPartial()
Returns
clear()
public DatastoreOptions.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public DatastoreOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearKind()
public DatastoreOptions.Builder clearKind()
The kind to process.
.google.privacy.dlp.v2.KindExpression kind = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public DatastoreOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public DatastoreOptions.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DatastoreOptions getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getKind()
public KindExpression getKind()
The kind to process.
.google.privacy.dlp.v2.KindExpression kind = 2;
Returns
getKindBuilder()
public KindExpression.Builder getKindBuilder()
The kind to process.
.google.privacy.dlp.v2.KindExpression kind = 2;
Returns
getKindOrBuilder()
public KindExpressionOrBuilder getKindOrBuilder()
The kind to process.
.google.privacy.dlp.v2.KindExpression kind = 2;
Returns
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DatastoreOptions other)
public DatastoreOptions.Builder mergeFrom(DatastoreOptions other)
Parameter
Returns
public DatastoreOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DatastoreOptions.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeKind(KindExpression value)
public DatastoreOptions.Builder mergeKind(KindExpression value)
The kind to process.
.google.privacy.dlp.v2.KindExpression kind = 2;
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DatastoreOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DatastoreOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setKind(KindExpression value)
public DatastoreOptions.Builder setKind(KindExpression value)
The kind to process.
.google.privacy.dlp.v2.KindExpression kind = 2;
Parameter
Returns
setKind(KindExpression.Builder builderForValue)
public DatastoreOptions.Builder setKind(KindExpression.Builder builderForValue)
The kind to process.
.google.privacy.dlp.v2.KindExpression kind = 2;
Parameter
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DatastoreOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DatastoreOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides