Interface PublishRequestOrBuilder (1.11.0)

See more code actions.
public interface PublishRequestOrBuilder extends MessageOrBuilder
MessageOrBuilder
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

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

getRequestTypeCase()

public abstract PublishRequest.RequestTypeCase getRequestTypeCase()
Returns

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.