Package com.google.privacy.dlp.v2
Class TransformationLocation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TransformationLocation.Builder>
com.google.privacy.dlp.v2.TransformationLocation.Builder
- All Implemented Interfaces:
TransformationLocationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TransformationLocation
public static final class TransformationLocation.Builder
extends com.google.protobuf.GeneratedMessage.Builder<TransformationLocation.Builder>
implements TransformationLocationOrBuilder
Specifies the location of a transformation.Protobuf type
google.privacy.dlp.v2.TransformationLocation-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Information about the functionality of the container where this finding occurred, if available.For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated.For record transformations, provide a field and container information.Information about the functionality of the container where this finding occurred, if available.intInformation about the functionality of the container where this finding occurred, if available.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorFor infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated.com.google.protobuf.ByteStringFor infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated.For record transformations, provide a field and container information.For record transformations, provide a field and container information.For record transformations, provide a field and container information.booleanFor infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated.booleanFor record transformations, provide a field and container information.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(TransformationLocation other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) For record transformations, provide a field and container information.Information about the functionality of the container where this finding occurred, if available.setContainerTypeValue(int value) Information about the functionality of the container where this finding occurred, if available.setFindingId(String value) For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated.setFindingIdBytes(com.google.protobuf.ByteString value) For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated.For record transformations, provide a field and container information.setRecordTransformation(RecordTransformation.Builder builderForValue) For record transformations, provide a field and container information.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<TransformationLocation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<TransformationLocation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<TransformationLocation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransformationLocation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TransformationLocation.Builder>
-
mergeFrom
public TransformationLocation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransformationLocation.Builder>- Throws:
IOException
-
getLocationTypeCase
- Specified by:
getLocationTypeCasein interfaceTransformationLocationOrBuilder
-
clearLocationType
-
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;- Specified by:
hasFindingIdin interfaceTransformationLocationOrBuilder- Returns:
- Whether the findingId field is set.
-
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;- Specified by:
getFindingIdin interfaceTransformationLocationOrBuilder- Returns:
- The findingId.
-
getFindingIdBytes
public com.google.protobuf.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;- Specified by:
getFindingIdBytesin interfaceTransformationLocationOrBuilder- Returns:
- The bytes for findingId.
-
setFindingId
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;- Parameters:
value- The findingId to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setFindingIdBytes
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;- Parameters:
value- The bytes for findingId to set.- Returns:
- This builder for chaining.
-
hasRecordTransformation
public boolean hasRecordTransformation()For record transformations, provide a field and container information.
.google.privacy.dlp.v2.RecordTransformation record_transformation = 2;- Specified by:
hasRecordTransformationin interfaceTransformationLocationOrBuilder- Returns:
- Whether the recordTransformation field is set.
-
getRecordTransformation
For record transformations, provide a field and container information.
.google.privacy.dlp.v2.RecordTransformation record_transformation = 2;- Specified by:
getRecordTransformationin interfaceTransformationLocationOrBuilder- Returns:
- The recordTransformation.
-
setRecordTransformation
For record transformations, provide a field and container information.
.google.privacy.dlp.v2.RecordTransformation record_transformation = 2; -
setRecordTransformation
public TransformationLocation.Builder setRecordTransformation(RecordTransformation.Builder builderForValue) For record transformations, provide a field and container information.
.google.privacy.dlp.v2.RecordTransformation record_transformation = 2; -
mergeRecordTransformation
For record transformations, provide a field and container information.
.google.privacy.dlp.v2.RecordTransformation record_transformation = 2; -
clearRecordTransformation
For record transformations, provide a field and container information.
.google.privacy.dlp.v2.RecordTransformation record_transformation = 2; -
getRecordTransformationBuilder
For record transformations, provide a field and container information.
.google.privacy.dlp.v2.RecordTransformation record_transformation = 2; -
getRecordTransformationOrBuilder
For record transformations, provide a field and container information.
.google.privacy.dlp.v2.RecordTransformation record_transformation = 2;- Specified by:
getRecordTransformationOrBuilderin interfaceTransformationLocationOrBuilder
-
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;- Specified by:
getContainerTypeValuein interfaceTransformationLocationOrBuilder- Returns:
- The enum numeric value on the wire for containerType.
-
setContainerTypeValue
Information about the functionality of the container where this finding occurred, if available.
.google.privacy.dlp.v2.TransformationContainerType container_type = 3;- Parameters:
value- The enum numeric value on the wire for containerType to set.- Returns:
- This builder for chaining.
-
getContainerType
Information about the functionality of the container where this finding occurred, if available.
.google.privacy.dlp.v2.TransformationContainerType container_type = 3;- Specified by:
getContainerTypein interfaceTransformationLocationOrBuilder- Returns:
- The containerType.
-
setContainerType
Information about the functionality of the container where this finding occurred, if available.
.google.privacy.dlp.v2.TransformationContainerType container_type = 3;- Parameters:
value- The containerType to set.- Returns:
- This builder for chaining.
-
clearContainerType
Information about the functionality of the container where this finding occurred, if available.
.google.privacy.dlp.v2.TransformationContainerType container_type = 3;- Returns:
- This builder for chaining.
-