Class StreamingPullResponse (1.120.23)
Stay organized with collections
Save and categorize content based on your preferences.
public final class StreamingPullResponse extends GeneratedMessageV3 implements StreamingPullResponseOrBuilder
Response for the StreamingPull
method. This response is used to stream
messages from the server to the client.
Protobuf type google.pubsub.v1.StreamingPullResponse
Static Fields
ACKNOWLEDGE_CONFIRMATION_FIELD_NUMBER
public static final int ACKNOWLEDGE_CONFIRMATION_FIELD_NUMBER
Field Value
MODIFY_ACK_DEADLINE_CONFIRMATION_FIELD_NUMBER
public static final int MODIFY_ACK_DEADLINE_CONFIRMATION_FIELD_NUMBER
Field Value
RECEIVED_MESSAGES_FIELD_NUMBER
public static final int RECEIVED_MESSAGES_FIELD_NUMBER
Field Value
SUBSCRIPTION_PROPERTIES_FIELD_NUMBER
public static final int SUBSCRIPTION_PROPERTIES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static StreamingPullResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static StreamingPullResponse.Builder newBuilder()
Returns
newBuilder(StreamingPullResponse prototype)
public static StreamingPullResponse.Builder newBuilder(StreamingPullResponse prototype)
Parameter
Returns
public static StreamingPullResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static StreamingPullResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static StreamingPullResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StreamingPullResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static StreamingPullResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StreamingPullResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StreamingPullResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static StreamingPullResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StreamingPullResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static StreamingPullResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static StreamingPullResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StreamingPullResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<StreamingPullResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAcknowledgeConfirmation()
public StreamingPullResponse.AcknowledgeConfirmation getAcknowledgeConfirmation()
This field will only be set if enable_exactly_once_delivery
is set to
true
.
.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation acknowledge_confirmation = 5;
Returns
getAcknowledgeConfirmationOrBuilder()
public StreamingPullResponse.AcknowledgeConfirmationOrBuilder getAcknowledgeConfirmationOrBuilder()
This field will only be set if enable_exactly_once_delivery
is set to
true
.
.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation acknowledge_confirmation = 5;
Returns
getDefaultInstanceForType()
public StreamingPullResponse getDefaultInstanceForType()
Returns
getModifyAckDeadlineConfirmation()
public StreamingPullResponse.ModifyAckDeadlineConfirmation getModifyAckDeadlineConfirmation()
This field will only be set if enable_exactly_once_delivery
is set to
true
.
.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation modify_ack_deadline_confirmation = 3;
Returns
getModifyAckDeadlineConfirmationOrBuilder()
public StreamingPullResponse.ModifyAckDeadlineConfirmationOrBuilder getModifyAckDeadlineConfirmationOrBuilder()
This field will only be set if enable_exactly_once_delivery
is set to
true
.
.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation modify_ack_deadline_confirmation = 3;
Returns
getParserForType()
public Parser<StreamingPullResponse> getParserForType()
Returns
Overrides
getReceivedMessages(int index)
public ReceivedMessage getReceivedMessages(int index)
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
Parameter
Returns
getReceivedMessagesCount()
public int getReceivedMessagesCount()
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
Returns
getReceivedMessagesList()
public List<ReceivedMessage> getReceivedMessagesList()
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
Returns
getReceivedMessagesOrBuilder(int index)
public ReceivedMessageOrBuilder getReceivedMessagesOrBuilder(int index)
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
Parameter
Returns
getReceivedMessagesOrBuilderList()
public List<? extends ReceivedMessageOrBuilder> getReceivedMessagesOrBuilderList()
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
Returns
Type | Description |
List<? extends com.google.pubsub.v1.ReceivedMessageOrBuilder> | |
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSubscriptionProperties()
public StreamingPullResponse.SubscriptionProperties getSubscriptionProperties()
Properties associated with this subscription.
.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties subscription_properties = 4;
Returns
getSubscriptionPropertiesOrBuilder()
public StreamingPullResponse.SubscriptionPropertiesOrBuilder getSubscriptionPropertiesOrBuilder()
Properties associated with this subscription.
.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties subscription_properties = 4;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasAcknowledgeConfirmation()
public boolean hasAcknowledgeConfirmation()
This field will only be set if enable_exactly_once_delivery
is set to
true
.
.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation acknowledge_confirmation = 5;
Returns
Type | Description |
boolean | Whether the acknowledgeConfirmation field is set.
|
hasModifyAckDeadlineConfirmation()
public boolean hasModifyAckDeadlineConfirmation()
This field will only be set if enable_exactly_once_delivery
is set to
true
.
.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation modify_ack_deadline_confirmation = 3;
Returns
Type | Description |
boolean | Whether the modifyAckDeadlineConfirmation field is set.
|
hasSubscriptionProperties()
public boolean hasSubscriptionProperties()
Properties associated with this subscription.
.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties subscription_properties = 4;
Returns
Type | Description |
boolean | Whether the subscriptionProperties field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public StreamingPullResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StreamingPullResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public StreamingPullResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-04 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-10-04 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-04 UTC."]]