Skip to content

Commit

Permalink
Revert "update showcase"
Browse files Browse the repository at this point in the history
This reverts commit 870263a.
  • Loading branch information
diegomarquezp committed Mar 13, 2024
1 parent 870263a commit 4aa00d0
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -882,6 +882,8 @@ public UnaryCallSettings.Builder<WaitRequest, Operation> waitSettings() {
}

/** Returns the builder for the settings used for calls to wait. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<WaitRequest, WaitResponse, WaitMetadata>
waitOperationSettings() {
return waitOperationSettings;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ public <RequestT, ResponseT> UnaryCallable<RequestT, ResponseT> createBatchingCa
httpJsonCallSettings, callSettings, clientContext);
}

@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
@Override
public <RequestT, ResponseT, MetadataT>
OperationCallable<RequestT, ResponseT, MetadataT> createOperationCallable(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ public <RequestT, ResponseT> UnaryCallable<RequestT, ResponseT> createBatchingCa
httpJsonCallSettings, callSettings, clientContext);
}

@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
@Override
public <RequestT, ResponseT, MetadataT>
OperationCallable<RequestT, ResponseT, MetadataT> createOperationCallable(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ public <RequestT, ResponseT> UnaryCallable<RequestT, ResponseT> createBatchingCa
httpJsonCallSettings, callSettings, clientContext);
}

@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
@Override
public <RequestT, ResponseT, MetadataT>
OperationCallable<RequestT, ResponseT, MetadataT> createOperationCallable(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ public <RequestT, ResponseT> UnaryCallable<RequestT, ResponseT> createBatchingCa
httpJsonCallSettings, callSettings, clientContext);
}

@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
@Override
public <RequestT, ResponseT, MetadataT>
OperationCallable<RequestT, ResponseT, MetadataT> createOperationCallable(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ public <RequestT, ResponseT> UnaryCallable<RequestT, ResponseT> createBatchingCa
httpJsonCallSettings, callSettings, clientContext);
}

@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
@Override
public <RequestT, ResponseT, MetadataT>
OperationCallable<RequestT, ResponseT, MetadataT> createOperationCallable(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ public <RequestT, ResponseT> UnaryCallable<RequestT, ResponseT> createBatchingCa
httpJsonCallSettings, callSettings, clientContext);
}

@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
@Override
public <RequestT, ResponseT, MetadataT>
OperationCallable<RequestT, ResponseT, MetadataT> createOperationCallable(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,8 @@ public UnaryCallSettings.Builder<SearchBlurbsRequest, Operation> searchBlurbsSet
}

/** Returns the builder for the settings used for calls to searchBlurbs. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<
SearchBlurbsRequest, SearchBlurbsResponse, SearchBlurbsMetadata>
searchBlurbsOperationSettings() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

package com.google.showcase.v1beta1;

import com.google.api.core.BetaApi;
import com.google.api.pathtemplate.PathTemplate;
import com.google.api.pathtemplate.ValidationException;
import com.google.api.resourcenames.ResourceName;
Expand Down Expand Up @@ -117,18 +118,22 @@ public static Builder newBuilder() {
return new Builder();
}

@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static Builder newUserLegacyUserBlurbBuilder() {
return new Builder();
}

@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static UserBlurbBuilder newUserBlurbBuilder() {
return new UserBlurbBuilder();
}

@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static RoomBlurbBuilder newRoomBlurbBuilder() {
return new RoomBlurbBuilder();
}

@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static RoomLegacyRoomBlurbBuilder newRoomLegacyRoomBlurbBuilder() {
return new RoomLegacyRoomBlurbBuilder();
}
Expand All @@ -141,18 +146,22 @@ public static BlurbName of(String user, String legacyUser, String blurb) {
return newBuilder().setUser(user).setLegacyUser(legacyUser).setBlurb(blurb).build();
}

@BetaApi("The static create methods are not stable yet and may be changed in the future.")
public static BlurbName ofUserLegacyUserBlurbName(String user, String legacyUser, String blurb) {
return newBuilder().setUser(user).setLegacyUser(legacyUser).setBlurb(blurb).build();
}

@BetaApi("The static create methods are not stable yet and may be changed in the future.")
public static BlurbName ofUserBlurbName(String user, String blurb) {
return newUserBlurbBuilder().setUser(user).setBlurb(blurb).build();
}

@BetaApi("The static create methods are not stable yet and may be changed in the future.")
public static BlurbName ofRoomBlurbName(String room, String blurb) {
return newRoomBlurbBuilder().setRoom(room).setBlurb(blurb).build();
}

@BetaApi("The static create methods are not stable yet and may be changed in the future.")
public static BlurbName ofRoomLegacyRoomBlurbName(String room, String legacyRoom, String blurb) {
return newRoomLegacyRoomBlurbBuilder()
.setRoom(room)
Expand All @@ -165,18 +174,22 @@ public static String format(String user, String legacyUser, String blurb) {
return newBuilder().setUser(user).setLegacyUser(legacyUser).setBlurb(blurb).build().toString();
}

@BetaApi("The static format methods are not stable yet and may be changed in the future.")
public static String formatUserLegacyUserBlurbName(String user, String legacyUser, String blurb) {
return newBuilder().setUser(user).setLegacyUser(legacyUser).setBlurb(blurb).build().toString();
}

@BetaApi("The static format methods are not stable yet and may be changed in the future.")
public static String formatUserBlurbName(String user, String blurb) {
return newUserBlurbBuilder().setUser(user).setBlurb(blurb).build().toString();
}

@BetaApi("The static format methods are not stable yet and may be changed in the future.")
public static String formatRoomBlurbName(String room, String blurb) {
return newRoomBlurbBuilder().setRoom(room).setBlurb(blurb).build().toString();
}

@BetaApi("The static format methods are not stable yet and may be changed in the future.")
public static String formatRoomLegacyRoomBlurbName(String room, String legacyRoom, String blurb) {
return newRoomLegacyRoomBlurbBuilder()
.setRoom(room)
Expand Down Expand Up @@ -356,6 +369,7 @@ public BlurbName build() {
}

/** Builder for users/{user}/profile/blurbs/{blurb}. */
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static class UserBlurbBuilder {
private String user;
private String blurb;
Expand Down Expand Up @@ -386,6 +400,7 @@ public BlurbName build() {
}

/** Builder for rooms/{room}/blurbs/{blurb}. */
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static class RoomBlurbBuilder {
private String room;
private String blurb;
Expand Down Expand Up @@ -416,6 +431,7 @@ public BlurbName build() {
}

/** Builder for rooms/{room}/blurbs/legacy/{legacy_room}.{blurb}. */
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static class RoomLegacyRoomBlurbBuilder {
private String room;
private String legacyRoom;
Expand Down

0 comments on commit 4aa00d0

Please sign in to comment.