Interface MessageResponseOrBuilder (1.4.12)

public interface MessageResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMessages(int index)

public abstract SequencedMessage getMessages(int index)

Messages from the topic partition.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
SequencedMessage

getMessagesCount()

public abstract int getMessagesCount()

Messages from the topic partition.

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

Returns
TypeDescription
int

getMessagesList()

public abstract List<SequencedMessage> getMessagesList()

Messages from the topic partition.

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

Returns
TypeDescription
List<SequencedMessage>

getMessagesOrBuilder(int index)

public abstract SequencedMessageOrBuilder getMessagesOrBuilder(int index)

Messages from the topic partition.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
SequencedMessageOrBuilder

getMessagesOrBuilderList()

public abstract List<? extends SequencedMessageOrBuilder> getMessagesOrBuilderList()

Messages from the topic partition.

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

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