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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public TransformationLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public TransformationLocation build()
Returns
public TransformationLocation buildPartial()
Returns
public TransformationLocation.Builder clear()
Returns
Overrides
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
public TransformationLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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
public TransformationLocation.Builder clearLocationType()
Returns
public TransformationLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public TransformationLocation.Builder clearRecordTransformation()
For record transformations, provide a field and container information.
.google.privacy.dlp.v2.RecordTransformation record_transformation = 2;
Returns
public TransformationLocation.Builder clone()
Returns
Overrides
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
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.
|
public TransformationLocation getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
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
public TransformationLocation.LocationTypeCase getLocationTypeCase()
Returns
public RecordTransformation getRecordTransformation()
For record transformations, provide a field and container information.
.google.privacy.dlp.v2.RecordTransformation record_transformation = 2;
Returns
public RecordTransformation.Builder getRecordTransformationBuilder()
For record transformations, provide a field and container information.
.google.privacy.dlp.v2.RecordTransformation record_transformation = 2;
Returns
public RecordTransformationOrBuilder getRecordTransformationOrBuilder()
For record transformations, provide a field and container information.
.google.privacy.dlp.v2.RecordTransformation record_transformation = 2;
Returns
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public TransformationLocation.Builder mergeFrom(TransformationLocation other)
Parameter
Returns
public TransformationLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public TransformationLocation.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public TransformationLocation.Builder mergeRecordTransformation(RecordTransformation value)
For record transformations, provide a field and container information.
.google.privacy.dlp.v2.RecordTransformation record_transformation = 2;
Parameter
Returns
public final TransformationLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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
public TransformationLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
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
public TransformationLocation.Builder setRecordTransformation(RecordTransformation value)
For record transformations, provide a field and container information.
.google.privacy.dlp.v2.RecordTransformation record_transformation = 2;
Parameter
Returns
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
Returns
public TransformationLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final TransformationLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides