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.v2.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, unknownFields
memoizedSize
memoizedHashCode
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.v2.TransformationSummary.SummaryResult results = 4; |
int |
getResultsCount()
repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; |
java.util.List<TransformationSummary.SummaryResult> |
getResultsList()
repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; |
TransformationSummary.SummaryResultOrBuilder |
getResultsOrBuilder(int index)
repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; |
java.util.List<? extends TransformationSummary.SummaryResultOrBuilder> |
getResultsOrBuilderList()
repeated .google.privacy.dlp.v2.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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public boolean hasInfoType()
Set if the transformation was limited to a specific info_type.
.google.privacy.dlp.v2.InfoType info_type = 1;
hasInfoType
in interface TransformationSummaryOrBuilder
public InfoType getInfoType()
Set if the transformation was limited to a specific info_type.
.google.privacy.dlp.v2.InfoType info_type = 1;
getInfoType
in interface TransformationSummaryOrBuilder
public InfoTypeOrBuilder getInfoTypeOrBuilder()
Set if the transformation was limited to a specific info_type.
.google.privacy.dlp.v2.InfoType info_type = 1;
getInfoTypeOrBuilder
in interface TransformationSummaryOrBuilder
public boolean hasField()
Set if the transformation was limited to a specific FieldId.
.google.privacy.dlp.v2.FieldId field = 2;
hasField
in interface TransformationSummaryOrBuilder
public FieldId getField()
Set if the transformation was limited to a specific FieldId.
.google.privacy.dlp.v2.FieldId field = 2;
getField
in interface TransformationSummaryOrBuilder
public FieldIdOrBuilder getFieldOrBuilder()
Set if the transformation was limited to a specific FieldId.
.google.privacy.dlp.v2.FieldId field = 2;
getFieldOrBuilder
in interface TransformationSummaryOrBuilder
public boolean hasTransformation()
The specific transformation these stats apply to.
.google.privacy.dlp.v2.PrimitiveTransformation transformation = 3;
hasTransformation
in interface TransformationSummaryOrBuilder
public PrimitiveTransformation getTransformation()
The specific transformation these stats apply to.
.google.privacy.dlp.v2.PrimitiveTransformation transformation = 3;
getTransformation
in interface TransformationSummaryOrBuilder
public PrimitiveTransformationOrBuilder getTransformationOrBuilder()
The specific transformation these stats apply to.
.google.privacy.dlp.v2.PrimitiveTransformation transformation = 3;
getTransformationOrBuilder
in interface TransformationSummaryOrBuilder
public 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.v2.FieldTransformation field_transformations = 5;
getFieldTransformationsList
in interface TransformationSummaryOrBuilder
public 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.v2.FieldTransformation field_transformations = 5;
getFieldTransformationsOrBuilderList
in interface TransformationSummaryOrBuilder
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;
getFieldTransformationsCount
in interface TransformationSummaryOrBuilder
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;
getFieldTransformations
in interface TransformationSummaryOrBuilder
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;
getFieldTransformationsOrBuilder
in interface TransformationSummaryOrBuilder
public boolean hasRecordSuppress()
The specific suppression option these stats apply to.
.google.privacy.dlp.v2.RecordSuppression record_suppress = 6;
hasRecordSuppress
in interface TransformationSummaryOrBuilder
public RecordSuppression getRecordSuppress()
The specific suppression option these stats apply to.
.google.privacy.dlp.v2.RecordSuppression record_suppress = 6;
getRecordSuppress
in interface TransformationSummaryOrBuilder
public RecordSuppressionOrBuilder getRecordSuppressOrBuilder()
The specific suppression option these stats apply to.
.google.privacy.dlp.v2.RecordSuppression record_suppress = 6;
getRecordSuppressOrBuilder
in interface TransformationSummaryOrBuilder
public java.util.List<TransformationSummary.SummaryResult> getResultsList()
repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4;
getResultsList
in interface TransformationSummaryOrBuilder
public java.util.List<? extends TransformationSummary.SummaryResultOrBuilder> getResultsOrBuilderList()
repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4;
getResultsOrBuilderList
in interface TransformationSummaryOrBuilder
public int getResultsCount()
repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4;
getResultsCount
in interface TransformationSummaryOrBuilder
public TransformationSummary.SummaryResult getResults(int index)
repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4;
getResults
in interface TransformationSummaryOrBuilder
public TransformationSummary.SummaryResultOrBuilder getResultsOrBuilder(int index)
repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4;
getResultsOrBuilder
in interface TransformationSummaryOrBuilder
public long getTransformedBytes()
Total size in bytes that were transformed in some way.
int64 transformed_bytes = 7;
getTransformedBytes
in interface TransformationSummaryOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static TransformationSummary parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static TransformationSummary parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static TransformationSummary parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static TransformationSummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static TransformationSummary parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static TransformationSummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static TransformationSummary parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static TransformationSummary parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TransformationSummary parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static TransformationSummary parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TransformationSummary parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static TransformationSummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public TransformationSummary.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static TransformationSummary.Builder newBuilder()
public static TransformationSummary.Builder newBuilder(TransformationSummary prototype)
public TransformationSummary.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected TransformationSummary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static TransformationSummary getDefaultInstance()
public static Parser<TransformationSummary> parser()
public Parser<TransformationSummary> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public TransformationSummary getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder