Interface DateShiftConfigOrBuilder

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

    public interface DateShiftConfigOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getUpperBoundDays

        int getUpperBoundDays()
         Required. Range of shift in days. Actual shift will be selected at random within this
         range (inclusive ends). Negative means shift to earlier in time. Must not
         be more than 365250 days (1000 years) each direction.
        
         For example, 3 means shift date to at most 3 days into the future.
         
        int32 upper_bound_days = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The upperBoundDays.
      • getLowerBoundDays

        int getLowerBoundDays()
         Required. For example, -5 means shift date to at most 5 days back in the past.
         
        int32 lower_bound_days = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The lowerBoundDays.
      • hasContext

        boolean hasContext()
         Points to the field that contains the context, for example, an entity id.
         If set, must also set cryptoKey. If set, shift will be consistent for the
         given context.
         
        .google.privacy.dlp.v2.FieldId context = 3;
        Returns:
        Whether the context field is set.
      • getContext

        FieldId getContext()
         Points to the field that contains the context, for example, an entity id.
         If set, must also set cryptoKey. If set, shift will be consistent for the
         given context.
         
        .google.privacy.dlp.v2.FieldId context = 3;
        Returns:
        The context.
      • getContextOrBuilder

        FieldIdOrBuilder getContextOrBuilder()
         Points to the field that contains the context, for example, an entity id.
         If set, must also set cryptoKey. If set, shift will be consistent for the
         given context.
         
        .google.privacy.dlp.v2.FieldId context = 3;
      • hasCryptoKey

        boolean hasCryptoKey()
         Causes the shift to be computed based on this key and the context. This
         results in the same shift for the same context and crypto_key. If
         set, must also set context. Can only be applied to table items.
         
        .google.privacy.dlp.v2.CryptoKey crypto_key = 4;
        Returns:
        Whether the cryptoKey field is set.
      • getCryptoKey

        CryptoKey getCryptoKey()
         Causes the shift to be computed based on this key and the context. This
         results in the same shift for the same context and crypto_key. If
         set, must also set context. Can only be applied to table items.
         
        .google.privacy.dlp.v2.CryptoKey crypto_key = 4;
        Returns:
        The cryptoKey.
      • getCryptoKeyOrBuilder

        CryptoKeyOrBuilder getCryptoKeyOrBuilder()
         Causes the shift to be computed based on this key and the context. This
         results in the same shift for the same context and crypto_key. If
         set, must also set context. Can only be applied to table items.
         
        .google.privacy.dlp.v2.CryptoKey crypto_key = 4;