final case class PullRequest(subscription: String = "", returnImmediately: Boolean = false, maxMessages: Int = 0) extends GeneratedMessage with Message[PullRequest] with Updatable[PullRequest] with Product with Serializable
Request for the Pull
method.
- subscription
The subscription from which messages should be pulled. Format is
projects/{project}/subscriptions/{sub}
.- returnImmediately
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.- maxMessages
The maximum number of messages returned for this request. The Pub/Sub system may return fewer than the number specified.
- Annotations
- @SerialVersionUID()
- Source
- PullRequest.scala
- Alphabetic
- By Inheritance
- PullRequest
- Product
- Equals
- Updatable
- Message
- GeneratedMessage
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
PullRequest(subscription: String = "", returnImmediately: Boolean = false, maxMessages: Int = 0)
- subscription
The subscription from which messages should be pulled. Format is
projects/{project}/subscriptions/{sub}
.- returnImmediately
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.- maxMessages
The maximum number of messages returned for this request. The Pub/Sub system may return fewer than the number specified.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
def
companion: PullRequest.type
- Definition Classes
- PullRequest → GeneratedMessage
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- PullRequest → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- PullRequest → GeneratedMessage
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxMessages: Int
-
def
mergeFrom(_input__: CodedInputStream): PullRequest
- Definition Classes
- PullRequest → Message
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val returnImmediately: Boolean
-
final
def
serializedSize: Int
- Definition Classes
- PullRequest → GeneratedMessage
- val subscription: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
-
def
toByteString: ByteString
- Definition Classes
- GeneratedMessage
-
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
- Definition Classes
- PullRequest → GeneratedMessage
-
def
update(ms: (Lens[PullRequest, PullRequest]) ⇒ Mutation[PullRequest]*): PullRequest
- Definition Classes
- Updatable
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def withMaxMessages(__v: Int): PullRequest
- def withReturnImmediately(__v: Boolean): PullRequest
- def withSubscription(__v: String): PullRequest
-
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- PullRequest → GeneratedMessage
-
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
- Deprecated
(Since version ) see corresponding Javadoc for more information.
-
def
getAllFields: Map[FieldDescriptor, Any]
- Definition Classes
- GeneratedMessage
- Annotations
- @deprecated
- Deprecated
(Since version 0.6.0) Use toPMessage
-
def
getField(field: FieldDescriptor): Any
- Definition Classes
- GeneratedMessage
- Annotations
- @deprecated
- Deprecated
(Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue