Skip to content

Commit

Permalink
chore: Update generation configuration at Sat Aug 3 02:14:47 UTC 2024 (
Browse files Browse the repository at this point in the history
…#3223)

* chore: Update generation configuration at Tue Jul 23 02:15:33 UTC 2024

* chore: Update generation configuration at Wed Jul 24 02:15:30 UTC 2024

* chore: Update generation configuration at Thu Jul 25 02:15:36 UTC 2024

* chore: Update generation configuration at Fri Jul 26 02:15:26 UTC 2024

* chore: Update generation configuration at Sat Jul 27 02:14:35 UTC 2024

* chore: generate libraries at Sat Jul 27 02:15:05 UTC 2024

* chore: Update generation configuration at Tue Jul 30 02:15:43 UTC 2024

* chore: Update generation configuration at Wed Jul 31 02:03:43 UTC 2024

* chore: generate libraries at Wed Jul 31 02:04:08 UTC 2024

* chore: Update generation configuration at Thu Aug  1 02:19:28 UTC 2024

* chore: Update generation configuration at Fri Aug  2 02:15:43 UTC 2024

* chore: Update generation configuration at Sat Aug  3 02:14:47 UTC 2024
  • Loading branch information
cloud-java-bot committed Aug 5, 2024
1 parent 86b306a commit d889195
Show file tree
Hide file tree
Showing 21 changed files with 2,163 additions and 209 deletions.
2 changes: 1 addition & 1 deletion .repo-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"api_description": "is a fully managed, mission-critical, relational database service that offers transactional consistency at global scale, \\nschemas, SQL (ANSI 2011 with extensions), and automatic, synchronous replication \\nfor high availability.\\n\\nBe sure to activate the Cloud Spanner API on the Developer's Console to\\nuse Cloud Spanner from your project.",
"client_documentation": "https://cloud.google.com/java/docs/reference/google-cloud-spanner/latest/history",
"release_level": "stable",
"transport": "both",
"transport": "grpc",
"language": "java",
"repo": "googleapis/java-spanner",
"repo_short": "java-spanner",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ To get help, follow the instructions in the [shared Troubleshooting document][tr

## Transport

Cloud Spanner uses both gRPC and HTTP/JSON for the transport layer.
Cloud Spanner uses gRPC for the transport layer.

## Supported Java Versions

Expand Down
4 changes: 2 additions & 2 deletions generation_config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
gapic_generator_version: 2.42.0
googleapis_commitish: 19577edb4d439db98d2fb1f6f48f2e1b29fba099
gapic_generator_version: 2.43.0
googleapis_commitish: bc05924644a4bb93c0ac5973a07b83387a93b71f
libraries_bom_version: 26.43.0
libraries:
- api_shortname: spanner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package com.google.cloud.spanner.executor.v1.stub;

import com.google.api.core.ApiFunction;
import com.google.api.core.ObsoleteApi;
import com.google.api.gax.core.GaxProperties;
import com.google.api.gax.core.GoogleCredentialsProvider;
import com.google.api.gax.core.InstantiatingExecutorProvider;
Expand Down Expand Up @@ -119,6 +120,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "spanner-cloud-executor.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2222,6 +2222,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.admin.database.v1.IncrementalBackupSpec",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.admin.database.v1.IncrementalBackupSpec$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.admin.database.v1.ListBackupOperationsRequest",
"queryAllDeclaredConstructors": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import com.google.api.core.ApiFunction;
import com.google.api.core.ApiFuture;
import com.google.api.core.BetaApi;
import com.google.api.core.ObsoleteApi;
import com.google.api.gax.core.GaxProperties;
import com.google.api.gax.core.GoogleCredentialsProvider;
import com.google.api.gax.core.InstantiatingExecutorProvider;
Expand Down Expand Up @@ -774,6 +775,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "spanner.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import com.google.api.core.ApiFunction;
import com.google.api.core.ApiFuture;
import com.google.api.core.BetaApi;
import com.google.api.core.ObsoleteApi;
import com.google.api.gax.core.GaxProperties;
import com.google.api.gax.core.GoogleCredentialsProvider;
import com.google.api.gax.core.InstantiatingExecutorProvider;
Expand Down Expand Up @@ -738,6 +739,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "spanner.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import com.google.api.core.ApiFunction;
import com.google.api.core.ApiFuture;
import com.google.api.core.BetaApi;
import com.google.api.core.ObsoleteApi;
import com.google.api.gax.core.GaxProperties;
import com.google.api.gax.core.GoogleCredentialsProvider;
import com.google.api.gax.core.InstantiatingExecutorProvider;
Expand Down Expand Up @@ -311,6 +312,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "spanner.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2159,6 +2159,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.admin.database.v1.IncrementalBackupSpec",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.admin.database.v1.IncrementalBackupSpec$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.admin.database.v1.ListBackupOperationsRequest",
"queryAllDeclaredConstructors": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1086,13 +1086,17 @@ public void createBackupTest() throws Exception {
.setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
.setCreateTime(Timestamp.newBuilder().build())
.setSizeBytes(-1796325715)
.setFreeableSizeBytes(1302251206)
.setExclusiveSizeBytes(-1085921554)
.addAllReferencingDatabases(new ArrayList<String>())
.setEncryptionInfo(EncryptionInfo.newBuilder().build())
.addAllEncryptionInformation(new ArrayList<EncryptionInfo>())
.setDatabaseDialect(DatabaseDialect.forNumber(0))
.addAllReferencingBackups(new ArrayList<String>())
.setMaxExpireTime(Timestamp.newBuilder().build())
.addAllBackupSchedules(new ArrayList<String>())
.setIncrementalBackupChainId("incrementalBackupChainId1926005216")
.setOldestVersionTime(Timestamp.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -1151,13 +1155,17 @@ public void createBackupTest2() throws Exception {
.setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
.setCreateTime(Timestamp.newBuilder().build())
.setSizeBytes(-1796325715)
.setFreeableSizeBytes(1302251206)
.setExclusiveSizeBytes(-1085921554)
.addAllReferencingDatabases(new ArrayList<String>())
.setEncryptionInfo(EncryptionInfo.newBuilder().build())
.addAllEncryptionInformation(new ArrayList<EncryptionInfo>())
.setDatabaseDialect(DatabaseDialect.forNumber(0))
.addAllReferencingBackups(new ArrayList<String>())
.setMaxExpireTime(Timestamp.newBuilder().build())
.addAllBackupSchedules(new ArrayList<String>())
.setIncrementalBackupChainId("incrementalBackupChainId1926005216")
.setOldestVersionTime(Timestamp.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -1216,13 +1224,17 @@ public void copyBackupTest() throws Exception {
.setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
.setCreateTime(Timestamp.newBuilder().build())
.setSizeBytes(-1796325715)
.setFreeableSizeBytes(1302251206)
.setExclusiveSizeBytes(-1085921554)
.addAllReferencingDatabases(new ArrayList<String>())
.setEncryptionInfo(EncryptionInfo.newBuilder().build())
.addAllEncryptionInformation(new ArrayList<EncryptionInfo>())
.setDatabaseDialect(DatabaseDialect.forNumber(0))
.addAllReferencingBackups(new ArrayList<String>())
.setMaxExpireTime(Timestamp.newBuilder().build())
.addAllBackupSchedules(new ArrayList<String>())
.setIncrementalBackupChainId("incrementalBackupChainId1926005216")
.setOldestVersionTime(Timestamp.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -1284,13 +1296,17 @@ public void copyBackupTest2() throws Exception {
.setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
.setCreateTime(Timestamp.newBuilder().build())
.setSizeBytes(-1796325715)
.setFreeableSizeBytes(1302251206)
.setExclusiveSizeBytes(-1085921554)
.addAllReferencingDatabases(new ArrayList<String>())
.setEncryptionInfo(EncryptionInfo.newBuilder().build())
.addAllEncryptionInformation(new ArrayList<EncryptionInfo>())
.setDatabaseDialect(DatabaseDialect.forNumber(0))
.addAllReferencingBackups(new ArrayList<String>())
.setMaxExpireTime(Timestamp.newBuilder().build())
.addAllBackupSchedules(new ArrayList<String>())
.setIncrementalBackupChainId("incrementalBackupChainId1926005216")
.setOldestVersionTime(Timestamp.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -1352,13 +1368,17 @@ public void copyBackupTest3() throws Exception {
.setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
.setCreateTime(Timestamp.newBuilder().build())
.setSizeBytes(-1796325715)
.setFreeableSizeBytes(1302251206)
.setExclusiveSizeBytes(-1085921554)
.addAllReferencingDatabases(new ArrayList<String>())
.setEncryptionInfo(EncryptionInfo.newBuilder().build())
.addAllEncryptionInformation(new ArrayList<EncryptionInfo>())
.setDatabaseDialect(DatabaseDialect.forNumber(0))
.addAllReferencingBackups(new ArrayList<String>())
.setMaxExpireTime(Timestamp.newBuilder().build())
.addAllBackupSchedules(new ArrayList<String>())
.setIncrementalBackupChainId("incrementalBackupChainId1926005216")
.setOldestVersionTime(Timestamp.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -1420,13 +1440,17 @@ public void copyBackupTest4() throws Exception {
.setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
.setCreateTime(Timestamp.newBuilder().build())
.setSizeBytes(-1796325715)
.setFreeableSizeBytes(1302251206)
.setExclusiveSizeBytes(-1085921554)
.addAllReferencingDatabases(new ArrayList<String>())
.setEncryptionInfo(EncryptionInfo.newBuilder().build())
.addAllEncryptionInformation(new ArrayList<EncryptionInfo>())
.setDatabaseDialect(DatabaseDialect.forNumber(0))
.addAllReferencingBackups(new ArrayList<String>())
.setMaxExpireTime(Timestamp.newBuilder().build())
.addAllBackupSchedules(new ArrayList<String>())
.setIncrementalBackupChainId("incrementalBackupChainId1926005216")
.setOldestVersionTime(Timestamp.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -1488,13 +1512,17 @@ public void getBackupTest() throws Exception {
.setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
.setCreateTime(Timestamp.newBuilder().build())
.setSizeBytes(-1796325715)
.setFreeableSizeBytes(1302251206)
.setExclusiveSizeBytes(-1085921554)
.addAllReferencingDatabases(new ArrayList<String>())
.setEncryptionInfo(EncryptionInfo.newBuilder().build())
.addAllEncryptionInformation(new ArrayList<EncryptionInfo>())
.setDatabaseDialect(DatabaseDialect.forNumber(0))
.addAllReferencingBackups(new ArrayList<String>())
.setMaxExpireTime(Timestamp.newBuilder().build())
.addAllBackupSchedules(new ArrayList<String>())
.setIncrementalBackupChainId("incrementalBackupChainId1926005216")
.setOldestVersionTime(Timestamp.newBuilder().build())
.build();
mockService.addResponse(expectedResponse);

Expand Down Expand Up @@ -1544,13 +1572,17 @@ public void getBackupTest2() throws Exception {
.setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
.setCreateTime(Timestamp.newBuilder().build())
.setSizeBytes(-1796325715)
.setFreeableSizeBytes(1302251206)
.setExclusiveSizeBytes(-1085921554)
.addAllReferencingDatabases(new ArrayList<String>())
.setEncryptionInfo(EncryptionInfo.newBuilder().build())
.addAllEncryptionInformation(new ArrayList<EncryptionInfo>())
.setDatabaseDialect(DatabaseDialect.forNumber(0))
.addAllReferencingBackups(new ArrayList<String>())
.setMaxExpireTime(Timestamp.newBuilder().build())
.addAllBackupSchedules(new ArrayList<String>())
.setIncrementalBackupChainId("incrementalBackupChainId1926005216")
.setOldestVersionTime(Timestamp.newBuilder().build())
.build();
mockService.addResponse(expectedResponse);

Expand Down Expand Up @@ -1600,13 +1632,17 @@ public void updateBackupTest() throws Exception {
.setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
.setCreateTime(Timestamp.newBuilder().build())
.setSizeBytes(-1796325715)
.setFreeableSizeBytes(1302251206)
.setExclusiveSizeBytes(-1085921554)
.addAllReferencingDatabases(new ArrayList<String>())
.setEncryptionInfo(EncryptionInfo.newBuilder().build())
.addAllEncryptionInformation(new ArrayList<EncryptionInfo>())
.setDatabaseDialect(DatabaseDialect.forNumber(0))
.addAllReferencingBackups(new ArrayList<String>())
.setMaxExpireTime(Timestamp.newBuilder().build())
.addAllBackupSchedules(new ArrayList<String>())
.setIncrementalBackupChainId("incrementalBackupChainId1926005216")
.setOldestVersionTime(Timestamp.newBuilder().build())
.build();
mockService.addResponse(expectedResponse);

Expand All @@ -1618,13 +1654,17 @@ public void updateBackupTest() throws Exception {
.setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
.setCreateTime(Timestamp.newBuilder().build())
.setSizeBytes(-1796325715)
.setFreeableSizeBytes(1302251206)
.setExclusiveSizeBytes(-1085921554)
.addAllReferencingDatabases(new ArrayList<String>())
.setEncryptionInfo(EncryptionInfo.newBuilder().build())
.addAllEncryptionInformation(new ArrayList<EncryptionInfo>())
.setDatabaseDialect(DatabaseDialect.forNumber(0))
.addAllReferencingBackups(new ArrayList<String>())
.setMaxExpireTime(Timestamp.newBuilder().build())
.addAllBackupSchedules(new ArrayList<String>())
.setIncrementalBackupChainId("incrementalBackupChainId1926005216")
.setOldestVersionTime(Timestamp.newBuilder().build())
.build();
FieldMask updateMask = FieldMask.newBuilder().build();

Expand Down Expand Up @@ -1662,13 +1702,17 @@ public void updateBackupExceptionTest() throws Exception {
.setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
.setCreateTime(Timestamp.newBuilder().build())
.setSizeBytes(-1796325715)
.setFreeableSizeBytes(1302251206)
.setExclusiveSizeBytes(-1085921554)
.addAllReferencingDatabases(new ArrayList<String>())
.setEncryptionInfo(EncryptionInfo.newBuilder().build())
.addAllEncryptionInformation(new ArrayList<EncryptionInfo>())
.setDatabaseDialect(DatabaseDialect.forNumber(0))
.addAllReferencingBackups(new ArrayList<String>())
.setMaxExpireTime(Timestamp.newBuilder().build())
.addAllBackupSchedules(new ArrayList<String>())
.setIncrementalBackupChainId("incrementalBackupChainId1926005216")
.setOldestVersionTime(Timestamp.newBuilder().build())
.build();
FieldMask updateMask = FieldMask.newBuilder().build();
client.updateBackup(backup, updateMask);
Expand Down
Loading

0 comments on commit d889195

Please sign in to comment.