Interface ExportClusterRequest.SqlExportOptionsOrBuilder (0.56.0)

public static interface ExportClusterRequest.SqlExportOptionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCleanTargetObjects()

public abstract 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.

getIfExistTargetObjects()

public abstract 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.

getSchemaOnly()

public abstract 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.

getTables(int index)

public abstract 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 abstract 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 abstract 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 abstract List<String> getTablesList()

Optional. Tables to export from.

repeated string tables = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the tables.

hasCleanTargetObjects()

public abstract 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 abstract 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 abstract 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.