Interface ModifyPushConfigRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ModifyPushConfigRequest, ModifyPushConfigRequest.Builder

    public interface ModifyPushConfigRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getSubscription

        String getSubscription()
         Required. The name of the subscription.
         Format is `projects/{project}/subscriptions/{sub}`.
         
        string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The subscription.
      • getSubscriptionBytes

        com.google.protobuf.ByteString getSubscriptionBytes()
         Required. The name of the subscription.
         Format is `projects/{project}/subscriptions/{sub}`.
         
        string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for subscription.
      • hasPushConfig

        boolean hasPushConfig()
         Required. The push configuration for future deliveries.
        
         An empty `pushConfig` indicates that the Pub/Sub system should
         stop pushing messages from the given subscription and allow
         messages to be pulled and acknowledged - effectively pausing
         the subscription if `Pull` or `StreamingPull` is not called.
         
        .google.pubsub.v1.PushConfig push_config = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the pushConfig field is set.
      • getPushConfig

        PushConfig getPushConfig()
         Required. The push configuration for future deliveries.
        
         An empty `pushConfig` indicates that the Pub/Sub system should
         stop pushing messages from the given subscription and allow
         messages to be pulled and acknowledged - effectively pausing
         the subscription if `Pull` or `StreamingPull` is not called.
         
        .google.pubsub.v1.PushConfig push_config = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The pushConfig.
      • getPushConfigOrBuilder

        PushConfigOrBuilder getPushConfigOrBuilder()
         Required. The push configuration for future deliveries.
        
         An empty `pushConfig` indicates that the Pub/Sub system should
         stop pushing messages from the given subscription and allow
         messages to be pulled and acknowledged - effectively pausing
         the subscription if `Pull` or `StreamingPull` is not called.
         
        .google.pubsub.v1.PushConfig push_config = 2 [(.google.api.field_behavior) = REQUIRED];