public static final class DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder extends GeneratedMessage.Builder<DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder> implements DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadenceOrBuilderHow frequently to modify the profile when the table's schema is modified.
Protobuf type
google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllTypes(Iterable<? extends DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification> values)
public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder addAllTypes(Iterable<? extends DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification> values)The types of schema modifications to consider. Defaults to NEW_COLUMNS.
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification types = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification>The types to add. |
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder |
This builder for chaining. |
addAllTypesValue(Iterable<Integer> values)
public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder addAllTypesValue(Iterable<Integer> values)The types of schema modifications to consider. Defaults to NEW_COLUMNS.
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification types = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<Integer>The enum numeric values on the wire for types to add. |
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder |
This builder for chaining. |
addTypes(DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification value)
public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder addTypes(DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification value)The types of schema modifications to consider. Defaults to NEW_COLUMNS.
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification types = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModificationThe types to add. |
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder |
This builder for chaining. |
addTypesValue(int value)
public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder addTypesValue(int value)The types of schema modifications to consider. Defaults to NEW_COLUMNS.
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification types = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for types to add. |
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder |
This builder for chaining. |
build()
public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence build()| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence |
|
buildPartial()
public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence buildPartial()| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence |
|
clear()
public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder clear()| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder |
|
clearFrequency()
public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder clearFrequency()Frequency to regenerate data profiles when the schema is modified. Defaults to monthly.
.google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 2;
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder |
This builder for chaining. |
clearTypes()
public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder clearTypes()The types of schema modifications to consider. Defaults to NEW_COLUMNS.
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification types = 1;
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFrequency()
public DataProfileUpdateFrequency getFrequency()Frequency to regenerate data profiles when the schema is modified. Defaults to monthly.
.google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 2;
| Returns | |
|---|---|
| Type | Description |
DataProfileUpdateFrequency |
The frequency. |
getFrequencyValue()
public int getFrequencyValue()Frequency to regenerate data profiles when the schema is modified. Defaults to monthly.
.google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for frequency. |
getTypes(int index)
public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification getTypes(int index)The types of schema modifications to consider. Defaults to NEW_COLUMNS.
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification types = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification |
The types at the given index. |
getTypesCount()
public int getTypesCount()The types of schema modifications to consider. Defaults to NEW_COLUMNS.
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification types = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count of types. |
getTypesList()
public List<DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification> getTypesList()The types of schema modifications to consider. Defaults to NEW_COLUMNS.
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification types = 1;
| Returns | |
|---|---|
| Type | Description |
List<CloudSqlSchemaModification> |
A list containing the types. |
getTypesValue(int index)
public int getTypesValue(int index)The types of schema modifications to consider. Defaults to NEW_COLUMNS.
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification types = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of types at the given index. |
getTypesValueList()
public List<Integer> getTypesValueList()The types of schema modifications to consider. Defaults to NEW_COLUMNS.
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification types = 1;
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for types. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence other)
public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder mergeFrom(DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence other)| Parameter | |
|---|---|
| Name | Description |
other |
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence |
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder |
|
setFrequency(DataProfileUpdateFrequency value)
public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder setFrequency(DataProfileUpdateFrequency value)Frequency to regenerate data profiles when the schema is modified. Defaults to monthly.
.google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
DataProfileUpdateFrequencyThe frequency to set. |
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder |
This builder for chaining. |
setFrequencyValue(int value)
public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder setFrequencyValue(int value)Frequency to regenerate data profiles when the schema is modified. Defaults to monthly.
.google.privacy.dlp.v2.DataProfileUpdateFrequency frequency = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for frequency to set. |
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder |
This builder for chaining. |
setTypes(int index, DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification value)
public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder setTypes(int index, DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification value)The types of schema modifications to consider. Defaults to NEW_COLUMNS.
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification types = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModificationThe types to set. |
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder |
This builder for chaining. |
setTypesValue(int index, int value)
public DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder setTypesValue(int index, int value)The types of schema modifications to consider. Defaults to NEW_COLUMNS.
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification types = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
intThe enum numeric value on the wire for types to set. |
| Returns | |
|---|---|
| Type | Description |
DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.Builder |
This builder for chaining. |