Class ExportContext.SqlExportOptions.PostgresExportOptions.Builder (0.1.0)

public static final class ExportContext.SqlExportOptions.PostgresExportOptions.Builder extends GeneratedMessage.Builder<ExportContext.SqlExportOptions.PostgresExportOptions.Builder> implements ExportContext.SqlExportOptions.PostgresExportOptionsOrBuilder

Options for exporting from a Cloud SQL for PostgreSQL instance.

Protobuf type google.cloud.sql.v1.ExportContext.SqlExportOptions.PostgresExportOptions

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ExportContext.SqlExportOptions.PostgresExportOptions.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ExportContext.SqlExportOptions.PostgresExportOptions build()
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions

buildPartial()

public ExportContext.SqlExportOptions.PostgresExportOptions buildPartial()
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions

clear()

public ExportContext.SqlExportOptions.PostgresExportOptions.Builder clear()
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions.Builder
Overrides

clearClean()

public ExportContext.SqlExportOptions.PostgresExportOptions.Builder clearClean()

Optional. Use this option to include DROP <code>&lt;object&gt;</code> SQL statements. Use these statements to delete database objects before running the import operation.

.google.protobuf.BoolValue clean = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions.Builder

clearIfExists()

public ExportContext.SqlExportOptions.PostgresExportOptions.Builder clearIfExists()

Optional. Option to include an IF EXISTS SQL statement with each DROP statement produced by clean.

.google.protobuf.BoolValue if_exists = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions.Builder

getClean()

public BoolValue getClean()

Optional. Use this option to include DROP <code>&lt;object&gt;</code> SQL statements. Use these statements to delete database objects before running the import operation.

.google.protobuf.BoolValue clean = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BoolValue

The clean.

getCleanBuilder()

public BoolValue.Builder getCleanBuilder()

Optional. Use this option to include DROP <code>&lt;object&gt;</code> SQL statements. Use these statements to delete database objects before running the import operation.

.google.protobuf.BoolValue clean = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getCleanOrBuilder()

public BoolValueOrBuilder getCleanOrBuilder()

Optional. Use this option to include DROP <code>&lt;object&gt;</code> SQL statements. Use these statements to delete database objects before running the import operation.

.google.protobuf.BoolValue clean = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BoolValueOrBuilder

getDefaultInstanceForType()

public ExportContext.SqlExportOptions.PostgresExportOptions getDefaultInstanceForType()
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIfExists()

public BoolValue getIfExists()

Optional. Option to include an IF EXISTS SQL statement with each DROP statement produced by clean.

.google.protobuf.BoolValue if_exists = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BoolValue

The ifExists.

getIfExistsBuilder()

public BoolValue.Builder getIfExistsBuilder()

Optional. Option to include an IF EXISTS SQL statement with each DROP statement produced by clean.

.google.protobuf.BoolValue if_exists = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getIfExistsOrBuilder()

public BoolValueOrBuilder getIfExistsOrBuilder()

Optional. Option to include an IF EXISTS SQL statement with each DROP statement produced by clean.

.google.protobuf.BoolValue if_exists = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BoolValueOrBuilder

hasClean()

public boolean hasClean()

Optional. Use this option to include DROP <code>&lt;object&gt;</code> SQL statements. Use these statements to delete database objects before running the import operation.

.google.protobuf.BoolValue clean = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the clean field is set.

hasIfExists()

public boolean hasIfExists()

Optional. Option to include an IF EXISTS SQL statement with each DROP statement produced by clean.

.google.protobuf.BoolValue if_exists = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the ifExists field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeClean(BoolValue value)

public ExportContext.SqlExportOptions.PostgresExportOptions.Builder mergeClean(BoolValue value)

Optional. Use this option to include DROP <code>&lt;object&gt;</code> SQL statements. Use these statements to delete database objects before running the import operation.

.google.protobuf.BoolValue clean = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BoolValue
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions.Builder

mergeFrom(ExportContext.SqlExportOptions.PostgresExportOptions other)

public ExportContext.SqlExportOptions.PostgresExportOptions.Builder mergeFrom(ExportContext.SqlExportOptions.PostgresExportOptions other)
Parameter
Name Description
other ExportContext.SqlExportOptions.PostgresExportOptions
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportContext.SqlExportOptions.PostgresExportOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExportContext.SqlExportOptions.PostgresExportOptions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions.Builder
Overrides

mergeIfExists(BoolValue value)

public ExportContext.SqlExportOptions.PostgresExportOptions.Builder mergeIfExists(BoolValue value)

Optional. Option to include an IF EXISTS SQL statement with each DROP statement produced by clean.

.google.protobuf.BoolValue if_exists = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BoolValue
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions.Builder

setClean(BoolValue value)

public ExportContext.SqlExportOptions.PostgresExportOptions.Builder setClean(BoolValue value)

Optional. Use this option to include DROP <code>&lt;object&gt;</code> SQL statements. Use these statements to delete database objects before running the import operation.

.google.protobuf.BoolValue clean = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BoolValue
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions.Builder

setClean(BoolValue.Builder builderForValue)

public ExportContext.SqlExportOptions.PostgresExportOptions.Builder setClean(BoolValue.Builder builderForValue)

Optional. Use this option to include DROP <code>&lt;object&gt;</code> SQL statements. Use these statements to delete database objects before running the import operation.

.google.protobuf.BoolValue clean = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions.Builder

setIfExists(BoolValue value)

public ExportContext.SqlExportOptions.PostgresExportOptions.Builder setIfExists(BoolValue value)

Optional. Option to include an IF EXISTS SQL statement with each DROP statement produced by clean.

.google.protobuf.BoolValue if_exists = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BoolValue
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions.Builder

setIfExists(BoolValue.Builder builderForValue)

public ExportContext.SqlExportOptions.PostgresExportOptions.Builder setIfExists(BoolValue.Builder builderForValue)

Optional. Option to include an IF EXISTS SQL statement with each DROP statement produced by clean.

.google.protobuf.BoolValue if_exists = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions.Builder