public interface DateShiftConfigOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
FieldId |
getContext()
Points to the field that contains the context, for example, an entity id.
|
FieldIdOrBuilder |
getContextOrBuilder()
Points to the field that contains the context, for example, an entity id.
|
CryptoKey |
getCryptoKey()
Causes the shift to be computed based on this key and the context.
|
CryptoKeyOrBuilder |
getCryptoKeyOrBuilder()
Causes the shift to be computed based on this key and the context.
|
int |
getLowerBoundDays()
For example, -5 means shift date to at most 5 days back in the past.
|
DateShiftConfig.MethodCase |
getMethodCase() |
int |
getUpperBoundDays()
Range of shift in days.
|
boolean |
hasContext()
Points to the field that contains the context, for example, an entity id.
|
boolean |
hasCryptoKey()
Causes the shift to be computed based on this key and the context.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
int getUpperBoundDays()
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. [Required]
int32 upper_bound_days = 1;
int getLowerBoundDays()
For example, -5 means shift date to at most 5 days back in the past. [Required]
int32 lower_bound_days = 2;
boolean hasContext()
Points to the field that contains the context, for example, an entity id. If set, must also set method. If set, shift will be consistent for the given context.
.google.privacy.dlp.v2.FieldId context = 3;
FieldId getContext()
Points to the field that contains the context, for example, an entity id. If set, must also set method. If set, shift will be consistent for the given context.
.google.privacy.dlp.v2.FieldId context = 3;
FieldIdOrBuilder getContextOrBuilder()
Points to the field that contains the context, for example, an entity id. If set, must also set method. If set, shift will be consistent for the given context.
.google.privacy.dlp.v2.FieldId context = 3;
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.
.google.privacy.dlp.v2.CryptoKey crypto_key = 4;
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.
.google.privacy.dlp.v2.CryptoKey crypto_key = 4;
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.
.google.privacy.dlp.v2.CryptoKey crypto_key = 4;
DateShiftConfig.MethodCase getMethodCase()