Package com.google.privacy.dlp.v2
Class TransformationDetails
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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
@Generated
public final class TransformationDetails
extends com.google.protobuf.GeneratedMessage
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 type
google.privacy.dlp.v2.TransformationDetails- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDetails about a single transformation.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe top level name of the container where the transformation is located (this will be the source file name or table name).com.google.protobuf.ByteStringThe top level name of the container where the transformation is located (this will be the source file name or table name).static TransformationDetailsstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<TransformationDetails>The name of the job that completed the transformation.com.google.protobuf.ByteStringThe name of the job that completed the transformation.intStatus 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.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.getTransformation(int index) Description of transformation.intDescription of transformation.Description of transformation.The precise location of the transformed content in the original container.The precise location of the transformed content in the original container.getTransformationOrBuilder(int index) Description of transformation.List<? extends TransformationDescriptionOrBuilder>Description of transformation.longThe number of bytes that were transformed.inthashCode()booleanStatus 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.booleanThe precise location of the transformed content in the original container.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(TransformationDetails prototype) protected TransformationDetails.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER- See Also:
-
CONTAINER_NAME_FIELD_NUMBER
public static final int CONTAINER_NAME_FIELD_NUMBER- See Also:
-
TRANSFORMATION_FIELD_NUMBER
public static final int TRANSFORMATION_FIELD_NUMBER- See Also:
-
STATUS_DETAILS_FIELD_NUMBER
public static final int STATUS_DETAILS_FIELD_NUMBER- See Also:
-
TRANSFORMED_BYTES_FIELD_NUMBER
public static final int TRANSFORMED_BYTES_FIELD_NUMBER- See Also:
-
TRANSFORMATION_LOCATION_FIELD_NUMBER
public static final int TRANSFORMATION_LOCATION_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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
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
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
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
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
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
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
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
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
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.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- Throws:
IOException
-
parseFrom
public static TransformationDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TransformationDetails.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-