Class FindingTypeStats.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FindingTypeStats.Builder>
com.google.cloud.websecurityscanner.v1.FindingTypeStats.Builder
All Implemented Interfaces:
FindingTypeStatsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
FindingTypeStats

public static final class FindingTypeStats.Builder extends com.google.protobuf.GeneratedMessage.Builder<FindingTypeStats.Builder> implements FindingTypeStatsOrBuilder
 A FindingTypeStats resource represents stats regarding a specific FindingType
 of Findings under a given ScanRun.
 
Protobuf type google.cloud.websecurityscanner.v1.FindingTypeStats
  • 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<FindingTypeStats.Builder>
    • clear

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

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

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

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

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

      public FindingTypeStats.Builder mergeFrom(FindingTypeStats other)
    • isInitialized

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

      public FindingTypeStats.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<FindingTypeStats.Builder>
      Throws:
      IOException
    • getFindingType

      public String getFindingType()
       Output only. The finding type associated with the stats.
       
      string finding_type = 1;
      Specified by:
      getFindingType in interface FindingTypeStatsOrBuilder
      Returns:
      The findingType.
    • getFindingTypeBytes

      public com.google.protobuf.ByteString getFindingTypeBytes()
       Output only. The finding type associated with the stats.
       
      string finding_type = 1;
      Specified by:
      getFindingTypeBytes in interface FindingTypeStatsOrBuilder
      Returns:
      The bytes for findingType.
    • setFindingType

      public FindingTypeStats.Builder setFindingType(String value)
       Output only. The finding type associated with the stats.
       
      string finding_type = 1;
      Parameters:
      value - The findingType to set.
      Returns:
      This builder for chaining.
    • clearFindingType

      public FindingTypeStats.Builder clearFindingType()
       Output only. The finding type associated with the stats.
       
      string finding_type = 1;
      Returns:
      This builder for chaining.
    • setFindingTypeBytes

      public FindingTypeStats.Builder setFindingTypeBytes(com.google.protobuf.ByteString value)
       Output only. The finding type associated with the stats.
       
      string finding_type = 1;
      Parameters:
      value - The bytes for findingType to set.
      Returns:
      This builder for chaining.
    • getFindingCount

      public int getFindingCount()
       Output only. The count of findings belonging to this finding type.
       
      int32 finding_count = 2;
      Specified by:
      getFindingCount in interface FindingTypeStatsOrBuilder
      Returns:
      The findingCount.
    • setFindingCount

      public FindingTypeStats.Builder setFindingCount(int value)
       Output only. The count of findings belonging to this finding type.
       
      int32 finding_count = 2;
      Parameters:
      value - The findingCount to set.
      Returns:
      This builder for chaining.
    • clearFindingCount

      public FindingTypeStats.Builder clearFindingCount()
       Output only. The count of findings belonging to this finding type.
       
      int32 finding_count = 2;
      Returns:
      This builder for chaining.