Skip to content

Commit

Permalink
chore: Update generation configuration at Tue Feb 11 02:23:11 UTC 2025 (
Browse files Browse the repository at this point in the history
#11429)

* chore: Update generation configuration at Tue Feb 11 02:23:11 UTC 2025

* chore: generate libraries at Tue Feb 11 02:27:43 UTC 2025
  • Loading branch information
cloud-java-bot authored Feb 11, 2025
1 parent c6bdac2 commit 8791ef3
Show file tree
Hide file tree
Showing 92 changed files with 7,517 additions and 3,623 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/hermetic_library_generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
- uses: googleapis/sdk-platform-java/.github/scripts@v2.53.0
- uses: googleapis/sdk-platform-java/.github/scripts@v2.52.0
if: env.SHOULD_RUN == 'true'
with:
base_ref: ${{ github.base_ref }}
Expand Down
2 changes: 1 addition & 1 deletion generation_config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
gapic_generator_version: 2.52.0
googleapis_commitish: 0a459af4362c0e41b9723dd4d7edc022c552db40
googleapis_commitish: 04132de0b952ee921d91a2583915dbd82d10cd3c
libraries_bom_version: 26.54.0

# the libraries are ordered with respect to library name, which is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
import com.google.protobuf.Any;
import com.google.protobuf.ByteString;
import com.google.protobuf.FieldMask;
import com.google.protobuf.Timestamp;
import com.google.protobuf.Value;
import io.grpc.StatusRuntimeException;
import java.io.IOException;
Expand Down Expand Up @@ -970,6 +971,8 @@ public void generateContentTest() throws Exception {
GenerateContentResponse.newBuilder()
.addAllCandidates(new ArrayList<Candidate>())
.setModelVersion("modelVersion212437359")
.setCreateTime(Timestamp.newBuilder().build())
.setResponseId("responseId-633138884")
.setPromptFeedback(GenerateContentResponse.PromptFeedback.newBuilder().build())
.setUsageMetadata(GenerateContentResponse.UsageMetadata.newBuilder().build())
.build();
Expand Down Expand Up @@ -1014,6 +1017,8 @@ public void streamGenerateContentTest() throws Exception {
GenerateContentResponse.newBuilder()
.addAllCandidates(new ArrayList<Candidate>())
.setModelVersion("modelVersion212437359")
.setCreateTime(Timestamp.newBuilder().build())
.setResponseId("responseId-633138884")
.setPromptFeedback(GenerateContentResponse.PromptFeedback.newBuilder().build())
.setUsageMetadata(GenerateContentResponse.UsageMetadata.newBuilder().build())
.build();
Expand Down
Loading

0 comments on commit 8791ef3

Please # to comment.