public static interface RedactContentRequest.ReplaceConfigOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
InfoType |
getInfoType()
Type of information to replace.
|
InfoTypeOrBuilder |
getInfoTypeOrBuilder()
Type of information to replace.
|
java.lang.String |
getReplaceWith()
Content replacing sensitive information of given type.
|
ByteString |
getReplaceWithBytes()
Content replacing sensitive information of given type.
|
boolean |
hasInfoType()
Type of information to replace.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean hasInfoType()
Type of information to replace. Only one ReplaceConfig per info_type should be provided. If ReplaceConfig does not have an info_type, the DLP API matches it against all info_types that are found but not specified in another ReplaceConfig.
.google.privacy.dlp.v2beta1.InfoType info_type = 1;
InfoType getInfoType()
Type of information to replace. Only one ReplaceConfig per info_type should be provided. If ReplaceConfig does not have an info_type, the DLP API matches it against all info_types that are found but not specified in another ReplaceConfig.
.google.privacy.dlp.v2beta1.InfoType info_type = 1;
InfoTypeOrBuilder getInfoTypeOrBuilder()
Type of information to replace. Only one ReplaceConfig per info_type should be provided. If ReplaceConfig does not have an info_type, the DLP API matches it against all info_types that are found but not specified in another ReplaceConfig.
.google.privacy.dlp.v2beta1.InfoType info_type = 1;
java.lang.String getReplaceWith()
Content replacing sensitive information of given type. Max 256 chars.
string replace_with = 2;
ByteString getReplaceWithBytes()
Content replacing sensitive information of given type. Max 256 chars.
string replace_with = 2;