Class ThreatEntryRemovals.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ThreatEntryRemovals.Builder>
com.google.webrisk.v1.ThreatEntryRemovals.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ThreatEntryRemovalsOrBuilder, Cloneable
Enclosing class:
ThreatEntryRemovals

public static final class ThreatEntryRemovals.Builder extends com.google.protobuf.GeneratedMessage.Builder<ThreatEntryRemovals.Builder> implements ThreatEntryRemovalsOrBuilder
 Contains the set of entries to remove from a local database.
 
Protobuf type google.cloud.webrisk.v1.ThreatEntryRemovals
  • 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<ThreatEntryRemovals.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<ThreatEntryRemovals.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<ThreatEntryRemovals.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ThreatEntryRemovals.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<ThreatEntryRemovals.Builder>
      Throws:
      IOException
    • hasRawIndices

      public boolean hasRawIndices()
       The raw removal indices for a local list.
       
      .google.cloud.webrisk.v1.RawIndices raw_indices = 1;
      Specified by:
      hasRawIndices in interface ThreatEntryRemovalsOrBuilder
      Returns:
      Whether the rawIndices field is set.
    • getRawIndices

      public RawIndices getRawIndices()
       The raw removal indices for a local list.
       
      .google.cloud.webrisk.v1.RawIndices raw_indices = 1;
      Specified by:
      getRawIndices in interface ThreatEntryRemovalsOrBuilder
      Returns:
      The rawIndices.
    • setRawIndices

      public ThreatEntryRemovals.Builder setRawIndices(RawIndices value)
       The raw removal indices for a local list.
       
      .google.cloud.webrisk.v1.RawIndices raw_indices = 1;
    • setRawIndices

      public ThreatEntryRemovals.Builder setRawIndices(RawIndices.Builder builderForValue)
       The raw removal indices for a local list.
       
      .google.cloud.webrisk.v1.RawIndices raw_indices = 1;
    • mergeRawIndices

      public ThreatEntryRemovals.Builder mergeRawIndices(RawIndices value)
       The raw removal indices for a local list.
       
      .google.cloud.webrisk.v1.RawIndices raw_indices = 1;
    • clearRawIndices

      public ThreatEntryRemovals.Builder clearRawIndices()
       The raw removal indices for a local list.
       
      .google.cloud.webrisk.v1.RawIndices raw_indices = 1;
    • getRawIndicesBuilder

      public RawIndices.Builder getRawIndicesBuilder()
       The raw removal indices for a local list.
       
      .google.cloud.webrisk.v1.RawIndices raw_indices = 1;
    • getRawIndicesOrBuilder

      public RawIndicesOrBuilder getRawIndicesOrBuilder()
       The raw removal indices for a local list.
       
      .google.cloud.webrisk.v1.RawIndices raw_indices = 1;
      Specified by:
      getRawIndicesOrBuilder in interface ThreatEntryRemovalsOrBuilder
    • hasRiceIndices

      public boolean hasRiceIndices()
       The encoded local, lexicographically-sorted list indices, using a
       Golomb-Rice encoding. Used for sending compressed removal indices. The
       removal indices (uint32) are sorted in ascending order, then delta encoded
       and stored as encoded_data.
       
      .google.cloud.webrisk.v1.RiceDeltaEncoding rice_indices = 2;
      Specified by:
      hasRiceIndices in interface ThreatEntryRemovalsOrBuilder
      Returns:
      Whether the riceIndices field is set.
    • getRiceIndices

      public RiceDeltaEncoding getRiceIndices()
       The encoded local, lexicographically-sorted list indices, using a
       Golomb-Rice encoding. Used for sending compressed removal indices. The
       removal indices (uint32) are sorted in ascending order, then delta encoded
       and stored as encoded_data.
       
      .google.cloud.webrisk.v1.RiceDeltaEncoding rice_indices = 2;
      Specified by:
      getRiceIndices in interface ThreatEntryRemovalsOrBuilder
      Returns:
      The riceIndices.
    • setRiceIndices

      public ThreatEntryRemovals.Builder setRiceIndices(RiceDeltaEncoding value)
       The encoded local, lexicographically-sorted list indices, using a
       Golomb-Rice encoding. Used for sending compressed removal indices. The
       removal indices (uint32) are sorted in ascending order, then delta encoded
       and stored as encoded_data.
       
      .google.cloud.webrisk.v1.RiceDeltaEncoding rice_indices = 2;
    • setRiceIndices

      public ThreatEntryRemovals.Builder setRiceIndices(RiceDeltaEncoding.Builder builderForValue)
       The encoded local, lexicographically-sorted list indices, using a
       Golomb-Rice encoding. Used for sending compressed removal indices. The
       removal indices (uint32) are sorted in ascending order, then delta encoded
       and stored as encoded_data.
       
      .google.cloud.webrisk.v1.RiceDeltaEncoding rice_indices = 2;
    • mergeRiceIndices

      public ThreatEntryRemovals.Builder mergeRiceIndices(RiceDeltaEncoding value)
       The encoded local, lexicographically-sorted list indices, using a
       Golomb-Rice encoding. Used for sending compressed removal indices. The
       removal indices (uint32) are sorted in ascending order, then delta encoded
       and stored as encoded_data.
       
      .google.cloud.webrisk.v1.RiceDeltaEncoding rice_indices = 2;
    • clearRiceIndices

      public ThreatEntryRemovals.Builder clearRiceIndices()
       The encoded local, lexicographically-sorted list indices, using a
       Golomb-Rice encoding. Used for sending compressed removal indices. The
       removal indices (uint32) are sorted in ascending order, then delta encoded
       and stored as encoded_data.
       
      .google.cloud.webrisk.v1.RiceDeltaEncoding rice_indices = 2;
    • getRiceIndicesBuilder

      public RiceDeltaEncoding.Builder getRiceIndicesBuilder()
       The encoded local, lexicographically-sorted list indices, using a
       Golomb-Rice encoding. Used for sending compressed removal indices. The
       removal indices (uint32) are sorted in ascending order, then delta encoded
       and stored as encoded_data.
       
      .google.cloud.webrisk.v1.RiceDeltaEncoding rice_indices = 2;
    • getRiceIndicesOrBuilder

      public RiceDeltaEncodingOrBuilder getRiceIndicesOrBuilder()
       The encoded local, lexicographically-sorted list indices, using a
       Golomb-Rice encoding. Used for sending compressed removal indices. The
       removal indices (uint32) are sorted in ascending order, then delta encoded
       and stored as encoded_data.
       
      .google.cloud.webrisk.v1.RiceDeltaEncoding rice_indices = 2;
      Specified by:
      getRiceIndicesOrBuilder in interface ThreatEntryRemovalsOrBuilder