Interface ReceiveEventsControlResponseOrBuilder (0.11.0)

public interface ReceiveEventsControlResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getControlCase()

public abstract ReceiveEventsControlResponse.ControlCase getControlCase()
Returns
Type Description
ReceiveEventsControlResponse.ControlCase

getHeartbeat()

public abstract boolean getHeartbeat()

A server heartbeat.

bool heartbeat = 1;

Returns
Type Description
boolean

The heartbeat.

getWritesDoneRequest()

public abstract boolean getWritesDoneRequest()

A request to the receiver to complete any final writes followed by a WritesDone; e.g. issue any final CommitRequests.

May be ignored if WritesDone has already been issued at any point prior to receiving this message.

If WritesDone does not get issued, then the server will forcefully cancel the connection, and the receiver will likely receive an uninformative after Read returns false and Finish is called.

bool writes_done_request = 2;

Returns
Type Description
boolean

The writesDoneRequest.

hasHeartbeat()

public abstract boolean hasHeartbeat()

A server heartbeat.

bool heartbeat = 1;

Returns
Type Description
boolean

Whether the heartbeat field is set.

hasWritesDoneRequest()

public abstract boolean hasWritesDoneRequest()

A request to the receiver to complete any final writes followed by a WritesDone; e.g. issue any final CommitRequests.

May be ignored if WritesDone has already been issued at any point prior to receiving this message.

If WritesDone does not get issued, then the server will forcefully cancel the connection, and the receiver will likely receive an uninformative after Read returns false and Finish is called.

bool writes_done_request = 2;

Returns
Type Description
boolean

Whether the writesDoneRequest field is set.