Skip to content

chore: Update generation configuration at Tue May 20 16:30:59 UTC 2025 #3886

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

Merged
merged 2 commits into from
May 20, 2025
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 .kokoro/presubmit/graalvm-native-a.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.47.0" # {x-version-update:google-cloud-shared-dependencies:current}
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.48.0" # {x-version-update:google-cloud-shared-dependencies:current}
}

env_vars: {
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/presubmit/graalvm-native-b.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.47.0" # {x-version-update:google-cloud-shared-dependencies:current}
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.48.0" # {x-version-update:google-cloud-shared-dependencies:current}
}

env_vars: {
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/presubmit/graalvm-native-c.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.47.0" # {x-version-update:google-cloud-shared-dependencies:current}
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.48.0" # {x-version-update:google-cloud-shared-dependencies:current}
}

env_vars: {
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ If you are using Maven without the BOM, add this to your dependencies:
If you are using Gradle 5.x or later, add this to your dependencies:

```Groovy
implementation platform('com.google.cloud:libraries-bom:26.59.0')
implementation platform('com.google.cloud:libraries-bom:26.60.0')
implementation 'com.google.cloud:google-cloud-spanner'
```
Expand Down
6 changes: 3 additions & 3 deletions generation_config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
gapic_generator_version: 2.57.0
googleapis_commitish: 69d549c7eaccfc9584fd64c38c746a48ef635f60
libraries_bom_version: 26.59.0
gapic_generator_version: 2.58.0
googleapis_commitish: 7d43527b927f65a80de9f0071d0a2e1c172de849
libraries_bom_version: 26.60.0
libraries:
- api_shortname: spanner
name_pretty: Cloud Spanner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1583,6 +1583,7 @@ public final OperationFuture<Empty, UpdateDatabaseDdlMetadata> updateDatabaseDdl
* .addAllStatements(new ArrayList<String>())
* .setOperationId("operationId129704162")
* .setProtoDescriptors(ByteString.EMPTY)
* .setThroughputMode(true)
* .build();
* databaseAdminClient.updateDatabaseDdlAsync(request).get();
* }
Expand Down Expand Up @@ -1621,6 +1622,7 @@ public final OperationFuture<Empty, UpdateDatabaseDdlMetadata> updateDatabaseDdl
* .addAllStatements(new ArrayList<String>())
* .setOperationId("operationId129704162")
* .setProtoDescriptors(ByteString.EMPTY)
* .setThroughputMode(true)
* .build();
* OperationFuture<Empty, UpdateDatabaseDdlMetadata> future =
* databaseAdminClient.updateDatabaseDdlOperationCallable().futureCall(request);
Expand Down Expand Up @@ -1659,6 +1661,7 @@ public final OperationFuture<Empty, UpdateDatabaseDdlMetadata> updateDatabaseDdl
* .addAllStatements(new ArrayList<String>())
* .setOperationId("operationId129704162")
* .setProtoDescriptors(ByteString.EMPTY)
* .setThroughputMode(true)
* .build();
* ApiFuture<Operation> future =
* databaseAdminClient.updateDatabaseDdlCallable().futureCall(request);
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,27 @@ public com.google.protobuf.ByteString getProtoDescriptors() {
return protoDescriptors_;
}

public static final int THROUGHPUT_MODE_FIELD_NUMBER = 5;
private boolean throughputMode_ = false;

/**
*
*
* <pre>
* Optional. This field is exposed to be used by the Spanner Migration Tool.
* For more details, see
* [SMT](https://github.com/GoogleCloudPlatform/spanner-migration-tool).
* </pre>
*
* <code>bool throughput_mode = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return The throughputMode.
*/
@java.lang.Override
public boolean getThroughputMode() {
return throughputMode_;
}

private byte memoizedIsInitialized = -1;

@java.lang.Override
Expand All @@ -358,6 +379,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!protoDescriptors_.isEmpty()) {
output.writeBytes(4, protoDescriptors_);
}
if (throughputMode_ != false) {
output.writeBool(5, throughputMode_);
}
getUnknownFields().writeTo(output);
}

