Class ImportContext.SqlImportOptions.PostgresImportOptions.Builder (0.1.0)

public static final class ImportContext.SqlImportOptions.PostgresImportOptions.Builder extends GeneratedMessage.Builder<ImportContext.SqlImportOptions.PostgresImportOptions.Builder> implements ImportContext.SqlImportOptions.PostgresImportOptionsOrBuilder

Protobuf type google.cloud.sql.v1.ImportContext.SqlImportOptions.PostgresImportOptions

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ImportContext.SqlImportOptions.PostgresImportOptions.Builder

Static Methods

getDescriptor()

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

Methods

build()

public ImportContext.SqlImportOptions.PostgresImportOptions build()
Returns
Type Description
ImportContext.SqlImportOptions.PostgresImportOptions

buildPartial()

public ImportContext.SqlImportOptions.PostgresImportOptions buildPartial()
Returns
Type Description
ImportContext.SqlImportOptions.PostgresImportOptions

clear()

public ImportContext.SqlImportOptions.PostgresImportOptions.Builder clear()
Returns
Type Description
ImportContext.SqlImportOptions.PostgresImportOptions.Builder
Overrides

clearClean()

public ImportContext.SqlImportOptions.PostgresImportOptions.Builder clearClean()

Optional. The --clean flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.

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

Returns
Type Description
ImportContext.SqlImportOptions.PostgresImportOptions.Builder

clearIfExists()

public ImportContext.SqlImportOptions.PostgresImportOptions.Builder clearIfExists()

Optional. The --if-exists flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.

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

Returns
Type Description
ImportContext.SqlImportOptions.PostgresImportOptions.Builder

getClean()

public BoolValue getClean()

Optional. The --clean flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.

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

Returns
Type Description
BoolValue

The clean.

getCleanBuilder()

public BoolValue.Builder getCleanBuilder()

Optional. The --clean flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.

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

Returns
Type Description
Builder

getCleanOrBuilder()

public BoolValueOrBuilder getCleanOrBuilder()

Optional. The --clean flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.

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

Returns
Type Description
BoolValueOrBuilder

getDefaultInstanceForType()

public ImportContext.SqlImportOptions.PostgresImportOptions getDefaultInstanceForType()
Returns
Type Description
ImportContext.SqlImportOptions.PostgresImportOptions

getDescriptorForType()

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

getIfExists()

public BoolValue getIfExists()

Optional. The --if-exists flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.

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

Returns
Type Description
BoolValue

The ifExists.

getIfExistsBuilder()

public BoolValue.Builder getIfExistsBuilder()

Optional. The --if-exists flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.

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

Returns
Type Description
Builder

getIfExistsOrBuilder()

public BoolValueOrBuilder getIfExistsOrBuilder()

Optional. The --if-exists flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.

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

Returns
Type Description
BoolValueOrBuilder

hasClean()

public boolean hasClean()

Optional. The --clean flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.

.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. The --if-exists flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.

.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 ImportContext.SqlImportOptions.PostgresImportOptions.Builder mergeClean(BoolValue value)

Optional. The --clean flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.

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

Parameter
Name Description
value BoolValue
Returns
Type Description
ImportContext.SqlImportOptions.PostgresImportOptions.Builder

mergeFrom(ImportContext.SqlImportOptions.PostgresImportOptions other)

public ImportContext.SqlImportOptions.PostgresImportOptions.Builder mergeFrom(ImportContext.SqlImportOptions.PostgresImportOptions other)
Parameter
Name Description
other ImportContext.SqlImportOptions.PostgresImportOptions
Returns
Type Description
ImportContext.SqlImportOptions.PostgresImportOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportContext.SqlImportOptions.PostgresImportOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportContext.SqlImportOptions.PostgresImportOptions.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImportContext.SqlImportOptions.PostgresImportOptions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImportContext.SqlImportOptions.PostgresImportOptions.Builder
Overrides

mergeIfExists(BoolValue value)

public ImportContext.SqlImportOptions.PostgresImportOptions.Builder mergeIfExists(BoolValue value)

Optional. The --if-exists flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.

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

Parameter
Name Description
value BoolValue
Returns
Type Description
ImportContext.SqlImportOptions.PostgresImportOptions.Builder

setClean(BoolValue value)

public ImportContext.SqlImportOptions.PostgresImportOptions.Builder setClean(BoolValue value)

Optional. The --clean flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.

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

Parameter
Name Description
value BoolValue
Returns
Type Description
ImportContext.SqlImportOptions.PostgresImportOptions.Builder

setClean(BoolValue.Builder builderForValue)

public ImportContext.SqlImportOptions.PostgresImportOptions.Builder setClean(BoolValue.Builder builderForValue)

Optional. The --clean flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ImportContext.SqlImportOptions.PostgresImportOptions.Builder

setIfExists(BoolValue value)

public ImportContext.SqlImportOptions.PostgresImportOptions.Builder setIfExists(BoolValue value)

Optional. The --if-exists flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.

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

Parameter
Name Description
value BoolValue
Returns
Type Description
ImportContext.SqlImportOptions.PostgresImportOptions.Builder

setIfExists(BoolValue.Builder builderForValue)

public ImportContext.SqlImportOptions.PostgresImportOptions.Builder setIfExists(BoolValue.Builder builderForValue)

Optional. The --if-exists flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ImportContext.SqlImportOptions.PostgresImportOptions.Builder