public final class TransformationSummary extends GeneratedMessageV3 implements TransformationSummaryOrBuilder
Summary of a single tranformation. Only one of 'transformation', 'field_transformation', or 'record_suppress' will be set.Protobuf type
google.privacy.dlp.v2beta2.TransformationSummary| Modifier and Type | Class and Description |
|---|---|
static class |
TransformationSummary.Builder
Summary of a single tranformation.
|
static class |
TransformationSummary.SummaryResult
A collection that informs the user the number of times a particular
`TransformationResultCode` and error details occurred.
|
static interface |
TransformationSummary.SummaryResultOrBuilder |
static class |
TransformationSummary.TransformationResultCode
Possible outcomes of transformations.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
FIELD_FIELD_NUMBER |
static int |
FIELD_TRANSFORMATIONS_FIELD_NUMBER |
static int |
INFO_TYPE_FIELD_NUMBER |
static int |
RECORD_SUPPRESS_FIELD_NUMBER |
static int |
RESULTS_FIELD_NUMBER |
static int |
TRANSFORMATION_FIELD_NUMBER |
static int |
TRANSFORMED_BYTES_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static TransformationSummary |
getDefaultInstance() |
TransformationSummary |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
FieldId |
getField()
Set if the transformation was limited to a specific FieldId.
|
FieldIdOrBuilder |
getFieldOrBuilder()
Set if the transformation was limited to a specific FieldId.
|
FieldTransformation |
getFieldTransformations(int index)
The field transformation that was applied.
|
int |
getFieldTransformationsCount()
The field transformation that was applied.
|
java.util.List<FieldTransformation> |
getFieldTransformationsList()
The field transformation that was applied.
|
FieldTransformationOrBuilder |
getFieldTransformationsOrBuilder(int index)
The field transformation that was applied.
|
java.util.List<? extends FieldTransformationOrBuilder> |
getFieldTransformationsOrBuilderList()
The field transformation that was applied.
|
InfoType |
getInfoType()
Set if the transformation was limited to a specific info_type.
|
InfoTypeOrBuilder |
getInfoTypeOrBuilder()
Set if the transformation was limited to a specific info_type.
|
Parser<TransformationSummary> |
getParserForType() |
RecordSuppression |
getRecordSuppress()
The specific suppression option these stats apply to.
|
RecordSuppressionOrBuilder |
getRecordSuppressOrBuilder()
The specific suppression option these stats apply to.
|
TransformationSummary.SummaryResult |
getResults(int index)
repeated .google.privacy.dlp.v2beta2.TransformationSummary.SummaryResult results = 4; |
int |
getResultsCount()
repeated .google.privacy.dlp.v2beta2.TransformationSummary.SummaryResult results = 4; |
java.util.List<TransformationSummary.SummaryResult> |
getResultsList()
repeated .google.privacy.dlp.v2beta2.TransformationSummary.SummaryResult results = 4; |
TransformationSummary.SummaryResultOrBuilder |
getResultsOrBuilder(int index)
repeated .google.privacy.dlp.v2beta2.TransformationSummary.SummaryResult results = 4; |
java.util.List<? extends TransformationSummary.SummaryResultOrBuilder> |
getResultsOrBuilderList()
repeated .google.privacy.dlp.v2beta2.TransformationSummary.SummaryResult results = 4; |
int |
getSerializedSize() |
PrimitiveTransformation |
getTransformation()
The specific transformation these stats apply to.
|
PrimitiveTransformationOrBuilder |
getTransformationOrBuilder()
The specific transformation these stats apply to.
|
long |
getTransformedBytes()
Total size in bytes that were transformed in some way.
|
UnknownFieldSet |
getUnknownFields() |
boolean |
hasField()
Set if the transformation was limited to a specific FieldId.
|
int |
hashCode() |
boolean |
hasInfoType()
Set if the transformation was limited to a specific info_type.
|
boolean |
hasRecordSuppress()
The specific suppression option these stats apply to.
|
boolean |
hasTransformation()
The specific transformation these stats apply to.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TransformationSummary.Builder |
newBuilder() |
static TransformationSummary.Builder |
newBuilder(TransformationSummary prototype) |
TransformationSummary.Builder |
newBuilderForType() |
protected TransformationSummary.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static TransformationSummary |
parseDelimitedFrom(java.io.InputStream input) |
static TransformationSummary |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static TransformationSummary |
parseFrom(byte[] data) |
static TransformationSummary |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static TransformationSummary |
parseFrom(java.nio.ByteBuffer data) |
static TransformationSummary |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static TransformationSummary |
parseFrom(ByteString data) |
static TransformationSummary |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static TransformationSummary |
parseFrom(CodedInputStream input) |
static TransformationSummary |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static TransformationSummary |
parseFrom(java.io.InputStream input) |
static TransformationSummary |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<TransformationSummary> |
parser() |
TransformationSummary.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int INFO_TYPE_FIELD_NUMBER
public static final int FIELD_FIELD_NUMBER
public static final int TRANSFORMATION_FIELD_NUMBER
public static final int FIELD_TRANSFORMATIONS_FIELD_NUMBER
public static final int RECORD_SUPPRESS_FIELD_NUMBER
public static final int RESULTS_FIELD_NUMBER
public static final int TRANSFORMED_BYTES_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public boolean hasInfoType()
Set if the transformation was limited to a specific info_type.
.google.privacy.dlp.v2beta2.InfoType info_type = 1;hasInfoType in interface TransformationSummaryOrBuilderpublic InfoType getInfoType()
Set if the transformation was limited to a specific info_type.
.google.privacy.dlp.v2beta2.InfoType info_type = 1;getInfoType in interface TransformationSummaryOrBuilderpublic InfoTypeOrBuilder getInfoTypeOrBuilder()
Set if the transformation was limited to a specific info_type.
.google.privacy.dlp.v2beta2.InfoType info_type = 1;getInfoTypeOrBuilder in interface TransformationSummaryOrBuilderpublic boolean hasField()
Set if the transformation was limited to a specific FieldId.
.google.privacy.dlp.v2beta2.FieldId field = 2;hasField in interface TransformationSummaryOrBuilderpublic FieldId getField()
Set if the transformation was limited to a specific FieldId.
.google.privacy.dlp.v2beta2.FieldId field = 2;getField in interface TransformationSummaryOrBuilderpublic FieldIdOrBuilder getFieldOrBuilder()
Set if the transformation was limited to a specific FieldId.
.google.privacy.dlp.v2beta2.FieldId field = 2;getFieldOrBuilder in interface TransformationSummaryOrBuilderpublic boolean hasTransformation()
The specific transformation these stats apply to.
.google.privacy.dlp.v2beta2.PrimitiveTransformation transformation = 3;hasTransformation in interface TransformationSummaryOrBuilderpublic PrimitiveTransformation getTransformation()
The specific transformation these stats apply to.
.google.privacy.dlp.v2beta2.PrimitiveTransformation transformation = 3;getTransformation in interface TransformationSummaryOrBuilderpublic PrimitiveTransformationOrBuilder getTransformationOrBuilder()
The specific transformation these stats apply to.
.google.privacy.dlp.v2beta2.PrimitiveTransformation transformation = 3;getTransformationOrBuilder in interface TransformationSummaryOrBuilderpublic java.util.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.v2beta2.FieldTransformation field_transformations = 5;getFieldTransformationsList in interface TransformationSummaryOrBuilderpublic java.util.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.v2beta2.FieldTransformation field_transformations = 5;getFieldTransformationsOrBuilderList in interface TransformationSummaryOrBuilderpublic 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.v2beta2.FieldTransformation field_transformations = 5;getFieldTransformationsCount in interface TransformationSummaryOrBuilderpublic 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.v2beta2.FieldTransformation field_transformations = 5;getFieldTransformations in interface TransformationSummaryOrBuilderpublic 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.v2beta2.FieldTransformation field_transformations = 5;getFieldTransformationsOrBuilder in interface TransformationSummaryOrBuilderpublic boolean hasRecordSuppress()
The specific suppression option these stats apply to.
.google.privacy.dlp.v2beta2.RecordSuppression record_suppress = 6;hasRecordSuppress in interface TransformationSummaryOrBuilderpublic RecordSuppression getRecordSuppress()
The specific suppression option these stats apply to.
.google.privacy.dlp.v2beta2.RecordSuppression record_suppress = 6;getRecordSuppress in interface TransformationSummaryOrBuilderpublic RecordSuppressionOrBuilder getRecordSuppressOrBuilder()
The specific suppression option these stats apply to.
.google.privacy.dlp.v2beta2.RecordSuppression record_suppress = 6;getRecordSuppressOrBuilder in interface TransformationSummaryOrBuilderpublic java.util.List<TransformationSummary.SummaryResult> getResultsList()
repeated .google.privacy.dlp.v2beta2.TransformationSummary.SummaryResult results = 4;getResultsList in interface TransformationSummaryOrBuilderpublic java.util.List<? extends TransformationSummary.SummaryResultOrBuilder> getResultsOrBuilderList()
repeated .google.privacy.dlp.v2beta2.TransformationSummary.SummaryResult results = 4;getResultsOrBuilderList in interface TransformationSummaryOrBuilderpublic int getResultsCount()
repeated .google.privacy.dlp.v2beta2.TransformationSummary.SummaryResult results = 4;getResultsCount in interface TransformationSummaryOrBuilderpublic TransformationSummary.SummaryResult getResults(int index)
repeated .google.privacy.dlp.v2beta2.TransformationSummary.SummaryResult results = 4;getResults in interface TransformationSummaryOrBuilderpublic TransformationSummary.SummaryResultOrBuilder getResultsOrBuilder(int index)
repeated .google.privacy.dlp.v2beta2.TransformationSummary.SummaryResult results = 4;getResultsOrBuilder in interface TransformationSummaryOrBuilderpublic long getTransformedBytes()
Total size in bytes that were transformed in some way.
int64 transformed_bytes = 7;getTransformedBytes in interface TransformationSummaryOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static TransformationSummary parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static TransformationSummary parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static TransformationSummary parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static TransformationSummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static TransformationSummary parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static TransformationSummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static TransformationSummary parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static TransformationSummary parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static TransformationSummary parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static TransformationSummary parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static TransformationSummary parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static TransformationSummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic TransformationSummary.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static TransformationSummary.Builder newBuilder()
public static TransformationSummary.Builder newBuilder(TransformationSummary prototype)
public TransformationSummary.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected TransformationSummary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static TransformationSummary getDefaultInstance()
public static Parser<TransformationSummary> parser()
public Parser<TransformationSummary> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public TransformationSummary getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder