Class InfoTypeTransformations.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InfoTypeTransformations.Builder>
com.google.privacy.dlp.v2.InfoTypeTransformations.Builder
All Implemented Interfaces:
InfoTypeTransformationsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
InfoTypeTransformations

public static final class InfoTypeTransformations.Builder extends com.google.protobuf.GeneratedMessage.Builder<InfoTypeTransformations.Builder> implements InfoTypeTransformationsOrBuilder
 A type of transformation that will scan unstructured text and
 apply various `PrimitiveTransformation`s to each finding, where the
 transformation is applied to only values that were identified as a specific
 info_type.
 
Protobuf type google.privacy.dlp.v2.InfoTypeTransformations
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<InfoTypeTransformations.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<InfoTypeTransformations.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<InfoTypeTransformations.Builder>
    • getDefaultInstanceForType

      public InfoTypeTransformations getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public InfoTypeTransformations build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public InfoTypeTransformations buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public InfoTypeTransformations.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InfoTypeTransformations.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<InfoTypeTransformations.Builder>
    • mergeFrom

      public InfoTypeTransformations.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InfoTypeTransformations.Builder>
      Throws:
      IOException
    • getTransformationsList

      public List<InfoTypeTransformations.InfoTypeTransformation> getTransformationsList()
       Required. Transformation for each infoType. Cannot specify more than one
       for a given infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTransformationsList in interface InfoTypeTransformationsOrBuilder
    • getTransformationsCount

      public int getTransformationsCount()
       Required. Transformation for each infoType. Cannot specify more than one
       for a given infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTransformationsCount in interface InfoTypeTransformationsOrBuilder
    • getTransformations

      public InfoTypeTransformations.InfoTypeTransformation getTransformations(int index)
       Required. Transformation for each infoType. Cannot specify more than one
       for a given infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTransformations in interface InfoTypeTransformationsOrBuilder
    • setTransformations

       Required. Transformation for each infoType. Cannot specify more than one
       for a given infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
    • setTransformations

      public InfoTypeTransformations.Builder setTransformations(int index, InfoTypeTransformations.InfoTypeTransformation.Builder builderForValue)
       Required. Transformation for each infoType. Cannot specify more than one
       for a given infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
    • addTransformations

       Required. Transformation for each infoType. Cannot specify more than one
       for a given infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
    • addTransformations

       Required. Transformation for each infoType. Cannot specify more than one
       for a given infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
    • addTransformations

       Required. Transformation for each infoType. Cannot specify more than one
       for a given infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
    • addTransformations

      public InfoTypeTransformations.Builder addTransformations(int index, InfoTypeTransformations.InfoTypeTransformation.Builder builderForValue)
       Required. Transformation for each infoType. Cannot specify more than one
       for a given infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
    • addAllTransformations

       Required. Transformation for each infoType. Cannot specify more than one
       for a given infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearTransformations

      public InfoTypeTransformations.Builder clearTransformations()
       Required. Transformation for each infoType. Cannot specify more than one
       for a given infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
    • removeTransformations

      public InfoTypeTransformations.Builder removeTransformations(int index)
       Required. Transformation for each infoType. Cannot specify more than one
       for a given infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
    • getTransformationsBuilder

      public InfoTypeTransformations.InfoTypeTransformation.Builder getTransformationsBuilder(int index)
       Required. Transformation for each infoType. Cannot specify more than one
       for a given infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
    • getTransformationsOrBuilder

      public InfoTypeTransformations.InfoTypeTransformationOrBuilder getTransformationsOrBuilder(int index)
       Required. Transformation for each infoType. Cannot specify more than one
       for a given infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTransformationsOrBuilder in interface InfoTypeTransformationsOrBuilder
    • getTransformationsOrBuilderList

      public List<? extends InfoTypeTransformations.InfoTypeTransformationOrBuilder> getTransformationsOrBuilderList()
       Required. Transformation for each infoType. Cannot specify more than one
       for a given infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTransformationsOrBuilderList in interface InfoTypeTransformationsOrBuilder
    • addTransformationsBuilder

      public InfoTypeTransformations.InfoTypeTransformation.Builder addTransformationsBuilder()
       Required. Transformation for each infoType. Cannot specify more than one
       for a given infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
    • addTransformationsBuilder

      public InfoTypeTransformations.InfoTypeTransformation.Builder addTransformationsBuilder(int index)
       Required. Transformation for each infoType. Cannot specify more than one
       for a given infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
    • getTransformationsBuilderList

      public List<InfoTypeTransformations.InfoTypeTransformation.Builder> getTransformationsBuilderList()
       Required. Transformation for each infoType. Cannot specify more than one
       for a given infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];