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
public static final int FIELD_FIELD_NUMBER
Field Value
public static final int FIELD_TRANSFORMATIONS_FIELD_NUMBER
Field Value
public static final int INFO_TYPE_FIELD_NUMBER
Field Value
public static final int RECORD_SUPPRESS_FIELD_NUMBER
Field Value
public static final int RESULTS_FIELD_NUMBER
Field Value
public static final int TRANSFORMATION_FIELD_NUMBER
Field Value
public static final int TRANSFORMED_BYTES_FIELD_NUMBER
Field Value
Static Methods
public static TransformationSummary getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static TransformationSummary.Builder newBuilder()
Returns
public static TransformationSummary.Builder newBuilder(TransformationSummary prototype)
Parameter
Returns
public static TransformationSummary parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransformationSummary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransformationSummary parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static TransformationSummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransformationSummary parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static TransformationSummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransformationSummary parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TransformationSummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransformationSummary parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransformationSummary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransformationSummary parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static TransformationSummary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<TransformationSummary> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public TransformationSummary getDefaultInstanceForType()
Returns
public FieldId getField()
Set if the transformation was limited to a specific FieldId.
.google.privacy.dlp.v2.FieldId field = 2;
Returns
public FieldIdOrBuilder getFieldOrBuilder()
Set if the transformation was limited to a specific FieldId.
.google.privacy.dlp.v2.FieldId field = 2;
Returns
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
Returns
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
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
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
Returns
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> | |
public InfoType getInfoType()
Set if the transformation was limited to a specific InfoType.
.google.privacy.dlp.v2.InfoType info_type = 1;
Returns
public InfoTypeOrBuilder getInfoTypeOrBuilder()
Set if the transformation was limited to a specific InfoType.
.google.privacy.dlp.v2.InfoType info_type = 1;
Returns
public Parser<TransformationSummary> getParserForType()
Returns
Overrides
public RecordSuppression getRecordSuppress()
The specific suppression option these stats apply to.
.google.privacy.dlp.v2.RecordSuppression record_suppress = 6;
Returns
public RecordSuppressionOrBuilder getRecordSuppressOrBuilder()
The specific suppression option these stats apply to.
.google.privacy.dlp.v2.RecordSuppression record_suppress = 6;
Returns
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
Returns
public int getResultsCount()
Collection of all transformations that took place or had an error.
repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4;
Returns
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
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
Returns
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> | |
public int getSerializedSize()
Returns
Overrides
public PrimitiveTransformation getTransformation()
The specific transformation these stats apply to.
.google.privacy.dlp.v2.PrimitiveTransformation transformation = 3;
Returns
public PrimitiveTransformationOrBuilder getTransformationOrBuilder()
The specific transformation these stats apply to.
.google.privacy.dlp.v2.PrimitiveTransformation transformation = 3;
Returns
public long getTransformedBytes()
Total size in bytes that were transformed in some way.
int64 transformed_bytes = 7;
Returns
Type | Description |
long | The transformedBytes.
|
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
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.
|
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.
|
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public TransformationSummary.Builder newBuilderForType()
Returns
protected TransformationSummary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public TransformationSummary.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions