Class TransformationDetails.Builder (3.12.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.TransformationDescription>
Returns
TypeDescription
TransformationDetails.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TransformationDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTransformationDescription
Returns
TypeDescription
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
NameDescription
builderForValueTransformationDescription.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTransformationDescription
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTransformationDescription.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TransformationDescription.Builder

build()

public TransformationDetails build()
Returns
TypeDescription
TransformationDetails

buildPartial()

public TransformationDetails buildPartial()
Returns
TypeDescription
TransformationDetails

clear()

public TransformationDetails.Builder clear()
Returns
TypeDescription
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
TypeDescription
TransformationDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public TransformationDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TransformationDetails.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TransformationDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TransformationDetails.Builder
Overrides

clearResourceName()

public TransformationDetails.Builder clearResourceName()

The name of the job that completed the transformation.

string resource_name = 1;

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

This builder for chaining.

clone()

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

getDescriptorForType()

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

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.

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

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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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.

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TransformationDetails other)

public TransformationDetails.Builder mergeFrom(TransformationDetails other)
Parameter
NameDescription
otherTransformationDetails
Returns
TypeDescription
TransformationDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TransformationDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransformationDetails.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TransformationDetails.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTransformationResultStatus
Returns
TypeDescription
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
NameDescription
valueTransformationLocation
Returns
TypeDescription
TransformationDetails.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransformationDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueString

The containerName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for containerName to set.

Returns
TypeDescription
TransformationDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public TransformationDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TransformationDetails.Builder
Overrides

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

public TransformationDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The resourceName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for resourceName to set.

Returns
TypeDescription
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
NameDescription
valueTransformationResultStatus
Returns
TypeDescription
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
NameDescription
builderForValueTransformationResultStatus.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTransformationDescription
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTransformationDescription.Builder
Returns
TypeDescription
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
NameDescription
valueTransformationLocation
Returns
TypeDescription
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
NameDescription
builderForValueTransformationLocation.Builder
Returns
TypeDescription
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
NameDescription
valuelong

The transformedBytes to set.

Returns
TypeDescription
TransformationDetails.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final TransformationDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TransformationDetails.Builder
Overrides