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