Class TransformationDetails (3.48.0)

public final class TransformationDetails extends 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 type google.privacy.dlp.v2.TransformationDetails

Static Fields

CONTAINER_NAME_FIELD_NUMBER

public static final int CONTAINER_NAME_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_NAME_FIELD_NUMBER

public static final int RESOURCE_NAME_FIELD_NUMBER
Field Value
Type Description
int

STATUS_DETAILS_FIELD_NUMBER

public static final int STATUS_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

TRANSFORMATION_FIELD_NUMBER

public static final int TRANSFORMATION_FIELD_NUMBER
Field Value
Type Description
int

TRANSFORMATION_LOCATION_FIELD_NUMBER

public static final int TRANSFORMATION_LOCATION_FIELD_NUMBER
Field Value
Type Description
int

TRANSFORMED_BYTES_FIELD_NUMBER

public static final int TRANSFORMED_BYTES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TransformationDetails getDefaultInstance()
Returns
Type Description
TransformationDetails

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static TransformationDetails.Builder newBuilder()
Returns
Type Description
TransformationDetails.Builder

newBuilder(TransformationDetails prototype)

public static TransformationDetails.Builder newBuilder(TransformationDetails prototype)
Parameter
Name Description
prototype TransformationDetails
Returns
Type Description
TransformationDetails.Builder

parseDelimitedFrom(InputStream input)

public static TransformationDetails parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransformationDetails
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransformationDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransformationDetails
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TransformationDetails parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TransformationDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TransformationDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransformationDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TransformationDetails parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TransformationDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TransformationDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransformationDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TransformationDetails parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TransformationDetails
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TransformationDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransformationDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TransformationDetails parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransformationDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransformationDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransformationDetails
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TransformationDetails parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TransformationDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TransformationDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransformationDetails
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TransformationDetails> parser()
Returns
Type Description
Parser<TransformationDetails>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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;

Returns
Type Description
String

The containerName.

getContainerNameBytes()

public 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;

Returns
Type Description
ByteString

The bytes for containerName.

getDefaultInstanceForType()

public TransformationDetails getDefaultInstanceForType()
Returns
Type Description
TransformationDetails

getParserForType()

public Parser<TransformationDetails> getParserForType()
Returns
Type Description
Parser<TransformationDetails>
Overrides

getResourceName()

public String getResourceName()

The name of the job that completed the transformation.

string resource_name = 1;

Returns
Type Description
String

The resourceName.

getResourceNameBytes()

public ByteString getResourceNameBytes()

The name of the job that completed the transformation.

string resource_name = 1;

Returns
Type Description
ByteString

The bytes for resourceName.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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;

Returns
Type Description
TransformationResultStatus

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;

Returns
Type Description
TransformationResultStatusOrBuilder

getTransformation(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
TransformationDescription

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;

Returns
Type Description
int

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;

Returns
Type Description
List<TransformationDescription>

getTransformationLocation()

public TransformationLocation getTransformationLocation()

The precise location of the transformed content in the original container.

.google.privacy.dlp.v2.TransformationLocation transformation_location = 6;

Returns
Type Description
TransformationLocation

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;

Returns
Type Description
TransformationLocationOrBuilder

getTransformationOrBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
TransformationDescriptionOrBuilder

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;

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.TransformationDescriptionOrBuilder>

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;

Returns
Type Description
long

The transformedBytes.

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;

Returns
Type Description
boolean

Whether the statusDetails field is set.

hasTransformationLocation()

public boolean hasTransformationLocation()

The precise location of the transformed content in the original container.

.google.privacy.dlp.v2.TransformationLocation transformation_location = 6;

Returns
Type Description
boolean

Whether the transformationLocation field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TransformationDetails.Builder newBuilderForType()
Returns
Type Description
TransformationDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransformationDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TransformationDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TransformationDetails.Builder toBuilder()
Returns
Type Description
TransformationDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException