public static final class InfoTypeTransformations.Builder extends GeneratedMessage.Builder<InfoTypeTransformations.Builder> implements InfoTypeTransformationsOrBuilder
A type of transformation that will scan unstructured text and
apply various PrimitiveTransformations 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.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
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 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 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 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 GeneratedMessage.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 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 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];