Packages

c

com.google.pubsub.v1

StreamingPullRequest

final class StreamingPullRequest extends GeneratedMessageV3 with StreamingPullRequestOrBuilder

Request for the `StreamingPull` streaming RPC method. This request is used to
establish the initial stream as well as to stream acknowledgements and ack
deadline modifications from the client to the server.

Protobuf type google.pubsub.v1.StreamingPullRequest

Source
StreamingPullRequest.java
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StreamingPullRequest
  2. StreamingPullRequestOrBuilder
  3. GeneratedMessageV3
  4. Serializable
  5. AbstractMessage
  6. Message
  7. MessageOrBuilder
  8. AbstractMessageLite
  9. MessageLite
  10. MessageLiteOrBuilder
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(obj: Any): Boolean
    Definition Classes
    StreamingPullRequest → AbstractMessage → Message → AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def findInitializationErrors(): List[String]
    Definition Classes
    AbstractMessage → MessageOrBuilder
  10. def getAckIds(index: Int): String

    List of acknowledgement IDs for acknowledging previously received messages
    (received on this stream or a different stream). If an ack ID has expired,
    the corresponding message may be redelivered later. Acknowledging a message
    more than once will not result in an error. If the acknowledgement ID is
    malformed, the stream will be aborted with status `INVALID_ARGUMENT`.
    

    List of acknowledgement IDs for acknowledging previously received messages
    (received on this stream or a different stream). If an ack ID has expired,
    the corresponding message may be redelivered later. Acknowledging a message
    more than once will not result in an error. If the acknowledgement ID is
    malformed, the stream will be aborted with status `INVALID_ARGUMENT`.
    

    repeated string ack_ids = 2;

    Definition Classes
    StreamingPullRequestStreamingPullRequestOrBuilder
  11. def getAckIdsBytes(index: Int): ByteString

    List of acknowledgement IDs for acknowledging previously received messages
    (received on this stream or a different stream). If an ack ID has expired,
    the corresponding message may be redelivered later. Acknowledging a message
    more than once will not result in an error. If the acknowledgement ID is
    malformed, the stream will be aborted with status `INVALID_ARGUMENT`.
    

    List of acknowledgement IDs for acknowledging previously received messages
    (received on this stream or a different stream). If an ack ID has expired,
    the corresponding message may be redelivered later. Acknowledging a message
    more than once will not result in an error. If the acknowledgement ID is
    malformed, the stream will be aborted with status `INVALID_ARGUMENT`.
    

    repeated string ack_ids = 2;

    Definition Classes
    StreamingPullRequestStreamingPullRequestOrBuilder
  12. def getAckIdsCount(): Int

    List of acknowledgement IDs for acknowledging previously received messages
    (received on this stream or a different stream). If an ack ID has expired,
    the corresponding message may be redelivered later. Acknowledging a message
    more than once will not result in an error. If the acknowledgement ID is
    malformed, the stream will be aborted with status `INVALID_ARGUMENT`.
    

    List of acknowledgement IDs for acknowledging previously received messages
    (received on this stream or a different stream). If an ack ID has expired,
    the corresponding message may be redelivered later. Acknowledging a message
    more than once will not result in an error. If the acknowledgement ID is
    malformed, the stream will be aborted with status `INVALID_ARGUMENT`.
    

    repeated string ack_ids = 2;

    Definition Classes
    StreamingPullRequestStreamingPullRequestOrBuilder
  13. def getAckIdsList(): ProtocolStringList

    List of acknowledgement IDs for acknowledging previously received messages
    (received on this stream or a different stream). If an ack ID has expired,
    the corresponding message may be redelivered later. Acknowledging a message
    more than once will not result in an error. If the acknowledgement ID is
    malformed, the stream will be aborted with status `INVALID_ARGUMENT`.
    

    List of acknowledgement IDs for acknowledging previously received messages
    (received on this stream or a different stream). If an ack ID has expired,
    the corresponding message may be redelivered later. Acknowledging a message
    more than once will not result in an error. If the acknowledgement ID is
    malformed, the stream will be aborted with status `INVALID_ARGUMENT`.
    

    repeated string ack_ids = 2;

    Definition Classes
    StreamingPullRequestStreamingPullRequestOrBuilder
  14. def getAllFields(): Map[FieldDescriptor, AnyRef]
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def getDefaultInstanceForType(): StreamingPullRequest
    Definition Classes
    StreamingPullRequest → MessageOrBuilder → MessageLiteOrBuilder
  17. def getDescriptorForType(): Descriptor
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  18. def getField(arg0: FieldDescriptor): AnyRef
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  19. def getInitializationErrorString(): String
    Definition Classes
    AbstractMessage → MessageOrBuilder
  20. def getModifyDeadlineAckIds(index: Int): String

    List of acknowledgement IDs whose deadline will be modified based on the
    corresponding element in `modify_deadline_seconds`. This field can be used
    to indicate that more time is needed to process a message by the
    subscriber, or to make the message available for redelivery if the
    processing was interrupted.
    

    List of acknowledgement IDs whose deadline will be modified based on the
    corresponding element in `modify_deadline_seconds`. This field can be used
    to indicate that more time is needed to process a message by the
    subscriber, or to make the message available for redelivery if the
    processing was interrupted.
    

    repeated string modify_deadline_ack_ids = 4;

    Definition Classes
    StreamingPullRequestStreamingPullRequestOrBuilder
  21. def getModifyDeadlineAckIdsBytes(index: Int): ByteString

    List of acknowledgement IDs whose deadline will be modified based on the
    corresponding element in `modify_deadline_seconds`. This field can be used
    to indicate that more time is needed to process a message by the
    subscriber, or to make the message available for redelivery if the
    processing was interrupted.
    

    List of acknowledgement IDs whose deadline will be modified based on the
    corresponding element in `modify_deadline_seconds`. This field can be used
    to indicate that more time is needed to process a message by the
    subscriber, or to make the message available for redelivery if the
    processing was interrupted.
    

    repeated string modify_deadline_ack_ids = 4;

    Definition Classes
    StreamingPullRequestStreamingPullRequestOrBuilder
  22. def getModifyDeadlineAckIdsCount(): Int

    List of acknowledgement IDs whose deadline will be modified based on the
    corresponding element in `modify_deadline_seconds`. This field can be used
    to indicate that more time is needed to process a message by the
    subscriber, or to make the message available for redelivery if the
    processing was interrupted.
    

    List of acknowledgement IDs whose deadline will be modified based on the
    corresponding element in `modify_deadline_seconds`. This field can be used
    to indicate that more time is needed to process a message by the
    subscriber, or to make the message available for redelivery if the
    processing was interrupted.
    

    repeated string modify_deadline_ack_ids = 4;

    Definition Classes
    StreamingPullRequestStreamingPullRequestOrBuilder
  23. def getModifyDeadlineAckIdsList(): ProtocolStringList

    List of acknowledgement IDs whose deadline will be modified based on the
    corresponding element in `modify_deadline_seconds`. This field can be used
    to indicate that more time is needed to process a message by the
    subscriber, or to make the message available for redelivery if the
    processing was interrupted.
    

    List of acknowledgement IDs whose deadline will be modified based on the
    corresponding element in `modify_deadline_seconds`. This field can be used
    to indicate that more time is needed to process a message by the
    subscriber, or to make the message available for redelivery if the
    processing was interrupted.
    

    repeated string modify_deadline_ack_ids = 4;

    Definition Classes
    StreamingPullRequestStreamingPullRequestOrBuilder
  24. def getModifyDeadlineSeconds(index: Int): Int

    The list of new ack deadlines for the IDs listed in
    `modify_deadline_ack_ids`. The size of this list must be the same as the
    size of `modify_deadline_ack_ids`. If it differs the stream will be aborted
    with `INVALID_ARGUMENT`. Each element in this list is applied to the
    element in the same position in `modify_deadline_ack_ids`. The new ack
    deadline is with respect to the time this request was sent to the Pub/Sub
    system. Must be >= 0. For example, if the value is 10, the new ack deadline
    will expire 10 seconds after this request is received. If the value is 0,
    the message is immediately made available for another streaming or
    non-streaming pull request. If the value is < 0 (an error), the stream will
    be aborted with status `INVALID_ARGUMENT`.
    

    The list of new ack deadlines for the IDs listed in
    `modify_deadline_ack_ids`. The size of this list must be the same as the
    size of `modify_deadline_ack_ids`. If it differs the stream will be aborted
    with `INVALID_ARGUMENT`. Each element in this list is applied to the
    element in the same position in `modify_deadline_ack_ids`. The new ack
    deadline is with respect to the time this request was sent to the Pub/Sub
    system. Must be >= 0. For example, if the value is 10, the new ack deadline
    will expire 10 seconds after this request is received. If the value is 0,
    the message is immediately made available for another streaming or
    non-streaming pull request. If the value is < 0 (an error), the stream will
    be aborted with status `INVALID_ARGUMENT`.
    

    repeated int32 modify_deadline_seconds = 3;

    Definition Classes
    StreamingPullRequestStreamingPullRequestOrBuilder
  25. def getModifyDeadlineSecondsCount(): Int

    The list of new ack deadlines for the IDs listed in
    `modify_deadline_ack_ids`. The size of this list must be the same as the
    size of `modify_deadline_ack_ids`. If it differs the stream will be aborted
    with `INVALID_ARGUMENT`. Each element in this list is applied to the
    element in the same position in `modify_deadline_ack_ids`. The new ack
    deadline is with respect to the time this request was sent to the Pub/Sub
    system. Must be >= 0. For example, if the value is 10, the new ack deadline
    will expire 10 seconds after this request is received. If the value is 0,
    the message is immediately made available for another streaming or
    non-streaming pull request. If the value is < 0 (an error), the stream will
    be aborted with status `INVALID_ARGUMENT`.
    

    The list of new ack deadlines for the IDs listed in
    `modify_deadline_ack_ids`. The size of this list must be the same as the
    size of `modify_deadline_ack_ids`. If it differs the stream will be aborted
    with `INVALID_ARGUMENT`. Each element in this list is applied to the
    element in the same position in `modify_deadline_ack_ids`. The new ack
    deadline is with respect to the time this request was sent to the Pub/Sub
    system. Must be >= 0. For example, if the value is 10, the new ack deadline
    will expire 10 seconds after this request is received. If the value is 0,
    the message is immediately made available for another streaming or
    non-streaming pull request. If the value is < 0 (an error), the stream will
    be aborted with status `INVALID_ARGUMENT`.
    

    repeated int32 modify_deadline_seconds = 3;

    Definition Classes
    StreamingPullRequestStreamingPullRequestOrBuilder
  26. def getModifyDeadlineSecondsList(): List[Integer]

    The list of new ack deadlines for the IDs listed in
    `modify_deadline_ack_ids`. The size of this list must be the same as the
    size of `modify_deadline_ack_ids`. If it differs the stream will be aborted
    with `INVALID_ARGUMENT`. Each element in this list is applied to the
    element in the same position in `modify_deadline_ack_ids`. The new ack
    deadline is with respect to the time this request was sent to the Pub/Sub
    system. Must be >= 0. For example, if the value is 10, the new ack deadline
    will expire 10 seconds after this request is received. If the value is 0,
    the message is immediately made available for another streaming or
    non-streaming pull request. If the value is < 0 (an error), the stream will
    be aborted with status `INVALID_ARGUMENT`.
    

    The list of new ack deadlines for the IDs listed in
    `modify_deadline_ack_ids`. The size of this list must be the same as the
    size of `modify_deadline_ack_ids`. If it differs the stream will be aborted
    with `INVALID_ARGUMENT`. Each element in this list is applied to the
    element in the same position in `modify_deadline_ack_ids`. The new ack
    deadline is with respect to the time this request was sent to the Pub/Sub
    system. Must be >= 0. For example, if the value is 10, the new ack deadline
    will expire 10 seconds after this request is received. If the value is 0,
    the message is immediately made available for another streaming or
    non-streaming pull request. If the value is < 0 (an error), the stream will
    be aborted with status `INVALID_ARGUMENT`.
    

    repeated int32 modify_deadline_seconds = 3;

    Definition Classes
    StreamingPullRequestStreamingPullRequestOrBuilder
  27. def getOneofFieldDescriptor(arg0: OneofDescriptor): FieldDescriptor
    Definition Classes
    GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
  28. def getParserForType(): Parser[StreamingPullRequest]
    Definition Classes
    StreamingPullRequest → GeneratedMessageV3 → Message → MessageLite
  29. def getRepeatedField(arg0: FieldDescriptor, arg1: Int): AnyRef
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  30. def getRepeatedFieldCount(arg0: FieldDescriptor): Int
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  31. def getSerializedSize(): Int
    Definition Classes
    StreamingPullRequest → GeneratedMessageV3 → AbstractMessage → MessageLite
  32. def getStreamAckDeadlineSeconds(): Int

    The ack deadline to use for the stream. This must be provided in the
    first request on the stream, but it can also be updated on subsequent
    requests from client to server. The minimum deadline you can specify is 10
    seconds. The maximum deadline you can specify is 600 seconds (10 minutes).
    

    The ack deadline to use for the stream. This must be provided in the
    first request on the stream, but it can also be updated on subsequent
    requests from client to server. The minimum deadline you can specify is 10
    seconds. The maximum deadline you can specify is 600 seconds (10 minutes).
    

    int32 stream_ack_deadline_seconds = 5;

    Definition Classes
    StreamingPullRequestStreamingPullRequestOrBuilder
  33. def getSubscription(): String

    The subscription for which to initialize the new stream. This must be
    provided in the first request on the stream, and must not be set in
    subsequent requests from client to server.
    Format is `projects/{project}/subscriptions/{sub}`.
    

    The subscription for which to initialize the new stream. This must be
    provided in the first request on the stream, and must not be set in
    subsequent requests from client to server.
    Format is `projects/{project}/subscriptions/{sub}`.
    

    string subscription = 1;

    Definition Classes
    StreamingPullRequestStreamingPullRequestOrBuilder
  34. def getSubscriptionBytes(): ByteString

    The subscription for which to initialize the new stream. This must be
    provided in the first request on the stream, and must not be set in
    subsequent requests from client to server.
    Format is `projects/{project}/subscriptions/{sub}`.
    

    The subscription for which to initialize the new stream. This must be
    provided in the first request on the stream, and must not be set in
    subsequent requests from client to server.
    Format is `projects/{project}/subscriptions/{sub}`.
    

    string subscription = 1;

    Definition Classes
    StreamingPullRequestStreamingPullRequestOrBuilder
  35. final def getUnknownFields(): UnknownFieldSet
    Definition Classes
    StreamingPullRequest → GeneratedMessageV3 → MessageOrBuilder
  36. def hasField(arg0: FieldDescriptor): Boolean
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  37. def hasOneof(arg0: OneofDescriptor): Boolean
    Definition Classes
    GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
  38. def hashCode(): Int
    Definition Classes
    StreamingPullRequest → AbstractMessage → Message → AnyRef → Any
  39. def internalGetFieldAccessorTable(): FieldAccessorTable
    Attributes
    protected[com.google.pubsub.v1]
    Definition Classes
    StreamingPullRequest → GeneratedMessageV3
  40. def internalGetMapField(arg0: Int): MapField
    Attributes
    protected[com.google.protobuf]
    Definition Classes
    GeneratedMessageV3
  41. final def isInitialized(): Boolean
    Definition Classes
    StreamingPullRequest → GeneratedMessageV3 → AbstractMessage → MessageLiteOrBuilder
  42. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  43. def makeExtensionsImmutable(): Unit
    Attributes
    protected[com.google.protobuf]
    Definition Classes
    GeneratedMessageV3
  44. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  45. def newBuilderForType(parent: BuilderParent): Builder
    Attributes
    protected[com.google.pubsub.v1]
    Definition Classes
    StreamingPullRequest → GeneratedMessageV3
  46. def newBuilderForType(): Builder
    Definition Classes
    StreamingPullRequest → Message → MessageLite
  47. def newBuilderForType(arg0: BuilderParent): Builder
    Attributes
    protected[com.google.protobuf]
    Definition Classes
    GeneratedMessageV3 → AbstractMessage
  48. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  49. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  50. def parseUnknownField(arg0: CodedInputStream, arg1: Builder, arg2: ExtensionRegistryLite, arg3: Int): Boolean
    Attributes
    protected[com.google.protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws( classOf[java.io.IOException] )
  51. def parseUnknownFieldProto3(arg0: CodedInputStream, arg1: Builder, arg2: ExtensionRegistryLite, arg3: Int): Boolean
    Attributes
    protected[com.google.protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws( classOf[java.io.IOException] )
  52. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  53. def toBuilder(): Builder
    Definition Classes
    StreamingPullRequest → Message → MessageLite
  54. def toByteArray(): Array[Byte]
    Definition Classes
    AbstractMessageLite → MessageLite
  55. def toByteString(): ByteString
    Definition Classes
    AbstractMessageLite → MessageLite
  56. final def toString(): String
    Definition Classes
    AbstractMessage → Message → AnyRef → Any
  57. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  60. def writeDelimitedTo(arg0: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws( classOf[java.io.IOException] )
  61. def writeReplace(): AnyRef
    Attributes
    protected[com.google.protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws( ... )
  62. def writeTo(output: CodedOutputStream): Unit
    Definition Classes
    StreamingPullRequest → GeneratedMessageV3 → AbstractMessage → MessageLite
  63. def writeTo(arg0: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws( classOf[java.io.IOException] )

Inherited from GeneratedMessageV3

Inherited from Serializable

Inherited from AbstractMessage

Inherited from Message

Inherited from MessageOrBuilder

Inherited from AbstractMessageLite[MessageType, BuilderType]

Inherited from MessageLite

Inherited from MessageLiteOrBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped