Interface PublishRequestOrBuilder (1.12.22)

public interface PublishRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInitialRequest()

public abstract InitialPublishRequest getInitialRequest()

Initial request on the stream.

.google.cloud.pubsublite.v1.InitialPublishRequest initial_request = 1;

Returns
TypeDescription
InitialPublishRequest

The initialRequest.

getInitialRequestOrBuilder()

public abstract InitialPublishRequestOrBuilder getInitialRequestOrBuilder()

Initial request on the stream.

.google.cloud.pubsublite.v1.InitialPublishRequest initial_request = 1;

Returns
TypeDescription
InitialPublishRequestOrBuilder

getMessagePublishRequest()

public abstract MessagePublishRequest getMessagePublishRequest()

Request to publish messages.

.google.cloud.pubsublite.v1.MessagePublishRequest message_publish_request = 2;

Returns
TypeDescription
MessagePublishRequest

The messagePublishRequest.

getMessagePublishRequestOrBuilder()

public abstract MessagePublishRequestOrBuilder getMessagePublishRequestOrBuilder()

Request to publish messages.

.google.cloud.pubsublite.v1.MessagePublishRequest message_publish_request = 2;

Returns
TypeDescription
MessagePublishRequestOrBuilder

getRequestTypeCase()

public abstract PublishRequest.RequestTypeCase getRequestTypeCase()
Returns
TypeDescription
PublishRequest.RequestTypeCase

hasInitialRequest()

public abstract boolean hasInitialRequest()

Initial request on the stream.

.google.cloud.pubsublite.v1.InitialPublishRequest initial_request = 1;

Returns
TypeDescription
boolean

Whether the initialRequest field is set.

hasMessagePublishRequest()

public abstract boolean hasMessagePublishRequest()

Request to publish messages.

.google.cloud.pubsublite.v1.MessagePublishRequest message_publish_request = 2;

Returns
TypeDescription
boolean

Whether the messagePublishRequest field is set.