Send feedback
Class DatastoreOptions.Builder (3.7.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.7.2 keyboard_arrow_down
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]