public final class UpdateSchemaBundleRequest extends Object
SchemaBundle.
Sample code:
SchemaBundle existingSchemaBundle = client.getSchemaBundle("my-table", "my-schema-bundle");
UpdateSchemaBundleRequest request =
UpdateSchemaBundleRequest.of(existingSchemaBundle).setProtoSchemaFile("file.pb");
for more details.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
static UpdateSchemaBundleRequest |
of(SchemaBundle schemaBundle)
Builds a new update request using an existing schema bundle.
|
static UpdateSchemaBundleRequest |
of(String tableId,
String schemaBundleId)
Builds a new update schema bundle request.
|
UpdateSchemaBundleRequest |
setIgnoreWarnings(boolean value)
Configures if safety warnings should be disabled.
|
UpdateSchemaBundleRequest |
setProtoSchema(com.google.protobuf.ByteString protoSchema)
Sets the proto schema for this schema bundle.
|
UpdateSchemaBundleRequest |
setProtoSchemaFile(String protoSchemaFile)
Sets the proto schema for this schema bundle.
|
UpdateSchemaBundleRequest |
toProto(String projectId,
String instanceId)
Creates the request protobuf.
|
public static UpdateSchemaBundleRequest of(@Nonnull SchemaBundle schemaBundle)
public static UpdateSchemaBundleRequest of(@Nonnull String tableId, @Nonnull String schemaBundleId)
public UpdateSchemaBundleRequest setProtoSchemaFile(@Nonnull String protoSchemaFile) throws IOException
IOExceptionpublic UpdateSchemaBundleRequest setProtoSchema(@Nonnull com.google.protobuf.ByteString protoSchema) throws IOException
IOExceptionpublic UpdateSchemaBundleRequest setIgnoreWarnings(boolean value)
@InternalApi public UpdateSchemaBundleRequest toProto(@Nonnull String projectId, @Nonnull String instanceId)
Copyright © 2026 Google LLC. All rights reserved.