Class TransformationSummary (3.24.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
TypeDescription
int

FIELD_TRANSFORMATIONS_FIELD_NUMBER

public static final int FIELD_TRANSFORMATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

INFO_TYPE_FIELD_NUMBER

public static final int INFO_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

RECORD_SUPPRESS_FIELD_NUMBER

public static final int RECORD_SUPPRESS_FIELD_NUMBER
Field Value
TypeDescription
int

RESULTS_FIELD_NUMBER

public static final int RESULTS_FIELD_NUMBER
Field Value
TypeDescription
int

TRANSFORMATION_FIELD_NUMBER

public static final int TRANSFORMATION_FIELD_NUMBER
Field Value
TypeDescription
int

TRANSFORMED_BYTES_FIELD_NUMBER

public static final int TRANSFORMED_BYTES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TransformationSummary getDefaultInstance()
Returns
TypeDescription
TransformationSummary

getDescriptor()

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

newBuilder()

public static TransformationSummary.Builder newBuilder()
Returns
TypeDescription
TransformationSummary.Builder

newBuilder(TransformationSummary prototype)

public static TransformationSummary.Builder newBuilder(TransformationSummary prototype)
Parameter
NameDescription
prototypeTransformationSummary
Returns
TypeDescription
TransformationSummary.Builder

parseDelimitedFrom(InputStream input)

public static TransformationSummary parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransformationSummary
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransformationSummary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransformationSummary
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TransformationSummary parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TransformationSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TransformationSummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransformationSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TransformationSummary parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TransformationSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TransformationSummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransformationSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TransformationSummary parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TransformationSummary
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TransformationSummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransformationSummary
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TransformationSummary parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransformationSummary
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransformationSummary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransformationSummary
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TransformationSummary parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TransformationSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TransformationSummary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransformationSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TransformationSummary> parser()
Returns
TypeDescription
Parser<TransformationSummary>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public TransformationSummary getDefaultInstanceForType()
Returns
TypeDescription
TransformationSummary

getField()

public FieldId getField()

Set if the transformation was limited to a specific FieldId.

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

Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
InfoTypeOrBuilder

getParserForType()

public Parser<TransformationSummary> getParserForType()
Returns
TypeDescription
Parser<TransformationSummary>
Overrides

getRecordSuppress()

public RecordSuppression getRecordSuppress()

The specific suppression option these stats apply to.

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

Returns
TypeDescription
RecordSuppression

The recordSuppress.

getRecordSuppressOrBuilder()

public RecordSuppressionOrBuilder getRecordSuppressOrBuilder()

The specific suppression option these stats apply to.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTransformation()

public PrimitiveTransformation getTransformation()

The specific transformation these stats apply to.

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

Returns
TypeDescription
PrimitiveTransformation

The transformation.

getTransformationOrBuilder()

public PrimitiveTransformationOrBuilder getTransformationOrBuilder()

The specific transformation these stats apply to.

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

Returns
TypeDescription
PrimitiveTransformationOrBuilder

getTransformedBytes()

public long getTransformedBytes()

Total size in bytes that were transformed in some way.

int64 transformed_bytes = 7;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the transformation field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TransformationSummary.Builder newBuilderForType()
Returns
TypeDescription
TransformationSummary.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransformationSummary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TransformationSummary.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TransformationSummary.Builder toBuilder()
Returns
TypeDescription
TransformationSummary.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException