Package com.google.privacy.dlp.v2
Class DiscoveryTableModifiedCadence.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DiscoveryTableModifiedCadence.Builder>
com.google.privacy.dlp.v2.DiscoveryTableModifiedCadence.Builder
- All Implemented Interfaces:
DiscoveryTableModifiedCadenceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DiscoveryTableModifiedCadence
public static final class DiscoveryTableModifiedCadence.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DiscoveryTableModifiedCadence.Builder>
implements DiscoveryTableModifiedCadenceOrBuilder
The cadence at which to update data profiles when a table is modified.Protobuf type
google.privacy.dlp.v2.DiscoveryTableModifiedCadence-
Method Summary
Modifier and TypeMethodDescriptionaddAllTypes(Iterable<? extends BigQueryTableModification> values) The type of events to consider when deciding if the table has been modified and should have the profile updated.addAllTypesValue(Iterable<Integer> values) The type of events to consider when deciding if the table has been modified and should have the profile updated.The type of events to consider when deciding if the table has been modified and should have the profile updated.addTypesValue(int value) The type of events to consider when deciding if the table has been modified and should have the profile updated.build()clear()How frequently data profiles can be updated when tables are modified.The type of events to consider when deciding if the table has been modified and should have the profile updated.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorHow frequently data profiles can be updated when tables are modified.intHow frequently data profiles can be updated when tables are modified.getTypes(int index) The type of events to consider when deciding if the table has been modified and should have the profile updated.intThe type of events to consider when deciding if the table has been modified and should have the profile updated.The type of events to consider when deciding if the table has been modified and should have the profile updated.intgetTypesValue(int index) The type of events to consider when deciding if the table has been modified and should have the profile updated.The type of events to consider when deciding if the table has been modified and should have the profile updated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) How frequently data profiles can be updated when tables are modified.setFrequencyValue(int value) How frequently data profiles can be updated when tables are modified.setTypes(int index, BigQueryTableModification value) The type of events to consider when deciding if the table has been modified and should have the profile updated.setTypesValue(int index, int value) The type of events to consider when deciding if the table has been modified and should have the profile updated.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<DiscoveryTableModifiedCadence.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DiscoveryTableModifiedCadence.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DiscoveryTableModifiedCadence.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DiscoveryTableModifiedCadence.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DiscoveryTableModifiedCadence.Builder>
-
mergeFrom
public DiscoveryTableModifiedCadence.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DiscoveryTableModifiedCadence.Builder>- Throws:
IOException
-
getTypesList
The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.
repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;- Specified by:
getTypesListin interfaceDiscoveryTableModifiedCadenceOrBuilder- Returns:
- A list containing the types.
-
getTypesCount
public int getTypesCount()The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.
repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;- Specified by:
getTypesCountin interfaceDiscoveryTableModifiedCadenceOrBuilder- Returns:
- The count of types.
-
getTypes
The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.
repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;- Specified by:
getTypesin interfaceDiscoveryTableModifiedCadenceOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The types at the given index.
-
setTypes
The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.
repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;- Parameters:
index- The index to set the value at.value- The types to set.- Returns:
- This builder for chaining.
-
addTypes
The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.
repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;- Parameters:
value- The types to add.- Returns:
- This builder for chaining.
-
addAllTypes
public DiscoveryTableModifiedCadence.Builder addAllTypes(Iterable<? extends BigQueryTableModification> values) The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.
repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;- Parameters:
values- The types to add.- Returns:
- This builder for chaining.
-
clearTypes
The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.
repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;- Returns:
- This builder for chaining.
-
getTypesValueList
The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.
repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;- Specified by:
getTypesValueListin interfaceDiscoveryTableModifiedCadenceOrBuilder- Returns:
- A list containing the enum numeric values on the wire for types.
-
getTypesValue
public int getTypesValue(int index) The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.
repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;- Specified by:
getTypesValuein interfaceDiscoveryTableModifiedCadenceOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of types at the given index.
-
setTypesValue
The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.
repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for types to set.- Returns:
- This builder for chaining.
-
addTypesValue
The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.
repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;- Parameters:
value- The enum numeric value on the wire for types to add.- Returns:
- This builder for chaining.
-
addAllTypesValue
The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.
repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1;- Parameters:
values- The enum numeric values on the wire for types to add.- Returns:
- This builder for chaining.
-
getFrequencyValue
public int getFrequencyValue()How frequently data profiles can be updated when tables are modified. Defaults to never.
.google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 2;- Specified by:
getFrequencyValuein interfaceDiscoveryTableModifiedCadenceOrBuilder- Returns:
- The enum numeric value on the wire for frequency.
-
setFrequencyValue
How frequently data profiles can be updated when tables are modified. Defaults to never.
.google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 2;- Parameters:
value- The enum numeric value on the wire for frequency to set.- Returns:
- This builder for chaining.
-
getFrequency
How frequently data profiles can be updated when tables are modified. Defaults to never.
.google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 2;- Specified by:
getFrequencyin interfaceDiscoveryTableModifiedCadenceOrBuilder- Returns:
- The frequency.
-
setFrequency
How frequently data profiles can be updated when tables are modified. Defaults to never.
.google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 2;- Parameters:
value- The frequency to set.- Returns:
- This builder for chaining.
-
clearFrequency
How frequently data profiles can be updated when tables are modified. Defaults to never.
.google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 2;- Returns:
- This builder for chaining.
-