public static final class InfoTypeTransformations.Builder extends GeneratedMessageV3.Builder<InfoTypeTransformations.Builder> implements InfoTypeTransformationsOrBuilder
A type of transformation that will scan unstructured text and
apply various PrimitiveTransformation
s to each finding, where the
transformation is applied to only values that were identified as a specific
info_type.
Protobuf type google.privacy.dlp.v2.InfoTypeTransformations
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public InfoTypeTransformations.Builder addAllTransformations(Iterable<? extends InfoTypeTransformations.InfoTypeTransformation> values)
Required. Transformation for each infoType. Cannot specify more than one
for a given infoType.
repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation>
|
public InfoTypeTransformations.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public InfoTypeTransformations.Builder addTransformations(InfoTypeTransformations.InfoTypeTransformation value)
Required. Transformation for each infoType. Cannot specify more than one
for a given infoType.
repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
public InfoTypeTransformations.Builder addTransformations(InfoTypeTransformations.InfoTypeTransformation.Builder builderForValue)
Required. Transformation for each infoType. Cannot specify more than one
for a given infoType.
repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
public InfoTypeTransformations.Builder addTransformations(int index, InfoTypeTransformations.InfoTypeTransformation value)
Required. Transformation for each infoType. Cannot specify more than one
for a given infoType.
repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
public InfoTypeTransformations.Builder addTransformations(int index, InfoTypeTransformations.InfoTypeTransformation.Builder builderForValue)
Required. Transformation for each infoType. Cannot specify more than one
for a given infoType.
repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
public InfoTypeTransformations.InfoTypeTransformation.Builder addTransformationsBuilder()
Required. Transformation for each infoType. Cannot specify more than one
for a given infoType.
repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
public InfoTypeTransformations.InfoTypeTransformation.Builder addTransformationsBuilder(int index)
Required. Transformation for each infoType. Cannot specify more than one
for a given infoType.
repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
public InfoTypeTransformations build()
public InfoTypeTransformations buildPartial()
public InfoTypeTransformations.Builder clear()
Overrides
public InfoTypeTransformations.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public InfoTypeTransformations.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public InfoTypeTransformations.Builder clearTransformations()
Required. Transformation for each infoType. Cannot specify more than one
for a given infoType.
repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
public InfoTypeTransformations.Builder clone()
Overrides
public InfoTypeTransformations getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public InfoTypeTransformations.InfoTypeTransformation getTransformations(int index)
Required. Transformation for each infoType. Cannot specify more than one
for a given infoType.
repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
public InfoTypeTransformations.InfoTypeTransformation.Builder getTransformationsBuilder(int index)
Required. Transformation for each infoType. Cannot specify more than one
for a given infoType.
repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
public List<InfoTypeTransformations.InfoTypeTransformation.Builder> getTransformationsBuilderList()
Required. Transformation for each infoType. Cannot specify more than one
for a given infoType.
repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
public int getTransformationsCount()
Required. Transformation for each infoType. Cannot specify more than one
for a given infoType.
repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
int | |
public List<InfoTypeTransformations.InfoTypeTransformation> getTransformationsList()
Required. Transformation for each infoType. Cannot specify more than one
for a given infoType.
repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
public InfoTypeTransformations.InfoTypeTransformationOrBuilder getTransformationsOrBuilder(int index)
Required. Transformation for each infoType. Cannot specify more than one
for a given infoType.
repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
public List<? extends InfoTypeTransformations.InfoTypeTransformationOrBuilder> getTransformationsOrBuilderList()
Required. Transformation for each infoType. Cannot specify more than one
for a given infoType.
repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
List<? extends com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public InfoTypeTransformations.Builder mergeFrom(InfoTypeTransformations other)
public InfoTypeTransformations.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public InfoTypeTransformations.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final InfoTypeTransformations.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public InfoTypeTransformations.Builder removeTransformations(int index)
Required. Transformation for each infoType. Cannot specify more than one
for a given infoType.
repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
public InfoTypeTransformations.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public InfoTypeTransformations.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public InfoTypeTransformations.Builder setTransformations(int index, InfoTypeTransformations.InfoTypeTransformation value)
Required. Transformation for each infoType. Cannot specify more than one
for a given infoType.
repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
public InfoTypeTransformations.Builder setTransformations(int index, InfoTypeTransformations.InfoTypeTransformation.Builder builderForValue)
Required. Transformation for each infoType. Cannot specify more than one
for a given infoType.
repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
public final InfoTypeTransformations.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides