com.google.pubsub.v1.PullRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-pubsub-v1 Show documentation
Show all versions of proto-google-cloud-pubsub-v1 Show documentation
PROTO library for proto-google-cloud-pubsub-v1
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
package com.google.pubsub.v1;
public interface PullRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.pubsub.v1.PullRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* The subscription from which messages should be pulled.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
* optional string subscription = 1;
*/
java.lang.String getSubscription();
/**
*
* The subscription from which messages should be pulled.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
* optional string subscription = 1;
*/
com.google.protobuf.ByteString
getSubscriptionBytes();
/**
*
* 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. The
* client may cancel the request if it does not wish to wait any longer for
* the response.
*
*
* optional bool return_immediately = 2;
*/
boolean getReturnImmediately();
/**
*
* The maximum number of messages returned for this request. The Pub/Sub
* system may return fewer than the number specified.
*
*
* optional int32 max_messages = 3;
*/
int getMaxMessages();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy