Package com.google.privacy.dlp.v2
Class TransformationDetails
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.privacy.dlp.v2.TransformationDetails
-
- All Implemented Interfaces:
TransformationDetailsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class TransformationDetails extends com.google.protobuf.GeneratedMessageV3 implements TransformationDetailsOrBuilder
Details about a single transformation. This object contains a description of the transformation, information about whether the transformation was successfully applied, and the precise location where the transformation occurred. These details are stored in a user-specified BigQuery table.
Protobuf typegoogle.privacy.dlp.v2.TransformationDetails- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTransformationDetails.BuilderDetails about a single transformation.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCONTAINER_NAME_FIELD_NUMBERstatic intRESOURCE_NAME_FIELD_NUMBERstatic intSTATUS_DETAILS_FIELD_NUMBERstatic intTRANSFORMATION_FIELD_NUMBERstatic intTRANSFORMATION_LOCATION_FIELD_NUMBERstatic intTRANSFORMED_BYTES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetContainerName()The top level name of the container where the transformation is located (this will be the source file name or table name).com.google.protobuf.ByteStringgetContainerNameBytes()The top level name of the container where the transformation is located (this will be the source file name or table name).static TransformationDetailsgetDefaultInstance()TransformationDetailsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<TransformationDetails>getParserForType()StringgetResourceName()The name of the job that completed the transformation.com.google.protobuf.ByteStringgetResourceNameBytes()The name of the job that completed the transformation.intgetSerializedSize()TransformationResultStatusgetStatusDetails()Status of the transformation, if transformation was not successful, this will specify what caused it to fail, otherwise it will show that the transformation was successful.TransformationResultStatusOrBuildergetStatusDetailsOrBuilder()Status of the transformation, if transformation was not successful, this will specify what caused it to fail, otherwise it will show that the transformation was successful.TransformationDescriptiongetTransformation(int index)Description of transformation.intgetTransformationCount()Description of transformation.List<TransformationDescription>getTransformationList()Description of transformation.TransformationLocationgetTransformationLocation()The precise location of the transformed content in the original container.TransformationLocationOrBuildergetTransformationLocationOrBuilder()The precise location of the transformed content in the original container.TransformationDescriptionOrBuildergetTransformationOrBuilder(int index)Description of transformation.List<? extends TransformationDescriptionOrBuilder>getTransformationOrBuilderList()Description of transformation.longgetTransformedBytes()The number of bytes that were transformed.inthashCode()booleanhasStatusDetails()Status of the transformation, if transformation was not successful, this will specify what caused it to fail, otherwise it will show that the transformation was successful.booleanhasTransformationLocation()The precise location of the transformed content in the original container.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static TransformationDetails.BuildernewBuilder()static TransformationDetails.BuildernewBuilder(TransformationDetails prototype)TransformationDetails.BuildernewBuilderForType()protected TransformationDetails.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static TransformationDetailsparseDelimitedFrom(InputStream input)static TransformationDetailsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransformationDetailsparseFrom(byte[] data)static TransformationDetailsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransformationDetailsparseFrom(com.google.protobuf.ByteString data)static TransformationDetailsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransformationDetailsparseFrom(com.google.protobuf.CodedInputStream input)static TransformationDetailsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransformationDetailsparseFrom(InputStream input)static TransformationDetailsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransformationDetailsparseFrom(ByteBuffer data)static TransformationDetailsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<TransformationDetails>parser()TransformationDetails.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTAINER_NAME_FIELD_NUMBER
public static final int CONTAINER_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRANSFORMATION_FIELD_NUMBER
public static final int TRANSFORMATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_DETAILS_FIELD_NUMBER
public static final int STATUS_DETAILS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRANSFORMED_BYTES_FIELD_NUMBER
public static final int TRANSFORMED_BYTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRANSFORMATION_LOCATION_FIELD_NUMBER
public static final int TRANSFORMATION_LOCATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getResourceName
public String getResourceName()
The name of the job that completed the transformation.
string resource_name = 1;- Specified by:
getResourceNamein interfaceTransformationDetailsOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()
The name of the job that completed the transformation.
string resource_name = 1;- Specified by:
getResourceNameBytesin interfaceTransformationDetailsOrBuilder- Returns:
- The bytes for resourceName.
-
getContainerName
public String getContainerName()
The top level name of the container where the transformation is located (this will be the source file name or table name).
string container_name = 2;- Specified by:
getContainerNamein interfaceTransformationDetailsOrBuilder- Returns:
- The containerName.
-
getContainerNameBytes
public com.google.protobuf.ByteString getContainerNameBytes()
The top level name of the container where the transformation is located (this will be the source file name or table name).
string container_name = 2;- Specified by:
getContainerNameBytesin interfaceTransformationDetailsOrBuilder- Returns:
- The bytes for containerName.
-
getTransformationList
public List<TransformationDescription> getTransformationList()
Description of transformation. This would only contain more than one element if there were multiple matching transformations and which one to apply was ambiguous. Not set for states that contain no transformation, currently only state that contains no transformation is TransformationResultStateType.METADATA_UNRETRIEVABLE.
repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3;- Specified by:
getTransformationListin interfaceTransformationDetailsOrBuilder
-
getTransformationOrBuilderList
public List<? extends TransformationDescriptionOrBuilder> getTransformationOrBuilderList()
Description of transformation. This would only contain more than one element if there were multiple matching transformations and which one to apply was ambiguous. Not set for states that contain no transformation, currently only state that contains no transformation is TransformationResultStateType.METADATA_UNRETRIEVABLE.
repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3;- Specified by:
getTransformationOrBuilderListin interfaceTransformationDetailsOrBuilder
-
getTransformationCount
public int getTransformationCount()
Description of transformation. This would only contain more than one element if there were multiple matching transformations and which one to apply was ambiguous. Not set for states that contain no transformation, currently only state that contains no transformation is TransformationResultStateType.METADATA_UNRETRIEVABLE.
repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3;- Specified by:
getTransformationCountin interfaceTransformationDetailsOrBuilder
-
getTransformation
public TransformationDescription getTransformation(int index)
Description of transformation. This would only contain more than one element if there were multiple matching transformations and which one to apply was ambiguous. Not set for states that contain no transformation, currently only state that contains no transformation is TransformationResultStateType.METADATA_UNRETRIEVABLE.
repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3;- Specified by:
getTransformationin interfaceTransformationDetailsOrBuilder
-
getTransformationOrBuilder
public TransformationDescriptionOrBuilder getTransformationOrBuilder(int index)
Description of transformation. This would only contain more than one element if there were multiple matching transformations and which one to apply was ambiguous. Not set for states that contain no transformation, currently only state that contains no transformation is TransformationResultStateType.METADATA_UNRETRIEVABLE.
repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3;- Specified by:
getTransformationOrBuilderin interfaceTransformationDetailsOrBuilder
-
hasStatusDetails
public boolean hasStatusDetails()
Status of the transformation, if transformation was not successful, this will specify what caused it to fail, otherwise it will show that the transformation was successful.
.google.privacy.dlp.v2.TransformationResultStatus status_details = 4;- Specified by:
hasStatusDetailsin interfaceTransformationDetailsOrBuilder- Returns:
- Whether the statusDetails field is set.
-
getStatusDetails
public TransformationResultStatus getStatusDetails()
Status of the transformation, if transformation was not successful, this will specify what caused it to fail, otherwise it will show that the transformation was successful.
.google.privacy.dlp.v2.TransformationResultStatus status_details = 4;- Specified by:
getStatusDetailsin interfaceTransformationDetailsOrBuilder- Returns:
- The statusDetails.
-
getStatusDetailsOrBuilder
public TransformationResultStatusOrBuilder getStatusDetailsOrBuilder()
Status of the transformation, if transformation was not successful, this will specify what caused it to fail, otherwise it will show that the transformation was successful.
.google.privacy.dlp.v2.TransformationResultStatus status_details = 4;- Specified by:
getStatusDetailsOrBuilderin interfaceTransformationDetailsOrBuilder
-
getTransformedBytes
public long getTransformedBytes()
The number of bytes that were transformed. If transformation was unsuccessful or did not take place because there was no content to transform, this will be zero.
int64 transformed_bytes = 5;- Specified by:
getTransformedBytesin interfaceTransformationDetailsOrBuilder- Returns:
- The transformedBytes.
-
hasTransformationLocation
public boolean hasTransformationLocation()
The precise location of the transformed content in the original container.
.google.privacy.dlp.v2.TransformationLocation transformation_location = 6;- Specified by:
hasTransformationLocationin interfaceTransformationDetailsOrBuilder- Returns:
- Whether the transformationLocation field is set.
-
getTransformationLocation
public TransformationLocation getTransformationLocation()
The precise location of the transformed content in the original container.
.google.privacy.dlp.v2.TransformationLocation transformation_location = 6;- Specified by:
getTransformationLocationin interfaceTransformationDetailsOrBuilder- Returns:
- The transformationLocation.
-
getTransformationLocationOrBuilder
public TransformationLocationOrBuilder getTransformationLocationOrBuilder()
The precise location of the transformed content in the original container.
.google.privacy.dlp.v2.TransformationLocation transformation_location = 6;- Specified by:
getTransformationLocationOrBuilderin interfaceTransformationDetailsOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static TransformationDetails parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransformationDetails parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransformationDetails parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransformationDetails parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransformationDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransformationDetails parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransformationDetails parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TransformationDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TransformationDetails parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TransformationDetails parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static TransformationDetails parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TransformationDetails parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public TransformationDetails.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static TransformationDetails.Builder newBuilder()
-
newBuilder
public static TransformationDetails.Builder newBuilder(TransformationDetails prototype)
-
toBuilder
public TransformationDetails.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TransformationDetails.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static TransformationDetails getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<TransformationDetails> parser()
-
getParserForType
public com.google.protobuf.Parser<TransformationDetails> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TransformationDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-