Interface PublishActionOrBuilder (0.6.0)

public interface PublishActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMessages(int index)

public abstract String getMessages(int index)

Messages to be published.

repeated string messages = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The messages at the given index.

getMessagesBytes(int index)

public abstract ByteString getMessagesBytes(int index)

Messages to be published.

repeated string messages = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the messages at the given index.

getMessagesCount()

public abstract int getMessagesCount()

Messages to be published.

repeated string messages = 2;

Returns
TypeDescription
int

The count of messages.

getMessagesList()

public abstract List<String> getMessagesList()

Messages to be published.

repeated string messages = 2;

Returns
TypeDescription
List<String>

A list containing the messages.

getTopicId()

public abstract String getTopicId()

The topic id in the Pub/Sub service for which messages will be published to.

string topic_id = 1;

Returns
TypeDescription
String

The topicId.

getTopicIdBytes()

public abstract ByteString getTopicIdBytes()

The topic id in the Pub/Sub service for which messages will be published to.

string topic_id = 1;

Returns
TypeDescription
ByteString

The bytes for topicId.