PubSub/src/V1/PublishResponse.php
public function setMessageIds($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->message_ids = $arr;

        return $this;
    }
public function setMessageIds($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->message_ids = $arr;

        return $this;
    }
public function setMessageIds ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: STRING ) ; $ this -> message_ids = $ arr ; return $ this ; }
The server-assigned ID of each published message, in the same order as
the messages in the request. IDs are guaranteed to be unique within
the topic.

Generated from protobuf field <code>repeated string message_ids = 1;</code>
@param string[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
The server - assigned ID of each published message in the same order as the messages in the request . IDs are guaranteed to be unique within the topic .