Class TransformationLocation.Builder (3.53.0)

public static final class TransformationLocation.Builder extends GeneratedMessageV3.Builder<TransformationLocation.Builder> implements TransformationLocationOrBuilder

Specifies the location of a transformation.

Protobuf type google.privacy.dlp.v2.TransformationLocation

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TransformationLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TransformationLocation.Builder
Overrides

build()

public TransformationLocation build()
Returns
Type Description
TransformationLocation

buildPartial()

public TransformationLocation buildPartial()
Returns
Type Description
TransformationLocation

clear()

public TransformationLocation.Builder clear()
Returns
Type Description
TransformationLocation.Builder
Overrides

clearContainerType()

public TransformationLocation.Builder clearContainerType()

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

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

Returns
Type Description
TransformationLocation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public TransformationLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TransformationLocation.Builder
Overrides

clearFindingId()

public TransformationLocation.Builder clearFindingId()

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
Type Description
TransformationLocation.Builder

This builder for chaining.

clearLocationType()

public TransformationLocation.Builder clearLocationType()
Returns
Type Description
TransformationLocation.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public TransformationLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TransformationLocation.Builder
Overrides

clearRecordTransformation()

public TransformationLocation.Builder clearRecordTransformation()

For record transformations, provide a field and container information.

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

Returns
Type Description
TransformationLocation.Builder

clone()

public TransformationLocation.Builder clone()
Returns
Type Description
TransformationLocation.Builder
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
Type Description
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
Type Description
int

The enum numeric value on the wire for containerType.

getDefaultInstanceForType()

public TransformationLocation getDefaultInstanceForType()
Returns
Type Description
TransformationLocation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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
Type Description
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
Type Description
ByteString

The bytes for findingId.

getLocationTypeCase()

public TransformationLocation.LocationTypeCase getLocationTypeCase()
Returns
Type Description
TransformationLocation.LocationTypeCase

getRecordTransformation()

public RecordTransformation getRecordTransformation()

For record transformations, provide a field and container information.

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

Returns
Type Description
RecordTransformation

The recordTransformation.

getRecordTransformationBuilder()

public RecordTransformation.Builder getRecordTransformationBuilder()

For record transformations, provide a field and container information.

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

Returns
Type Description
RecordTransformation.Builder

getRecordTransformationOrBuilder()

public RecordTransformationOrBuilder getRecordTransformationOrBuilder()

For record transformations, provide a field and container information.

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

Returns
Type Description
RecordTransformationOrBuilder

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
Type Description
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
Type Description
boolean

Whether the recordTransformation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TransformationLocation other)

public TransformationLocation.Builder mergeFrom(TransformationLocation other)
Parameter
Name Description
other TransformationLocation
Returns
Type Description
TransformationLocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TransformationLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransformationLocation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TransformationLocation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TransformationLocation.Builder
Overrides

mergeRecordTransformation(RecordTransformation value)

public TransformationLocation.Builder mergeRecordTransformation(RecordTransformation value)

For record transformations, provide a field and container information.

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

Parameter
Name Description
value RecordTransformation
Returns
Type Description
TransformationLocation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransformationLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TransformationLocation.Builder
Overrides

setContainerType(TransformationContainerType value)

public TransformationLocation.Builder setContainerType(TransformationContainerType value)

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

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

Parameter
Name Description
value TransformationContainerType

The containerType to set.

Returns
Type Description
TransformationLocation.Builder

This builder for chaining.

setContainerTypeValue(int value)

public TransformationLocation.Builder setContainerTypeValue(int value)

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

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

Parameter
Name Description
value int

The enum numeric value on the wire for containerType to set.

Returns
Type Description
TransformationLocation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public TransformationLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TransformationLocation.Builder
Overrides

setFindingId(String value)

public TransformationLocation.Builder setFindingId(String value)

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;

Parameter
Name Description
value String

The findingId to set.

Returns
Type Description
TransformationLocation.Builder

This builder for chaining.

setFindingIdBytes(ByteString value)

public TransformationLocation.Builder setFindingIdBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for findingId to set.

Returns
Type Description
TransformationLocation.Builder

This builder for chaining.

setRecordTransformation(RecordTransformation value)

public TransformationLocation.Builder setRecordTransformation(RecordTransformation value)

For record transformations, provide a field and container information.

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

Parameter
Name Description
value RecordTransformation
Returns
Type Description
TransformationLocation.Builder

setRecordTransformation(RecordTransformation.Builder builderForValue)

public TransformationLocation.Builder setRecordTransformation(RecordTransformation.Builder builderForValue)

For record transformations, provide a field and container information.

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

Parameter
Name Description
builderForValue RecordTransformation.Builder
Returns
Type Description
TransformationLocation.Builder

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

public TransformationLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TransformationLocation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TransformationLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TransformationLocation.Builder
Overrides