Package com.google.privacy.dlp.v2
Class DiscoverySchemaModifiedCadence.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DiscoverySchemaModifiedCadence.Builder>
com.google.privacy.dlp.v2.DiscoverySchemaModifiedCadence.Builder
- All Implemented Interfaces:
DiscoverySchemaModifiedCadenceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DiscoverySchemaModifiedCadence
public static final class DiscoverySchemaModifiedCadence.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DiscoverySchemaModifiedCadence.Builder>
implements DiscoverySchemaModifiedCadenceOrBuilder
The cadence at which to update data profiles when a schema is modified.Protobuf type
google.privacy.dlp.v2.DiscoverySchemaModifiedCadence-
Method Summary
Modifier and TypeMethodDescriptionaddAllTypes(Iterable<? extends BigQuerySchemaModification> values) The type of events to consider when deciding if the table's schema has been modified and should have the profile updated.addAllTypesValue(Iterable<Integer> values) The type of events to consider when deciding if the table's schema has been modified and should have the profile updated.The type of events to consider when deciding if the table's schema has been modified and should have the profile updated.addTypesValue(int value) The type of events to consider when deciding if the table's schema has been modified and should have the profile updated.build()clear()How frequently profiles may be updated when schemas are modified.The type of events to consider when deciding if the table's schema has been modified and should have the profile updated.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorHow frequently profiles may be updated when schemas are modified.intHow frequently profiles may be updated when schemas are modified.getTypes(int index) The type of events to consider when deciding if the table's schema has been modified and should have the profile updated.intThe type of events to consider when deciding if the table's schema has been modified and should have the profile updated.The type of events to consider when deciding if the table's schema has been modified and should have the profile updated.intgetTypesValue(int index) The type of events to consider when deciding if the table's schema has been modified and should have the profile updated.The type of events to consider when deciding if the table's schema 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 profiles may be updated when schemas are modified.setFrequencyValue(int value) How frequently profiles may be updated when schemas are modified.setTypes(int index, BigQuerySchemaModification value) The type of events to consider when deciding if the table's schema 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's schema 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<DiscoverySchemaModifiedCadence.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<DiscoverySchemaModifiedCadence.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<DiscoverySchemaModifiedCadence.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<DiscoverySchemaModifiedCadence.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DiscoverySchemaModifiedCadence.Builder>
-
mergeFrom
public DiscoverySchemaModifiedCadence.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<DiscoverySchemaModifiedCadence.Builder>- Throws:
IOException
-
getTypesList
The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
repeated .google.privacy.dlp.v2.BigQuerySchemaModification types = 1;- Specified by:
getTypesListin interfaceDiscoverySchemaModifiedCadenceOrBuilder- Returns:
- A list containing the types.
-
getTypesCount
public int getTypesCount()The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
repeated .google.privacy.dlp.v2.BigQuerySchemaModification types = 1;- Specified by:
getTypesCountin interfaceDiscoverySchemaModifiedCadenceOrBuilder- Returns:
- The count of types.
-
getTypes
The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
repeated .google.privacy.dlp.v2.BigQuerySchemaModification types = 1;- Specified by:
getTypesin interfaceDiscoverySchemaModifiedCadenceOrBuilder- 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's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
repeated .google.privacy.dlp.v2.BigQuerySchemaModification 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's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
repeated .google.privacy.dlp.v2.BigQuerySchemaModification types = 1;- Parameters:
value- The types to add.- Returns:
- This builder for chaining.
-
addAllTypes
public DiscoverySchemaModifiedCadence.Builder addAllTypes(Iterable<? extends BigQuerySchemaModification> values) The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
repeated .google.privacy.dlp.v2.BigQuerySchemaModification 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's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
repeated .google.privacy.dlp.v2.BigQuerySchemaModification types = 1;- Returns:
- This builder for chaining.
-
getTypesValueList
The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
repeated .google.privacy.dlp.v2.BigQuerySchemaModification types = 1;- Specified by:
getTypesValueListin interfaceDiscoverySchemaModifiedCadenceOrBuilder- 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's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
repeated .google.privacy.dlp.v2.BigQuerySchemaModification types = 1;- Specified by:
getTypesValuein interfaceDiscoverySchemaModifiedCadenceOrBuilder- 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's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
repeated .google.privacy.dlp.v2.BigQuerySchemaModification 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's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
repeated .google.privacy.dlp.v2.BigQuerySchemaModification 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's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
repeated .google.privacy.dlp.v2.BigQuerySchemaModification 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 profiles may be updated when schemas are modified. Defaults to monthly.
.google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 2;- Specified by:
getFrequencyValuein interfaceDiscoverySchemaModifiedCadenceOrBuilder- Returns:
- The enum numeric value on the wire for frequency.
-
setFrequencyValue
How frequently profiles may be updated when schemas are modified. Defaults to monthly.
.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 profiles may be updated when schemas are modified. Defaults to monthly.
.google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 2;- Specified by:
getFrequencyin interfaceDiscoverySchemaModifiedCadenceOrBuilder- Returns:
- The frequency.
-
setFrequency
How frequently profiles may be updated when schemas are modified. Defaults to monthly.
.google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 2;- Parameters:
value- The frequency to set.- Returns:
- This builder for chaining.
-
clearFrequency
How frequently profiles may be updated when schemas are modified. Defaults to monthly.
.google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 2;- Returns:
- This builder for chaining.
-