Skip to content

Commit 4cadfba

Browse files
feat: API for publish idempotence (#1320)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 507561467 Source-Link: https://togithub.com/googleapis/googleapis/commit/8bf4545d6339c9c07a107af9ef5f7123b63091d2 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/c37939c2d09c76feacf48dece24807957f49e0cb Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzM3OTM5YzJkMDljNzZmZWFjZjQ4ZGVjZTI0ODA3OTU3ZjQ5ZTBjYiJ9
1 parent 47e449c commit 4cadfba

25 files changed

+2543
-344
lines changed

proto-google-cloud-pubsublite-v1/src/main/java/com/google/cloud/pubsublite/proto/ComputeTimeCursorRequest.java

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ public long getPartition() {
147147
*
148148
*
149149
* <pre>
150-
* Required. The target publish or event time. Specifying a future time will return an
151-
* unset cursor.
150+
* Required. The target publish or event time. Specifying a future time will
151+
* return an unset cursor.
152152
* </pre>
153153
*
154154
* <code>
@@ -165,8 +165,8 @@ public boolean hasTarget() {
165165
*
166166
*
167167
* <pre>
168-
* Required. The target publish or event time. Specifying a future time will return an
169-
* unset cursor.
168+
* Required. The target publish or event time. Specifying a future time will
169+
* return an unset cursor.
170170
* </pre>
171171
*
172172
* <code>
@@ -185,8 +185,8 @@ public com.google.cloud.pubsublite.proto.TimeTarget getTarget() {
185185
*
186186
*
187187
* <pre>
188-
* Required. The target publish or event time. Specifying a future time will return an
189-
* unset cursor.
188+
* Required. The target publish or event time. Specifying a future time will
189+
* return an unset cursor.
190190
* </pre>
191191
*
192192
* <code>
@@ -776,8 +776,8 @@ public Builder clearPartition() {
776776
*
777777
*
778778
* <pre>
779-
* Required. The target publish or event time. Specifying a future time will return an
780-
* unset cursor.
779+
* Required. The target publish or event time. Specifying a future time will
780+
* return an unset cursor.
781781
* </pre>
782782
*
783783
* <code>
@@ -793,8 +793,8 @@ public boolean hasTarget() {
793793
*
794794
*
795795
* <pre>
796-
* Required. The target publish or event time. Specifying a future time will return an
797-
* unset cursor.
796+
* Required. The target publish or event time. Specifying a future time will
797+
* return an unset cursor.
798798
* </pre>
799799
*
800800
* <code>
@@ -816,8 +816,8 @@ public com.google.cloud.pubsublite.proto.TimeTarget getTarget() {
816816
*
817817
*
818818
* <pre>
819-
* Required. The target publish or event time. Specifying a future time will return an
820-
* unset cursor.
819+
* Required. The target publish or event time. Specifying a future time will
820+
* return an unset cursor.
821821
* </pre>
822822
*
823823
* <code>
@@ -841,8 +841,8 @@ public Builder setTarget(com.google.cloud.pubsublite.proto.TimeTarget value) {
841841
*
842842
*
843843
* <pre>
844-
* Required. The target publish or event time. Specifying a future time will return an
845-
* unset cursor.
844+
* Required. The target publish or event time. Specifying a future time will
845+
* return an unset cursor.
846846
* </pre>
847847
*
848848
* <code>
@@ -863,8 +863,8 @@ public Builder setTarget(com.google.cloud.pubsublite.proto.TimeTarget.Builder bu
863863
*
864864
*
865865
* <pre>
866-
* Required. The target publish or event time. Specifying a future time will return an
867-
* unset cursor.
866+
* Required. The target publish or event time. Specifying a future time will
867+
* return an unset cursor.
868868
* </pre>
869869
*
870870
* <code>
@@ -891,8 +891,8 @@ public Builder mergeTarget(com.google.cloud.pubsublite.proto.TimeTarget value) {
891891
*
892892
*
893893
* <pre>
894-
* Required. The target publish or event time. Specifying a future time will return an
895-
* unset cursor.
894+
* Required. The target publish or event time. Specifying a future time will
895+
* return an unset cursor.
896896
* </pre>
897897
*
898898
* <code>
@@ -913,8 +913,8 @@ public Builder clearTarget() {
913913
*
914914
*
915915
* <pre>
916-
* Required. The target publish or event time. Specifying a future time will return an
917-
* unset cursor.
916+
* Required. The target publish or event time. Specifying a future time will
917+
* return an unset cursor.
918918
* </pre>
919919
*
920920
* <code>
@@ -930,8 +930,8 @@ public com.google.cloud.pubsublite.proto.TimeTarget.Builder getTargetBuilder() {
930930
*
931931
*
932932
* <pre>
933-
* Required. The target publish or event time. Specifying a future time will return an
934-
* unset cursor.
933+
* Required. The target publish or event time. Specifying a future time will
934+
* return an unset cursor.
935935
* </pre>
936936
*
937937
* <code>
@@ -951,8 +951,8 @@ public com.google.cloud.pubsublite.proto.TimeTargetOrBuilder getTargetOrBuilder(
951951
*
952952
*
953953
* <pre>
954-
* Required. The target publish or event time. Specifying a future time will return an
955-
* unset cursor.
954+
* Required. The target publish or event time. Specifying a future time will
955+
* return an unset cursor.
956956
* </pre>
957957
*
958958
* <code>

proto-google-cloud-pubsublite-v1/src/main/java/com/google/cloud/pubsublite/proto/ComputeTimeCursorRequestOrBuilder.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ public interface ComputeTimeCursorRequestOrBuilder
6969
*
7070
*
7171
* <pre>
72-
* Required. The target publish or event time. Specifying a future time will return an
73-
* unset cursor.
72+
* Required. The target publish or event time. Specifying a future time will
73+
* return an unset cursor.
7474
* </pre>
7575
*
7676
* <code>
@@ -84,8 +84,8 @@ public interface ComputeTimeCursorRequestOrBuilder
8484
*
8585
*
8686
* <pre>
87-
* Required. The target publish or event time. Specifying a future time will return an
88-
* unset cursor.
87+
* Required. The target publish or event time. Specifying a future time will
88+
* return an unset cursor.
8989
* </pre>
9090
*
9191
* <code>
@@ -99,8 +99,8 @@ public interface ComputeTimeCursorRequestOrBuilder
9999
*
100100
*
101101
* <pre>
102-
* Required. The target publish or event time. Specifying a future time will return an
103-
* unset cursor.
102+
* Required. The target publish or event time. Specifying a future time will
103+
* return an unset cursor.
104104
* </pre>
105105
*
106106
* <code>

proto-google-cloud-pubsublite-v1/src/main/java/com/google/cloud/pubsublite/proto/CreateReservationRequest.java

Lines changed: 38 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ public com.google.protobuf.ByteString getParentBytes() {
131131
*
132132
*
133133
* <pre>
134-
* Required. Configuration of the reservation to create. Its `name` field is ignored.
134+
* Required. Configuration of the reservation to create. Its `name` field is
135+
* ignored.
135136
* </pre>
136137
*
137138
* <code>
@@ -148,7 +149,8 @@ public boolean hasReservation() {
148149
*
149150
*
150151
* <pre>
151-
* Required. Configuration of the reservation to create. Its `name` field is ignored.
152+
* Required. Configuration of the reservation to create. Its `name` field is
153+
* ignored.
152154
* </pre>
153155
*
154156
* <code>
@@ -167,7 +169,8 @@ public com.google.cloud.pubsublite.proto.Reservation getReservation() {
167169
*
168170
*
169171
* <pre>
170-
* Required. Configuration of the reservation to create. Its `name` field is ignored.
172+
* Required. Configuration of the reservation to create. Its `name` field is
173+
* ignored.
171174
* </pre>
172175
*
173176
* <code>
@@ -189,8 +192,8 @@ public com.google.cloud.pubsublite.proto.ReservationOrBuilder getReservationOrBu
189192
*
190193
*
191194
* <pre>
192-
* Required. The ID to use for the reservation, which will become the final component of
193-
* the reservation's name.
195+
* Required. The ID to use for the reservation, which will become the final
196+
* component of the reservation's name.
194197
* This value is structured like: `my-reservation-name`.
195198
* </pre>
196199
*
@@ -214,8 +217,8 @@ public java.lang.String getReservationId() {
214217
*
215218
*
216219
* <pre>
217-
* Required. The ID to use for the reservation, which will become the final component of
218-
* the reservation's name.
220+
* Required. The ID to use for the reservation, which will become the final
221+
* component of the reservation's name.
219222
* This value is structured like: `my-reservation-name`.
220223
* </pre>
221224
*
@@ -766,7 +769,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
766769
*
767770
*
768771
* <pre>
769-
* Required. Configuration of the reservation to create. Its `name` field is ignored.
772+
* Required. Configuration of the reservation to create. Its `name` field is
773+
* ignored.
770774
* </pre>
771775
*
772776
* <code>
@@ -782,7 +786,8 @@ public boolean hasReservation() {
782786
*
783787
*
784788
* <pre>
785-
* Required. Configuration of the reservation to create. Its `name` field is ignored.
789+
* Required. Configuration of the reservation to create. Its `name` field is
790+
* ignored.
786791
* </pre>
787792
*
788793
* <code>
@@ -804,7 +809,8 @@ public com.google.cloud.pubsublite.proto.Reservation getReservation() {
804809
*
805810
*
806811
* <pre>
807-
* Required. Configuration of the reservation to create. Its `name` field is ignored.
812+
* Required. Configuration of the reservation to create. Its `name` field is
813+
* ignored.
808814
* </pre>
809815
*
810816
* <code>
@@ -828,7 +834,8 @@ public Builder setReservation(com.google.cloud.pubsublite.proto.Reservation valu
828834
*
829835
*
830836
* <pre>
831-
* Required. Configuration of the reservation to create. Its `name` field is ignored.
837+
* Required. Configuration of the reservation to create. Its `name` field is
838+
* ignored.
832839
* </pre>
833840
*
834841
* <code>
@@ -850,7 +857,8 @@ public Builder setReservation(
850857
*
851858
*
852859
* <pre>
853-
* Required. Configuration of the reservation to create. Its `name` field is ignored.
860+
* Required. Configuration of the reservation to create. Its `name` field is
861+
* ignored.
854862
* </pre>
855863
*
856864
* <code>
@@ -877,7 +885,8 @@ public Builder mergeReservation(com.google.cloud.pubsublite.proto.Reservation va
877885
*
878886
*
879887
* <pre>
880-
* Required. Configuration of the reservation to create. Its `name` field is ignored.
888+
* Required. Configuration of the reservation to create. Its `name` field is
889+
* ignored.
881890
* </pre>
882891
*
883892
* <code>
@@ -898,7 +907,8 @@ public Builder clearReservation() {
898907
*
899908
*
900909
* <pre>
901-
* Required. Configuration of the reservation to create. Its `name` field is ignored.
910+
* Required. Configuration of the reservation to create. Its `name` field is
911+
* ignored.
902912
* </pre>
903913
*
904914
* <code>
@@ -914,7 +924,8 @@ public com.google.cloud.pubsublite.proto.Reservation.Builder getReservationBuild
914924
*
915925
*
916926
* <pre>
917-
* Required. Configuration of the reservation to create. Its `name` field is ignored.
927+
* Required. Configuration of the reservation to create. Its `name` field is
928+
* ignored.
918929
* </pre>
919930
*
920931
* <code>
@@ -934,7 +945,8 @@ public com.google.cloud.pubsublite.proto.ReservationOrBuilder getReservationOrBu
934945
*
935946
*
936947
* <pre>
937-
* Required. Configuration of the reservation to create. Its `name` field is ignored.
948+
* Required. Configuration of the reservation to create. Its `name` field is
949+
* ignored.
938950
* </pre>
939951
*
940952
* <code>
@@ -963,8 +975,8 @@ public com.google.cloud.pubsublite.proto.ReservationOrBuilder getReservationOrBu
963975
*
964976
*
965977
* <pre>
966-
* Required. The ID to use for the reservation, which will become the final component of
967-
* the reservation's name.
978+
* Required. The ID to use for the reservation, which will become the final
979+
* component of the reservation's name.
968980
* This value is structured like: `my-reservation-name`.
969981
* </pre>
970982
*
@@ -987,8 +999,8 @@ public java.lang.String getReservationId() {
987999
*
9881000
*
9891001
* <pre>
990-
* Required. The ID to use for the reservation, which will become the final component of
991-
* the reservation's name.
1002+
* Required. The ID to use for the reservation, which will become the final
1003+
* component of the reservation's name.
9921004
* This value is structured like: `my-reservation-name`.
9931005
* </pre>
9941006
*
@@ -1011,8 +1023,8 @@ public com.google.protobuf.ByteString getReservationIdBytes() {
10111023
*
10121024
*
10131025
* <pre>
1014-
* Required. The ID to use for the reservation, which will become the final component of
1015-
* the reservation's name.
1026+
* Required. The ID to use for the reservation, which will become the final
1027+
* component of the reservation's name.
10161028
* This value is structured like: `my-reservation-name`.
10171029
* </pre>
10181030
*
@@ -1034,8 +1046,8 @@ public Builder setReservationId(java.lang.String value) {
10341046
*
10351047
*
10361048
* <pre>
1037-
* Required. The ID to use for the reservation, which will become the final component of
1038-
* the reservation's name.
1049+
* Required. The ID to use for the reservation, which will become the final
1050+
* component of the reservation's name.
10391051
* This value is structured like: `my-reservation-name`.
10401052
* </pre>
10411053
*
@@ -1053,8 +1065,8 @@ public Builder clearReservationId() {
10531065
*
10541066
*
10551067
* <pre>
1056-
* Required. The ID to use for the reservation, which will become the final component of
1057-
* the reservation's name.
1068+
* Required. The ID to use for the reservation, which will become the final
1069+
* component of the reservation's name.
10581070
* This value is structured like: `my-reservation-name`.
10591071
* </pre>
10601072
*

0 commit comments

Comments
 (0)