Class ReplaceWithInfoTypeConfig.Builder (3.15.0)

public static final class ReplaceWithInfoTypeConfig.Builder extends GeneratedMessageV3.Builder<ReplaceWithInfoTypeConfig.Builder> implements ReplaceWithInfoTypeConfigOrBuilder

Replace each matching finding with the name of the info_type.

Protobuf type google.privacy.dlp.v2.ReplaceWithInfoTypeConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReplaceWithInfoTypeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReplaceWithInfoTypeConfig.Builder
Overrides

build()

public ReplaceWithInfoTypeConfig build()
Returns
TypeDescription
ReplaceWithInfoTypeConfig

buildPartial()

public ReplaceWithInfoTypeConfig buildPartial()
Returns
TypeDescription
ReplaceWithInfoTypeConfig

clear()

public ReplaceWithInfoTypeConfig.Builder clear()
Returns
TypeDescription
ReplaceWithInfoTypeConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ReplaceWithInfoTypeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ReplaceWithInfoTypeConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReplaceWithInfoTypeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ReplaceWithInfoTypeConfig.Builder
Overrides

clone()

public ReplaceWithInfoTypeConfig.Builder clone()
Returns
TypeDescription
ReplaceWithInfoTypeConfig.Builder
Overrides

getDefaultInstanceForType()

public ReplaceWithInfoTypeConfig getDefaultInstanceForType()
Returns
TypeDescription
ReplaceWithInfoTypeConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReplaceWithInfoTypeConfig other)

public ReplaceWithInfoTypeConfig.Builder mergeFrom(ReplaceWithInfoTypeConfig other)
Parameter
NameDescription
otherReplaceWithInfoTypeConfig
Returns
TypeDescription
ReplaceWithInfoTypeConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReplaceWithInfoTypeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplaceWithInfoTypeConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ReplaceWithInfoTypeConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ReplaceWithInfoTypeConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReplaceWithInfoTypeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReplaceWithInfoTypeConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ReplaceWithInfoTypeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReplaceWithInfoTypeConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ReplaceWithInfoTypeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReplaceWithInfoTypeConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReplaceWithInfoTypeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReplaceWithInfoTypeConfig.Builder
Overrides