Class InfoTypeStats.Builder

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

public static final class InfoTypeStats.Builder extends com.google.protobuf.GeneratedMessage.Builder<InfoTypeStats.Builder> implements InfoTypeStatsOrBuilder
 Statistics regarding a specific InfoType.
 
Protobuf type google.privacy.dlp.v2.InfoTypeStats
  • 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<InfoTypeStats.Builder>
    • clear

      public InfoTypeStats.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<InfoTypeStats.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<InfoTypeStats.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public InfoTypeStats.Builder mergeFrom(InfoTypeStats other)
    • isInitialized

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

      public InfoTypeStats.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<InfoTypeStats.Builder>
      Throws:
      IOException
    • hasInfoType

      public boolean hasInfoType()
       The type of finding this stat is for.
       
      .google.privacy.dlp.v2.InfoType info_type = 1;
      Specified by:
      hasInfoType in interface InfoTypeStatsOrBuilder
      Returns:
      Whether the infoType field is set.
    • getInfoType

      public InfoType getInfoType()
       The type of finding this stat is for.
       
      .google.privacy.dlp.v2.InfoType info_type = 1;
      Specified by:
      getInfoType in interface InfoTypeStatsOrBuilder
      Returns:
      The infoType.
    • setInfoType

      public InfoTypeStats.Builder setInfoType(InfoType value)
       The type of finding this stat is for.
       
      .google.privacy.dlp.v2.InfoType info_type = 1;
    • setInfoType

      public InfoTypeStats.Builder setInfoType(InfoType.Builder builderForValue)
       The type of finding this stat is for.
       
      .google.privacy.dlp.v2.InfoType info_type = 1;
    • mergeInfoType

      public InfoTypeStats.Builder mergeInfoType(InfoType value)
       The type of finding this stat is for.
       
      .google.privacy.dlp.v2.InfoType info_type = 1;
    • clearInfoType

      public InfoTypeStats.Builder clearInfoType()
       The type of finding this stat is for.
       
      .google.privacy.dlp.v2.InfoType info_type = 1;
    • getInfoTypeBuilder

      public InfoType.Builder getInfoTypeBuilder()
       The type of finding this stat is for.
       
      .google.privacy.dlp.v2.InfoType info_type = 1;
    • getInfoTypeOrBuilder

      public InfoTypeOrBuilder getInfoTypeOrBuilder()
       The type of finding this stat is for.
       
      .google.privacy.dlp.v2.InfoType info_type = 1;
      Specified by:
      getInfoTypeOrBuilder in interface InfoTypeStatsOrBuilder
    • getCount

      public long getCount()
       Number of findings for this infoType.
       
      int64 count = 2;
      Specified by:
      getCount in interface InfoTypeStatsOrBuilder
      Returns:
      The count.
    • setCount

      public InfoTypeStats.Builder setCount(long value)
       Number of findings for this infoType.
       
      int64 count = 2;
      Parameters:
      value - The count to set.
      Returns:
      This builder for chaining.
    • clearCount

      public InfoTypeStats.Builder clearCount()
       Number of findings for this infoType.
       
      int64 count = 2;
      Returns:
      This builder for chaining.