Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: API for publish idempotence #1320

Merged
merged 2 commits into from
Feb 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ public long getPartition() {
*
*
* <pre>
* Required. The target publish or event time. Specifying a future time will return an
* unset cursor.
* Required. The target publish or event time. Specifying a future time will
* return an unset cursor.
* </pre>
*
* <code>
Expand All @@ -165,8 +165,8 @@ public boolean hasTarget() {
*
*
* <pre>
* Required. The target publish or event time. Specifying a future time will return an
* unset cursor.
* Required. The target publish or event time. Specifying a future time will
* return an unset cursor.
* </pre>
*
* <code>
Expand All @@ -185,8 +185,8 @@ public com.google.cloud.pubsublite.proto.TimeTarget getTarget() {
*
*
* <pre>
* Required. The target publish or event time. Specifying a future time will return an
* unset cursor.
* Required. The target publish or event time. Specifying a future time will
* return an unset cursor.
* </pre>
*
* <code>
Expand Down Expand Up @@ -776,8 +776,8 @@ public Builder clearPartition() {
*
*
* <pre>
* Required. The target publish or event time. Specifying a future time will return an
* unset cursor.
* Required. The target publish or event time. Specifying a future time will
* return an unset cursor.
* </pre>
*
* <code>
Expand All @@ -793,8 +793,8 @@ public boolean hasTarget() {
*
*
* <pre>
* Required. The target publish or event time. Specifying a future time will return an
* unset cursor.
* Required. The target publish or event time. Specifying a future time will
* return an unset cursor.
* </pre>
*
* <code>
Expand All @@ -816,8 +816,8 @@ public com.google.cloud.pubsublite.proto.TimeTarget getTarget() {
*
*
* <pre>
* Required. The target publish or event time. Specifying a future time will return an
* unset cursor.
* Required. The target publish or event time. Specifying a future time will
* return an unset cursor.
* </pre>
*
* <code>
Expand All @@ -841,8 +841,8 @@ public Builder setTarget(com.google.cloud.pubsublite.proto.TimeTarget value) {
*
*
* <pre>
* Required. The target publish or event time. Specifying a future time will return an
* unset cursor.
* Required. The target publish or event time. Specifying a future time will
* return an unset cursor.
* </pre>
*
* <code>
Expand All @@ -863,8 +863,8 @@ public Builder setTarget(com.google.cloud.pubsublite.proto.TimeTarget.Builder bu
*
*
* <pre>
* Required. The target publish or event time. Specifying a future time will return an
* unset cursor.
* Required. The target publish or event time. Specifying a future time will
* return an unset cursor.
* </pre>
*
* <code>
Expand All @@ -891,8 +891,8 @@ public Builder mergeTarget(com.google.cloud.pubsublite.proto.TimeTarget value) {
*
*
* <pre>
* Required. The target publish or event time. Specifying a future time will return an
* unset cursor.
* Required. The target publish or event time. Specifying a future time will
* return an unset cursor.
* </pre>
*
* <code>
Expand All @@ -913,8 +913,8 @@ public Builder clearTarget() {
*
*
* <pre>
* Required. The target publish or event time. Specifying a future time will return an
* unset cursor.
* Required. The target publish or event time. Specifying a future time will
* return an unset cursor.
* </pre>
*
* <code>
Expand All @@ -930,8 +930,8 @@ public com.google.cloud.pubsublite.proto.TimeTarget.Builder getTargetBuilder() {
*
*
* <pre>
* Required. The target publish or event time. Specifying a future time will return an
* unset cursor.
* Required. The target publish or event time. Specifying a future time will
* return an unset cursor.
* </pre>
*
* <code>
Expand All @@ -951,8 +951,8 @@ public com.google.cloud.pubsublite.proto.TimeTargetOrBuilder getTargetOrBuilder(
*
*
* <pre>
* Required. The target publish or event time. Specifying a future time will return an
* unset cursor.
* Required. The target publish or event time. Specifying a future time will
* return an unset cursor.
* </pre>
*
* <code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ public interface ComputeTimeCursorRequestOrBuilder
*
*
* <pre>
* Required. The target publish or event time. Specifying a future time will return an
* unset cursor.
* Required. The target publish or event time. Specifying a future time will
* return an unset cursor.
* </pre>
*
* <code>
Expand All @@ -84,8 +84,8 @@ public interface ComputeTimeCursorRequestOrBuilder
*
*
* <pre>
* Required. The target publish or event time. Specifying a future time will return an
* unset cursor.
* Required. The target publish or event time. Specifying a future time will
* return an unset cursor.
* </pre>
*
* <code>
Expand All @@ -99,8 +99,8 @@ public interface ComputeTimeCursorRequestOrBuilder
*
*
* <pre>
* Required. The target publish or event time. Specifying a future time will return an
* unset cursor.
* Required. The target publish or event time. Specifying a future time will
* return an unset cursor.
* </pre>
*
* <code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* <pre>
* Required. Configuration of the reservation to create. Its `name` field is ignored.
* Required. Configuration of the reservation to create. Its `name` field is
* ignored.
* </pre>
*
* <code>
Expand All @@ -148,7 +149,8 @@ public boolean hasReservation() {
*
*
* <pre>
* Required. Configuration of the reservation to create. Its `name` field is ignored.
* Required. Configuration of the reservation to create. Its `name` field is
* ignored.
* </pre>
*
* <code>
Expand All @@ -167,7 +169,8 @@ public com.google.cloud.pubsublite.proto.Reservation getReservation() {
*
*
* <pre>
* Required. Configuration of the reservation to create. Its `name` field is ignored.
* Required. Configuration of the reservation to create. Its `name` field is
* ignored.
* </pre>
*
* <code>
Expand All @@ -189,8 +192,8 @@ public com.google.cloud.pubsublite.proto.ReservationOrBuilder getReservationOrBu
*
*
* <pre>
* Required. The ID to use for the reservation, which will become the final component of
* the reservation's name.
* Required. The ID to use for the reservation, which will become the final
* component of the reservation's name.
* This value is structured like: `my-reservation-name`.
* </pre>
*
Expand All @@ -214,8 +217,8 @@ public java.lang.String getReservationId() {
*
*
* <pre>
* Required. The ID to use for the reservation, which will become the final component of
* the reservation's name.
* Required. The ID to use for the reservation, which will become the final
* component of the reservation's name.
* This value is structured like: `my-reservation-name`.
* </pre>
*
Expand Down Expand Up @@ -766,7 +769,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* <pre>
* Required. Configuration of the reservation to create. Its `name` field is ignored.
* Required. Configuration of the reservation to create. Its `name` field is
* ignored.
* </pre>
*
* <code>
Expand All @@ -782,7 +786,8 @@ public boolean hasReservation() {
*
*
* <pre>
* Required. Configuration of the reservation to create. Its `name` field is ignored.
* Required. Configuration of the reservation to create. Its `name` field is
* ignored.
* </pre>
*
* <code>
Expand All @@ -804,7 +809,8 @@ public com.google.cloud.pubsublite.proto.Reservation getReservation() {
*
*
* <pre>
* Required. Configuration of the reservation to create. Its `name` field is ignored.
* Required. Configuration of the reservation to create. Its `name` field is
* ignored.
* </pre>
*
* <code>
Expand All @@ -828,7 +834,8 @@ public Builder setReservation(com.google.cloud.pubsublite.proto.Reservation valu
*
*
* <pre>
* Required. Configuration of the reservation to create. Its `name` field is ignored.
* Required. Configuration of the reservation to create. Its `name` field is
* ignored.
* </pre>
*
* <code>
Expand All @@ -850,7 +857,8 @@ public Builder setReservation(
*
*
* <pre>
* Required. Configuration of the reservation to create. Its `name` field is ignored.
* Required. Configuration of the reservation to create. Its `name` field is
* ignored.
* </pre>
*
* <code>
Expand All @@ -877,7 +885,8 @@ public Builder mergeReservation(com.google.cloud.pubsublite.proto.Reservation va
*
*
* <pre>
* Required. Configuration of the reservation to create. Its `name` field is ignored.
* Required. Configuration of the reservation to create. Its `name` field is
* ignored.
* </pre>
*
* <code>
Expand All @@ -898,7 +907,8 @@ public Builder clearReservation() {
*
*
* <pre>
* Required. Configuration of the reservation to create. Its `name` field is ignored.
* Required. Configuration of the reservation to create. Its `name` field is
* ignored.
* </pre>
*
* <code>
Expand All @@ -914,7 +924,8 @@ public com.google.cloud.pubsublite.proto.Reservation.Builder getReservationBuild
*
*
* <pre>
* Required. Configuration of the reservation to create. Its `name` field is ignored.
* Required. Configuration of the reservation to create. Its `name` field is
* ignored.
* </pre>
*
* <code>
Expand All @@ -934,7 +945,8 @@ public com.google.cloud.pubsublite.proto.ReservationOrBuilder getReservationOrBu
*
*
* <pre>
* Required. Configuration of the reservation to create. Its `name` field is ignored.
* Required. Configuration of the reservation to create. Its `name` field is
* ignored.
* </pre>
*
* <code>
Expand Down Expand Up @@ -963,8 +975,8 @@ public com.google.cloud.pubsublite.proto.ReservationOrBuilder getReservationOrBu
*
*
* <pre>
* Required. The ID to use for the reservation, which will become the final component of
* the reservation's name.
* Required. The ID to use for the reservation, which will become the final
* component of the reservation's name.
* This value is structured like: `my-reservation-name`.
* </pre>
*
Expand All @@ -987,8 +999,8 @@ public java.lang.String getReservationId() {
*
*
* <pre>
* Required. The ID to use for the reservation, which will become the final component of
* the reservation's name.
* Required. The ID to use for the reservation, which will become the final
* component of the reservation's name.
* This value is structured like: `my-reservation-name`.
* </pre>
*
Expand All @@ -1011,8 +1023,8 @@ public com.google.protobuf.ByteString getReservationIdBytes() {
*
*
* <pre>
* Required. The ID to use for the reservation, which will become the final component of
* the reservation's name.
* Required. The ID to use for the reservation, which will become the final
* component of the reservation's name.
* This value is structured like: `my-reservation-name`.
* </pre>
*
Expand All @@ -1034,8 +1046,8 @@ public Builder setReservationId(java.lang.String value) {
*
*
* <pre>
* Required. The ID to use for the reservation, which will become the final component of
* the reservation's name.
* Required. The ID to use for the reservation, which will become the final
* component of the reservation's name.
* This value is structured like: `my-reservation-name`.
* </pre>
*
Expand All @@ -1053,8 +1065,8 @@ public Builder clearReservationId() {
*
*
* <pre>
* Required. The ID to use for the reservation, which will become the final component of
* the reservation's name.
* Required. The ID to use for the reservation, which will become the final
* component of the reservation's name.
* This value is structured like: `my-reservation-name`.
* </pre>
*
Expand Down