Package com.google.privacy.dlp.v2
Class TransformationDetails.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TransformationDetails.Builder>
com.google.privacy.dlp.v2.TransformationDetails.Builder
- All Implemented Interfaces:
TransformationDetailsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TransformationDetails
public static final class TransformationDetails.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllTransformation(Iterable<? extends TransformationDescription> values) Description of transformation.addTransformation(int index, TransformationDescription value) Description of transformation.addTransformation(int index, TransformationDescription.Builder builderForValue) Description of transformation.Description of transformation.addTransformation(TransformationDescription.Builder builderForValue) Description of transformation.Description of transformation.addTransformationBuilder(int index) Description of transformation.build()clear()The top level name of the container where the transformation is located (this will be the source file name or table name).The name of the job that completed the transformation.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.Description of transformation.The precise location of the transformed content in the original container.The number of bytes that were transformed.The top level name of the container where the transformation is located (this will be the source file name or table name).com.google.protobuf.ByteStringThe top level name of the container where the transformation is located (this will be the source file name or table name).static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe name of the job that completed the transformation.com.google.protobuf.ByteStringThe name of the job that completed the transformation.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.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.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.getTransformation(int index) Description of transformation.getTransformationBuilder(int index) Description of transformation.Description of transformation.intDescription of transformation.Description of transformation.The precise location of the transformed content in the original container.The precise location of the transformed content in the original container.The precise location of the transformed content in the original container.getTransformationOrBuilder(int index) Description of transformation.List<? extends TransformationDescriptionOrBuilder>Description of transformation.longThe number of bytes that were transformed.booleanStatus 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.booleanThe precise location of the transformed content in the original container.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(TransformationDetails other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) 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.The precise location of the transformed content in the original container.removeTransformation(int index) Description of transformation.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).setContainerNameBytes(com.google.protobuf.ByteString value) The top level name of the container where the transformation is located (this will be the source file name or table name).setResourceName(String value) The name of the job that completed the transformation.setResourceNameBytes(com.google.protobuf.ByteString value) The name of the job that completed the transformation.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.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.setTransformation(int index, TransformationDescription value) Description of transformation.setTransformation(int index, TransformationDescription.Builder builderForValue) Description of transformation.The precise location of the transformed content in the original container.setTransformationLocation(TransformationLocation.Builder builderForValue) The precise location of the transformed content in the original container.setTransformedBytes(long value) The number of bytes that were transformed.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<TransformationDetails.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<TransformationDetails.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<TransformationDetails.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransformationDetails.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TransformationDetails.Builder>
-
mergeFrom
public TransformationDetails.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransformationDetails.Builder>- Throws:
IOException
-
getResourceName
The name of the job that completed the transformation.
string resource_name = 1;- Specified by:
getResourceNamein interfaceTransformationDetailsOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()The name of the job that completed the transformation.
string resource_name = 1;- Specified by:
getResourceNameBytesin interfaceTransformationDetailsOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
The name of the job that completed the transformation.
string resource_name = 1;- Parameters:
value- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
The name of the job that completed the transformation.
string resource_name = 1;- Returns:
- This builder for chaining.
-
setResourceNameBytes
The name of the job that completed the transformation.
string resource_name = 1;- Parameters:
value- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getContainerNamein interfaceTransformationDetailsOrBuilder- Returns:
- The containerName.
-
getContainerNameBytes
public com.google.protobuf.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;- Specified by:
getContainerNameBytesin interfaceTransformationDetailsOrBuilder- Returns:
- The bytes for containerName.
-
setContainerName
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;- Parameters:
value- The containerName to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setContainerNameBytes
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;- Parameters:
value- The bytes for containerName to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getTransformationListin interfaceTransformationDetailsOrBuilder
-
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;- Specified by:
getTransformationCountin interfaceTransformationDetailsOrBuilder
-
getTransformation
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;- Specified by:
getTransformationin interfaceTransformationDetailsOrBuilder
-
setTransformation
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; -
setTransformation
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; -
addTransformation
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; -
addTransformation
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; -
addTransformation
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; -
addTransformation
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; -
addAllTransformation
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; -
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; -
removeTransformation
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; -
getTransformationBuilder
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; -
getTransformationOrBuilder
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;- Specified by:
getTransformationOrBuilderin interfaceTransformationDetailsOrBuilder
-
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;- Specified by:
getTransformationOrBuilderListin interfaceTransformationDetailsOrBuilder
-
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; -
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; -
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; -
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;- Specified by:
hasStatusDetailsin interfaceTransformationDetailsOrBuilder- Returns:
- Whether the statusDetails field is set.
-
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;- Specified by:
getStatusDetailsin interfaceTransformationDetailsOrBuilder- Returns:
- The statusDetails.
-
setStatusDetails
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; -
setStatusDetails
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; -
mergeStatusDetails
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; -
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; -
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; -
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;- Specified by:
getStatusDetailsOrBuilderin interfaceTransformationDetailsOrBuilder
-
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;- Specified by:
getTransformedBytesin interfaceTransformationDetailsOrBuilder- Returns:
- The transformedBytes.
-
setTransformedBytes
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;- Parameters:
value- The transformedBytes to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
hasTransformationLocation
public boolean hasTransformationLocation()The precise location of the transformed content in the original container.
.google.privacy.dlp.v2.TransformationLocation transformation_location = 6;- Specified by:
hasTransformationLocationin interfaceTransformationDetailsOrBuilder- Returns:
- Whether the transformationLocation field is set.
-
getTransformationLocation
The precise location of the transformed content in the original container.
.google.privacy.dlp.v2.TransformationLocation transformation_location = 6;- Specified by:
getTransformationLocationin interfaceTransformationDetailsOrBuilder- Returns:
- The transformationLocation.
-
setTransformationLocation
The precise location of the transformed content in the original container.
.google.privacy.dlp.v2.TransformationLocation transformation_location = 6; -
setTransformationLocation
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; -
mergeTransformationLocation
The precise location of the transformed content in the original container.
.google.privacy.dlp.v2.TransformationLocation transformation_location = 6; -
clearTransformationLocation
The precise location of the transformed content in the original container.
.google.privacy.dlp.v2.TransformationLocation transformation_location = 6; -
getTransformationLocationBuilder
The precise location of the transformed content in the original container.
.google.privacy.dlp.v2.TransformationLocation transformation_location = 6; -
getTransformationLocationOrBuilder
The precise location of the transformed content in the original container.
.google.privacy.dlp.v2.TransformationLocation transformation_location = 6;- Specified by:
getTransformationLocationOrBuilderin interfaceTransformationDetailsOrBuilder
-