Class TransformationLocation.Builder (3.16.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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 Overrides

build()

public TransformationLocation build()
Returns
TypeDescription
TransformationLocation

buildPartial()

public TransformationLocation buildPartial()
Returns
TypeDescription
TransformationLocation

clear()

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

clearOneof(Descriptors.OneofDescriptor oneof)

public TransformationLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns Overrides

clearRecordTransformation()

public TransformationLocation.Builder clearRecordTransformation()

For record transformations, provide a field and container information.

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

Returns

clone()

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

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

getRecordTransformationOrBuilder()

public RecordTransformationOrBuilder getRecordTransformationOrBuilder()

For record transformations, provide a field and container information.

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

Returns

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

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 Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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