Interface PublishActionOrBuilder (0.41.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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the messages at the given index.

getMessagesCount()

public abstract int getMessagesCount()

Messages to be published.

repeated string messages = 2;

Returns
Type Description
int

The count of messages.

getMessagesList()

public abstract List<String> getMessagesList()

Messages to be published.

repeated string messages = 2;

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

The bytes for topicId.