public static final class StorageConfig.TimespanConfig extends com.google.protobuf.GeneratedMessageV3 implements StorageConfig.TimespanConfigOrBuilder
Configuration of the timespan of the items to include in scanning. Currently only supported when inspecting Cloud Storage and BigQuery.Protobuf type
google.privacy.dlp.v2.StorageConfig.TimespanConfig| Modifier and Type | Class and Description |
|---|---|
static class |
StorageConfig.TimespanConfig.Builder
Configuration of the timespan of the items to include in scanning.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ENABLE_AUTO_POPULATION_OF_TIMESPAN_CONFIG_FIELD_NUMBER |
static int |
END_TIME_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static StorageConfig.TimespanConfig |
getDefaultInstance() |
StorageConfig.TimespanConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getEnableAutoPopulationOfTimespanConfig()
When the job is started by a JobTrigger we will automatically figure out
a valid start_time to avoid scanning files that have not been modified
since the last time the JobTrigger executed.
|
com.google.protobuf.Timestamp |
getEndTime()
Exclude files, tables, or rows newer than this value.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
Exclude files, tables, or rows newer than this value.
|
com.google.protobuf.Parser<StorageConfig.TimespanConfig> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getStartTime()
Exclude files, tables, or rows older than this value.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
Exclude files, tables, or rows older than this value.
|
FieldId |
getTimestampField()
Specification of the field containing the timestamp of scanned items.
|
FieldIdOrBuilder |
getTimestampFieldOrBuilder()
Specification of the field containing the timestamp of scanned items.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasEndTime()
Exclude files, tables, or rows newer than this value.
|
int |
hashCode() |
boolean |
hasStartTime()
Exclude files, tables, or rows older than this value.
|
boolean |
hasTimestampField()
Specification of the field containing the timestamp of scanned items.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static StorageConfig.TimespanConfig.Builder |
newBuilder() |
static StorageConfig.TimespanConfig.Builder |
newBuilder(StorageConfig.TimespanConfig prototype) |
StorageConfig.TimespanConfig.Builder |
newBuilderForType() |
protected StorageConfig.TimespanConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static StorageConfig.TimespanConfig |
parseDelimitedFrom(InputStream input) |
static StorageConfig.TimespanConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StorageConfig.TimespanConfig |
parseFrom(byte[] data) |
static StorageConfig.TimespanConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StorageConfig.TimespanConfig |
parseFrom(ByteBuffer data) |
static StorageConfig.TimespanConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StorageConfig.TimespanConfig |
parseFrom(com.google.protobuf.ByteString data) |
static StorageConfig.TimespanConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StorageConfig.TimespanConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static StorageConfig.TimespanConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StorageConfig.TimespanConfig |
parseFrom(InputStream input) |
static StorageConfig.TimespanConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<StorageConfig.TimespanConfig> |
parser() |
StorageConfig.TimespanConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int START_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_FIELD_NUMBER
public static final int ENABLE_AUTO_POPULATION_OF_TIMESPAN_CONFIG_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasStartTime()
Exclude files, tables, or rows older than this value. If not set, no lower time limit is applied.
.google.protobuf.Timestamp start_time = 1;hasStartTime in interface StorageConfig.TimespanConfigOrBuilderpublic com.google.protobuf.Timestamp getStartTime()
Exclude files, tables, or rows older than this value. If not set, no lower time limit is applied.
.google.protobuf.Timestamp start_time = 1;getStartTime in interface StorageConfig.TimespanConfigOrBuilderpublic com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Exclude files, tables, or rows older than this value. If not set, no lower time limit is applied.
.google.protobuf.Timestamp start_time = 1;getStartTimeOrBuilder in interface StorageConfig.TimespanConfigOrBuilderpublic boolean hasEndTime()
Exclude files, tables, or rows newer than this value. If not set, no upper time limit is applied.
.google.protobuf.Timestamp end_time = 2;hasEndTime in interface StorageConfig.TimespanConfigOrBuilderpublic com.google.protobuf.Timestamp getEndTime()
Exclude files, tables, or rows newer than this value. If not set, no upper time limit is applied.
.google.protobuf.Timestamp end_time = 2;getEndTime in interface StorageConfig.TimespanConfigOrBuilderpublic com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Exclude files, tables, or rows newer than this value. If not set, no upper time limit is applied.
.google.protobuf.Timestamp end_time = 2;getEndTimeOrBuilder in interface StorageConfig.TimespanConfigOrBuilderpublic boolean hasTimestampField()
Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery. <b>For BigQuery</b> If this value is not specified and the table was modified between the given start and end times, the entire table will be scanned. If this value is specified, then rows are filtered based on the given start and end times. Rows with a `NULL` value in the provided BigQuery column are skipped. Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`, `TIMESTAMP`, and `DATETIME`. If your BigQuery table is [partitioned at ingestion time](https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time), you can use any of the following pseudo-columns as your timestamp field. When used with Cloud DLP, these pseudo-column names are case sensitive. <ul> <li><code>_PARTITIONTIME</code></li> <li><code>_PARTITIONDATE</code></li> <li><code>_PARTITION_LOAD_TIME</code></li> </ul> <b>For Datastore</b> If this value is specified, then entities are filtered based on the given start and end times. If an entity does not contain the provided timestamp property or contains empty or invalid values, then it is included. Valid data types of the provided timestamp property are: `TIMESTAMP`. See the [known issue](https://cloud.google.com/dlp/docs/known-issues#bq-timespan) related to this operation.
.google.privacy.dlp.v2.FieldId timestamp_field = 3;hasTimestampField in interface StorageConfig.TimespanConfigOrBuilderpublic FieldId getTimestampField()
Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery. <b>For BigQuery</b> If this value is not specified and the table was modified between the given start and end times, the entire table will be scanned. If this value is specified, then rows are filtered based on the given start and end times. Rows with a `NULL` value in the provided BigQuery column are skipped. Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`, `TIMESTAMP`, and `DATETIME`. If your BigQuery table is [partitioned at ingestion time](https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time), you can use any of the following pseudo-columns as your timestamp field. When used with Cloud DLP, these pseudo-column names are case sensitive. <ul> <li><code>_PARTITIONTIME</code></li> <li><code>_PARTITIONDATE</code></li> <li><code>_PARTITION_LOAD_TIME</code></li> </ul> <b>For Datastore</b> If this value is specified, then entities are filtered based on the given start and end times. If an entity does not contain the provided timestamp property or contains empty or invalid values, then it is included. Valid data types of the provided timestamp property are: `TIMESTAMP`. See the [known issue](https://cloud.google.com/dlp/docs/known-issues#bq-timespan) related to this operation.
.google.privacy.dlp.v2.FieldId timestamp_field = 3;getTimestampField in interface StorageConfig.TimespanConfigOrBuilderpublic FieldIdOrBuilder getTimestampFieldOrBuilder()
Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery. <b>For BigQuery</b> If this value is not specified and the table was modified between the given start and end times, the entire table will be scanned. If this value is specified, then rows are filtered based on the given start and end times. Rows with a `NULL` value in the provided BigQuery column are skipped. Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`, `TIMESTAMP`, and `DATETIME`. If your BigQuery table is [partitioned at ingestion time](https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time), you can use any of the following pseudo-columns as your timestamp field. When used with Cloud DLP, these pseudo-column names are case sensitive. <ul> <li><code>_PARTITIONTIME</code></li> <li><code>_PARTITIONDATE</code></li> <li><code>_PARTITION_LOAD_TIME</code></li> </ul> <b>For Datastore</b> If this value is specified, then entities are filtered based on the given start and end times. If an entity does not contain the provided timestamp property or contains empty or invalid values, then it is included. Valid data types of the provided timestamp property are: `TIMESTAMP`. See the [known issue](https://cloud.google.com/dlp/docs/known-issues#bq-timespan) related to this operation.
.google.privacy.dlp.v2.FieldId timestamp_field = 3;getTimestampFieldOrBuilder in interface StorageConfig.TimespanConfigOrBuilderpublic boolean getEnableAutoPopulationOfTimespanConfig()
When the job is started by a JobTrigger we will automatically figure out a valid start_time to avoid scanning files that have not been modified since the last time the JobTrigger executed. This will be based on the time of the execution of the last run of the JobTrigger or the timespan end_time used in the last run of the JobTrigger.
bool enable_auto_population_of_timespan_config = 4;getEnableAutoPopulationOfTimespanConfig in interface StorageConfig.TimespanConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static StorageConfig.TimespanConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StorageConfig.TimespanConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StorageConfig.TimespanConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StorageConfig.TimespanConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StorageConfig.TimespanConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StorageConfig.TimespanConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StorageConfig.TimespanConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static StorageConfig.TimespanConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static StorageConfig.TimespanConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static StorageConfig.TimespanConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static StorageConfig.TimespanConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static StorageConfig.TimespanConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic StorageConfig.TimespanConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static StorageConfig.TimespanConfig.Builder newBuilder()
public static StorageConfig.TimespanConfig.Builder newBuilder(StorageConfig.TimespanConfig prototype)
public StorageConfig.TimespanConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected StorageConfig.TimespanConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static StorageConfig.TimespanConfig getDefaultInstance()
public static com.google.protobuf.Parser<StorageConfig.TimespanConfig> parser()
public com.google.protobuf.Parser<StorageConfig.TimespanConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public StorageConfig.TimespanConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.