Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.

Commit 8994d78

Browse files
authored
Update UpdateSchemaBundleRequest.java
1 parent 4a7af00 commit 8994d78

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/UpdateSchemaBundleRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,15 @@ private UpdateSchemaBundleRequest(
7979
}
8080

8181
/** Sets the proto schema for this schema bundle. */
82-
public CreateSchemaBundleRequest setProtoSchemaFile(@Nonnull String protoSchemaFile)
82+
public UpdateSchemaBundleRequest setProtoSchemaFile(@Nonnull String protoSchemaFile)
8383
throws IOException {
8484
Preconditions.checkNotNull(protoSchemaFile, "protoSchemaFile must be set");
8585
byte[] content = Files.readAllBytes(Paths.get(protoSchemaFile));
8686
return setProtoSchema(ByteString.copyFrom(content));
8787
}
8888

8989
/** Sets the proto schema for this schema bundle. */
90-
public CreateSchemaBundleRequest setProtoSchema(@Nonnull ByteString protoSchema)
90+
public UpdateSchemaBundleRequest setProtoSchema(@Nonnull ByteString protoSchema)
9191
throws IOException {
9292
Preconditions.checkNotNull(protoSchema, "protoSchema must be set");
9393
requestBuilder.setSchemaBundle(

0 commit comments

Comments
 (0)