Package com.google.privacy.dlp.v2
Class StorageConfig.TimespanConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<StorageConfig.TimespanConfig.Builder>
-
- com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder
-
- All Implemented Interfaces:
StorageConfig.TimespanConfigOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- StorageConfig.TimespanConfig
public static final class StorageConfig.TimespanConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StorageConfig.TimespanConfig.Builder> implements StorageConfig.TimespanConfigOrBuilder
Configuration of the timespan of the items to include in scanning. Currently only supported when inspecting Cloud Storage and BigQuery.
Protobuf typegoogle.privacy.dlp.v2.StorageConfig.TimespanConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageConfig.TimespanConfig.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
StorageConfig.TimespanConfig
build()
StorageConfig.TimespanConfig
buildPartial()
StorageConfig.TimespanConfig.Builder
clear()
StorageConfig.TimespanConfig.Builder
clearEnableAutoPopulationOfTimespanConfig()
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.StorageConfig.TimespanConfig.Builder
clearEndTime()
Exclude files, tables, or rows newer than this value.StorageConfig.TimespanConfig.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
StorageConfig.TimespanConfig.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
StorageConfig.TimespanConfig.Builder
clearStartTime()
Exclude files, tables, or rows older than this value.StorageConfig.TimespanConfig.Builder
clearTimestampField()
Specification of the field containing the timestamp of scanned items.StorageConfig.TimespanConfig.Builder
clone()
StorageConfig.TimespanConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.Timestamp.Builder
getEndTimeBuilder()
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.Timestamp
getStartTime()
Exclude files, tables, or rows older than this value.com.google.protobuf.Timestamp.Builder
getStartTimeBuilder()
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.FieldId.Builder
getTimestampFieldBuilder()
Specification of the field containing the timestamp of scanned items.FieldIdOrBuilder
getTimestampFieldOrBuilder()
Specification of the field containing the timestamp of scanned items.boolean
hasEndTime()
Exclude files, tables, or rows newer than this value.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()
StorageConfig.TimespanConfig.Builder
mergeEndTime(com.google.protobuf.Timestamp value)
Exclude files, tables, or rows newer than this value.StorageConfig.TimespanConfig.Builder
mergeFrom(StorageConfig.TimespanConfig other)
StorageConfig.TimespanConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
StorageConfig.TimespanConfig.Builder
mergeFrom(com.google.protobuf.Message other)
StorageConfig.TimespanConfig.Builder
mergeStartTime(com.google.protobuf.Timestamp value)
Exclude files, tables, or rows older than this value.StorageConfig.TimespanConfig.Builder
mergeTimestampField(FieldId value)
Specification of the field containing the timestamp of scanned items.StorageConfig.TimespanConfig.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
StorageConfig.TimespanConfig.Builder
setEnableAutoPopulationOfTimespanConfig(boolean value)
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.StorageConfig.TimespanConfig.Builder
setEndTime(com.google.protobuf.Timestamp value)
Exclude files, tables, or rows newer than this value.StorageConfig.TimespanConfig.Builder
setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Exclude files, tables, or rows newer than this value.StorageConfig.TimespanConfig.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
StorageConfig.TimespanConfig.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
StorageConfig.TimespanConfig.Builder
setStartTime(com.google.protobuf.Timestamp value)
Exclude files, tables, or rows older than this value.StorageConfig.TimespanConfig.Builder
setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Exclude files, tables, or rows older than this value.StorageConfig.TimespanConfig.Builder
setTimestampField(FieldId value)
Specification of the field containing the timestamp of scanned items.StorageConfig.TimespanConfig.Builder
setTimestampField(FieldId.Builder builderForValue)
Specification of the field containing the timestamp of scanned items.StorageConfig.TimespanConfig.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<StorageConfig.TimespanConfig.Builder>
-
clear
public StorageConfig.TimespanConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<StorageConfig.TimespanConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<StorageConfig.TimespanConfig.Builder>
-
getDefaultInstanceForType
public StorageConfig.TimespanConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public StorageConfig.TimespanConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StorageConfig.TimespanConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public StorageConfig.TimespanConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<StorageConfig.TimespanConfig.Builder>
-
setField
public StorageConfig.TimespanConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StorageConfig.TimespanConfig.Builder>
-
clearField
public StorageConfig.TimespanConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StorageConfig.TimespanConfig.Builder>
-
clearOneof
public StorageConfig.TimespanConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<StorageConfig.TimespanConfig.Builder>
-
setRepeatedField
public StorageConfig.TimespanConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StorageConfig.TimespanConfig.Builder>
-
addRepeatedField
public StorageConfig.TimespanConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StorageConfig.TimespanConfig.Builder>
-
mergeFrom
public StorageConfig.TimespanConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StorageConfig.TimespanConfig.Builder>
-
mergeFrom
public StorageConfig.TimespanConfig.Builder mergeFrom(StorageConfig.TimespanConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StorageConfig.TimespanConfig.Builder>
-
mergeFrom
public StorageConfig.TimespanConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StorageConfig.TimespanConfig.Builder>
- Throws:
IOException
-
hasStartTime
public 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;
- Specified by:
hasStartTime
in interfaceStorageConfig.TimespanConfigOrBuilder
- Returns:
- Whether the startTime field is set.
-
getStartTime
public 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;
- Specified by:
getStartTime
in interfaceStorageConfig.TimespanConfigOrBuilder
- Returns:
- The startTime.
-
setStartTime
public StorageConfig.TimespanConfig.Builder setStartTime(com.google.protobuf.Timestamp value)
Exclude files, tables, or rows older than this value. If not set, no lower time limit is applied.
.google.protobuf.Timestamp start_time = 1;
-
setStartTime
public StorageConfig.TimespanConfig.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Exclude files, tables, or rows older than this value. If not set, no lower time limit is applied.
.google.protobuf.Timestamp start_time = 1;
-
mergeStartTime
public StorageConfig.TimespanConfig.Builder mergeStartTime(com.google.protobuf.Timestamp value)
Exclude files, tables, or rows older than this value. If not set, no lower time limit is applied.
.google.protobuf.Timestamp start_time = 1;
-
clearStartTime
public StorageConfig.TimespanConfig.Builder clearStartTime()
Exclude files, tables, or rows older than this value. If not set, no lower time limit is applied.
.google.protobuf.Timestamp start_time = 1;
-
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
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
public 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;
- Specified by:
getStartTimeOrBuilder
in interfaceStorageConfig.TimespanConfigOrBuilder
-
hasEndTime
public 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;
- Specified by:
hasEndTime
in interfaceStorageConfig.TimespanConfigOrBuilder
- Returns:
- Whether the endTime field is set.
-
getEndTime
public 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;
- Specified by:
getEndTime
in interfaceStorageConfig.TimespanConfigOrBuilder
- Returns:
- The endTime.
-
setEndTime
public StorageConfig.TimespanConfig.Builder setEndTime(com.google.protobuf.Timestamp value)
Exclude files, tables, or rows newer than this value. If not set, no upper time limit is applied.
.google.protobuf.Timestamp end_time = 2;
-
setEndTime
public StorageConfig.TimespanConfig.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Exclude files, tables, or rows newer than this value. If not set, no upper time limit is applied.
.google.protobuf.Timestamp end_time = 2;
-
mergeEndTime
public StorageConfig.TimespanConfig.Builder mergeEndTime(com.google.protobuf.Timestamp value)
Exclude files, tables, or rows newer than this value. If not set, no upper time limit is applied.
.google.protobuf.Timestamp end_time = 2;
-
clearEndTime
public StorageConfig.TimespanConfig.Builder clearEndTime()
Exclude files, tables, or rows newer than this value. If not set, no upper time limit is applied.
.google.protobuf.Timestamp end_time = 2;
-
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
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
public 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;
- Specified by:
getEndTimeOrBuilder
in interfaceStorageConfig.TimespanConfigOrBuilder
-
hasTimestampField
public 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;
- Specified by:
hasTimestampField
in interfaceStorageConfig.TimespanConfigOrBuilder
- Returns:
- Whether the timestampField field is set.
-
getTimestampField
public 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;
- Specified by:
getTimestampField
in interfaceStorageConfig.TimespanConfigOrBuilder
- Returns:
- The timestampField.
-
setTimestampField
public StorageConfig.TimespanConfig.Builder setTimestampField(FieldId value)
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;
-
setTimestampField
public StorageConfig.TimespanConfig.Builder setTimestampField(FieldId.Builder builderForValue)
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;
-
mergeTimestampField
public StorageConfig.TimespanConfig.Builder mergeTimestampField(FieldId value)
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;
-
clearTimestampField
public StorageConfig.TimespanConfig.Builder clearTimestampField()
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;
-
getTimestampFieldBuilder
public FieldId.Builder getTimestampFieldBuilder()
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
public 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;
- Specified by:
getTimestampFieldOrBuilder
in interfaceStorageConfig.TimespanConfigOrBuilder
-
getEnableAutoPopulationOfTimespanConfig
public 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;
- Specified by:
getEnableAutoPopulationOfTimespanConfig
in interfaceStorageConfig.TimespanConfigOrBuilder
- Returns:
- The enableAutoPopulationOfTimespanConfig.
-
setEnableAutoPopulationOfTimespanConfig
public StorageConfig.TimespanConfig.Builder setEnableAutoPopulationOfTimespanConfig(boolean value)
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;
- Parameters:
value
- The enableAutoPopulationOfTimespanConfig to set.- Returns:
- This builder for chaining.
-
clearEnableAutoPopulationOfTimespanConfig
public StorageConfig.TimespanConfig.Builder clearEnableAutoPopulationOfTimespanConfig()
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;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final StorageConfig.TimespanConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StorageConfig.TimespanConfig.Builder>
-
mergeUnknownFields
public final StorageConfig.TimespanConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StorageConfig.TimespanConfig.Builder>
-
-