Package com.google.privacy.dlp.v2
Class InfoTypeTransformations.InfoTypeTransformation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InfoTypeTransformations.InfoTypeTransformation.Builder>
com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder
- All Implemented Interfaces:
InfoTypeTransformations.InfoTypeTransformationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InfoTypeTransformations.InfoTypeTransformation
public static final class InfoTypeTransformations.InfoTypeTransformation.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InfoTypeTransformations.InfoTypeTransformation.Builder>
implements InfoTypeTransformations.InfoTypeTransformationOrBuilder
A transformation to apply to text that is identified as a specific info_type.Protobuf type
google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation-
Method Summary
Modifier and TypeMethodDescriptionaddAllInfoTypes(Iterable<? extends InfoType> values) InfoTypes to apply the transformation to.addInfoTypes(int index, InfoType value) InfoTypes to apply the transformation to.addInfoTypes(int index, InfoType.Builder builderForValue) InfoTypes to apply the transformation to.addInfoTypes(InfoType value) InfoTypes to apply the transformation to.addInfoTypes(InfoType.Builder builderForValue) InfoTypes to apply the transformation to.InfoTypes to apply the transformation to.addInfoTypesBuilder(int index) InfoTypes to apply the transformation to.build()clear()InfoTypes to apply the transformation to.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetInfoTypes(int index) InfoTypes to apply the transformation to.getInfoTypesBuilder(int index) InfoTypes to apply the transformation to.InfoTypes to apply the transformation to.intInfoTypes to apply the transformation to.InfoTypes to apply the transformation to.getInfoTypesOrBuilder(int index) InfoTypes to apply the transformation to.List<? extends InfoTypeOrBuilder>InfoTypes to apply the transformation to.Required.Required.Required.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Required.removeInfoTypes(int index) InfoTypes to apply the transformation to.setInfoTypes(int index, InfoType value) InfoTypes to apply the transformation to.setInfoTypes(int index, InfoType.Builder builderForValue) InfoTypes to apply the transformation to.Required.setPrimitiveTransformation(PrimitiveTransformation.Builder builderForValue) Required.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<InfoTypeTransformations.InfoTypeTransformation.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<InfoTypeTransformations.InfoTypeTransformation.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<InfoTypeTransformations.InfoTypeTransformation.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
public InfoTypeTransformations.InfoTypeTransformation.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InfoTypeTransformations.InfoTypeTransformation.Builder>
-
mergeFrom
public InfoTypeTransformations.InfoTypeTransformation.Builder mergeFrom(InfoTypeTransformations.InfoTypeTransformation other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InfoTypeTransformations.InfoTypeTransformation.Builder>
-
mergeFrom
public InfoTypeTransformations.InfoTypeTransformation.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<InfoTypeTransformations.InfoTypeTransformation.Builder>- Throws:
IOException
-
getInfoTypesList
InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in `InspectConfig`.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;- Specified by:
getInfoTypesListin interfaceInfoTypeTransformations.InfoTypeTransformationOrBuilder
-
getInfoTypesCount
public int getInfoTypesCount()InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in `InspectConfig`.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;- Specified by:
getInfoTypesCountin interfaceInfoTypeTransformations.InfoTypeTransformationOrBuilder
-
getInfoTypes
InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in `InspectConfig`.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;- Specified by:
getInfoTypesin interfaceInfoTypeTransformations.InfoTypeTransformationOrBuilder
-
setInfoTypes
public InfoTypeTransformations.InfoTypeTransformation.Builder setInfoTypes(int index, InfoType value) InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in `InspectConfig`.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
setInfoTypes
public InfoTypeTransformations.InfoTypeTransformation.Builder setInfoTypes(int index, InfoType.Builder builderForValue) InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in `InspectConfig`.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
addInfoTypes
InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in `InspectConfig`.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
addInfoTypes
public InfoTypeTransformations.InfoTypeTransformation.Builder addInfoTypes(int index, InfoType value) InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in `InspectConfig`.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
addInfoTypes
public InfoTypeTransformations.InfoTypeTransformation.Builder addInfoTypes(InfoType.Builder builderForValue) InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in `InspectConfig`.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
addInfoTypes
public InfoTypeTransformations.InfoTypeTransformation.Builder addInfoTypes(int index, InfoType.Builder builderForValue) InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in `InspectConfig`.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
addAllInfoTypes
public InfoTypeTransformations.InfoTypeTransformation.Builder addAllInfoTypes(Iterable<? extends InfoType> values) InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in `InspectConfig`.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
clearInfoTypes
InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in `InspectConfig`.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
removeInfoTypes
InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in `InspectConfig`.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
getInfoTypesBuilder
InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in `InspectConfig`.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
getInfoTypesOrBuilder
InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in `InspectConfig`.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;- Specified by:
getInfoTypesOrBuilderin interfaceInfoTypeTransformations.InfoTypeTransformationOrBuilder
-
getInfoTypesOrBuilderList
InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in `InspectConfig`.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;- Specified by:
getInfoTypesOrBuilderListin interfaceInfoTypeTransformations.InfoTypeTransformationOrBuilder
-
addInfoTypesBuilder
InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in `InspectConfig`.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
addInfoTypesBuilder
InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in `InspectConfig`.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
getInfoTypesBuilderList
InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in `InspectConfig`.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
hasPrimitiveTransformation
public boolean hasPrimitiveTransformation()Required. Primitive transformation to apply to the infoType.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasPrimitiveTransformationin interfaceInfoTypeTransformations.InfoTypeTransformationOrBuilder- Returns:
- Whether the primitiveTransformation field is set.
-
getPrimitiveTransformation
Required. Primitive transformation to apply to the infoType.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPrimitiveTransformationin interfaceInfoTypeTransformations.InfoTypeTransformationOrBuilder- Returns:
- The primitiveTransformation.
-
setPrimitiveTransformation
public InfoTypeTransformations.InfoTypeTransformation.Builder setPrimitiveTransformation(PrimitiveTransformation value) Required. Primitive transformation to apply to the infoType.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; -
setPrimitiveTransformation
public InfoTypeTransformations.InfoTypeTransformation.Builder setPrimitiveTransformation(PrimitiveTransformation.Builder builderForValue) Required. Primitive transformation to apply to the infoType.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; -
mergePrimitiveTransformation
public InfoTypeTransformations.InfoTypeTransformation.Builder mergePrimitiveTransformation(PrimitiveTransformation value) Required. Primitive transformation to apply to the infoType.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; -
clearPrimitiveTransformation
Required. Primitive transformation to apply to the infoType.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; -
getPrimitiveTransformationBuilder
Required. Primitive transformation to apply to the infoType.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; -
getPrimitiveTransformationOrBuilder
Required. Primitive transformation to apply to the infoType.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPrimitiveTransformationOrBuilderin interfaceInfoTypeTransformations.InfoTypeTransformationOrBuilder
-