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 |
---|
Type | Description |
int | |
public static final int FIELD_TRANSFORMATIONS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int INFO_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int RECORD_SUPPRESS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int RESULTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TRANSFORMATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TRANSFORMED_BYTES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static TransformationSummary getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static TransformationSummary.Builder newBuilder()
public static TransformationSummary.Builder newBuilder(TransformationSummary prototype)
public static TransformationSummary parseDelimitedFrom(InputStream input)
public static TransformationSummary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TransformationSummary parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static TransformationSummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransformationSummary parseFrom(ByteString data)
public static TransformationSummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransformationSummary parseFrom(CodedInputStream input)
public static TransformationSummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TransformationSummary parseFrom(InputStream input)
public static TransformationSummary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TransformationSummary parseFrom(ByteBuffer data)
public static TransformationSummary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<TransformationSummary> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public TransformationSummary getDefaultInstanceForType()
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.
|
public FieldIdOrBuilder getFieldOrBuilder()
Set if the transformation was limited to a specific FieldId.
.google.privacy.dlp.v2.FieldId field = 2;
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
|
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 | |
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;
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
|
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 |
---|
Type | Description |
InfoType | The infoType.
|
public InfoTypeOrBuilder getInfoTypeOrBuilder()
Set if the transformation was limited to a specific InfoType.
.google.privacy.dlp.v2.InfoType info_type = 1;
public Parser<TransformationSummary> getParserForType()
Overrides
public RecordSuppression getRecordSuppress()
The specific suppression option these stats apply to.
.google.privacy.dlp.v2.RecordSuppression record_suppress = 6;
public RecordSuppressionOrBuilder getRecordSuppressOrBuilder()
The specific suppression option these stats apply to.
.google.privacy.dlp.v2.RecordSuppression record_suppress = 6;
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
|
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 | |
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;
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
|
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 |
---|
Type | Description |
int | |
Overrides
public PrimitiveTransformation getTransformation()
The specific transformation these stats apply to.
.google.privacy.dlp.v2.PrimitiveTransformation transformation = 3;
public PrimitiveTransformationOrBuilder getTransformationOrBuilder()
The specific transformation these stats apply to.
.google.privacy.dlp.v2.PrimitiveTransformation transformation = 3;
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()
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 |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public TransformationSummary.Builder newBuilderForType()
protected TransformationSummary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public TransformationSummary.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides