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
PARTITION_ID_FIELD_NUMBER
public static final int PARTITION_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DatastoreOptions getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DatastoreOptions.Builder newBuilder()
Returns
newBuilder(DatastoreOptions prototype)
public static DatastoreOptions.Builder newBuilder(DatastoreOptions prototype)
Parameter
Returns
public static DatastoreOptions parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DatastoreOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DatastoreOptions parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DatastoreOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DatastoreOptions parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DatastoreOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DatastoreOptions parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DatastoreOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DatastoreOptions parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DatastoreOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DatastoreOptions parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DatastoreOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DatastoreOptions> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public DatastoreOptions getDefaultInstanceForType()
Returns
getKind()
public KindExpression getKind()
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
getParserForType()
public Parser<DatastoreOptions> getParserForType()
Returns
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
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DatastoreOptions.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DatastoreOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DatastoreOptions.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions