Interface PartitionAssignmentRequestOrBuilder (1.10.0)

public interface PartitionAssignmentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAck()

public abstract PartitionAssignmentAck getAck()

Acknowledgement of a partition assignment.

.google.cloud.pubsublite.v1.PartitionAssignmentAck ack = 2;

Returns
TypeDescription
PartitionAssignmentAck

The ack.

getAckOrBuilder()

public abstract PartitionAssignmentAckOrBuilder getAckOrBuilder()

Acknowledgement of a partition assignment.

.google.cloud.pubsublite.v1.PartitionAssignmentAck ack = 2;

Returns
TypeDescription
PartitionAssignmentAckOrBuilder

getInitial()

public abstract InitialPartitionAssignmentRequest getInitial()

Initial request on the stream.

.google.cloud.pubsublite.v1.InitialPartitionAssignmentRequest initial = 1;

Returns
TypeDescription
InitialPartitionAssignmentRequest

The initial.

getInitialOrBuilder()

public abstract InitialPartitionAssignmentRequestOrBuilder getInitialOrBuilder()

Initial request on the stream.

.google.cloud.pubsublite.v1.InitialPartitionAssignmentRequest initial = 1;

Returns
TypeDescription
InitialPartitionAssignmentRequestOrBuilder

getRequestCase()

public abstract PartitionAssignmentRequest.RequestCase getRequestCase()
Returns
TypeDescription
PartitionAssignmentRequest.RequestCase

hasAck()

public abstract boolean hasAck()

Acknowledgement of a partition assignment.

.google.cloud.pubsublite.v1.PartitionAssignmentAck ack = 2;

Returns
TypeDescription
boolean

Whether the ack field is set.

hasInitial()

public abstract boolean hasInitial()

Initial request on the stream.

.google.cloud.pubsublite.v1.InitialPartitionAssignmentRequest initial = 1;

Returns
TypeDescription
boolean

Whether the initial field is set.