Package com.google.privacy.dlp.v2
Class TransformationDetails
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.privacy.dlp.v2.TransformationDetails
-
- All Implemented Interfaces:
TransformationDetailsOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class TransformationDetails extends com.google.protobuf.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 typegoogle.privacy.dlp.v2.TransformationDetails
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransformationDetails.Builder
Details about a single transformation.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
CONTAINER_NAME_FIELD_NUMBER
static int
RESOURCE_NAME_FIELD_NUMBER
static int
STATUS_DETAILS_FIELD_NUMBER
static int
TRANSFORMATION_FIELD_NUMBER
static int
TRANSFORMATION_LOCATION_FIELD_NUMBER
static int
TRANSFORMED_BYTES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getContainerName()
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.ByteString
getContainerNameBytes()
The top level name of the container where the transformation is located (this will be the source file name or table name).static TransformationDetails
getDefaultInstance()
TransformationDetails
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Parser<TransformationDetails>
getParserForType()
String
getResourceName()
The name of the job that completed the transformation.com.google.protobuf.ByteString
getResourceNameBytes()
The name of the job that completed the transformation.int
getSerializedSize()
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.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.TransformationDescription
getTransformation(int index)
Description of transformation.int
getTransformationCount()
Description of transformation.List<TransformationDescription>
getTransformationList()
Description of transformation.TransformationLocation
getTransformationLocation()
The precise location of the transformed content in the original container.TransformationLocationOrBuilder
getTransformationLocationOrBuilder()
The precise location of the transformed content in the original container.TransformationDescriptionOrBuilder
getTransformationOrBuilder(int index)
Description of transformation.List<? extends TransformationDescriptionOrBuilder>
getTransformationOrBuilderList()
Description of transformation.long
getTransformedBytes()
The number of bytes that were transformed.int
hashCode()
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.boolean
hasTransformationLocation()
The precise location of the transformed content in the original container.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static TransformationDetails.Builder
newBuilder()
static TransformationDetails.Builder
newBuilder(TransformationDetails prototype)
TransformationDetails.Builder
newBuilderForType()
protected TransformationDetails.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static TransformationDetails
parseDelimitedFrom(InputStream input)
static TransformationDetails
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TransformationDetails
parseFrom(byte[] data)
static TransformationDetails
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TransformationDetails
parseFrom(com.google.protobuf.ByteString data)
static TransformationDetails
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TransformationDetails
parseFrom(com.google.protobuf.CodedInputStream input)
static TransformationDetails
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TransformationDetails
parseFrom(InputStream input)
static TransformationDetails
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TransformationDetails
parseFrom(ByteBuffer data)
static TransformationDetails
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<TransformationDetails>
parser()
TransformationDetails.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTAINER_NAME_FIELD_NUMBER
public static final int CONTAINER_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRANSFORMATION_FIELD_NUMBER
public static final int TRANSFORMATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_DETAILS_FIELD_NUMBER
public static final int STATUS_DETAILS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRANSFORMED_BYTES_FIELD_NUMBER
public static final int TRANSFORMED_BYTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRANSFORMATION_LOCATION_FIELD_NUMBER
public static final int TRANSFORMATION_LOCATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getResourceName
public String getResourceName()
The name of the job that completed the transformation.
string resource_name = 1;
- Specified by:
getResourceName
in 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:
getResourceNameBytes
in interfaceTransformationDetailsOrBuilder
- Returns:
- The bytes for resourceName.
-
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;
- Specified by:
getContainerName
in 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:
getContainerNameBytes
in interfaceTransformationDetailsOrBuilder
- Returns:
- The bytes for containerName.
-
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;
- Specified by:
getTransformationList
in interfaceTransformationDetailsOrBuilder
-
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;
- Specified by:
getTransformationOrBuilderList
in 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:
getTransformationCount
in interfaceTransformationDetailsOrBuilder
-
getTransformation
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;
- Specified by:
getTransformation
in interfaceTransformationDetailsOrBuilder
-
getTransformationOrBuilder
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;
- Specified by:
getTransformationOrBuilder
in interfaceTransformationDetailsOrBuilder
-
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:
hasStatusDetails
in interfaceTransformationDetailsOrBuilder
- Returns:
- Whether the statusDetails field is set.
-
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;
- Specified by:
getStatusDetails
in interfaceTransformationDetailsOrBuilder
- Returns:
- The statusDetails.
-
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;
- Specified by:
getStatusDetailsOrBuilder
in 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:
getTransformedBytes
in interfaceTransformationDetailsOrBuilder
- Returns:
- The transformedBytes.
-
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:
hasTransformationLocation
in interfaceTransformationDetailsOrBuilder
- Returns:
- Whether the transformationLocation field is set.
-
getTransformationLocation
public TransformationLocation getTransformationLocation()
The precise location of the transformed content in the original container.
.google.privacy.dlp.v2.TransformationLocation transformation_location = 6;
- Specified by:
getTransformationLocation
in interfaceTransformationDetailsOrBuilder
- Returns:
- The transformationLocation.
-
getTransformationLocationOrBuilder
public TransformationLocationOrBuilder getTransformationLocationOrBuilder()
The precise location of the transformed content in the original container.
.google.privacy.dlp.v2.TransformationLocation transformation_location = 6;
- Specified by:
getTransformationLocationOrBuilder
in interfaceTransformationDetailsOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static TransformationDetails parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransformationDetails parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransformationDetails parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransformationDetails parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransformationDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransformationDetails parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransformationDetails parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TransformationDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TransformationDetails parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TransformationDetails parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static TransformationDetails parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TransformationDetails parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public TransformationDetails.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static TransformationDetails.Builder newBuilder()
-
newBuilder
public static TransformationDetails.Builder newBuilder(TransformationDetails prototype)
-
toBuilder
public TransformationDetails.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TransformationDetails.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static TransformationDetails getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<TransformationDetails> parser()
-
getParserForType
public com.google.protobuf.Parser<TransformationDetails> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TransformationDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-