- 3.56.0 (latest)
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.7
- 3.5.0
- 3.4.0
- 3.3.2
- 3.2.1
- 3.1.4
public static final class StorageConfig.TimespanConfig.Builder extends 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 type google.privacy.dlp.v2.StorageConfig.TimespanConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StorageConfig.TimespanConfig.BuilderImplements
StorageConfig.TimespanConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StorageConfig.TimespanConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig.Builder |
build()
public StorageConfig.TimespanConfig build()
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig |
buildPartial()
public StorageConfig.TimespanConfig buildPartial()
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig |
clear()
public StorageConfig.TimespanConfig.Builder clear()
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig.Builder |
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 | |
---|---|
Type | Description |
StorageConfig.TimespanConfig.Builder | This builder for chaining. |
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;
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public StorageConfig.TimespanConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public StorageConfig.TimespanConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig.Builder |
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;
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig.Builder |
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, 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 related to this operation.
.google.privacy.dlp.v2.FieldId timestamp_field = 3;
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig.Builder |
clone()
public StorageConfig.TimespanConfig.Builder clone()
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig.Builder |
getDefaultInstanceForType()
public StorageConfig.TimespanConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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;
Returns | |
---|---|
Type | Description |
boolean | The enableAutoPopulationOfTimespanConfig. |
getEndTime()
public 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;
Returns | |
---|---|
Type | Description |
Timestamp | The endTime. |
getEndTimeBuilder()
public 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;
Returns | |
---|---|
Type | Description |
Builder |
getEndTimeOrBuilder()
public 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;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getStartTime()
public 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;
Returns | |
---|---|
Type | Description |
Timestamp | The startTime. |
getStartTimeBuilder()
public 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;
Returns | |
---|---|
Type | Description |
Builder |
getStartTimeOrBuilder()
public 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;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
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, 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 related to this operation.
.google.privacy.dlp.v2.FieldId timestamp_field = 3;
Returns | |
---|---|
Type | Description |
FieldId | The timestampField. |
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, 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 related to this operation.
.google.privacy.dlp.v2.FieldId timestamp_field = 3;
Returns | |
---|---|
Type | Description |
FieldId.Builder |
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, 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 related to this operation.
.google.privacy.dlp.v2.FieldId timestamp_field = 3;
Returns | |
---|---|
Type | Description |
FieldIdOrBuilder |
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the endTime field is set. |
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the startTime field is set. |
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, 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 related to this operation.
.google.privacy.dlp.v2.FieldId timestamp_field = 3;
Returns | |
---|---|
Type | Description |
boolean | Whether the timestampField field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeEndTime(Timestamp value)
public StorageConfig.TimespanConfig.Builder mergeEndTime(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;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig.Builder |
mergeFrom(StorageConfig.TimespanConfig other)
public StorageConfig.TimespanConfig.Builder mergeFrom(StorageConfig.TimespanConfig other)
Parameter | |
---|---|
Name | Description |
other | StorageConfig.TimespanConfig |
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StorageConfig.TimespanConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public StorageConfig.TimespanConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig.Builder |
mergeStartTime(Timestamp value)
public StorageConfig.TimespanConfig.Builder mergeStartTime(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;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig.Builder |
mergeTimestampField(FieldId value)
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, 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 related to this operation.
.google.privacy.dlp.v2.FieldId timestamp_field = 3;
Parameter | |
---|---|
Name | Description |
value | FieldId |
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StorageConfig.TimespanConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig.Builder |
setEnableAutoPopulationOfTimespanConfig(boolean value)
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;
Parameter | |
---|---|
Name | Description |
value | boolean The enableAutoPopulationOfTimespanConfig to set. |
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig.Builder | This builder for chaining. |
setEndTime(Timestamp value)
public StorageConfig.TimespanConfig.Builder setEndTime(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;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig.Builder |
setEndTime(Timestamp.Builder builderForValue)
public StorageConfig.TimespanConfig.Builder setEndTime(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;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public StorageConfig.TimespanConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StorageConfig.TimespanConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig.Builder |
setStartTime(Timestamp value)
public StorageConfig.TimespanConfig.Builder setStartTime(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;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig.Builder |
setStartTime(Timestamp.Builder builderForValue)
public StorageConfig.TimespanConfig.Builder setStartTime(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;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig.Builder |
setTimestampField(FieldId value)
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, 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 related to this operation.
.google.privacy.dlp.v2.FieldId timestamp_field = 3;
Parameter | |
---|---|
Name | Description |
value | FieldId |
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig.Builder |
setTimestampField(FieldId.Builder builderForValue)
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, 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 related to this operation.
.google.privacy.dlp.v2.FieldId timestamp_field = 3;
Parameter | |
---|---|
Name | Description |
builderForValue | FieldId.Builder |
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final StorageConfig.TimespanConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StorageConfig.TimespanConfig.Builder |