Interface StreamingPullResponseOrBuilder (1.122.2)

public interface StreamingPullResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAcknowledgeConfirmation()

public abstract 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
TypeDescription
StreamingPullResponse.AcknowledgeConfirmation

The acknowledgeConfirmation.

getAcknowledgeConfirmationOrBuilder()

public abstract 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
TypeDescription
StreamingPullResponse.AcknowledgeConfirmationOrBuilder

getModifyAckDeadlineConfirmation()

public abstract 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
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation

The modifyAckDeadlineConfirmation.

getModifyAckDeadlineConfirmationOrBuilder()

public abstract 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
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmationOrBuilder

getReceivedMessages(int index)

public abstract ReceivedMessage getReceivedMessages(int index)

Received Pub/Sub messages. This will not be empty.

repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ReceivedMessage

getReceivedMessagesCount()

public abstract int getReceivedMessagesCount()

Received Pub/Sub messages. This will not be empty.

repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;

Returns
TypeDescription
int

getReceivedMessagesList()

public abstract List<ReceivedMessage> getReceivedMessagesList()

Received Pub/Sub messages. This will not be empty.

repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;

Returns
TypeDescription
List<ReceivedMessage>

getReceivedMessagesOrBuilder(int index)

public abstract ReceivedMessageOrBuilder getReceivedMessagesOrBuilder(int index)

Received Pub/Sub messages. This will not be empty.

repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ReceivedMessageOrBuilder

getReceivedMessagesOrBuilderList()

public abstract List<? extends ReceivedMessageOrBuilder> getReceivedMessagesOrBuilderList()

Received Pub/Sub messages. This will not be empty.

repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;

Returns
TypeDescription
List<? extends com.google.pubsub.v1.ReceivedMessageOrBuilder>

getSubscriptionProperties()

public abstract StreamingPullResponse.SubscriptionProperties getSubscriptionProperties()

Properties associated with this subscription.

.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties subscription_properties = 4;

Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties

The subscriptionProperties.

getSubscriptionPropertiesOrBuilder()

public abstract StreamingPullResponse.SubscriptionPropertiesOrBuilder getSubscriptionPropertiesOrBuilder()

Properties associated with this subscription.

.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties subscription_properties = 4;

Returns
TypeDescription
StreamingPullResponse.SubscriptionPropertiesOrBuilder

hasAcknowledgeConfirmation()

public abstract 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
TypeDescription
boolean

Whether the acknowledgeConfirmation field is set.

hasModifyAckDeadlineConfirmation()

public abstract 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
TypeDescription
boolean

Whether the modifyAckDeadlineConfirmation field is set.

hasSubscriptionProperties()

public abstract boolean hasSubscriptionProperties()

Properties associated with this subscription.

.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties subscription_properties = 4;

Returns
TypeDescription
boolean

Whether the subscriptionProperties field is set.