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
public static final int CONTAINER_NAME_FIELD_NUMBER
Field Value
public static final int RESOURCE_NAME_FIELD_NUMBER
Field Value
public static final int STATUS_DETAILS_FIELD_NUMBER
Field Value
public static final int TRANSFORMATION_FIELD_NUMBER
Field Value
public static final int TRANSFORMATION_LOCATION_FIELD_NUMBER
Field Value
public static final int TRANSFORMED_BYTES_FIELD_NUMBER
Field Value
Static Methods
public static TransformationDetails getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static TransformationDetails.Builder newBuilder()
Returns
public static TransformationDetails.Builder newBuilder(TransformationDetails prototype)
Parameter
Returns
public static TransformationDetails parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransformationDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransformationDetails parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static TransformationDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransformationDetails parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static TransformationDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransformationDetails parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TransformationDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransformationDetails parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransformationDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransformationDetails parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static TransformationDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<TransformationDetails> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
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.
|
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.
|
public TransformationDetails getDefaultInstanceForType()
Returns
public Parser<TransformationDetails> getParserForType()
Returns
Overrides
public String getResourceName()
The name of the job that completed the transformation.
string resource_name = 1;
Returns
Type | Description |
String | The resourceName.
|
public ByteString getResourceNameBytes()
The name of the job that completed the transformation.
string resource_name = 1;
Returns
Type | Description |
ByteString | The bytes for resourceName.
|
public int getSerializedSize()
Returns
Overrides
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
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
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
Returns
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
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
public TransformationLocation getTransformationLocation()
The precise location of the transformed content in the original container.
.google.privacy.dlp.v2.TransformationLocation transformation_location = 6;
Returns
public TransformationLocationOrBuilder getTransformationLocationOrBuilder()
The precise location of the transformed content in the original container.
.google.privacy.dlp.v2.TransformationLocation transformation_location = 6;
Returns
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
Returns
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> | |
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.
|
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public TransformationDetails.Builder newBuilderForType()
Returns
protected TransformationDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public TransformationDetails.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions