Class TransformationDetails (3.23.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
TypeDescription
int

RESOURCE_NAME_FIELD_NUMBER

public static final int RESOURCE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

STATUS_DETAILS_FIELD_NUMBER

public static final int STATUS_DETAILS_FIELD_NUMBER
Field Value
TypeDescription
int

TRANSFORMATION_FIELD_NUMBER

public static final int TRANSFORMATION_FIELD_NUMBER
Field Value
TypeDescription
int

TRANSFORMATION_LOCATION_FIELD_NUMBER

public static final int TRANSFORMATION_LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

TRANSFORMED_BYTES_FIELD_NUMBER

public static final int TRANSFORMED_BYTES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TransformationDetails getDefaultInstance()
Returns
TypeDescription
TransformationDetails

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TransformationDetails.Builder newBuilder()
Returns
TypeDescription
TransformationDetails.Builder

newBuilder(TransformationDetails prototype)

public static TransformationDetails.Builder newBuilder(TransformationDetails prototype)
Parameter
NameDescription
prototypeTransformationDetails
Returns
TypeDescription
TransformationDetails.Builder

parseDelimitedFrom(InputStream input)

public static TransformationDetails parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransformationDetails
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransformationDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransformationDetails
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TransformationDetails parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TransformationDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TransformationDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransformationDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TransformationDetails parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TransformationDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TransformationDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransformationDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TransformationDetails parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TransformationDetails
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TransformationDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransformationDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TransformationDetails parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransformationDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransformationDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransformationDetails
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TransformationDetails parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TransformationDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TransformationDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransformationDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TransformationDetails> parser()
Returns
TypeDescription
Parser<TransformationDetails>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for containerName.

getDefaultInstanceForType()

public TransformationDetails getDefaultInstanceForType()
Returns
TypeDescription
TransformationDetails

getParserForType()

public Parser<TransformationDetails> getParserForType()
Returns
TypeDescription
Parser<TransformationDetails>
Overrides

getResourceName()

public String getResourceName()

The name of the job that completed the transformation.

string resource_name = 1;

Returns
TypeDescription
String

The resourceName.

getResourceNameBytes()

public ByteString getResourceNameBytes()

The name of the job that completed the transformation.

string resource_name = 1;

Returns
TypeDescription
ByteString

The bytes for resourceName.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the transformationLocation field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TransformationDetails.Builder newBuilderForType()
Returns
TypeDescription
TransformationDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransformationDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TransformationDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TransformationDetails.Builder toBuilder()
Returns
TypeDescription
TransformationDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException