Class PullResponse (2.3.0)

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

Response for the Pull method.

Inheritance

System.Object > PullResponse

Implements

Google.Protobuf.IMessage<PullResponse>, System.IEquatable<PullResponse>, Google.Protobuf.IDeepCloneable<PullResponse>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage

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
Google.Protobuf.Collections.RepeatedField<ReceivedMessage>