Class TransformationSummary (3.53.0)

public final class TransformationSummary extends GeneratedMessageV3 implements TransformationSummaryOrBuilder

Summary of a single transformation. Only one of 'transformation', 'field_transformation', or 'record_suppress' will be set.

Protobuf type google.privacy.dlp.v2.TransformationSummary

Static Fields

FIELD_FIELD_NUMBER

public static final int FIELD_FIELD_NUMBER
Field Value
Type Description
int

FIELD_TRANSFORMATIONS_FIELD_NUMBER

public static final int FIELD_TRANSFORMATIONS_FIELD_NUMBER
Field Value
Type Description
int

INFO_TYPE_FIELD_NUMBER

public static final int INFO_TYPE_FIELD_NUMBER
Field Value
Type Description
int

RECORD_SUPPRESS_FIELD_NUMBER

public static final int RECORD_SUPPRESS_FIELD_NUMBER
Field Value
Type Description
int

RESULTS_FIELD_NUMBER

public static final int RESULTS_FIELD_NUMBER
Field Value
Type Description
int

TRANSFORMATION_FIELD_NUMBER

public static final int TRANSFORMATION_FIELD_NUMBER
Field Value
Type Description
int

TRANSFORMED_BYTES_FIELD_NUMBER

public static final int TRANSFORMED_BYTES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TransformationSummary getDefaultInstance()
Returns
Type Description
TransformationSummary

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static TransformationSummary.Builder newBuilder()
Returns
Type Description
TransformationSummary.Builder

newBuilder(TransformationSummary prototype)

public static TransformationSummary.Builder newBuilder(TransformationSummary prototype)
Parameter
Name Description
prototype TransformationSummary
Returns
Type Description
TransformationSummary.Builder

parseDelimitedFrom(InputStream input)

public static TransformationSummary parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransformationSummary
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransformationSummary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransformationSummary
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TransformationSummary parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TransformationSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TransformationSummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransformationSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TransformationSummary parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TransformationSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TransformationSummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransformationSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TransformationSummary parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TransformationSummary
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TransformationSummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransformationSummary
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TransformationSummary parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransformationSummary
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransformationSummary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransformationSummary
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TransformationSummary parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TransformationSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TransformationSummary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransformationSummary
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TransformationSummary> parser()
Returns
Type Description
Parser<TransformationSummary>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public TransformationSummary getDefaultInstanceForType()
Returns
Type Description
TransformationSummary

getField()

public FieldId getField()

Set if the transformation was limited to a specific FieldId.

.google.privacy.dlp.v2.FieldId field = 2;

Returns
Type Description
FieldId

The field.

getFieldOrBuilder()

public FieldIdOrBuilder getFieldOrBuilder()

Set if the transformation was limited to a specific FieldId.

.google.privacy.dlp.v2.FieldId field = 2;

Returns
Type Description
FieldIdOrBuilder

getFieldTransformations(int index)

public FieldTransformation getFieldTransformations(int index)

The field transformation that was applied. If multiple field transformations are requested for a single field, this list will contain all of them; otherwise, only one is supplied.

repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;

Parameter
Name Description
index int
Returns
Type Description
FieldTransformation

getFieldTransformationsCount()

public int getFieldTransformationsCount()

The field transformation that was applied. If multiple field transformations are requested for a single field, this list will contain all of them; otherwise, only one is supplied.

repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;

Returns
Type Description
int

getFieldTransformationsList()

public List<FieldTransformation> getFieldTransformationsList()

The field transformation that was applied. If multiple field transformations are requested for a single field, this list will contain all of them; otherwise, only one is supplied.

repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;

Returns
Type Description
List<FieldTransformation>

getFieldTransformationsOrBuilder(int index)

public FieldTransformationOrBuilder getFieldTransformationsOrBuilder(int index)

The field transformation that was applied. If multiple field transformations are requested for a single field, this list will contain all of them; otherwise, only one is supplied.

repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;

Parameter
Name Description
index int
Returns
Type Description
FieldTransformationOrBuilder

getFieldTransformationsOrBuilderList()

public List<? extends FieldTransformationOrBuilder> getFieldTransformationsOrBuilderList()

