Package com.google.pubsub.v1
Interface StreamingPullResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StreamingPullResponse,StreamingPullResponse.Builder
public interface StreamingPullResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StreamingPullResponse.AcknowledgeConfirmationgetAcknowledgeConfirmation()This field will only be set if `enable_exactly_once_delivery` is set to `true`.StreamingPullResponse.AcknowledgeConfirmationOrBuildergetAcknowledgeConfirmationOrBuilder()This field will only be set if `enable_exactly_once_delivery` is set to `true`.StreamingPullResponse.ModifyAckDeadlineConfirmationgetModifyAckDeadlineConfirmation()This field will only be set if `enable_exactly_once_delivery` is set to `true`.StreamingPullResponse.ModifyAckDeadlineConfirmationOrBuildergetModifyAckDeadlineConfirmationOrBuilder()This field will only be set if `enable_exactly_once_delivery` is set to `true`.ReceivedMessagegetReceivedMessages(int index)Received Pub/Sub messages.intgetReceivedMessagesCount()Received Pub/Sub messages.List<ReceivedMessage>getReceivedMessagesList()Received Pub/Sub messages.ReceivedMessageOrBuildergetReceivedMessagesOrBuilder(int index)Received Pub/Sub messages.List<? extends ReceivedMessageOrBuilder>getReceivedMessagesOrBuilderList()Received Pub/Sub messages.StreamingPullResponse.SubscriptionPropertiesgetSubscriptionProperties()Properties associated with this subscription.StreamingPullResponse.SubscriptionPropertiesOrBuildergetSubscriptionPropertiesOrBuilder()Properties associated with this subscription.booleanhasAcknowledgeConfirmation()This field will only be set if `enable_exactly_once_delivery` is set to `true`.booleanhasModifyAckDeadlineConfirmation()This field will only be set if `enable_exactly_once_delivery` is set to `true`.booleanhasSubscriptionProperties()Properties associated with this subscription.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getReceivedMessagesList
List<ReceivedMessage> getReceivedMessagesList()
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
-
getReceivedMessages
ReceivedMessage getReceivedMessages(int index)
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
-
getReceivedMessagesCount
int getReceivedMessagesCount()
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
-
getReceivedMessagesOrBuilderList
List<? extends ReceivedMessageOrBuilder> getReceivedMessagesOrBuilderList()
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
-
getReceivedMessagesOrBuilder
ReceivedMessageOrBuilder getReceivedMessagesOrBuilder(int index)
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
-
hasAcknowledgeConfirmation
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:
- Whether the acknowledgeConfirmation field is set.
-
getAcknowledgeConfirmation
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:
- The acknowledgeConfirmation.
-
getAcknowledgeConfirmationOrBuilder
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;
-
hasModifyAckDeadlineConfirmation
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:
- Whether the modifyAckDeadlineConfirmation field is set.
-
getModifyAckDeadlineConfirmation
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:
- The modifyAckDeadlineConfirmation.
-
getModifyAckDeadlineConfirmationOrBuilder
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;
-
hasSubscriptionProperties
boolean hasSubscriptionProperties()
Properties associated with this subscription.
.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties subscription_properties = 4;- Returns:
- Whether the subscriptionProperties field is set.
-
getSubscriptionProperties
StreamingPullResponse.SubscriptionProperties getSubscriptionProperties()
Properties associated with this subscription.
.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties subscription_properties = 4;- Returns:
- The subscriptionProperties.
-
getSubscriptionPropertiesOrBuilder
StreamingPullResponse.SubscriptionPropertiesOrBuilder getSubscriptionPropertiesOrBuilder()
Properties associated with this subscription.
.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties subscription_properties = 4;
-
-