Class TransformationLocation.Builder (3.7.2)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TransformationLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TransformationLocation.Builder
Overrides

build()

public TransformationLocation build()
Returns
TypeDescription
TransformationLocation

buildPartial()

public TransformationLocation buildPartial()
Returns
TypeDescription
TransformationLocation

clear()

public TransformationLocation.Builder clear()
Returns
TypeDescription
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
TypeDescription
TransformationLocation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public TransformationLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
TransformationLocation.Builder

This builder for chaining.

clearLocationType()

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

clearOneof(Descriptors.OneofDescriptor oneof)

public TransformationLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
TransformationLocation.Builder

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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

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.

getRecordTransformationBuilder()

public RecordTransformation.Builder getRecordTransformationBuilder()

For record transformations, provide a field and container information.

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

Returns
TypeDescription
RecordTransformation.Builder

getRecordTransformationOrBuilder()

public RecordTransformationOrBuilder getRecordTransformationOrBuilder()

For record transformations, provide a field and container information.

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

Returns
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TransformationLocation other)

public TransformationLocation.Builder mergeFrom(TransformationLocation other)
Parameter
NameDescription
otherTransformationLocation
Returns
TypeDescription
TransformationLocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TransformationLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransformationLocation.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TransformationLocation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueRecordTransformation
Returns
TypeDescription
TransformationLocation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransformationLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTransformationContainerType

The containerType to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
TransformationLocation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public TransformationLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The findingId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for findingId to set.

Returns
TypeDescription
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
NameDescription
valueRecordTransformation
Returns
TypeDescription
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
NameDescription
builderForValueRecordTransformation.Builder
Returns
TypeDescription
TransformationLocation.Builder

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

public TransformationLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TransformationLocation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TransformationLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TransformationLocation.Builder
Overrides