@@ -235,8 +235,8 @@ public SubscriberStub getStub() {
235
235
* messages. Format is `projects/{project}/topics/{topic}`. The value of this field will be
236
236
* `_deleted-topic_` if the topic has been deleted.
237
237
* @param pushConfig If push delivery is used with this subscription, this field is used to
238
- * configure it. An empty `pushConfig` signifies that the subscriber will pull and ack
239
- * messages using API methods.
238
+ * configure it. Either `pushConfig` or `bigQueryConfig` can be set, but not both. If both are
239
+ * empty, then the subscriber will pull and ack messages using API methods.
240
240
* @param ackDeadlineSeconds The approximate amount of time (on a best-effort basis) Pub/Sub waits
241
241
* for the subscriber to acknowledge receipt before resending the message. In the interval
242
242
* after the message is delivered and before it is acknowledged, it is considered to be
@@ -303,8 +303,8 @@ public final Subscription createSubscription(
303
303
* messages. Format is `projects/{project}/topics/{topic}`. The value of this field will be
304
304
* `_deleted-topic_` if the topic has been deleted.
305
305
* @param pushConfig If push delivery is used with this subscription, this field is used to
306
- * configure it. An empty `pushConfig` signifies that the subscriber will pull and ack
307
- * messages using API methods.
306
+ * configure it. Either `pushConfig` or `bigQueryConfig` can be set, but not both. If both are
307
+ * empty, then the subscriber will pull and ack messages using API methods.
308
308
* @param ackDeadlineSeconds The approximate amount of time (on a best-effort basis) Pub/Sub waits
309
309
* for the subscriber to acknowledge receipt before resending the message. In the interval
310
310
* after the message is delivered and before it is acknowledged, it is considered to be
@@ -371,8 +371,8 @@ public final Subscription createSubscription(
371
371
* messages. Format is `projects/{project}/topics/{topic}`. The value of this field will be
372
372
* `_deleted-topic_` if the topic has been deleted.
373
373
* @param pushConfig If push delivery is used with this subscription, this field is used to
374
- * configure it. An empty `pushConfig` signifies that the subscriber will pull and ack
375
- * messages using API methods.
374
+ * configure it. Either `pushConfig` or `bigQueryConfig` can be set, but not both. If both are
375
+ * empty, then the subscriber will pull and ack messages using API methods.
376
376
* @param ackDeadlineSeconds The approximate amount of time (on a best-effort basis) Pub/Sub waits
377
377
* for the subscriber to acknowledge receipt before resending the message. In the interval
378
378
* after the message is delivered and before it is acknowledged, it is considered to be
@@ -439,8 +439,8 @@ public final Subscription createSubscription(
439
439
* messages. Format is `projects/{project}/topics/{topic}`. The value of this field will be
440
440
* `_deleted-topic_` if the topic has been deleted.
441
441
* @param pushConfig If push delivery is used with this subscription, this field is used to
442
- * configure it. An empty `pushConfig` signifies that the subscriber will pull and ack
443
- * messages using API methods.
442
+ * configure it. Either `pushConfig` or `bigQueryConfig` can be set, but not both. If both are
443
+ * empty, then the subscriber will pull and ack messages using API methods.
444
444
* @param ackDeadlineSeconds The approximate amount of time (on a best-effort basis) Pub/Sub waits
445
445
* for the subscriber to acknowledge receipt before resending the message. In the interval
446
446
* after the message is delivered and before it is acknowledged, it is considered to be
@@ -494,6 +494,7 @@ public final Subscription createSubscription(
494
494
* .setName(SubscriptionName.of("[PROJECT]", "[SUBSCRIPTION]").toString())
495
495
* .setTopic(TopicName.ofProjectTopicName("[PROJECT]", "[TOPIC]").toString())
496
496
* .setPushConfig(PushConfig.newBuilder().build())
497
+ * .setBigqueryConfig(BigQueryConfig.newBuilder().build())
497
498
* .setAckDeadlineSeconds(2135351438)
498
499
* .setRetainAckedMessages(true)
499
500
* .setMessageRetentionDuration(Duration.newBuilder().build())
@@ -752,6 +753,7 @@ public final Subscription createSubscription(
752
753
* .setName(SubscriptionName.of("[PROJECT]", "[SUBSCRIPTION]").toString())
753
754
* .setTopic(TopicName.ofProjectTopicName("[PROJECT]", "[TOPIC]").toString())
754
755
* .setPushConfig(PushConfig.newBuilder().build())
756
+ * .setBigqueryConfig(BigQueryConfig.newBuilder().build())
755
757
* .setAckDeadlineSeconds(2135351438)
756
758
* .setRetainAckedMessages(true)
757
759
* .setMessageRetentionDuration(Duration.newBuilder().build())
0 commit comments