Package com.google.privacy.dlp.v2
Class DiscoveryCloudSqlConditions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DiscoveryCloudSqlConditions.Builder>
com.google.privacy.dlp.v2.DiscoveryCloudSqlConditions.Builder
- All Implemented Interfaces:
DiscoveryCloudSqlConditionsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DiscoveryCloudSqlConditions
public static final class DiscoveryCloudSqlConditions.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DiscoveryCloudSqlConditions.Builder>
implements DiscoveryCloudSqlConditionsOrBuilder
Requirements that must be true before a table is profiled for the first time.Protobuf type
google.privacy.dlp.v2.DiscoveryCloudSqlConditions-
Method Summary
Modifier and TypeMethodDescriptionaddAllDatabaseEngines(Iterable<? extends DiscoveryCloudSqlConditions.DatabaseEngine> values) Optional.addAllDatabaseEnginesValue(Iterable<Integer> values) Optional.addAllTypes(Iterable<? extends DiscoveryCloudSqlConditions.DatabaseResourceType> values) Data profiles will only be generated for the database resource types specified in this field.addAllTypesValue(Iterable<Integer> values) Data profiles will only be generated for the database resource types specified in this field.Optional.addDatabaseEnginesValue(int value) Optional.Data profiles will only be generated for the database resource types specified in this field.addTypesValue(int value) Data profiles will only be generated for the database resource types specified in this field.build()clear()Optional.Data profiles will only be generated for the database resource types specified in this field.getDatabaseEngines(int index) Optional.intOptional.Optional.intgetDatabaseEnginesValue(int index) Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetTypes(int index) Data profiles will only be generated for the database resource types specified in this field.intData profiles will only be generated for the database resource types specified in this field.Data profiles will only be generated for the database resource types specified in this field.intgetTypesValue(int index) Data profiles will only be generated for the database resource types specified in this field.Data profiles will only be generated for the database resource types specified in this field.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDatabaseEngines(int index, DiscoveryCloudSqlConditions.DatabaseEngine value) Optional.setDatabaseEnginesValue(int index, int value) Optional.setTypes(int index, DiscoveryCloudSqlConditions.DatabaseResourceType value) Data profiles will only be generated for the database resource types specified in this field.setTypesValue(int index, int value) Data profiles will only be generated for the database resource types specified in this field.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<DiscoveryCloudSqlConditions.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<DiscoveryCloudSqlConditions.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<DiscoveryCloudSqlConditions.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<DiscoveryCloudSqlConditions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DiscoveryCloudSqlConditions.Builder>
-
mergeFrom
public DiscoveryCloudSqlConditions.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<DiscoveryCloudSqlConditions.Builder>- Throws:
IOException
-
getDatabaseEnginesList
Optional. Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseEngine database_engines = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDatabaseEnginesListin interfaceDiscoveryCloudSqlConditionsOrBuilder- Returns:
- A list containing the databaseEngines.
-
getDatabaseEnginesCount
public int getDatabaseEnginesCount()Optional. Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseEngine database_engines = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDatabaseEnginesCountin interfaceDiscoveryCloudSqlConditionsOrBuilder- Returns:
- The count of databaseEngines.
-
getDatabaseEngines
Optional. Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseEngine database_engines = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDatabaseEnginesin interfaceDiscoveryCloudSqlConditionsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The databaseEngines at the given index.
-
setDatabaseEngines
public DiscoveryCloudSqlConditions.Builder setDatabaseEngines(int index, DiscoveryCloudSqlConditions.DatabaseEngine value) Optional. Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseEngine database_engines = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The databaseEngines to set.- Returns:
- This builder for chaining.
-
addDatabaseEngines
public DiscoveryCloudSqlConditions.Builder addDatabaseEngines(DiscoveryCloudSqlConditions.DatabaseEngine value) Optional. Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseEngine database_engines = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The databaseEngines to add.- Returns:
- This builder for chaining.
-
addAllDatabaseEngines
public DiscoveryCloudSqlConditions.Builder addAllDatabaseEngines(Iterable<? extends DiscoveryCloudSqlConditions.DatabaseEngine> values) Optional. Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseEngine database_engines = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The databaseEngines to add.- Returns:
- This builder for chaining.
-
clearDatabaseEngines
Optional. Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseEngine database_engines = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getDatabaseEnginesValueList
Optional. Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseEngine database_engines = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDatabaseEnginesValueListin interfaceDiscoveryCloudSqlConditionsOrBuilder- Returns:
- A list containing the enum numeric values on the wire for databaseEngines.
-
getDatabaseEnginesValue
public int getDatabaseEnginesValue(int index) Optional. Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseEngine database_engines = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDatabaseEnginesValuein interfaceDiscoveryCloudSqlConditionsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of databaseEngines at the given index.
-
setDatabaseEnginesValue
Optional. Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseEngine database_engines = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for databaseEngines to set.- Returns:
- This builder for chaining.
-
addDatabaseEnginesValue
Optional. Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseEngine database_engines = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for databaseEngines to add.- Returns:
- This builder for chaining.
-
addAllDatabaseEnginesValue
Optional. Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseEngine database_engines = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The enum numeric values on the wire for databaseEngines to add.- Returns:
- This builder for chaining.
-
getTypesList
Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseResourceType types = 3;- Specified by:
getTypesListin interfaceDiscoveryCloudSqlConditionsOrBuilder- Returns:
- A list containing the types.
-
getTypesCount
public int getTypesCount()Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseResourceType types = 3;- Specified by:
getTypesCountin interfaceDiscoveryCloudSqlConditionsOrBuilder- Returns:
- The count of types.
-
getTypes
Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseResourceType types = 3;- Specified by:
getTypesin interfaceDiscoveryCloudSqlConditionsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The types at the given index.
-
setTypes
public DiscoveryCloudSqlConditions.Builder setTypes(int index, DiscoveryCloudSqlConditions.DatabaseResourceType value) Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseResourceType types = 3;- Parameters:
index- The index to set the value at.value- The types to set.- Returns:
- This builder for chaining.
-
addTypes
public DiscoveryCloudSqlConditions.Builder addTypes(DiscoveryCloudSqlConditions.DatabaseResourceType value) Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseResourceType types = 3;- Parameters:
value- The types to add.- Returns:
- This builder for chaining.
-
addAllTypes
public DiscoveryCloudSqlConditions.Builder addAllTypes(Iterable<? extends DiscoveryCloudSqlConditions.DatabaseResourceType> values) Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseResourceType types = 3;- Parameters:
values- The types to add.- Returns:
- This builder for chaining.
-
clearTypes
Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseResourceType types = 3;- Returns:
- This builder for chaining.
-
getTypesValueList
Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseResourceType types = 3;- Specified by:
getTypesValueListin interfaceDiscoveryCloudSqlConditionsOrBuilder- Returns:
- A list containing the enum numeric values on the wire for types.
-
getTypesValue
public int getTypesValue(int index) Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseResourceType types = 3;- Specified by:
getTypesValuein interfaceDiscoveryCloudSqlConditionsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of types at the given index.
-
setTypesValue
Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseResourceType types = 3;- 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
Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseResourceType types = 3;- Parameters:
value- The enum numeric value on the wire for types to add.- Returns:
- This builder for chaining.
-
addAllTypesValue
Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseResourceType types = 3;- Parameters:
values- The enum numeric values on the wire for types to add.- Returns:
- This builder for chaining.
-