Expand All @@ -384,6 +408,9 @@ public int getSerializedSize() {
if (!protoDescriptors_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, protoDescriptors_);
}
if (throughputMode_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, throughputMode_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
Expand All @@ -404,6 +431,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getStatementsList().equals(other.getStatementsList())) return false;
if (!getOperationId().equals(other.getOperationId())) return false;
if (!getProtoDescriptors().equals(other.getProtoDescriptors())) return false;
if (getThroughputMode() != other.getThroughputMode()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
Expand All @@ -425,6 +453,8 @@ public int hashCode() {
hash = (53 * hash) + getOperationId().hashCode();
hash = (37 * hash) + PROTO_DESCRIPTORS_FIELD_NUMBER;
hash = (53 * hash) + getProtoDescriptors().hashCode();
hash = (37 * hash) + THROUGHPUT_MODE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getThroughputMode());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
Expand Down Expand Up @@ -585,6 +615,7 @@ public Builder clear() {
statements_ = com.google.protobuf.LazyStringArrayList.emptyList();
operationId_ = "";
protoDescriptors_ = com.google.protobuf.ByteString.EMPTY;
throughputMode_ = false;
return this;
}

Expand Down Expand Up @@ -636,6 +667,9 @@ private void buildPartial0(
if (((from_bitField0_ & 0x00000008) != 0)) {
result.protoDescriptors_ = protoDescriptors_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.throughputMode_ = throughputMode_;
}
}

@java.lang.Override
Expand Down Expand Up @@ -708,6 +742,9 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateDatabaseDdlR
if (other.getProtoDescriptors() != com.google.protobuf.ByteString.EMPTY) {
setProtoDescriptors(other.getProtoDescriptors());
}
if (other.getThroughputMode() != false) {
setThroughputMode(other.getThroughputMode());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
Expand Down Expand Up @@ -759,6 +796,12 @@ public Builder mergeFrom(
bitField0_ |= 0x00000008;
break;
} // case 34
case 40:
{
throughputMode_ = input.readBool();
bitField0_ |= 0x00000010;
break;
} // case 40
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
Expand Down Expand Up @@ -1390,6 +1433,68 @@ public Builder clearProtoDescriptors() {
return this;
}

private boolean throughputMode_;

/**
*
*
* <pre>
* Optional. This field is exposed to be used by the Spanner Migration Tool.
* For more details, see
* [SMT](https://github.com/GoogleCloudPlatform/spanner-migration-tool).
* </pre>
*
* <code>bool throughput_mode = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return The throughputMode.
*/
@java.lang.Override
public boolean getThroughputMode() {
return throughputMode_;
}

/**
*
*
* <pre>
* Optional. This field is exposed to be used by the Spanner Migration Tool.
* For more details, see
* [SMT](https://github.com/GoogleCloudPlatform/spanner-migration-tool).
* </pre>
*
* <code>bool throughput_mode = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @param value The throughputMode to set.
* @return This builder for chaining.
*/
public Builder setThroughputMode(boolean value) {

throughputMode_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}

/**
*
*
* <pre>
* Optional. This field is exposed to be used by the Spanner Migration Tool.
* For more details, see
* [SMT](https://github.com/GoogleCloudPlatform/spanner-migration-tool).
* </pre>
*
* <code>bool throughput_mode = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return This builder for chaining.
*/
public Builder clearThroughputMode() {
bitField0_ = (bitField0_ & ~0x00000010);
throughputMode_ = false;
onChanged();
return this;
}

@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,4 +199,19 @@ public interface UpdateDatabaseDdlRequestOrBuilder
* @return The protoDescriptors.
*/
com.google.protobuf.ByteString getProtoDescriptors();

/**
*
*
* <pre>
* Optional. This field is exposed to be used by the Spanner Migration Tool.
* For more details, see
* [SMT](https://github.com/GoogleCloudPlatform/spanner-migration-tool).
* </pre>
*
* <code>bool throughput_mode = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
*
* @return The throughputMode.
*/
boolean getThroughputMode();
}
Original file line number Diff line number Diff line change
Expand Up @@ -813,6 +813,11 @@ message UpdateDatabaseDdlRequest {
// For more details, see protobuffer [self
// description](https://developers.google.com/protocol-buffers/docs/techniques#self-description).
bytes proto_descriptors = 4 [(google.api.field_behavior) = OPTIONAL];

// Optional. This field is exposed to be used by the Spanner Migration Tool.
// For more details, see
// [SMT](https://github.com/GoogleCloudPlatform/spanner-migration-tool).
bool throughput_mode = 5 [(google.api.field_behavior) = OPTIONAL];
}

// Action information extracted from a DDL statement. This proto is used to
Expand Down
Loading