Class TransformationDetails

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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

@Generated public final class TransformationDetails extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • RESOURCE_NAME_FIELD_NUMBER

      public static final int RESOURCE_NAME_FIELD_NUMBER
      See Also:
    • CONTAINER_NAME_FIELD_NUMBER

      public static final int CONTAINER_NAME_FIELD_NUMBER
      See Also:
    • TRANSFORMATION_FIELD_NUMBER

      public static final int TRANSFORMATION_FIELD_NUMBER
      See Also:
    • STATUS_DETAILS_FIELD_NUMBER

      public static final int STATUS_DETAILS_FIELD_NUMBER
      See Also:
    • TRANSFORMED_BYTES_FIELD_NUMBER

      public static final int TRANSFORMED_BYTES_FIELD_NUMBER
      See Also:
    • TRANSFORMATION_LOCATION_FIELD_NUMBER

      public static final int TRANSFORMATION_LOCATION_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getResourceName

      public String getResourceName()
       The name of the job that completed the transformation.
       
      string resource_name = 1;
      Specified by:
      getResourceName in interface TransformationDetailsOrBuilder
      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 interface TransformationDetailsOrBuilder
      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 interface TransformationDetailsOrBuilder
      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 interface TransformationDetailsOrBuilder
      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 interface TransformationDetailsOrBuilder
    • 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 interface TransformationDetailsOrBuilder
    • 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 interface TransformationDetailsOrBuilder
    • 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 interface TransformationDetailsOrBuilder
    • 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 interface TransformationDetailsOrBuilder
    • 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 interface TransformationDetailsOrBuilder
      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 interface TransformationDetailsOrBuilder
      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 interface TransformationDetailsOrBuilder
    • 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 interface TransformationDetailsOrBuilder
      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 interface TransformationDetailsOrBuilder
      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 interface TransformationDetailsOrBuilder
      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 interface TransformationDetailsOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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 interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.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 interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected TransformationDetails.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • 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 interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public TransformationDetails getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder