Class StorageConfig.TimespanConfig (3.47.0)

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 Cloud Storage and BigQuery.

Protobuf type google.privacy.dlp.v2.StorageConfig.TimespanConfig

Static Fields

ENABLE_AUTO_POPULATION_OF_TIMESPAN_CONFIG_FIELD_NUMBER

public static final int ENABLE_AUTO_POPULATION_OF_TIMESPAN_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

TIMESTAMP_FIELD_FIELD_NUMBER

public static final int TIMESTAMP_FIELD_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StorageConfig.TimespanConfig getDefaultInstance()
Returns
Type Description
StorageConfig.TimespanConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static StorageConfig.TimespanConfig.Builder newBuilder()
Returns
Type Description
StorageConfig.TimespanConfig.Builder

newBuilder(StorageConfig.TimespanConfig prototype)

public static StorageConfig.TimespanConfig.Builder newBuilder(StorageConfig.TimespanConfig prototype)
Parameter
Name Description
prototype StorageConfig.TimespanConfig
Returns
Type Description
StorageConfig.TimespanConfig.Builder

parseDelimitedFrom(InputStream input)

public static StorageConfig.TimespanConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StorageConfig.TimespanConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StorageConfig.TimespanConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageConfig.TimespanConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StorageConfig.TimespanConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StorageConfig.TimespanConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StorageConfig.TimespanConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageConfig.TimespanConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StorageConfig.TimespanConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StorageConfig.TimespanConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StorageConfig.TimespanConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageConfig.TimespanConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StorageConfig.TimespanConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StorageConfig.TimespanConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StorageConfig.TimespanConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageConfig.TimespanConfig