Interface PublishRequestOrBuilder (1.13.8)

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
Type Description
InitialPublishRequest

The initialRequest.

getInitialRequestOrBuilder()

public abstract InitialPublishRequestOrBuilder getInitialRequestOrBuilder()

Initial request on the stream.

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

Returns
Type Description
InitialPublishRequestOrBuilder

getMessagePublishRequest()

public abstract MessagePublishRequest getMessagePublishRequest()

Request to publish messages.

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

Returns
Type Description
MessagePublishRequest

The messagePublishRequest.

getMessagePublishRequestOrBuilder()

public abstract MessagePublishRequestOrBuilder getMessagePublishRequestOrBuilder()

Request to publish messages.

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

Returns
Type Description
MessagePublishRequestOrBuilder

getRequestTypeCase()

public abstract PublishRequest.RequestTypeCase getRequestTypeCase()
Returns
Type Description
PublishRequest.RequestTypeCase

hasInitialRequest()

public abstract boolean hasInitialRequest()

Initial request on the stream.

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

Returns
Type Description
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
Type Description
boolean

Whether the messagePublishRequest field is set.