public static final class RedactContentRequest.ReplaceConfig.Builder extends GeneratedMessageV3.Builder<RedactContentRequest.ReplaceConfig.Builder> implements RedactContentRequest.ReplaceConfigOrBuilder
google.privacy.dlp.v2beta1.RedactContentRequest.ReplaceConfiggetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<RedactContentRequest.ReplaceConfig.Builder>public RedactContentRequest.ReplaceConfig.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<RedactContentRequest.ReplaceConfig.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<RedactContentRequest.ReplaceConfig.Builder>public RedactContentRequest.ReplaceConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic RedactContentRequest.ReplaceConfig build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic RedactContentRequest.ReplaceConfig buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic RedactContentRequest.ReplaceConfig.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<RedactContentRequest.ReplaceConfig.Builder>public RedactContentRequest.ReplaceConfig.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<RedactContentRequest.ReplaceConfig.Builder>public RedactContentRequest.ReplaceConfig.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<RedactContentRequest.ReplaceConfig.Builder>public RedactContentRequest.ReplaceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<RedactContentRequest.ReplaceConfig.Builder>public RedactContentRequest.ReplaceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<RedactContentRequest.ReplaceConfig.Builder>public RedactContentRequest.ReplaceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<RedactContentRequest.ReplaceConfig.Builder>public RedactContentRequest.ReplaceConfig.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<RedactContentRequest.ReplaceConfig.Builder>public RedactContentRequest.ReplaceConfig.Builder mergeFrom(RedactContentRequest.ReplaceConfig other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<RedactContentRequest.ReplaceConfig.Builder>public RedactContentRequest.ReplaceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<RedactContentRequest.ReplaceConfig.Builder>java.io.IOExceptionpublic 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;hasInfoType in interface RedactContentRequest.ReplaceConfigOrBuilderpublic 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;getInfoType in interface RedactContentRequest.ReplaceConfigOrBuilderpublic RedactContentRequest.ReplaceConfig.Builder setInfoType(InfoType value)
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;public RedactContentRequest.ReplaceConfig.Builder setInfoType(InfoType.Builder builderForValue)
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;public RedactContentRequest.ReplaceConfig.Builder mergeInfoType(InfoType value)
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;public RedactContentRequest.ReplaceConfig.Builder clearInfoType()
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;public InfoType.Builder getInfoTypeBuilder()
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;public 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;getInfoTypeOrBuilder in interface RedactContentRequest.ReplaceConfigOrBuilderpublic java.lang.String getReplaceWith()
Content replacing sensitive information of given type. Max 256 chars.
string replace_with = 2;getReplaceWith in interface RedactContentRequest.ReplaceConfigOrBuilderpublic ByteString getReplaceWithBytes()
Content replacing sensitive information of given type. Max 256 chars.
string replace_with = 2;getReplaceWithBytes in interface RedactContentRequest.ReplaceConfigOrBuilderpublic RedactContentRequest.ReplaceConfig.Builder setReplaceWith(java.lang.String value)
Content replacing sensitive information of given type. Max 256 chars.
string replace_with = 2;public RedactContentRequest.ReplaceConfig.Builder clearReplaceWith()
Content replacing sensitive information of given type. Max 256 chars.
string replace_with = 2;public RedactContentRequest.ReplaceConfig.Builder setReplaceWithBytes(ByteString value)
Content replacing sensitive information of given type. Max 256 chars.
string replace_with = 2;public final RedactContentRequest.ReplaceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<RedactContentRequest.ReplaceConfig.Builder>public final RedactContentRequest.ReplaceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<RedactContentRequest.ReplaceConfig.Builder>