public final class DatastoreOptions extends GeneratedMessage implements DatastoreOptionsOrBuilderOptions defining a data set within Google Cloud Datastore.
Protobuf type google.privacy.dlp.v2.DatastoreOptions
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > DatastoreOptionsImplements
DatastoreOptionsOrBuilderStatic 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 |
|
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> |
|
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 |
|
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 |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public DatastoreOptions.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
DatastoreOptions.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DatastoreOptions.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
DatastoreOptions.Builder |
|
toBuilder()
public DatastoreOptions.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
DatastoreOptions.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|