Interface PublishResponseOrBuilder (1.6.2)

public interface PublishResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInitialResponse()

public abstract InitialPublishResponse getInitialResponse()

Initial response on the stream.

.google.cloud.pubsublite.v1.InitialPublishResponse initial_response = 1;

Returns
TypeDescription
InitialPublishResponse

The initialResponse.

getInitialResponseOrBuilder()

public abstract InitialPublishResponseOrBuilder getInitialResponseOrBuilder()

Initial response on the stream.

.google.cloud.pubsublite.v1.InitialPublishResponse initial_response = 1;

Returns
TypeDescription
InitialPublishResponseOrBuilder

getMessageResponse()

public abstract MessagePublishResponse getMessageResponse()

Response to publishing messages.

.google.cloud.pubsublite.v1.MessagePublishResponse message_response = 2;

Returns
TypeDescription
MessagePublishResponse

The messageResponse.

getMessageResponseOrBuilder()

public abstract MessagePublishResponseOrBuilder getMessageResponseOrBuilder()

Response to publishing messages.

.google.cloud.pubsublite.v1.MessagePublishResponse message_response = 2;

Returns
TypeDescription
MessagePublishResponseOrBuilder

getResponseTypeCase()

public abstract PublishResponse.ResponseTypeCase getResponseTypeCase()
Returns
TypeDescription
PublishResponse.ResponseTypeCase

hasInitialResponse()

public abstract boolean hasInitialResponse()

Initial response on the stream.

.google.cloud.pubsublite.v1.InitialPublishResponse initial_response = 1;

Returns
TypeDescription
boolean

Whether the initialResponse field is set.

hasMessageResponse()

public abstract boolean hasMessageResponse()

Response to publishing messages.

.google.cloud.pubsublite.v1.MessagePublishResponse message_response = 2;

Returns
TypeDescription
boolean

Whether the messageResponse field is set.