Package com.google.privacy.dlp.v2
Class DiscoveryGenerationCadence
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.DiscoveryGenerationCadence
- All Implemented Interfaces:
DiscoveryGenerationCadenceOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class DiscoveryGenerationCadence
extends com.google.protobuf.GeneratedMessage
implements DiscoveryGenerationCadenceOrBuilder
What must take place for a profile to be updated and how frequently it should occur. New tables are scanned as quickly as possible depending on system capacity.Protobuf type
google.privacy.dlp.v2.DiscoveryGenerationCadence- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classWhat must take place for a profile to be updated and how frequently it should occur.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic DiscoveryGenerationCadencestatic final com.google.protobuf.Descriptors.DescriptorGoverns when to update data profiles when the inspection rules defined by the `InspectTemplate` change.Governs when to update data profiles when the inspection rules defined by the `InspectTemplate` change.com.google.protobuf.Parser<DiscoveryGenerationCadence>Frequency at which profiles should be updated, regardless of whether the underlying resource has changed.intFrequency at which profiles should be updated, regardless of whether the underlying resource has changed.Governs when to update data profiles when a schema is modified.Governs when to update data profiles when a schema is modified.intGoverns when to update data profiles when a table is modified.Governs when to update data profiles when a table is modified.inthashCode()booleanGoverns when to update data profiles when the inspection rules defined by the `InspectTemplate` change.booleanGoverns when to update data profiles when a schema is modified.booleanGoverns when to update data profiles when a table is modified.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(DiscoveryGenerationCadence prototype) protected DiscoveryGenerationCadence.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DiscoveryGenerationCadenceparseDelimitedFrom(InputStream input) static DiscoveryGenerationCadenceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiscoveryGenerationCadenceparseFrom(byte[] data) static DiscoveryGenerationCadenceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiscoveryGenerationCadenceparseFrom(com.google.protobuf.ByteString data) static DiscoveryGenerationCadenceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiscoveryGenerationCadenceparseFrom(com.google.protobuf.CodedInputStream input) static DiscoveryGenerationCadenceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiscoveryGenerationCadenceparseFrom(InputStream input) static DiscoveryGenerationCadenceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiscoveryGenerationCadenceparseFrom(ByteBuffer data) static DiscoveryGenerationCadenceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DiscoveryGenerationCadence>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SCHEMA_MODIFIED_CADENCE_FIELD_NUMBER
public static final int SCHEMA_MODIFIED_CADENCE_FIELD_NUMBER- See Also:
-
TABLE_MODIFIED_CADENCE_FIELD_NUMBER
public static final int TABLE_MODIFIED_CADENCE_FIELD_NUMBER- See Also:
-
INSPECT_TEMPLATE_MODIFIED_CADENCE_FIELD_NUMBER
public static final int INSPECT_TEMPLATE_MODIFIED_CADENCE_FIELD_NUMBER- See Also:
-
REFRESH_FREQUENCY_FIELD_NUMBER
public static final int REFRESH_FREQUENCY_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasSchemaModifiedCadence
public boolean hasSchemaModifiedCadence()Governs when to update data profiles when a schema is modified.
.google.privacy.dlp.v2.DiscoverySchemaModifiedCadence schema_modified_cadence = 1;- Specified by:
hasSchemaModifiedCadencein interfaceDiscoveryGenerationCadenceOrBuilder- Returns:
- Whether the schemaModifiedCadence field is set.
-
getSchemaModifiedCadence
Governs when to update data profiles when a schema is modified.
.google.privacy.dlp.v2.DiscoverySchemaModifiedCadence schema_modified_cadence = 1;- Specified by:
getSchemaModifiedCadencein interfaceDiscoveryGenerationCadenceOrBuilder- Returns:
- The schemaModifiedCadence.
-
getSchemaModifiedCadenceOrBuilder
Governs when to update data profiles when a schema is modified.
.google.privacy.dlp.v2.DiscoverySchemaModifiedCadence schema_modified_cadence = 1;- Specified by:
getSchemaModifiedCadenceOrBuilderin interfaceDiscoveryGenerationCadenceOrBuilder
-
hasTableModifiedCadence
public boolean hasTableModifiedCadence()Governs when to update data profiles when a table is modified.
.google.privacy.dlp.v2.DiscoveryTableModifiedCadence table_modified_cadence = 2;- Specified by:
hasTableModifiedCadencein interfaceDiscoveryGenerationCadenceOrBuilder- Returns:
- Whether the tableModifiedCadence field is set.
-
getTableModifiedCadence
Governs when to update data profiles when a table is modified.
.google.privacy.dlp.v2.DiscoveryTableModifiedCadence table_modified_cadence = 2;- Specified by:
getTableModifiedCadencein interfaceDiscoveryGenerationCadenceOrBuilder- Returns:
- The tableModifiedCadence.
-
getTableModifiedCadenceOrBuilder
Governs when to update data profiles when a table is modified.
.google.privacy.dlp.v2.DiscoveryTableModifiedCadence table_modified_cadence = 2;- Specified by:
getTableModifiedCadenceOrBuilderin interfaceDiscoveryGenerationCadenceOrBuilder
-
hasInspectTemplateModifiedCadence
public boolean hasInspectTemplateModifiedCadence()Governs when to update data profiles when the inspection rules defined by the `InspectTemplate` change. If not set, changing the template will not cause a data profile to update.
.google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence inspect_template_modified_cadence = 3;- Specified by:
hasInspectTemplateModifiedCadencein interfaceDiscoveryGenerationCadenceOrBuilder- Returns:
- Whether the inspectTemplateModifiedCadence field is set.
-
getInspectTemplateModifiedCadence
Governs when to update data profiles when the inspection rules defined by the `InspectTemplate` change. If not set, changing the template will not cause a data profile to update.
.google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence inspect_template_modified_cadence = 3;- Specified by:
getInspectTemplateModifiedCadencein interfaceDiscoveryGenerationCadenceOrBuilder- Returns:
- The inspectTemplateModifiedCadence.
-
getInspectTemplateModifiedCadenceOrBuilder
public DiscoveryInspectTemplateModifiedCadenceOrBuilder getInspectTemplateModifiedCadenceOrBuilder()Governs when to update data profiles when the inspection rules defined by the `InspectTemplate` change. If not set, changing the template will not cause a data profile to update.
.google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence inspect_template_modified_cadence = 3;- Specified by:
getInspectTemplateModifiedCadenceOrBuilderin interfaceDiscoveryGenerationCadenceOrBuilder
-
getRefreshFrequencyValue
public int getRefreshFrequencyValue()Frequency at which profiles should be updated, regardless of whether the underlying resource has changed. Defaults to never.
.google.privacy.dlp.v2.DataProfileUpdateFrequency refresh_frequency = 4;- Specified by:
getRefreshFrequencyValuein interfaceDiscoveryGenerationCadenceOrBuilder- Returns:
- The enum numeric value on the wire for refreshFrequency.
-
getRefreshFrequency
Frequency at which profiles should be updated, regardless of whether the underlying resource has changed. Defaults to never.
.google.privacy.dlp.v2.DataProfileUpdateFrequency refresh_frequency = 4;- Specified by:
getRefreshFrequencyin interfaceDiscoveryGenerationCadenceOrBuilder- Returns:
- The refreshFrequency.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DiscoveryGenerationCadence parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryGenerationCadence parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryGenerationCadence parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryGenerationCadence parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryGenerationCadence parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryGenerationCadence parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DiscoveryGenerationCadence parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DiscoveryGenerationCadence parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DiscoveryGenerationCadence parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DiscoveryGenerationCadence parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DiscoveryGenerationCadence.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-