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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<TransformationLocation.Builder> implements TransformationLocationOrBuilder
Specifies the location of a transformation.
Protobuf typegoogle.privacy.dlp.v2.TransformationLocation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransformationLocation.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TransformationLocationbuild()TransformationLocationbuildPartial()TransformationLocation.Builderclear()TransformationLocation.BuilderclearContainerType()Information about the functionality of the container where this finding occurred, if available.TransformationLocation.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TransformationLocation.BuilderclearFindingId()For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated.TransformationLocation.BuilderclearLocationType()TransformationLocation.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TransformationLocation.BuilderclearRecordTransformation()For record transformations, provide a field and container information.TransformationLocation.Builderclone()TransformationContainerTypegetContainerType()Information about the functionality of the container where this finding occurred, if available.intgetContainerTypeValue()Information about the functionality of the container where this finding occurred, if available.TransformationLocationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFindingId()For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated.com.google.protobuf.ByteStringgetFindingIdBytes()For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated.TransformationLocation.LocationTypeCasegetLocationTypeCase()RecordTransformationgetRecordTransformation()For record transformations, provide a field and container information.RecordTransformation.BuildergetRecordTransformationBuilder()For record transformations, provide a field and container information.RecordTransformationOrBuildergetRecordTransformationOrBuilder()For record transformations, provide a field and container information.booleanhasFindingId()For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated.booleanhasRecordTransformation()For record transformations, provide a field and container information.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TransformationLocation.BuildermergeFrom(TransformationLocation other)TransformationLocation.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TransformationLocation.BuildermergeFrom(com.google.protobuf.Message other)TransformationLocation.BuildermergeRecordTransformation(RecordTransformation value)For record transformations, provide a field and container information.TransformationLocation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TransformationLocation.BuildersetContainerType(TransformationContainerType value)Information about the functionality of the container where this finding occurred, if available.TransformationLocation.BuildersetContainerTypeValue(int value)Information about the functionality of the container where this finding occurred, if available.TransformationLocation.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TransformationLocation.BuildersetFindingId(String value)For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated.TransformationLocation.BuildersetFindingIdBytes(com.google.protobuf.ByteString value)For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated.TransformationLocation.BuildersetRecordTransformation(RecordTransformation value)For record transformations, provide a field and container information.TransformationLocation.BuildersetRecordTransformation(RecordTransformation.Builder builderForValue)For record transformations, provide a field and container information.TransformationLocation.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)TransformationLocation.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TransformationLocation.Builder>
-
clear
public TransformationLocation.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<TransformationLocation.Builder>
-
getDefaultInstanceForType
public TransformationLocation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TransformationLocation build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TransformationLocation buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TransformationLocation.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TransformationLocation.Builder>
-
setField
public TransformationLocation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TransformationLocation.Builder>
-
clearField
public TransformationLocation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TransformationLocation.Builder>
-
clearOneof
public TransformationLocation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TransformationLocation.Builder>
-
setRepeatedField
public TransformationLocation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TransformationLocation.Builder>
-
addRepeatedField
public TransformationLocation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TransformationLocation.Builder>
-
mergeFrom
public TransformationLocation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransformationLocation.Builder>
-
mergeFrom
public TransformationLocation.Builder mergeFrom(TransformationLocation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public TransformationLocation.LocationTypeCase getLocationTypeCase()
- Specified by:
getLocationTypeCasein interfaceTransformationLocationOrBuilder
-
clearLocationType
public TransformationLocation.Builder 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
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;- 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
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;- Parameters:
value- The findingId to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setFindingIdBytes
public TransformationLocation.Builder 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. 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
public RecordTransformation 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
public TransformationLocation.Builder setRecordTransformation(RecordTransformation value)
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
public TransformationLocation.Builder mergeRecordTransformation(RecordTransformation value)
For record transformations, provide a field and container information.
.google.privacy.dlp.v2.RecordTransformation record_transformation = 2;
-
clearRecordTransformation
public TransformationLocation.Builder clearRecordTransformation()
For record transformations, provide a field and container information.
.google.privacy.dlp.v2.RecordTransformation record_transformation = 2;
-
getRecordTransformationBuilder
public RecordTransformation.Builder getRecordTransformationBuilder()
For record transformations, provide a field and container information.
.google.privacy.dlp.v2.RecordTransformation record_transformation = 2;
-
getRecordTransformationOrBuilder
public RecordTransformationOrBuilder 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
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;- Parameters:
value- The enum numeric value on the wire for containerType to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getContainerTypein interfaceTransformationLocationOrBuilder- Returns:
- The containerType.
-
setContainerType
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;- Parameters:
value- The containerType to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setUnknownFields
public final TransformationLocation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TransformationLocation.Builder>
-
mergeUnknownFields
public final TransformationLocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TransformationLocation.Builder>
-
-