PublishRequest

com.google.pubsub.v1.pubsub.PublishRequest
See thePublishRequest companion object
final case class PublishRequest(topic: String, messages: Seq[PubsubMessage], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[PublishRequest]

Request for the Publish method.

Value parameters

messages

Required. The messages to publish.

topic

Required. The messages in the request will be published on this topic. Format is projects/{project}/topics/{topic}.

Attributes

Companion
object
Source
PublishRequest.scala
Graph
Supertypes
trait Updatable[PublishRequest]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Attributes

Source
PublishRequest.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

Source
PublishRequest.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source
PublishRequest.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
PublishRequest.scala

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

Source
PublishRequest.scala

Attributes

Source
PublishRequest.scala
def withUnknownFields(`__v`: UnknownFieldSet): PublishRequest

Attributes

Source
PublishRequest.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source
PublishRequest.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
def update(ms: Lens[PublishRequest, PublishRequest] => () => PublishRequest*): A

Attributes

Inherited from:
Updatable
Source
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala