Package com.google.privacy.dlp.v2
Interface InfoTypeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InfoType,InfoType.Builder
@Generated
public interface InfoTypeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Name of the information type.com.google.protobuf.ByteStringName of the information type.Optional custom sensitivity for this InfoType.Optional custom sensitivity for this InfoType.Optional version name for this InfoType.com.google.protobuf.ByteStringOptional version name for this InfoType.booleanOptional custom sensitivity for this InfoType.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern `[A-Za-z0-9$_-]{1,64}`.string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern `[A-Za-z0-9$_-]{1,64}`.string name = 1;- Returns:
- The bytes for name.
-
getVersion
String getVersion()Optional version name for this InfoType.
string version = 2;- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()Optional version name for this InfoType.
string version = 2;- Returns:
- The bytes for version.
-
hasSensitivityScore
boolean hasSensitivityScore()Optional custom sensitivity for this InfoType. This only applies to data profiling.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 3;- Returns:
- Whether the sensitivityScore field is set.
-
getSensitivityScore
SensitivityScore getSensitivityScore()Optional custom sensitivity for this InfoType. This only applies to data profiling.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 3;- Returns:
- The sensitivityScore.
-
getSensitivityScoreOrBuilder
SensitivityScoreOrBuilder getSensitivityScoreOrBuilder()Optional custom sensitivity for this InfoType. This only applies to data profiling.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 3;
-