Class TransformationLocation (3.43.0)

public final class TransformationLocation extends GeneratedMessageV3 implements TransformationLocationOrBuilder

Specifies the location of a transformation.

Protobuf type google.privacy.dlp.v2.TransformationLocation

Static Fields

CONTAINER_TYPE_FIELD_NUMBER

public static final int CONTAINER_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

FINDING_ID_FIELD_NUMBER

public static final int FINDING_ID_FIELD_NUMBER
Field Value
TypeDescription
int

RECORD_TRANSFORMATION_FIELD_NUMBER

public static final int RECORD_TRANSFORMATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TransformationLocation getDefaultInstance()
Returns
TypeDescription
TransformationLocation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TransformationLocation.Builder newBuilder()
Returns
TypeDescription
TransformationLocation.Builder

newBuilder(TransformationLocation prototype)

public static TransformationLocation.Builder newBuilder(TransformationLocation prototype)
Parameter
NameDescription
prototypeTransformationLocation
Returns
TypeDescription
TransformationLocation.Builder

parseDelimitedFrom(InputStream input)

public static TransformationLocation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransformationLocation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransformationLocation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransformationLocation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TransformationLocation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TransformationLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TransformationLocation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransformationLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TransformationLocation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TransformationLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TransformationLocation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransformationLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TransformationLocation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TransformationLocation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TransformationLocation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransformationLocation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TransformationLocation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransformationLocation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransformationLocation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransformationLocation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TransformationLocation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TransformationLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TransformationLocation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransformationLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TransformationLocation> parser()
Returns
TypeDescription
Parser<TransformationLocation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getContainerType()

public TransformationContainerType getContainerType()

Information about the functionality of the container where this finding occurred, if available.

.google.privacy.dlp.v2.TransformationContainerType container_type = 3;

Returns
TypeDescription
TransformationContainerType

The containerType.

getContainerTypeValue()

public int getContainerTypeValue()

Information about the functionality of the container where this finding occurred, if available.

.google.privacy.dlp.v2.TransformationContainerType container_type = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for containerType.

getDefaultInstanceForType()

public TransformationLocation getDefaultInstanceForType()
Returns
TypeDescription
TransformationLocation

getFindingId()

public String getFindingId()

For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated. Each findings ID correlates to an entry in the findings output table, this table only gets created when users specify to save findings (add the save findings action to the request).

string finding_id = 1;

Returns
TypeDescription
String

The findingId.

getFindingIdBytes()

public ByteString getFindingIdBytes()

For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated. Each findings ID correlates to an entry in the findings output table, this table only gets created when users specify to save findings (add the save findings action to the request).

string finding_id = 1;

Returns
TypeDescription
ByteString

The bytes for findingId.

getLocationTypeCase()

public TransformationLocation.LocationTypeCase getLocationTypeCase()
Returns
TypeDescription
TransformationLocation.LocationTypeCase

getParserForType()

public Parser<TransformationLocation> getParserForType()
Returns
TypeDescription
Parser<TransformationLocation>
Overrides

getRecordTransformation()

public RecordTransformation getRecordTransformation()

For record transformations, provide a field and container information.

.google.privacy.dlp.v2.RecordTransformation record_transformation = 2;

Returns
TypeDescription
RecordTransformation

The recordTransformation.

getRecordTransformationOrBuilder()

public RecordTransformationOrBuilder getRecordTransformationOrBuilder()

For record transformations, provide a field and container information.

.google.privacy.dlp.v2.RecordTransformation record_transformation = 2;

Returns
TypeDescription
RecordTransformationOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasFindingId()

public boolean hasFindingId()

For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated. Each findings ID correlates to an entry in the findings output table, this table only gets created when users specify to save findings (add the save findings action to the request).

string finding_id = 1;

Returns
TypeDescription
boolean

Whether the findingId field is set.

hasRecordTransformation()

public boolean hasRecordTransformation()

For record transformations, provide a field and container information.

.google.privacy.dlp.v2.RecordTransformation record_transformation = 2;

Returns
TypeDescription
boolean

Whether the recordTransformation field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TransformationLocation.Builder newBuilderForType()
Returns
TypeDescription
TransformationLocation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransformationLocation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TransformationLocation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TransformationLocation.Builder toBuilder()
Returns
TypeDescription
TransformationLocation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException