@@ -304,8 +304,12 @@ public interface MessageOrBuilder
304
304
*
305
305
* <pre>
306
306
* Message details.
307
- * Describe the attribute that a message should have.
308
- * Without specified message attributes, no message will be sent by default.
307
+ * Describe the conditions under which messages will be sent.
308
+ * If no attribute is defined, no message will be sent by default.
309
+ * One message should specify either the job or the task level attributes,
310
+ * but not both. For example,
311
+ * job level: JOB_STATE_CHANGED and/or a specified new_job_state;
312
+ * task level: TASK_STATE_CHANGED and/or a specified new_task_state.
309
313
* </pre>
310
314
*
311
315
* Protobuf type {@code google.cloud.batch.v1.JobNotification.Message}
@@ -637,8 +641,12 @@ protected Builder newBuilderForType(
637
641
*
638
642
* <pre>
639
643
* Message details.
640
- * Describe the attribute that a message should have.
641
- * Without specified message attributes, no message will be sent by default.
644
+ * Describe the conditions under which messages will be sent.
645
+ * If no attribute is defined, no message will be sent by default.
646
+ * One message should specify either the job or the task level attributes,
647
+ * but not both. For example,
648
+ * job level: JOB_STATE_CHANGED and/or a specified new_job_state;
649
+ * task level: TASK_STATE_CHANGED and/or a specified new_task_state.
642
650
* </pre>
643
651
*
644
652
* Protobuf type {@code google.cloud.batch.v1.JobNotification.Message}
@@ -1189,8 +1197,8 @@ public com.google.cloud.batch.v1.JobNotification.Message getDefaultInstanceForTy
1189
1197
*
1190
1198
* <pre>
1191
1199
* The Pub/Sub topic where notifications like the job state changes
1192
- * will be published. This topic exist in the same project as the job
1193
- * and billings will be charged to this project.
1200
+ * will be published. The topic must exist in the same project as
1201
+ * the job and billings will be charged to this project.
1194
1202
* If not specified, no Pub/Sub messages will be sent.
1195
1203
* Topic format: `projects/{project}/topics/{topic}`.
1196
1204
* </pre>
@@ -1216,8 +1224,8 @@ public java.lang.String getPubsubTopic() {
1216
1224
*
1217
1225
* <pre>
1218
1226
* The Pub/Sub topic where notifications like the job state changes
1219
- * will be published. This topic exist in the same project as the job
1220
- * and billings will be charged to this project.
1227
+ * will be published. The topic must exist in the same project as
1228
+ * the job and billings will be charged to this project.
1221
1229
* If not specified, no Pub/Sub messages will be sent.
1222
1230
* Topic format: `projects/{project}/topics/{topic}`.
1223
1231
* </pre>
@@ -1670,8 +1678,8 @@ public Builder mergeFrom(
1670
1678
*
1671
1679
* <pre>
1672
1680
* The Pub/Sub topic where notifications like the job state changes
1673
- * will be published. This topic exist in the same project as the job
1674
- * and billings will be charged to this project.
1681
+ * will be published. The topic must exist in the same project as
1682
+ * the job and billings will be charged to this project.
1675
1683
* If not specified, no Pub/Sub messages will be sent.
1676
1684
* Topic format: `projects/{project}/topics/{topic}`.
1677
1685
* </pre>
@@ -1696,8 +1704,8 @@ public java.lang.String getPubsubTopic() {
1696
1704
*
1697
1705
* <pre>
1698
1706
* The Pub/Sub topic where notifications like the job state changes
1699
- * will be published. This topic exist in the same project as the job
1700
- * and billings will be charged to this project.
1707
+ * will be published. The topic must exist in the same project as
1708
+ * the job and billings will be charged to this project.
1701
1709
* If not specified, no Pub/Sub messages will be sent.
1702
1710
* Topic format: `projects/{project}/topics/{topic}`.
1703
1711
* </pre>
@@ -1722,8 +1730,8 @@ public com.google.protobuf.ByteString getPubsubTopicBytes() {
1722
1730
*
1723
1731
* <pre>
1724
1732
* The Pub/Sub topic where notifications like the job state changes
1725
- * will be published. This topic exist in the same project as the job
1726
- * and billings will be charged to this project.
1733
+ * will be published. The topic must exist in the same project as
1734
+ * the job and billings will be charged to this project.
1727
1735
* If not specified, no Pub/Sub messages will be sent.
1728
1736
* Topic format: `projects/{project}/topics/{topic}`.
1729
1737
* </pre>
@@ -1747,8 +1755,8 @@ public Builder setPubsubTopic(java.lang.String value) {
1747
1755
*
1748
1756
* <pre>
1749
1757
* The Pub/Sub topic where notifications like the job state changes
1750
- * will be published. This topic exist in the same project as the job
1751
- * and billings will be charged to this project.
1758
+ * will be published. The topic must exist in the same project as
1759
+ * the job and billings will be charged to this project.
1752
1760
* If not specified, no Pub/Sub messages will be sent.
1753
1761
* Topic format: `projects/{project}/topics/{topic}`.
1754
1762
* </pre>
@@ -1768,8 +1776,8 @@ public Builder clearPubsubTopic() {
1768
1776
*
1769
1777
* <pre>
1770
1778
* The Pub/Sub topic where notifications like the job state changes
1771
- * will be published. This topic exist in the same project as the job
1772
- * and billings will be charged to this project.
1779
+ * will be published. The topic must exist in the same project as
1780
+ * the job and billings will be charged to this project.
1773
1781
* If not specified, no Pub/Sub messages will be sent.
1774
1782
* Topic format: `projects/{project}/topics/{topic}`.
1775
1783
* </pre>
0 commit comments