Class DatastoreOptions (3.50.0)

public final class DatastoreOptions extends GeneratedMessageV3 implements DatastoreOptionsOrBuilder

Options defining a data set within Google Cloud Datastore.

Protobuf type google.privacy.dlp.v2.DatastoreOptions

Static Fields

KIND_FIELD_NUMBER

public static final int KIND_FIELD_NUMBER
Field Value
Type Description
int

PARTITION_ID_FIELD_NUMBER

public static final int PARTITION_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DatastoreOptions getDefaultInstance()
Returns
Type Description
DatastoreOptions

getDescriptor()

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

newBuilder()

public static DatastoreOptions.Builder newBuilder()
Returns
Type Description
DatastoreOptions.Builder

newBuilder(DatastoreOptions prototype)

public static DatastoreOptions.Builder newBuilder(DatastoreOptions prototype)
Parameter
Name Description
prototype DatastoreOptions
Returns
Type Description
DatastoreOptions.Builder

parseDelimitedFrom(InputStream input)

public static DatastoreOptions parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DatastoreOptions
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatastoreOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatastoreOptions
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DatastoreOptions parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DatastoreOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DatastoreOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatastoreOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DatastoreOptions parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DatastoreOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DatastoreOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatastoreOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DatastoreOptions parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DatastoreOptions
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DatastoreOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatastoreOptions
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DatastoreOptions parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DatastoreOptions
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatastoreOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatastoreOptions
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DatastoreOptions parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DatastoreOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DatastoreOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatastoreOptions
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DatastoreOptions> parser()
Returns
Type Description
Parser<DatastoreOptions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DatastoreOptions getDefaultInstanceForType()
Returns
Type Description
DatastoreOptions

getKind()

public KindExpression getKind()

The kind to process.

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

Returns
Type Description
KindExpression

The kind.

getKindOrBuilder()

public KindExpressionOrBuilder getKindOrBuilder()

The kind to process.

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

Returns
Type Description
KindExpressionOrBuilder

getParserForType()

public Parser<DatastoreOptions> getParserForType()
Returns
Type Description
Parser<DatastoreOptions>
Overrides

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DatastoreOptions.Builder newBuilderForType()
Returns
Type Description
DatastoreOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DatastoreOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DatastoreOptions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DatastoreOptions.Builder toBuilder()
Returns
Type Description
DatastoreOptions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException