Skip to content

Commit f5c310c

Browse files
yoshi-automationsduskis
authored andcommitted
---
yaml --- r: 14111 b: refs/heads/autosynth-monitoring c: 0aab68a h: refs/heads/master i: 14109: 22050e0 14107: 11118c3 14103: 8a0b918 14095: 5f391e9 14079: d650f08
1 parent 6a36f20 commit f5c310c

4 files changed

Lines changed: 28 additions & 30 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ refs/tags/v0.67.0: 30b56f02092efc6f3c3667650ea8b8825003e0b7
115115
refs/heads/autosynth-compute: 8e86445e504cea6f99b9fb237bfd7f0e5ef8b3ce
116116
refs/heads/autosynth-container: f6384095f50b31bfc8208542a49181e158d3681c
117117
refs/heads/autosynth-dataproc: bc74a8841bc1693d7945d991d15979df550b1fd1
118-
refs/heads/autosynth-monitoring: c3ebac612a5b41ac3257f75b91d1fbeb111bc6b1
118+
refs/heads/autosynth-monitoring: 0aab68a4068c06fca5c582256b5c2799a8b5f497
119119
refs/heads/autosynth-pubsub: ed3340e32d13bb1a42ca4431cb1ad9bdaf550aa4
120120
refs/heads/autosynth-video-intelligence: 3e8faeeee2f803271529bd6e89b621c1ca098628
121121
refs/heads/autosynth-vision: d758c43ba2ef4f4f7ad07b722617cb39fe3f29db

branches/autosynth-monitoring/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -479,10 +479,13 @@ public static class Builder extends StubSettings.Builder<PublisherStubSettings,
479479
"idempotent",
480480
ImmutableSet.copyOf(
481481
Lists.<StatusCode.Code>newArrayList(
482-
StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE)));
483-
definitions.put("non_idempotent", ImmutableSet.copyOf(Lists.<StatusCode.Code>newArrayList()));
482+
StatusCode.Code.ABORTED, StatusCode.Code.UNAVAILABLE, StatusCode.Code.UNKNOWN)));
484483
definitions.put(
485-
"one_plus_delivery",
484+
"non_idempotent",
485+
ImmutableSet.copyOf(Lists.<StatusCode.Code>newArrayList(StatusCode.Code.UNAVAILABLE)));
486+
definitions.put("none", ImmutableSet.copyOf(Lists.<StatusCode.Code>newArrayList()));
487+
definitions.put(
488+
"publish",
486489
ImmutableSet.copyOf(
487490
Lists.<StatusCode.Code>newArrayList(
488491
StatusCode.Code.ABORTED,
@@ -584,12 +587,12 @@ private static Builder initDefaults(Builder builder) {
584587

585588
builder
586589
.createTopicSettings()
587-
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
590+
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
588591
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
589592

590593
builder
591594
.updateTopicSettings()
592-
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
595+
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
593596
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
594597

595598
builder
@@ -606,7 +609,7 @@ private static Builder initDefaults(Builder builder) {
606609
.build());
607610
builder
608611
.publishSettings()
609-
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("one_plus_delivery"))
612+
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("publish"))
610613
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("messaging"));
611614

612615
builder
@@ -626,7 +629,7 @@ private static Builder initDefaults(Builder builder) {
626629

627630
builder
628631
.deleteTopicSettings()
629-
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
632+
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
630633
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
631634

632635
builder

branches/autosynth-monitoring/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -479,16 +479,11 @@ public static class Builder extends StubSettings.Builder<SubscriberStubSettings,
479479
"idempotent",
480480
ImmutableSet.copyOf(
481481
Lists.<StatusCode.Code>newArrayList(
482-
StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE)));
482+
StatusCode.Code.ABORTED, StatusCode.Code.UNAVAILABLE, StatusCode.Code.UNKNOWN)));
483483
definitions.put(
484-
"pull",
485-
ImmutableSet.copyOf(
486-
Lists.<StatusCode.Code>newArrayList(
487-
StatusCode.Code.DEADLINE_EXCEEDED,
488-
StatusCode.Code.INTERNAL,
489-
StatusCode.Code.RESOURCE_EXHAUSTED,
490-
StatusCode.Code.UNAVAILABLE)));
491-
definitions.put("non_idempotent", ImmutableSet.copyOf(Lists.<StatusCode.Code>newArrayList()));
484+
"non_idempotent",
485+
ImmutableSet.copyOf(Lists.<StatusCode.Code>newArrayList(StatusCode.Code.UNAVAILABLE)));
486+
definitions.put("none", ImmutableSet.copyOf(Lists.<StatusCode.Code>newArrayList()));
492487
RETRYABLE_CODE_DEFINITIONS = definitions.build();
493488
}
494489

@@ -622,7 +617,7 @@ private static Builder initDefaults(Builder builder) {
622617

623618
builder
624619
.updateSubscriptionSettings()
625-
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
620+
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
626621
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
627622

628623
builder
@@ -632,7 +627,7 @@ private static Builder initDefaults(Builder builder) {
632627

633628
builder
634629
.deleteSubscriptionSettings()
635-
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
630+
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
636631
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
637632

638633
builder
@@ -642,12 +637,12 @@ private static Builder initDefaults(Builder builder) {
642637

643638
builder
644639
.acknowledgeSettings()
645-
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
640+
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
646641
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("messaging"));
647642

648643
builder
649644
.pullSettings()
650-
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("pull"))
645+
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
651646
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("messaging"));
652647

653648
builder
@@ -662,22 +657,22 @@ private static Builder initDefaults(Builder builder) {
662657

663658
builder
664659
.createSnapshotSettings()
665-
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
660+
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
666661
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
667662

668663
builder
669664
.updateSnapshotSettings()
670-
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
665+
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
671666
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
672667

673668
builder
674669
.deleteSnapshotSettings()
675-
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
670+
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
676671
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
677672

678673
builder
679674
.seekSettings()
680-
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
675+
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
681676
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
682677

683678
builder

branches/autosynth-monitoring/google-cloud-clients/google-cloud-pubsub/synth.metadata

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"updateTime": "2019-01-17T08:48:48.620536Z",
2+
"updateTime": "2019-02-13T08:46:41.544485Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.16.6",
8-
"dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e"
7+
"version": "0.16.13",
8+
"dockerImage": "googleapis/artman@sha256:5fd9aee1d82a00cebf425c8fa431f5457539562f5867ad9c54370f0ec9a7ccaa"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05",
16-
"internalRef": "229626798"
15+
"sha": "ca61898878f0926dd9dcc68ba90764f17133efe4",
16+
"internalRef": "233680013"
1717
}
1818
}
1919
],

0 commit comments

Comments
 (0)