Class TransformationDetails.Builder (3.59.0)

public static final class TransformationDetails.Builder extends GeneratedMessageV3.Builder<TransformationDetails.Builder> 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 Methods

getDescriptor()

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

Methods

addAllTransformation(Iterable<? extends TransformationDescription> values)

public TransformationDetails.Builder addAllTransformation(Iterable<? extends TransformationDescription> values)

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
values Iterable<? extends com.google.privacy.dlp.v2.TransformationDescription>
Returns
Type Description
TransformationDetails.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TransformationDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TransformationDetails.Builder
Overrides

addTransformation(TransformationDescription value)

public TransformationDetails.Builder addTransformation(TransformationDescription value)

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
value TransformationDescription
Returns
Type Description
TransformationDetails.Builder

addTransformation(TransformationDescription.Builder builderForValue)

public TransformationDetails.Builder addTransformation(TransformationDescription.Builder builderForValue)

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
builderForValue TransformationDescription.Builder
Returns
Type Description
TransformationDetails.Builder

addTransformation(int index, TransformationDescription value)

public TransformationDetails.Builder addTransformation(int index, TransformationDescription value)

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;

Parameters
Name Description
index int
value TransformationDescription
Returns
Type Description
TransformationDetails.Builder

addTransformation(int index, TransformationDescription.Builder builderForValue)

public TransformationDetails.Builder addTransformation(int index, TransformationDescription.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue TransformationDescription.Builder
Returns
Type Description
TransformationDetails.Builder

addTransformationBuilder()

public TransformationDescription.Builder addTransformationBuilder()

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
TransformationDescription.Builder

addTransformationBuilder(int index)

public TransformationDescription.Builder addTransformationBuilder(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.Builder

build()

public TransformationDetails build()
Returns
Type Description
TransformationDetails

buildPartial()

public TransformationDetails buildPartial()
Returns
Type Description
TransformationDetails

clear()

public TransformationDetails.Builder clear()
Returns
Type Description
TransformationDetails.Builder
Overrides

clearContainerName()

public TransformationDetails.Builder clearContainerName()

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
TransformationDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public TransformationDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TransformationDetails.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TransformationDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TransformationDetails.Builder
Overrides

clearResourceName()

public TransformationDetails.Builder clearResourceName()

The name of the job that completed the transformation.

string resource_name = 1;

Returns
Type Description
TransformationDetails.Builder

This builder for chaining.

clearStatusDetails()

public TransformationDetails.Builder clearStatusDetails()

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
TransformationDetails.Builder

clearTransformation()

public TransformationDetails.Builder clearTransformation()

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
TransformationDetails.Builder

clearTransformationLocation()

public TransformationDetails.Builder clearTransformationLocation()

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

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

Returns
Type Description
TransformationDetails.Builder

clearTransformedBytes()

public TransformationDetails.Builder clearTransformedBytes()

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
TransformationDetails.Builder

This builder for chaining.

clone()

public TransformationDetails.Builder clone()
Returns
Type Description
TransformationDetails.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

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.

getStatusDetailsBuilder()

public TransformationResultStatus.Builder getStatusDetailsBuilder()

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.Builder

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

getTransformationBuilder(int index)

public TransformationDescription.Builder getTransformationBuilder(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.Builder

getTransformationBuilderList()

public List<TransformationDescription.Builder> getTransformationBuilderList()

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<Builder>

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.

getTransformationLocationBuilder()

public TransformationLocation.Builder getTransformationLocationBuilder()

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

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

Returns
Type Description
TransformationLocation.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TransformationDetails other)

public TransformationDetails.Builder mergeFrom(TransformationDetails other)
Parameter
Name Description
other TransformationDetails
Returns
Type Description
TransformationDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TransformationDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransformationDetails.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TransformationDetails.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TransformationDetails.Builder
Overrides

mergeStatusDetails(TransformationResultStatus value)

public TransformationDetails.Builder mergeStatusDetails(TransformationResultStatus value)

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;

Parameter
Name Description
value TransformationResultStatus
Returns
Type Description
TransformationDetails.Builder

mergeTransformationLocation(TransformationLocation value)

public TransformationDetails.Builder mergeTransformationLocation(TransformationLocation value)

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

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

Parameter
Name Description
value TransformationLocation
Returns
Type Description
TransformationDetails.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransformationDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TransformationDetails.Builder
Overrides

removeTransformation(int index)

public TransformationDetails.Builder removeTransformation(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
TransformationDetails.Builder

setContainerName(String value)

public TransformationDetails.Builder setContainerName(String value)

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;

Parameter
Name Description
value String

The containerName to set.

Returns
Type Description
TransformationDetails.Builder

This builder for chaining.

setContainerNameBytes(ByteString value)

public TransformationDetails.Builder setContainerNameBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for containerName to set.

Returns
Type Description
TransformationDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public TransformationDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TransformationDetails.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TransformationDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TransformationDetails.Builder
Overrides

setResourceName(String value)

public TransformationDetails.Builder setResourceName(String value)

The name of the job that completed the transformation.

string resource_name = 1;

Parameter
Name Description
value String

The resourceName to set.

Returns
Type Description
TransformationDetails.Builder

This builder for chaining.

setResourceNameBytes(ByteString value)

public TransformationDetails.Builder setResourceNameBytes(ByteString value)

The name of the job that completed the transformation.

string resource_name = 1;

Parameter
Name Description
value ByteString

The bytes for resourceName to set.

Returns
Type Description
TransformationDetails.Builder

This builder for chaining.

setStatusDetails(TransformationResultStatus value)

public TransformationDetails.Builder setStatusDetails(TransformationResultStatus value)

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;

Parameter
Name Description
value TransformationResultStatus
Returns
Type Description
TransformationDetails.Builder

setStatusDetails(TransformationResultStatus.Builder builderForValue)

public TransformationDetails.Builder setStatusDetails(TransformationResultStatus.Builder builderForValue)

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;

Parameter
Name Description
builderForValue TransformationResultStatus.Builder
Returns
Type Description
TransformationDetails.Builder

setTransformation(int index, TransformationDescription value)

public TransformationDetails.Builder setTransformation(int index, TransformationDescription value)

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;

Parameters
Name Description
index int
value TransformationDescription
Returns
Type Description
TransformationDetails.Builder

setTransformation(int index, TransformationDescription.Builder builderForValue)

public TransformationDetails.Builder setTransformation(int index, TransformationDescription.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue TransformationDescription.Builder
Returns
Type Description
TransformationDetails.Builder

setTransformationLocation(TransformationLocation value)

public TransformationDetails.Builder setTransformationLocation(TransformationLocation value)

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

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

Parameter
Name Description
value TransformationLocation
Returns
Type Description
TransformationDetails.Builder

setTransformationLocation(TransformationLocation.Builder builderForValue)

public TransformationDetails.Builder setTransformationLocation(TransformationLocation.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue TransformationLocation.Builder
Returns
Type Description
TransformationDetails.Builder

setTransformedBytes(long value)

public TransformationDetails.Builder setTransformedBytes(long value)

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;

Parameter
Name Description
value long

The transformedBytes to set.

Returns
Type Description
TransformationDetails.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final TransformationDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TransformationDetails.Builder
Overrides