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
Modifier and TypeMethodDescriptionOptional.Optional.Optional.Optional.getReceivedMessages
(int index) Optional.int
Optional.Optional.getReceivedMessagesOrBuilder
(int index) Optional.List<? extends ReceivedMessageOrBuilder>
Optional.Optional.Optional.boolean
Optional.boolean
Optional.boolean
Optional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getReceivedMessagesList
List<ReceivedMessage> getReceivedMessagesList()Optional. Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1 [(.google.api.field_behavior) = OPTIONAL];
-
getReceivedMessages
Optional. Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1 [(.google.api.field_behavior) = OPTIONAL];
-
getReceivedMessagesCount
int getReceivedMessagesCount()Optional. Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1 [(.google.api.field_behavior) = OPTIONAL];
-
getReceivedMessagesOrBuilderList
List<? extends ReceivedMessageOrBuilder> getReceivedMessagesOrBuilderList()Optional. Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1 [(.google.api.field_behavior) = OPTIONAL];
-
getReceivedMessagesOrBuilder
Optional. Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1 [(.google.api.field_behavior) = OPTIONAL];
-
hasAcknowledgeConfirmation
boolean hasAcknowledgeConfirmation()Optional. This field will only be set if `enable_exactly_once_delivery` is set to `true`.
.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation acknowledge_confirmation = 5 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the acknowledgeConfirmation field is set.
-
getAcknowledgeConfirmation
StreamingPullResponse.AcknowledgeConfirmation getAcknowledgeConfirmation()Optional. This field will only be set if `enable_exactly_once_delivery` is set to `true`.
.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation acknowledge_confirmation = 5 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The acknowledgeConfirmation.
-
getAcknowledgeConfirmationOrBuilder
StreamingPullResponse.AcknowledgeConfirmationOrBuilder getAcknowledgeConfirmationOrBuilder()Optional. This field will only be set if `enable_exactly_once_delivery` is set to `true`.
.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation acknowledge_confirmation = 5 [(.google.api.field_behavior) = OPTIONAL];
-
hasModifyAckDeadlineConfirmation
boolean hasModifyAckDeadlineConfirmation()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the modifyAckDeadlineConfirmation field is set.
-
getModifyAckDeadlineConfirmation
StreamingPullResponse.ModifyAckDeadlineConfirmation getModifyAckDeadlineConfirmation()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The modifyAckDeadlineConfirmation.
-
getModifyAckDeadlineConfirmationOrBuilder
StreamingPullResponse.ModifyAckDeadlineConfirmationOrBuilder getModifyAckDeadlineConfirmationOrBuilder()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
-
hasSubscriptionProperties
boolean hasSubscriptionProperties()Optional. Properties associated with this subscription.
.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties subscription_properties = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the subscriptionProperties field is set.
-
getSubscriptionProperties
StreamingPullResponse.SubscriptionProperties getSubscriptionProperties()Optional. Properties associated with this subscription.
.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties subscription_properties = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The subscriptionProperties.
-
getSubscriptionPropertiesOrBuilder
StreamingPullResponse.SubscriptionPropertiesOrBuilder getSubscriptionPropertiesOrBuilder()Optional. Properties associated with this subscription.
.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties subscription_properties = 4 [(.google.api.field_behavior) = OPTIONAL];
-