The field transformation that was applied. If multiple field transformations are requested for a single field, this list will contain all of them; otherwise, only one is supplied.

repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.FieldTransformationOrBuilder>

getInfoType()

public InfoType getInfoType()

Set if the transformation was limited to a specific InfoType.

.google.privacy.dlp.v2.InfoType info_type = 1;

Returns
Type Description
InfoType

The infoType.

getInfoTypeOrBuilder()

public InfoTypeOrBuilder getInfoTypeOrBuilder()

Set if the transformation was limited to a specific InfoType.

.google.privacy.dlp.v2.InfoType info_type = 1;

Returns
Type Description
InfoTypeOrBuilder

getParserForType()

public Parser<TransformationSummary> getParserForType()
Returns
Type Description
Parser<TransformationSummary>
Overrides

getRecordSuppress()

public RecordSuppression getRecordSuppress()

The specific suppression option these stats apply to.

.google.privacy.dlp.v2.RecordSuppression record_suppress = 6;

Returns
Type Description
RecordSuppression

The recordSuppress.

getRecordSuppressOrBuilder()

public RecordSuppressionOrBuilder getRecordSuppressOrBuilder()

The specific suppression option these stats apply to.

.google.privacy.dlp.v2.RecordSuppression record_suppress = 6;

Returns
Type Description
RecordSuppressionOrBuilder

getResults(int index)

public TransformationSummary.SummaryResult getResults(int index)

Collection of all transformations that took place or had an error.

repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4;

Parameter
Name Description
index int
Returns
Type Description
TransformationSummary.SummaryResult

getResultsCount()

public int getResultsCount()

Collection of all transformations that took place or had an error.

repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4;

Returns
Type Description
int

getResultsList()

public List<TransformationSummary.SummaryResult> getResultsList()

Collection of all transformations that took place or had an error.

repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4;

Returns
Type Description
List<SummaryResult>

getResultsOrBuilder(int index)

public TransformationSummary.SummaryResultOrBuilder getResultsOrBuilder(int index)

Collection of all transformations that took place or had an error.

repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4;

Parameter
Name Description
index int
Returns
Type Description
TransformationSummary.SummaryResultOrBuilder

getResultsOrBuilderList()

public List<? extends TransformationSummary.SummaryResultOrBuilder> getResultsOrBuilderList()

Collection of all transformations that took place or had an error.

repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4;

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTransformation()

public PrimitiveTransformation getTransformation()

The specific transformation these stats apply to.

.google.privacy.dlp.v2.PrimitiveTransformation transformation = 3;

Returns
Type Description
PrimitiveTransformation

The transformation.

getTransformationOrBuilder()

public PrimitiveTransformationOrBuilder getTransformationOrBuilder()

The specific transformation these stats apply to.

.google.privacy.dlp.v2.PrimitiveTransformation transformation = 3;

Returns
Type Description
PrimitiveTransformationOrBuilder

getTransformedBytes()

public long getTransformedBytes()

Total size in bytes that were transformed in some way.

int64 transformed_bytes = 7;

Returns
Type Description
long

The transformedBytes.

hasField()

public boolean hasField()

Set if the transformation was limited to a specific FieldId.

.google.privacy.dlp.v2.FieldId field = 2;

Returns
Type Description
boolean

Whether the field field is set.

hasInfoType()

public boolean hasInfoType()

Set if the transformation was limited to a specific InfoType.

.google.privacy.dlp.v2.InfoType info_type = 1;

Returns
Type Description
boolean

Whether the infoType field is set.

hasRecordSuppress()

public boolean hasRecordSuppress()

The specific suppression option these stats apply to.

.google.privacy.dlp.v2.RecordSuppression record_suppress = 6;

Returns
Type Description
boolean

Whether the recordSuppress field is set.

hasTransformation()

public boolean hasTransformation()

The specific transformation these stats apply to.

.google.privacy.dlp.v2.PrimitiveTransformation transformation = 3;

Returns
Type Description
boolean

Whether the transformation field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TransformationSummary.Builder newBuilderForType()
Returns
Type Description
TransformationSummary.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransformationSummary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TransformationSummary.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TransformationSummary.Builder toBuilder()
Returns
Type Description
TransformationSummary.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException