Class PullResponse (3.0.0)

public sealed class PullResponse : IMessage<PullResponse>, IEquatable<PullResponse>, IDeepCloneable<PullResponse>, IBufferMessage, IMessage

Response for the Pull method.

Inheritance

Object > PullResponse

Namespace

Google.Cloud.PubSub.V1

Assembly

Google.Cloud.PubSub.V1.dll

Constructors

PullResponse()

public PullResponse()

PullResponse(PullResponse)

public PullResponse(PullResponse other)
Parameter
NameDescription
otherPullResponse

Properties

ReceivedMessages

public RepeatedField<ReceivedMessage> ReceivedMessages { get; }

Received Pub/Sub messages. The list will be empty if there are no more messages available in the backlog. For JSON, the response can be entirely empty. The Pub/Sub system may return fewer than the maxMessages requested even if there are more messages available in the backlog.

Property Value
TypeDescription
RepeatedField<ReceivedMessage>