Class PslPartitionOffset.Builder (1.0.0)

public abstract static class PslPartitionOffset.Builder

Inheritance

java.lang.Object > PslPartitionOffset.Builder

Constructors

Builder()

public Builder()

Methods

build()

public abstract PslPartitionOffset build()
Returns
TypeDescription
PslPartitionOffset

offset(Offset offset)

public abstract PslPartitionOffset.Builder offset(Offset offset)
Parameter
NameDescription
offsetcom.google.cloud.pubsublite.Offset
Returns
TypeDescription
PslPartitionOffset.Builder

partition(Partition partition)

public abstract PslPartitionOffset.Builder partition(Partition partition)
Parameter
NameDescription
partitioncom.google.cloud.pubsublite.Partition
Returns
TypeDescription
PslPartitionOffset.Builder