public final class CreateSchemaBundleRequest extends Object
SchemaBundle, which represents subsets of a
particular table.
Sample code:
CreateSchemaBundleRequest request =
CreateSchemaBundleRequest.of("my-table", "my-new-schema-bundle")
.setProtoSchemaFile("proto_file.pb");
for more details.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
static CreateSchemaBundleRequest |
of(String tableId,
String schemaBundleId) |
CreateSchemaBundleRequest |
setProtoSchema(com.google.protobuf.ByteString protoSchema)
Sets the proto schema for this schema bundle.
|
CreateSchemaBundleRequest |
setProtoSchemaFile(String protoSchemaFile)
Sets the proto schema for this schema bundle.
|
CreateSchemaBundleRequest |
toProto(String projectId,
String instanceId)
Creates the request protobuf.
|
public static CreateSchemaBundleRequest of(@Nonnull String tableId, @Nonnull String schemaBundleId)
public CreateSchemaBundleRequest setProtoSchemaFile(@Nonnull String protoSchemaFile) throws IOException
IOExceptionpublic CreateSchemaBundleRequest setProtoSchema(@Nonnull com.google.protobuf.ByteString protoSchema)
@InternalApi public CreateSchemaBundleRequest toProto(@Nonnull String projectId, @Nonnull String instanceId)
Copyright © 2026 Google LLC. All rights reserved.