Class RecordTransformations.Builder

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

public static final class RecordTransformations.Builder extends com.google.protobuf.GeneratedMessage.Builder<RecordTransformations.Builder> implements RecordTransformationsOrBuilder
 A type of transformation that is applied over structured data such as a
 table.
 
Protobuf type google.privacy.dlp.v2.RecordTransformations
  • 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<RecordTransformations.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<RecordTransformations.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<RecordTransformations.Builder>
    • getDefaultInstanceForType

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

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

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

      public RecordTransformations.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<RecordTransformations.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<RecordTransformations.Builder>
    • mergeFrom

      public RecordTransformations.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<RecordTransformations.Builder>
      Throws:
      IOException
    • getFieldTransformationsList

      public List<FieldTransformation> getFieldTransformationsList()
       Transform the record by applying various field transformations.
       
      repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
      Specified by:
      getFieldTransformationsList in interface RecordTransformationsOrBuilder
    • getFieldTransformationsCount

      public int getFieldTransformationsCount()
       Transform the record by applying various field transformations.
       
      repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
      Specified by:
      getFieldTransformationsCount in interface RecordTransformationsOrBuilder
    • getFieldTransformations

      public FieldTransformation getFieldTransformations(int index)
       Transform the record by applying various field transformations.
       
      repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
      Specified by:
      getFieldTransformations in interface RecordTransformationsOrBuilder
    • setFieldTransformations

      public RecordTransformations.Builder setFieldTransformations(int index, FieldTransformation value)
       Transform the record by applying various field transformations.
       
      repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
    • setFieldTransformations

      public RecordTransformations.Builder setFieldTransformations(int index, FieldTransformation.Builder builderForValue)
       Transform the record by applying various field transformations.
       
      repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
    • addFieldTransformations

      public RecordTransformations.Builder addFieldTransformations(FieldTransformation value)
       Transform the record by applying various field transformations.
       
      repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
    • addFieldTransformations

      public RecordTransformations.Builder addFieldTransformations(int index, FieldTransformation value)
       Transform the record by applying various field transformations.
       
      repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
    • addFieldTransformations

      public RecordTransformations.Builder addFieldTransformations(FieldTransformation.Builder builderForValue)
       Transform the record by applying various field transformations.
       
      repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
    • addFieldTransformations

      public RecordTransformations.Builder addFieldTransformations(int index, FieldTransformation.Builder builderForValue)
       Transform the record by applying various field transformations.
       
      repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
    • addAllFieldTransformations

      public RecordTransformations.Builder addAllFieldTransformations(Iterable<? extends FieldTransformation> values)
       Transform the record by applying various field transformations.
       
      repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
    • clearFieldTransformations

      public RecordTransformations.Builder clearFieldTransformations()
       Transform the record by applying various field transformations.
       
      repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
    • removeFieldTransformations

      public RecordTransformations.Builder removeFieldTransformations(int index)
       Transform the record by applying various field transformations.
       
      repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
    • getFieldTransformationsBuilder

      public FieldTransformation.Builder getFieldTransformationsBuilder(int index)
       Transform the record by applying various field transformations.
       
      repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
    • getFieldTransformationsOrBuilder

      public FieldTransformationOrBuilder getFieldTransformationsOrBuilder(int index)
       Transform the record by applying various field transformations.
       
      repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
      Specified by:
      getFieldTransformationsOrBuilder in interface RecordTransformationsOrBuilder
    • getFieldTransformationsOrBuilderList

      public List<? extends FieldTransformationOrBuilder> getFieldTransformationsOrBuilderList()
       Transform the record by applying various field transformations.
       
      repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
      Specified by:
      getFieldTransformationsOrBuilderList in interface RecordTransformationsOrBuilder
    • addFieldTransformationsBuilder

      public FieldTransformation.Builder addFieldTransformationsBuilder()
       Transform the record by applying various field transformations.
       
      repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
    • addFieldTransformationsBuilder

      public FieldTransformation.Builder addFieldTransformationsBuilder(int index)
       Transform the record by applying various field transformations.
       
      repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
    • getFieldTransformationsBuilderList

      public List<FieldTransformation.Builder> getFieldTransformationsBuilderList()
       Transform the record by applying various field transformations.
       
      repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
    • getRecordSuppressionsList

      public List<RecordSuppression> getRecordSuppressionsList()
       Configuration defining which records get suppressed entirely. Records that
       match any suppression rule are omitted from the output.
       
      repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
      Specified by:
      getRecordSuppressionsList in interface RecordTransformationsOrBuilder
    • getRecordSuppressionsCount

      public int getRecordSuppressionsCount()
       Configuration defining which records get suppressed entirely. Records that
       match any suppression rule are omitted from the output.
       
      repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
      Specified by:
      getRecordSuppressionsCount in interface RecordTransformationsOrBuilder
    • getRecordSuppressions

      public RecordSuppression getRecordSuppressions(int index)
       Configuration defining which records get suppressed entirely. Records that
       match any suppression rule are omitted from the output.
       
      repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
      Specified by:
      getRecordSuppressions in interface RecordTransformationsOrBuilder
    • setRecordSuppressions

      public RecordTransformations.Builder setRecordSuppressions(int index, RecordSuppression value)
       Configuration defining which records get suppressed entirely. Records that
       match any suppression rule are omitted from the output.
       
      repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
    • setRecordSuppressions

      public RecordTransformations.Builder setRecordSuppressions(int index, RecordSuppression.Builder builderForValue)
       Configuration defining which records get suppressed entirely. Records that
       match any suppression rule are omitted from the output.
       
      repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
    • addRecordSuppressions

      public RecordTransformations.Builder addRecordSuppressions(RecordSuppression value)
       Configuration defining which records get suppressed entirely. Records that
       match any suppression rule are omitted from the output.
       
      repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
    • addRecordSuppressions

      public RecordTransformations.Builder addRecordSuppressions(int index, RecordSuppression value)
       Configuration defining which records get suppressed entirely. Records that
       match any suppression rule are omitted from the output.
       
      repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
    • addRecordSuppressions

      public RecordTransformations.Builder addRecordSuppressions(RecordSuppression.Builder builderForValue)
       Configuration defining which records get suppressed entirely. Records that
       match any suppression rule are omitted from the output.
       
      repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
    • addRecordSuppressions

      public RecordTransformations.Builder addRecordSuppressions(int index, RecordSuppression.Builder builderForValue)
       Configuration defining which records get suppressed entirely. Records that
       match any suppression rule are omitted from the output.
       
      repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
    • addAllRecordSuppressions

      public RecordTransformations.Builder addAllRecordSuppressions(Iterable<? extends RecordSuppression> values)
       Configuration defining which records get suppressed entirely. Records that
       match any suppression rule are omitted from the output.
       
      repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
    • clearRecordSuppressions

      public RecordTransformations.Builder clearRecordSuppressions()
       Configuration defining which records get suppressed entirely. Records that
       match any suppression rule are omitted from the output.
       
      repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
    • removeRecordSuppressions

      public RecordTransformations.Builder removeRecordSuppressions(int index)
       Configuration defining which records get suppressed entirely. Records that
       match any suppression rule are omitted from the output.
       
      repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
    • getRecordSuppressionsBuilder

      public RecordSuppression.Builder getRecordSuppressionsBuilder(int index)
       Configuration defining which records get suppressed entirely. Records that
       match any suppression rule are omitted from the output.
       
      repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
    • getRecordSuppressionsOrBuilder

      public RecordSuppressionOrBuilder getRecordSuppressionsOrBuilder(int index)
       Configuration defining which records get suppressed entirely. Records that
       match any suppression rule are omitted from the output.
       
      repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
      Specified by:
      getRecordSuppressionsOrBuilder in interface RecordTransformationsOrBuilder
    • getRecordSuppressionsOrBuilderList

      public List<? extends RecordSuppressionOrBuilder> getRecordSuppressionsOrBuilderList()
       Configuration defining which records get suppressed entirely. Records that
       match any suppression rule are omitted from the output.
       
      repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
      Specified by:
      getRecordSuppressionsOrBuilderList in interface RecordTransformationsOrBuilder
    • addRecordSuppressionsBuilder

      public RecordSuppression.Builder addRecordSuppressionsBuilder()
       Configuration defining which records get suppressed entirely. Records that
       match any suppression rule are omitted from the output.
       
      repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
    • addRecordSuppressionsBuilder

      public RecordSuppression.Builder addRecordSuppressionsBuilder(int index)
       Configuration defining which records get suppressed entirely. Records that
       match any suppression rule are omitted from the output.
       
      repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
    • getRecordSuppressionsBuilderList

      public List<RecordSuppression.Builder> getRecordSuppressionsBuilderList()
       Configuration defining which records get suppressed entirely. Records that
       match any suppression rule are omitted from the output.
       
      repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;