Class DatastoreOptions (3.45.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
TypeDescription
int

PARTITION_ID_FIELD_NUMBER

public static final int PARTITION_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DatastoreOptions getDefaultInstance()
Returns
TypeDescription
DatastoreOptions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DatastoreOptions.Builder newBuilder()
Returns
TypeDescription
DatastoreOptions.Builder

newBuilder(DatastoreOptions prototype)

public static DatastoreOptions.Builder newBuilder(DatastoreOptions prototype)
Parameter
NameDescription
prototypeDatastoreOptions
Returns
TypeDescription
DatastoreOptions.Builder

parseDelimitedFrom(InputStream input)

public static DatastoreOptions parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DatastoreOptions
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatastoreOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatastoreOptions
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DatastoreOptions parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DatastoreOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DatastoreOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatastoreOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DatastoreOptions parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DatastoreOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DatastoreOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatastoreOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DatastoreOptions parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DatastoreOptions
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DatastoreOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatastoreOptions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DatastoreOptions parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DatastoreOptions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatastoreOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatastoreOptions
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DatastoreOptions parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DatastoreOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DatastoreOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatastoreOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DatastoreOptions> parser()
Returns
TypeDescription
Parser<DatastoreOptions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DatastoreOptions getDefaultInstanceForType()
Returns
TypeDescription
DatastoreOptions

getKind()

public KindExpression getKind()

The kind to process.

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

Returns
TypeDescription
KindExpression

The kind.

getKindOrBuilder()

public KindExpressionOrBuilder getKindOrBuilder()

The kind to process.

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

Returns
TypeDescription
KindExpressionOrBuilder

getParserForType()

public Parser<DatastoreOptions> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
PartitionIdOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DatastoreOptions.Builder newBuilderForType()
Returns
TypeDescription
DatastoreOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DatastoreOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DatastoreOptions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DatastoreOptions.Builder toBuilder()
Returns
TypeDescription
DatastoreOptions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException