Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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