public static final class StorageConfig.TimespanConfig extends GeneratedMessageV3 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
Modifier and Type | Class and Description |
---|---|
static class |
StorageConfig.TimespanConfig.Builder
Configuration of the timespan of the items to include in scanning.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable
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 |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
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 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 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 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 final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static StorageConfig.TimespanConfig parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static StorageConfig.TimespanConfig parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static StorageConfig.TimespanConfig parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static StorageConfig.TimespanConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static StorageConfig.TimespanConfig parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static StorageConfig.TimespanConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static StorageConfig.TimespanConfig parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static StorageConfig.TimespanConfig parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static StorageConfig.TimespanConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static StorageConfig.TimespanConfig parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static StorageConfig.TimespanConfig parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static StorageConfig.TimespanConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public StorageConfig.TimespanConfig.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static StorageConfig.TimespanConfig.Builder newBuilder()
public static StorageConfig.TimespanConfig.Builder newBuilder(StorageConfig.TimespanConfig prototype)
public StorageConfig.TimespanConfig.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected StorageConfig.TimespanConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static StorageConfig.TimespanConfig getDefaultInstance()
public static Parser<StorageConfig.TimespanConfig> parser()
public Parser<StorageConfig.TimespanConfig> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public StorageConfig.TimespanConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder