public interface PublishResponseOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getInitialResponse()
public abstract InitialPublishResponse getInitialResponse()
Initial response on the stream.
.google.cloud.pubsublite.v1.InitialPublishResponse initial_response = 1;
Returns | |
---|---|
Type | Description |
InitialPublishResponse |
The initialResponse. |
getInitialResponseOrBuilder()
public abstract InitialPublishResponseOrBuilder getInitialResponseOrBuilder()
Initial response on the stream.
.google.cloud.pubsublite.v1.InitialPublishResponse initial_response = 1;
Returns | |
---|---|
Type | Description |
InitialPublishResponseOrBuilder |
getMessageResponse()
public abstract MessagePublishResponse getMessageResponse()
Response to publishing messages.
.google.cloud.pubsublite.v1.MessagePublishResponse message_response = 2;
Returns | |
---|---|
Type | Description |
MessagePublishResponse |
The messageResponse. |
getMessageResponseOrBuilder()
public abstract MessagePublishResponseOrBuilder getMessageResponseOrBuilder()
Response to publishing messages.
.google.cloud.pubsublite.v1.MessagePublishResponse message_response = 2;
Returns | |
---|---|
Type | Description |
MessagePublishResponseOrBuilder |
getResponseTypeCase()
public abstract PublishResponse.ResponseTypeCase getResponseTypeCase()
Returns | |
---|---|
Type | Description |
PublishResponse.ResponseTypeCase |
hasInitialResponse()
public abstract boolean hasInitialResponse()
Initial response on the stream.
.google.cloud.pubsublite.v1.InitialPublishResponse initial_response = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean |
Whether the messageResponse field is set. |