public static final class InfoTypeTransformations.InfoTypeTransformation extends GeneratedMessageV3 implements InfoTypeTransformations.InfoTypeTransformationOrBuilder
A transformation to apply to text that is identified as a specific
info_type.
Protobuf type google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int INFO_TYPES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int PRIMITIVE_TRANSFORMATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static InfoTypeTransformations.InfoTypeTransformation getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static InfoTypeTransformations.InfoTypeTransformation.Builder newBuilder()
public static InfoTypeTransformations.InfoTypeTransformation.Builder newBuilder(InfoTypeTransformations.InfoTypeTransformation prototype)
public static InfoTypeTransformations.InfoTypeTransformation parseDelimitedFrom(InputStream input)
public static InfoTypeTransformations.InfoTypeTransformation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static InfoTypeTransformations.InfoTypeTransformation parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static InfoTypeTransformations.InfoTypeTransformation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InfoTypeTransformations.InfoTypeTransformation parseFrom(ByteString data)
public static InfoTypeTransformations.InfoTypeTransformation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InfoTypeTransformations.InfoTypeTransformation parseFrom(CodedInputStream input)
public static InfoTypeTransformations.InfoTypeTransformation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static InfoTypeTransformations.InfoTypeTransformation parseFrom(InputStream input)
public static InfoTypeTransformations.InfoTypeTransformation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static InfoTypeTransformations.InfoTypeTransformation parseFrom(ByteBuffer data)
public static InfoTypeTransformations.InfoTypeTransformation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<InfoTypeTransformations.InfoTypeTransformation> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public InfoTypeTransformations.InfoTypeTransformation getDefaultInstanceForType()
public InfoType getInfoTypes(int index)
InfoTypes to apply the transformation to. An empty list will cause
this transformation to apply to all findings that correspond to
infoTypes that were requested in InspectConfig
.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
Parameter |
---|
Name | Description |
index | int
|
public int getInfoTypesCount()
InfoTypes to apply the transformation to. An empty list will cause
this transformation to apply to all findings that correspond to
infoTypes that were requested in InspectConfig
.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
Returns |
---|
Type | Description |
int | |
public List<InfoType> getInfoTypesList()
InfoTypes to apply the transformation to. An empty list will cause
this transformation to apply to all findings that correspond to
infoTypes that were requested in InspectConfig
.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
public InfoTypeOrBuilder getInfoTypesOrBuilder(int index)
InfoTypes to apply the transformation to. An empty list will cause
this transformation to apply to all findings that correspond to
infoTypes that were requested in InspectConfig
.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
Parameter |
---|
Name | Description |
index | int
|
public List<? extends InfoTypeOrBuilder> getInfoTypesOrBuilderList()
InfoTypes to apply the transformation to. An empty list will cause
this transformation to apply to all findings that correspond to
infoTypes that were requested in InspectConfig
.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
Returns |
---|
Type | Description |
List<? extends com.google.privacy.dlp.v2.InfoTypeOrBuilder> | |
public Parser<InfoTypeTransformations.InfoTypeTransformation> getParserForType()
Overrides
public PrimitiveTransformation getPrimitiveTransformation()
Required. Primitive transformation to apply to the infoType.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED];
public PrimitiveTransformationOrBuilder getPrimitiveTransformationOrBuilder()
Required. Primitive transformation to apply to the infoType.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED];
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public boolean hasPrimitiveTransformation()
Required. Primitive transformation to apply to the infoType.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the primitiveTransformation field is set.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public InfoTypeTransformations.InfoTypeTransformation.Builder newBuilderForType()
protected InfoTypeTransformations.InfoTypeTransformation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public InfoTypeTransformations.InfoTypeTransformation.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides