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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ACKNOWLEDGE_CONFIRMATION_FIELD_NUMBER
public static final int ACKNOWLEDGE_CONFIRMATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MODIFY_ACK_DEADLINE_CONFIRMATION_FIELD_NUMBER
public static final int MODIFY_ACK_DEADLINE_CONFIRMATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
RECEIVED_MESSAGES_FIELD_NUMBER
public static final int RECEIVED_MESSAGES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SUBSCRIPTION_PROPERTIES_FIELD_NUMBER
public static final int SUBSCRIPTION_PROPERTIES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static StreamingPullResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static StreamingPullResponse.Builder newBuilder()
newBuilder(StreamingPullResponse prototype)
public static StreamingPullResponse.Builder newBuilder(StreamingPullResponse prototype)
public static StreamingPullResponse parseDelimitedFrom(InputStream input)
public static StreamingPullResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static StreamingPullResponse parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StreamingPullResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static StreamingPullResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StreamingPullResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StreamingPullResponse parseFrom(CodedInputStream input)
public static StreamingPullResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamingPullResponse parseFrom(InputStream input)
public static StreamingPullResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static StreamingPullResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StreamingPullResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<StreamingPullResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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;
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;
getDefaultInstanceForType()
public StreamingPullResponse getDefaultInstanceForType()
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;
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;
getParserForType()
public Parser<StreamingPullResponse> getParserForType()
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 |
---|
Name | Description |
index | int
|
getReceivedMessagesCount()
public int getReceivedMessagesCount()
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
Returns |
---|
Type | Description |
int | |
getReceivedMessagesList()
public List<ReceivedMessage> getReceivedMessagesList()
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
int | |
Overrides
getSubscriptionProperties()
public StreamingPullResponse.SubscriptionProperties getSubscriptionProperties()
Properties associated with this subscription.
.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties subscription_properties = 4;
getSubscriptionPropertiesOrBuilder()
public StreamingPullResponse.SubscriptionPropertiesOrBuilder getSubscriptionPropertiesOrBuilder()
Properties associated with this subscription.
.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties subscription_properties = 4;
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public StreamingPullResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StreamingPullResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public StreamingPullResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides