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 Google Cloud Storage and BigQuery.Protobuf type
google.privacy.dlp.v2.StorageConfig.TimespanConfig
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<StorageConfig.TimespanConfig.Builder>
public StorageConfig.TimespanConfig.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<StorageConfig.TimespanConfig.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<StorageConfig.TimespanConfig.Builder>
public StorageConfig.TimespanConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public StorageConfig.TimespanConfig build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public StorageConfig.TimespanConfig buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public StorageConfig.TimespanConfig.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<StorageConfig.TimespanConfig.Builder>
public StorageConfig.TimespanConfig.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<StorageConfig.TimespanConfig.Builder>
public StorageConfig.TimespanConfig.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<StorageConfig.TimespanConfig.Builder>
public StorageConfig.TimespanConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<StorageConfig.TimespanConfig.Builder>
public StorageConfig.TimespanConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<StorageConfig.TimespanConfig.Builder>
public StorageConfig.TimespanConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<StorageConfig.TimespanConfig.Builder>
public StorageConfig.TimespanConfig.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<StorageConfig.TimespanConfig.Builder>
public StorageConfig.TimespanConfig.Builder mergeFrom(StorageConfig.TimespanConfig other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<StorageConfig.TimespanConfig.Builder>
public StorageConfig.TimespanConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<StorageConfig.TimespanConfig.Builder>
java.io.IOException
public boolean hasStartTime()
Exclude files older than this value.
.google.protobuf.Timestamp start_time = 1;
hasStartTime
in interface StorageConfig.TimespanConfigOrBuilder
public Timestamp getStartTime()
Exclude files older than this value.
.google.protobuf.Timestamp start_time = 1;
getStartTime
in interface StorageConfig.TimespanConfigOrBuilder
public StorageConfig.TimespanConfig.Builder setStartTime(Timestamp value)
Exclude files older than this value.
.google.protobuf.Timestamp start_time = 1;
public StorageConfig.TimespanConfig.Builder setStartTime(Timestamp.Builder builderForValue)
Exclude files older than this value.
.google.protobuf.Timestamp start_time = 1;
public StorageConfig.TimespanConfig.Builder mergeStartTime(Timestamp value)
Exclude files older than this value.
.google.protobuf.Timestamp start_time = 1;
public StorageConfig.TimespanConfig.Builder clearStartTime()
Exclude files older than this value.
.google.protobuf.Timestamp start_time = 1;
public Timestamp.Builder getStartTimeBuilder()
Exclude files older than this value.
.google.protobuf.Timestamp start_time = 1;
public TimestampOrBuilder getStartTimeOrBuilder()
Exclude files older than this value.
.google.protobuf.Timestamp start_time = 1;
getStartTimeOrBuilder
in interface StorageConfig.TimespanConfigOrBuilder
public boolean hasEndTime()
Exclude files newer than this value. If set to zero, no upper time limit is applied.
.google.protobuf.Timestamp end_time = 2;
hasEndTime
in interface StorageConfig.TimespanConfigOrBuilder
public Timestamp getEndTime()
Exclude files newer than this value. If set to zero, no upper time limit is applied.
.google.protobuf.Timestamp end_time = 2;
getEndTime
in interface StorageConfig.TimespanConfigOrBuilder
public StorageConfig.TimespanConfig.Builder setEndTime(Timestamp value)
Exclude files newer than this value. If set to zero, no upper time limit is applied.
.google.protobuf.Timestamp end_time = 2;
public StorageConfig.TimespanConfig.Builder setEndTime(Timestamp.Builder builderForValue)
Exclude files newer than this value. If set to zero, no upper time limit is applied.
.google.protobuf.Timestamp end_time = 2;
public StorageConfig.TimespanConfig.Builder mergeEndTime(Timestamp value)
Exclude files newer than this value. If set to zero, no upper time limit is applied.
.google.protobuf.Timestamp end_time = 2;
public StorageConfig.TimespanConfig.Builder clearEndTime()
Exclude files newer than this value. If set to zero, no upper time limit is applied.
.google.protobuf.Timestamp end_time = 2;
public Timestamp.Builder getEndTimeBuilder()
Exclude files newer than this value. If set to zero, no upper time limit is applied.
.google.protobuf.Timestamp end_time = 2;
public TimestampOrBuilder getEndTimeOrBuilder()
Exclude files newer than this value. If set to zero, no upper time limit is applied.
.google.protobuf.Timestamp end_time = 2;
getEndTimeOrBuilder
in interface StorageConfig.TimespanConfigOrBuilder
public boolean hasTimestampField()
Specification of the field containing the timestamp of scanned items. Required for data sources like Datastore or BigQuery. The valid data types of the timestamp field are: for BigQuery - timestamp, date, datetime; for Datastore - timestamp. Datastore entity will be scanned if the timestamp property does not exist or its value is empty or invalid.
.google.privacy.dlp.v2.FieldId timestamp_field = 3;
hasTimestampField
in interface StorageConfig.TimespanConfigOrBuilder
public FieldId getTimestampField()
Specification of the field containing the timestamp of scanned items. Required for data sources like Datastore or BigQuery. The valid data types of the timestamp field are: for BigQuery - timestamp, date, datetime; for Datastore - timestamp. Datastore entity will be scanned if the timestamp property does not exist or its value is empty or invalid.
.google.privacy.dlp.v2.FieldId timestamp_field = 3;
getTimestampField
in interface StorageConfig.TimespanConfigOrBuilder
public StorageConfig.TimespanConfig.Builder setTimestampField(FieldId value)
Specification of the field containing the timestamp of scanned items. Required for data sources like Datastore or BigQuery. The valid data types of the timestamp field are: for BigQuery - timestamp, date, datetime; for Datastore - timestamp. Datastore entity will be scanned if the timestamp property does not exist or its value is empty or invalid.
.google.privacy.dlp.v2.FieldId timestamp_field = 3;
public StorageConfig.TimespanConfig.Builder setTimestampField(FieldId.Builder builderForValue)
Specification of the field containing the timestamp of scanned items. Required for data sources like Datastore or BigQuery. The valid data types of the timestamp field are: for BigQuery - timestamp, date, datetime; for Datastore - timestamp. Datastore entity will be scanned if the timestamp property does not exist or its value is empty or invalid.
.google.privacy.dlp.v2.FieldId timestamp_field = 3;
public StorageConfig.TimespanConfig.Builder mergeTimestampField(FieldId value)
Specification of the field containing the timestamp of scanned items. Required for data sources like Datastore or BigQuery. The valid data types of the timestamp field are: for BigQuery - timestamp, date, datetime; for Datastore - timestamp. Datastore entity will be scanned if the timestamp property does not exist or its value is empty or invalid.
.google.privacy.dlp.v2.FieldId timestamp_field = 3;
public StorageConfig.TimespanConfig.Builder clearTimestampField()
Specification of the field containing the timestamp of scanned items. Required for data sources like Datastore or BigQuery. The valid data types of the timestamp field are: for BigQuery - timestamp, date, datetime; for Datastore - timestamp. Datastore entity will be scanned if the timestamp property does not exist or its value is empty or invalid.
.google.privacy.dlp.v2.FieldId timestamp_field = 3;
public FieldId.Builder getTimestampFieldBuilder()
Specification of the field containing the timestamp of scanned items. Required for data sources like Datastore or BigQuery. The valid data types of the timestamp field are: for BigQuery - timestamp, date, datetime; for Datastore - timestamp. Datastore entity will be scanned if the timestamp property does not exist or its value is empty or invalid.
.google.privacy.dlp.v2.FieldId timestamp_field = 3;
public FieldIdOrBuilder getTimestampFieldOrBuilder()
Specification of the field containing the timestamp of scanned items. Required for data sources like Datastore or BigQuery. The valid data types of the timestamp field are: for BigQuery - timestamp, date, datetime; for Datastore - timestamp. Datastore entity will be scanned if the timestamp property does not exist or its value is empty or invalid.
.google.privacy.dlp.v2.FieldId timestamp_field = 3;
getTimestampFieldOrBuilder
in interface StorageConfig.TimespanConfigOrBuilder
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.
bool enable_auto_population_of_timespan_config = 4;
getEnableAutoPopulationOfTimespanConfig
in interface StorageConfig.TimespanConfigOrBuilder
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.
bool enable_auto_population_of_timespan_config = 4;
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.
bool enable_auto_population_of_timespan_config = 4;
public final StorageConfig.TimespanConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<StorageConfig.TimespanConfig.Builder>
public final StorageConfig.TimespanConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<StorageConfig.TimespanConfig.Builder>