Class ExportContext.SqlExportOptions.PostgresExportOptions (0.1.0)

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

Options for exporting from a Cloud SQL for PostgreSQL instance.

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

Inheritance

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

Static Fields

CLEAN_FIELD_NUMBER

public static final int CLEAN_FIELD_NUMBER
Field Value
Type Description
int

IF_EXISTS_FIELD_NUMBER

public static final int IF_EXISTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExportContext.SqlExportOptions.PostgresExportOptions getDefaultInstance()
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions

getDescriptor()

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

newBuilder()

public static ExportContext.SqlExportOptions.PostgresExportOptions.Builder newBuilder()
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions.Builder

newBuilder(ExportContext.SqlExportOptions.PostgresExportOptions prototype)

public static ExportContext.SqlExportOptions.PostgresExportOptions.Builder newBuilder(ExportContext.SqlExportOptions.PostgresExportOptions prototype)
Parameter
Name Description
prototype ExportContext.SqlExportOptions.PostgresExportOptions
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions.Builder

parseDelimitedFrom(InputStream input)

public static ExportContext.SqlExportOptions.PostgresExportOptions parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportContext.SqlExportOptions.PostgresExportOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ExportContext.SqlExportOptions.PostgresExportOptions parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExportContext.SqlExportOptions.PostgresExportOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExportContext.SqlExportOptions.PostgresExportOptions parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExportContext.SqlExportOptions.PostgresExportOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExportContext.SqlExportOptions.PostgresExportOptions parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportContext.SqlExportOptions.PostgresExportOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ExportContext.SqlExportOptions.PostgresExportOptions parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportContext.SqlExportOptions.PostgresExportOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ExportContext.SqlExportOptions.PostgresExportOptions parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExportContext.SqlExportOptions.PostgresExportOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ExportContext.SqlExportOptions.PostgresExportOptions> parser()
Returns
Type Description
Parser<PostgresExportOptions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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.

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

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.

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

getParserForType()

public Parser<ExportContext.SqlExportOptions.PostgresExportOptions> getParserForType()
Returns
Type Description
Parser<PostgresExportOptions>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ExportContext.SqlExportOptions.PostgresExportOptions.Builder newBuilderForType()
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ExportContext.SqlExportOptions.PostgresExportOptions.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions.Builder
Overrides

toBuilder()

public ExportContext.SqlExportOptions.PostgresExportOptions.Builder toBuilder()
Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException