Interface ComputeThreatListDiffResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ComputeThreatListDiffResponse, ComputeThreatListDiffResponse.Builder

@Generated public interface ComputeThreatListDiffResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getResponseTypeValue

      int getResponseTypeValue()
       The type of response. This may indicate that an action must be taken by the
       client when the response is received.
       
      .google.cloud.webrisk.v1.ComputeThreatListDiffResponse.ResponseType response_type = 4;
      Returns:
      The enum numeric value on the wire for responseType.
    • getResponseType

       The type of response. This may indicate that an action must be taken by the
       client when the response is received.
       
      .google.cloud.webrisk.v1.ComputeThreatListDiffResponse.ResponseType response_type = 4;
      Returns:
      The responseType.
    • hasAdditions

      boolean hasAdditions()
       A set of entries to add to a local threat type's list.
       
      .google.cloud.webrisk.v1.ThreatEntryAdditions additions = 5;
      Returns:
      Whether the additions field is set.
    • getAdditions

      ThreatEntryAdditions getAdditions()
       A set of entries to add to a local threat type's list.
       
      .google.cloud.webrisk.v1.ThreatEntryAdditions additions = 5;
      Returns:
      The additions.
    • getAdditionsOrBuilder

      ThreatEntryAdditionsOrBuilder getAdditionsOrBuilder()
       A set of entries to add to a local threat type's list.
       
      .google.cloud.webrisk.v1.ThreatEntryAdditions additions = 5;
    • hasRemovals

      boolean hasRemovals()
       A set of entries to remove from a local threat type's list.
       This field may be empty.
       
      .google.cloud.webrisk.v1.ThreatEntryRemovals removals = 6;
      Returns:
      Whether the removals field is set.
    • getRemovals

      ThreatEntryRemovals getRemovals()
       A set of entries to remove from a local threat type's list.
       This field may be empty.
       
      .google.cloud.webrisk.v1.ThreatEntryRemovals removals = 6;
      Returns:
      The removals.
    • getRemovalsOrBuilder

      ThreatEntryRemovalsOrBuilder getRemovalsOrBuilder()
       A set of entries to remove from a local threat type's list.
       This field may be empty.
       
      .google.cloud.webrisk.v1.ThreatEntryRemovals removals = 6;
    • getNewVersionToken

      com.google.protobuf.ByteString getNewVersionToken()
       The new opaque client version token. This should be retained by the client
       and passed into the next call of ComputeThreatListDiff as 'version_token'.
       A separate version token should be stored and used for each threatList.
       
      bytes new_version_token = 7;
      Returns:
      The newVersionToken.
    • hasChecksum

      boolean hasChecksum()
       The expected SHA256 hash of the client state; that is, of the sorted list
       of all hashes present in the database after applying the provided diff.
       If the client state doesn't match the expected state, the client must
       discard this diff and retry later.
       
      .google.cloud.webrisk.v1.ComputeThreatListDiffResponse.Checksum checksum = 8;
      Returns:
      Whether the checksum field is set.
    • getChecksum

       The expected SHA256 hash of the client state; that is, of the sorted list
       of all hashes present in the database after applying the provided diff.
       If the client state doesn't match the expected state, the client must
       discard this diff and retry later.
       
      .google.cloud.webrisk.v1.ComputeThreatListDiffResponse.Checksum checksum = 8;
      Returns:
      The checksum.
    • getChecksumOrBuilder

       The expected SHA256 hash of the client state; that is, of the sorted list
       of all hashes present in the database after applying the provided diff.
       If the client state doesn't match the expected state, the client must
       discard this diff and retry later.
       
      .google.cloud.webrisk.v1.ComputeThreatListDiffResponse.Checksum checksum = 8;
    • hasRecommendedNextDiff

      boolean hasRecommendedNextDiff()
       The soonest the client should wait before issuing any diff
       request. Querying sooner is unlikely to produce a meaningful diff.
       Waiting longer is acceptable considering the use case.
       If this field is not set clients may update as soon as they want.
       
      .google.protobuf.Timestamp recommended_next_diff = 2;
      Returns:
      Whether the recommendedNextDiff field is set.
    • getRecommendedNextDiff

      com.google.protobuf.Timestamp getRecommendedNextDiff()
       The soonest the client should wait before issuing any diff
       request. Querying sooner is unlikely to produce a meaningful diff.
       Waiting longer is acceptable considering the use case.
       If this field is not set clients may update as soon as they want.
       
      .google.protobuf.Timestamp recommended_next_diff = 2;
      Returns:
      The recommendedNextDiff.
    • getRecommendedNextDiffOrBuilder

      com.google.protobuf.TimestampOrBuilder getRecommendedNextDiffOrBuilder()
       The soonest the client should wait before issuing any diff
       request. Querying sooner is unlikely to produce a meaningful diff.
       Waiting longer is acceptable considering the use case.
       If this field is not set clients may update as soon as they want.
       
      .google.protobuf.Timestamp recommended_next_diff = 2;