Class ExportClusterRequest.SqlExportOptions (0.65.0)
public static final class ExportClusterRequest.SqlExportOptions extends GeneratedMessageV3 implements ExportClusterRequest.SqlExportOptionsOrBuilder
Options for exporting data in SQL format.
Protobuf type google.cloud.alloydb.v1beta.ExportClusterRequest.SqlExportOptions
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CLEAN_TARGET_OBJECTS_FIELD_NUMBER
public static final int CLEAN_TARGET_OBJECTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
IF_EXIST_TARGET_OBJECTS_FIELD_NUMBER
public static final int IF_EXIST_TARGET_OBJECTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SCHEMA_ONLY_FIELD_NUMBER
public static final int SCHEMA_ONLY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TABLES_FIELD_NUMBER
public static final int TABLES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ExportClusterRequest.SqlExportOptions getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ExportClusterRequest.SqlExportOptions.Builder newBuilder()
newBuilder(ExportClusterRequest.SqlExportOptions prototype)
public static ExportClusterRequest.SqlExportOptions.Builder newBuilder(ExportClusterRequest.SqlExportOptions prototype)
public static ExportClusterRequest.SqlExportOptions parseDelimitedFrom(InputStream input)
public static ExportClusterRequest.SqlExportOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ExportClusterRequest.SqlExportOptions parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExportClusterRequest.SqlExportOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ExportClusterRequest.SqlExportOptions parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExportClusterRequest.SqlExportOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExportClusterRequest.SqlExportOptions parseFrom(CodedInputStream input)
public static ExportClusterRequest.SqlExportOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ExportClusterRequest.SqlExportOptions parseFrom(InputStream input)
public static ExportClusterRequest.SqlExportOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ExportClusterRequest.SqlExportOptions parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExportClusterRequest.SqlExportOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ExportClusterRequest.SqlExportOptions> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCleanTargetObjects()
public boolean getCleanTargetObjects()
Optional. If true, output commands to DROP all the dumped database
objects prior to outputting the commands for creating them.
optional bool clean_target_objects = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
The cleanTargetObjects.
|
getDefaultInstanceForType()
public ExportClusterRequest.SqlExportOptions getDefaultInstanceForType()
getIfExistTargetObjects()
public boolean getIfExistTargetObjects()
Optional. If true, use DROP ... IF EXISTS commands to check for the
object's existence before dropping it in clean_target_objects mode.
optional bool if_exist_target_objects = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
The ifExistTargetObjects.
|
getParserForType()
public Parser<ExportClusterRequest.SqlExportOptions> getParserForType()
Overrides
getSchemaOnly()
public boolean getSchemaOnly()
Optional. If true, only export the schema.
optional bool schema_only = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
The schemaOnly.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getTables(int index)
public String getTables(int index)
Optional. Tables to export from.
repeated string tables = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The tables at the given index.
|
getTablesBytes(int index)
public ByteString getTablesBytes(int index)
Optional. Tables to export from.
repeated string tables = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the tables at the given index.
|
getTablesCount()
public int getTablesCount()
Optional. Tables to export from.
repeated string tables = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The count of tables.
|
getTablesList()
public ProtocolStringList getTablesList()
Optional. Tables to export from.
repeated string tables = 1 [(.google.api.field_behavior) = OPTIONAL];
hasCleanTargetObjects()
public boolean hasCleanTargetObjects()
Optional. If true, output commands to DROP all the dumped database
objects prior to outputting the commands for creating them.
optional bool clean_target_objects = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the cleanTargetObjects field is set.
|
hasIfExistTargetObjects()
public boolean hasIfExistTargetObjects()
Optional. If true, use DROP ... IF EXISTS commands to check for the
object's existence before dropping it in clean_target_objects mode.
optional bool if_exist_target_objects = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the ifExistTargetObjects field is set.
|
hasSchemaOnly()
public boolean hasSchemaOnly()
Optional. If true, only export the schema.
optional bool schema_only = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the schemaOnly field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ExportClusterRequest.SqlExportOptions.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ExportClusterRequest.SqlExportOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ExportClusterRequest.SqlExportOptions.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-10 UTC."],[],[]]