Interface MessagePublishRequestOrBuilder (1.9.4)

public interface MessagePublishRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMessages(int index)

public abstract PubSubMessage getMessages(int index)

The messages to publish.

repeated .google.cloud.pubsublite.v1.PubSubMessage messages = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PubSubMessage

getMessagesCount()

public abstract int getMessagesCount()

The messages to publish.

repeated .google.cloud.pubsublite.v1.PubSubMessage messages = 1;

Returns
TypeDescription
int

getMessagesList()

public abstract List<PubSubMessage> getMessagesList()

The messages to publish.

repeated .google.cloud.pubsublite.v1.PubSubMessage messages = 1;

Returns
TypeDescription
List<PubSubMessage>

getMessagesOrBuilder(int index)

public abstract PubSubMessageOrBuilder getMessagesOrBuilder(int index)

The messages to publish.

repeated .google.cloud.pubsublite.v1.PubSubMessage messages = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PubSubMessageOrBuilder

getMessagesOrBuilderList()

public abstract List<? extends PubSubMessageOrBuilder> getMessagesOrBuilderList()

The messages to publish.

repeated .google.cloud.pubsublite.v1.PubSubMessage messages = 1;

Returns
TypeDescription
List<? extends com.google.cloud.pubsublite.proto.PubSubMessageOrBuilder>