@CanIgnoreReturnValue public abstract static class UuidDeduplicationOptions.Builder extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
abstract UuidDeduplicationOptions |
build() |
abstract UuidDeduplicationOptions.Builder |
setDeduplicate(Deduplicate.KeyedValues<Uuid,com.google.cloud.pubsublite.proto.SequencedMessage> deduplicate)
Set the deduplication transform.
|
abstract UuidDeduplicationOptions.Builder |
setUuidExtractor(SerializableFunction<com.google.cloud.pubsublite.proto.SequencedMessage,Uuid> uuidExtractor) |
public abstract UuidDeduplicationOptions.Builder setUuidExtractor(SerializableFunction<com.google.cloud.pubsublite.proto.SequencedMessage,Uuid> uuidExtractor)
public abstract UuidDeduplicationOptions.Builder setDeduplicate(Deduplicate.KeyedValues<Uuid,com.google.cloud.pubsublite.proto.SequencedMessage> deduplicate)
UuidDeduplicationOptions.Builder builder = UuidDeduplicationOptions.newBuilder();
builder.setDeduplicate(Deduplicate.<Uuid, SequencedMessage>keyedValues()
.withTimeDomain(TimeDomain.PROCESSING_TIME));
public abstract UuidDeduplicationOptions build()