public interface PullRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxMessages()
The maximum number of messages returned for this request.
|
boolean |
getReturnImmediately()
If this field set to true, the system will respond immediately even if
it there are no messages available to return in the `Pull` response.
|
String |
getSubscription()
The subscription from which messages should be pulled.
|
com.google.protobuf.ByteString |
getSubscriptionBytes()
The subscription from which messages should be pulled.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getSubscription()
The subscription from which messages should be pulled.
Format is `projects/{project}/subscriptions/{sub}`.
string subscription = 1;com.google.protobuf.ByteString getSubscriptionBytes()
The subscription from which messages should be pulled.
Format is `projects/{project}/subscriptions/{sub}`.
string subscription = 1;boolean getReturnImmediately()
If this field set to true, the system will respond immediately even if it there are no messages available to return in the `Pull` response. Otherwise, the system may wait (for a bounded amount of time) until at least one message is available, rather than returning no messages.
bool return_immediately = 2;int getMaxMessages()
The maximum number of messages returned for this request. The Pub/Sub system may return fewer than the number specified.
int32 max_messages = 3;Copyright © 2019 Google LLC. All rights reserved.