Class ExportContext.SqlBakExportOptions.Builder (0.1.0)

public static final class ExportContext.SqlBakExportOptions.Builder extends GeneratedMessage.Builder<ExportContext.SqlBakExportOptions.Builder> implements ExportContext.SqlBakExportOptionsOrBuilder

Options for exporting BAK files (SQL Server-only)

Protobuf type google.cloud.sql.v1beta4.ExportContext.SqlBakExportOptions

Static Methods

getDescriptor()

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

Methods

build()

public ExportContext.SqlBakExportOptions build()
Returns
Type Description
ExportContext.SqlBakExportOptions

buildPartial()

public ExportContext.SqlBakExportOptions buildPartial()
Returns
Type Description
ExportContext.SqlBakExportOptions

clear()

public ExportContext.SqlBakExportOptions.Builder clear()
Returns
Type Description
ExportContext.SqlBakExportOptions.Builder
Overrides

clearBakType()

public ExportContext.SqlBakExportOptions.Builder clearBakType()

Type of this bak file will be export, FULL or DIFF, SQL Server only

.google.cloud.sql.v1beta4.BakType bak_type = 4;

Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

This builder for chaining.

clearCopyOnly() (deprecated)

public ExportContext.SqlBakExportOptions.Builder clearCopyOnly()

Deprecated: copy_only is deprecated. Use differential_base instead

.google.protobuf.BoolValue copy_only = 5 [deprecated = true];

Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

clearDifferentialBase()

public ExportContext.SqlBakExportOptions.Builder clearDifferentialBase()

Whether or not the backup can be used as a differential base copy_only backup can not be served as differential base

.google.protobuf.BoolValue differential_base = 6;

Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

clearExportLogEndTime()

public ExportContext.SqlBakExportOptions.Builder clearExportLogEndTime()

Optional. The end timestamp when transaction log will be included in the export operation. RFC 3339 format (for example, 2023-10-01T16:19:00.094) in UTC. When omitted, all available logs until current time will be included. Only applied to Cloud SQL for SQL Server.

.google.protobuf.Timestamp export_log_end_time = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

clearExportLogStartTime()

public ExportContext.SqlBakExportOptions.Builder clearExportLogStartTime()

Optional. The begin timestamp when transaction log will be included in the export operation. RFC 3339 format (for example, 2023-10-01T16:19:00.094) in UTC. When omitted, all available logs from the beginning of retention period will be included. Only applied to Cloud SQL for SQL Server.

.google.protobuf.Timestamp export_log_start_time = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

clearStripeCount()

public ExportContext.SqlBakExportOptions.Builder clearStripeCount()

Option for specifying how many stripes to use for the export. If blank, and the value of the striped field is true, the number of stripes is automatically chosen.

.google.protobuf.Int32Value stripe_count = 2;

Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

clearStriped()

public ExportContext.SqlBakExportOptions.Builder clearStriped()

Whether or not the export should be striped.

.google.protobuf.BoolValue striped = 1;

Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

getBakType()

public BakType getBakType()

Type of this bak file will be export, FULL or DIFF, SQL Server only

.google.cloud.sql.v1beta4.BakType bak_type = 4;

Returns
Type Description
BakType

The bakType.

getBakTypeValue()

public int getBakTypeValue()

Type of this bak file will be export, FULL or DIFF, SQL Server only

.google.cloud.sql.v1beta4.BakType bak_type = 4;

Returns
Type Description
int

The enum numeric value on the wire for bakType.

getCopyOnly() (deprecated)

public BoolValue getCopyOnly()

Deprecated. google.cloud.sql.v1beta4.ExportContext.SqlBakExportOptions.copy_only is deprecated. See google/cloud/sql/v1beta4/cloud_sql_resources.proto;l=1312

Deprecated: copy_only is deprecated. Use differential_base instead

.google.protobuf.BoolValue copy_only = 5 [deprecated = true];

Returns
Type Description
BoolValue

The copyOnly.

getCopyOnlyBuilder() (deprecated)

public BoolValue.Builder getCopyOnlyBuilder()

Deprecated: copy_only is deprecated. Use differential_base instead

.google.protobuf.BoolValue copy_only = 5 [deprecated = true];

Returns
Type Description
Builder

getCopyOnlyOrBuilder() (deprecated)

public BoolValueOrBuilder getCopyOnlyOrBuilder()

Deprecated: copy_only is deprecated. Use differential_base instead

.google.protobuf.BoolValue copy_only = 5 [deprecated = true];

Returns
Type Description
BoolValueOrBuilder

getDefaultInstanceForType()

public ExportContext.SqlBakExportOptions getDefaultInstanceForType()
Returns
Type Description
ExportContext.SqlBakExportOptions

getDescriptorForType()

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

getDifferentialBase()

public BoolValue getDifferentialBase()

Whether or not the backup can be used as a differential base copy_only backup can not be served as differential base

.google.protobuf.BoolValue differential_base = 6;

Returns
Type Description
BoolValue

The differentialBase.

getDifferentialBaseBuilder()

public BoolValue.Builder getDifferentialBaseBuilder()

Whether or not the backup can be used as a differential base copy_only backup can not be served as differential base

.google.protobuf.BoolValue differential_base = 6;

Returns
Type Description
Builder

getDifferentialBaseOrBuilder()

public BoolValueOrBuilder getDifferentialBaseOrBuilder()

Whether or not the backup can be used as a differential base copy_only backup can not be served as differential base

.google.protobuf.BoolValue differential_base = 6;

Returns
Type Description
BoolValueOrBuilder

getExportLogEndTime()

public Timestamp getExportLogEndTime()

Optional. The end timestamp when transaction log will be included in the export operation. RFC 3339 format (for example, 2023-10-01T16:19:00.094) in UTC. When omitted, all available logs until current time will be included. Only applied to Cloud SQL for SQL Server.

.google.protobuf.Timestamp export_log_end_time = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The exportLogEndTime.

getExportLogEndTimeBuilder()

public Timestamp.Builder getExportLogEndTimeBuilder()

Optional. The end timestamp when transaction log will be included in the export operation. RFC 3339 format (for example, 2023-10-01T16:19:00.094) in UTC. When omitted, all available logs until current time will be included. Only applied to Cloud SQL for SQL Server.

.google.protobuf.Timestamp export_log_end_time = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getExportLogEndTimeOrBuilder()

public TimestampOrBuilder getExportLogEndTimeOrBuilder()

Optional. The end timestamp when transaction log will be included in the export operation. RFC 3339 format (for example, 2023-10-01T16:19:00.094) in UTC. When omitted, all available logs until current time will be included. Only applied to Cloud SQL for SQL Server.

.google.protobuf.Timestamp export_log_end_time = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

getExportLogStartTime()

public Timestamp getExportLogStartTime()

Optional. The begin timestamp when transaction log will be included in the export operation. RFC 3339 format (for example, 2023-10-01T16:19:00.094) in UTC. When omitted, all available logs from the beginning of retention period will be included. Only applied to Cloud SQL for SQL Server.

.google.protobuf.Timestamp export_log_start_time = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The exportLogStartTime.

getExportLogStartTimeBuilder()

public Timestamp.Builder getExportLogStartTimeBuilder()

Optional. The begin timestamp when transaction log will be included in the export operation. RFC 3339 format (for example, 2023-10-01T16:19:00.094) in UTC. When omitted, all available logs from the beginning of retention period will be included. Only applied to Cloud SQL for SQL Server.

.google.protobuf.Timestamp export_log_start_time = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getExportLogStartTimeOrBuilder()

public TimestampOrBuilder getExportLogStartTimeOrBuilder()

Optional. The begin timestamp when transaction log will be included in the export operation. RFC 3339 format (for example, 2023-10-01T16:19:00.094) in UTC. When omitted, all available logs from the beginning of retention period will be included. Only applied to Cloud SQL for SQL Server.

.google.protobuf.Timestamp export_log_start_time = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

getStripeCount()

public Int32Value getStripeCount()

Option for specifying how many stripes to use for the export. If blank, and the value of the striped field is true, the number of stripes is automatically chosen.

.google.protobuf.Int32Value stripe_count = 2;

Returns
Type Description
Int32Value

The stripeCount.

getStripeCountBuilder()

public Int32Value.Builder getStripeCountBuilder()

Option for specifying how many stripes to use for the export. If blank, and the value of the striped field is true, the number of stripes is automatically chosen.

.google.protobuf.Int32Value stripe_count = 2;

Returns
Type Description
Builder

getStripeCountOrBuilder()

public Int32ValueOrBuilder getStripeCountOrBuilder()

Option for specifying how many stripes to use for the export. If blank, and the value of the striped field is true, the number of stripes is automatically chosen.

.google.protobuf.Int32Value stripe_count = 2;

Returns
Type Description
Int32ValueOrBuilder

getStriped()

public BoolValue getStriped()

Whether or not the export should be striped.

.google.protobuf.BoolValue striped = 1;

Returns
Type Description
BoolValue

The striped.

getStripedBuilder()

public BoolValue.Builder getStripedBuilder()

Whether or not the export should be striped.

.google.protobuf.BoolValue striped = 1;

Returns
Type Description
Builder

getStripedOrBuilder()

public BoolValueOrBuilder getStripedOrBuilder()

Whether or not the export should be striped.

.google.protobuf.BoolValue striped = 1;

Returns
Type Description
BoolValueOrBuilder

hasCopyOnly() (deprecated)

public boolean hasCopyOnly()

Deprecated. google.cloud.sql.v1beta4.ExportContext.SqlBakExportOptions.copy_only is deprecated. See google/cloud/sql/v1beta4/cloud_sql_resources.proto;l=1312

Deprecated: copy_only is deprecated. Use differential_base instead

.google.protobuf.BoolValue copy_only = 5 [deprecated = true];

Returns
Type Description
boolean

Whether the copyOnly field is set.

hasDifferentialBase()

public boolean hasDifferentialBase()

Whether or not the backup can be used as a differential base copy_only backup can not be served as differential base

.google.protobuf.BoolValue differential_base = 6;

Returns
Type Description
boolean

Whether the differentialBase field is set.

hasExportLogEndTime()

public boolean hasExportLogEndTime()

Optional. The end timestamp when transaction log will be included in the export operation. RFC 3339 format (for example, 2023-10-01T16:19:00.094) in UTC. When omitted, all available logs until current time will be included. Only applied to Cloud SQL for SQL Server.

.google.protobuf.Timestamp export_log_end_time = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the exportLogEndTime field is set.

hasExportLogStartTime()

public boolean hasExportLogStartTime()

Optional. The begin timestamp when transaction log will be included in the export operation. RFC 3339 format (for example, 2023-10-01T16:19:00.094) in UTC. When omitted, all available logs from the beginning of retention period will be included. Only applied to Cloud SQL for SQL Server.

.google.protobuf.Timestamp export_log_start_time = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the exportLogStartTime field is set.

hasStripeCount()

public boolean hasStripeCount()

Option for specifying how many stripes to use for the export. If blank, and the value of the striped field is true, the number of stripes is automatically chosen.

.google.protobuf.Int32Value stripe_count = 2;

Returns
Type Description
boolean

Whether the stripeCount field is set.

hasStriped()

public boolean hasStriped()

Whether or not the export should be striped.

.google.protobuf.BoolValue striped = 1;

Returns
Type Description
boolean

Whether the striped field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCopyOnly(BoolValue value) (deprecated)

public ExportContext.SqlBakExportOptions.Builder mergeCopyOnly(BoolValue value)

Deprecated: copy_only is deprecated. Use differential_base instead

.google.protobuf.BoolValue copy_only = 5 [deprecated = true];

Parameter
Name Description
value BoolValue
Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

mergeDifferentialBase(BoolValue value)

public ExportContext.SqlBakExportOptions.Builder mergeDifferentialBase(BoolValue value)

Whether or not the backup can be used as a differential base copy_only backup can not be served as differential base

.google.protobuf.BoolValue differential_base = 6;

Parameter
Name Description
value BoolValue
Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

mergeExportLogEndTime(Timestamp value)

public ExportContext.SqlBakExportOptions.Builder mergeExportLogEndTime(Timestamp value)

Optional. The end timestamp when transaction log will be included in the export operation. RFC 3339 format (for example, 2023-10-01T16:19:00.094) in UTC. When omitted, all available logs until current time will be included. Only applied to Cloud SQL for SQL Server.

.google.protobuf.Timestamp export_log_end_time = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Timestamp
Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

mergeExportLogStartTime(Timestamp value)

public ExportContext.SqlBakExportOptions.Builder mergeExportLogStartTime(Timestamp value)

Optional. The begin timestamp when transaction log will be included in the export operation. RFC 3339 format (for example, 2023-10-01T16:19:00.094) in UTC. When omitted, all available logs from the beginning of retention period will be included. Only applied to Cloud SQL for SQL Server.

.google.protobuf.Timestamp export_log_start_time = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Timestamp
Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

mergeFrom(ExportContext.SqlBakExportOptions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStripeCount(Int32Value value)

public ExportContext.SqlBakExportOptions.Builder mergeStripeCount(Int32Value value)

Option for specifying how many stripes to use for the export. If blank, and the value of the striped field is true, the number of stripes is automatically chosen.

.google.protobuf.Int32Value stripe_count = 2;

Parameter
Name Description
value Int32Value
Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

mergeStriped(BoolValue value)

public ExportContext.SqlBakExportOptions.Builder mergeStriped(BoolValue value)

Whether or not the export should be striped.

.google.protobuf.BoolValue striped = 1;

Parameter
Name Description
value BoolValue
Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

setBakType(BakType value)

public ExportContext.SqlBakExportOptions.Builder setBakType(BakType value)

Type of this bak file will be export, FULL or DIFF, SQL Server only

.google.cloud.sql.v1beta4.BakType bak_type = 4;

Parameter
Name Description
value BakType

The bakType to set.

Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

This builder for chaining.

setBakTypeValue(int value)

public ExportContext.SqlBakExportOptions.Builder setBakTypeValue(int value)

Type of this bak file will be export, FULL or DIFF, SQL Server only

.google.cloud.sql.v1beta4.BakType bak_type = 4;

Parameter
Name Description
value int

The enum numeric value on the wire for bakType to set.

Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

This builder for chaining.

setCopyOnly(BoolValue value) (deprecated)

public ExportContext.SqlBakExportOptions.Builder setCopyOnly(BoolValue value)

Deprecated: copy_only is deprecated. Use differential_base instead

.google.protobuf.BoolValue copy_only = 5 [deprecated = true];

Parameter
Name Description
value BoolValue
Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

setCopyOnly(BoolValue.Builder builderForValue) (deprecated)

public ExportContext.SqlBakExportOptions.Builder setCopyOnly(BoolValue.Builder builderForValue)

Deprecated: copy_only is deprecated. Use differential_base instead

.google.protobuf.BoolValue copy_only = 5 [deprecated = true];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

setDifferentialBase(BoolValue value)

public ExportContext.SqlBakExportOptions.Builder setDifferentialBase(BoolValue value)

Whether or not the backup can be used as a differential base copy_only backup can not be served as differential base

.google.protobuf.BoolValue differential_base = 6;

Parameter
Name Description
value BoolValue
Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

setDifferentialBase(BoolValue.Builder builderForValue)

public ExportContext.SqlBakExportOptions.Builder setDifferentialBase(BoolValue.Builder builderForValue)

Whether or not the backup can be used as a differential base copy_only backup can not be served as differential base

.google.protobuf.BoolValue differential_base = 6;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

setExportLogEndTime(Timestamp value)

public ExportContext.SqlBakExportOptions.Builder setExportLogEndTime(Timestamp value)

Optional. The end timestamp when transaction log will be included in the export operation. RFC 3339 format (for example, 2023-10-01T16:19:00.094) in UTC. When omitted, all available logs until current time will be included. Only applied to Cloud SQL for SQL Server.

.google.protobuf.Timestamp export_log_end_time = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Timestamp
Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

setExportLogEndTime(Timestamp.Builder builderForValue)

public ExportContext.SqlBakExportOptions.Builder setExportLogEndTime(Timestamp.Builder builderForValue)

Optional. The end timestamp when transaction log will be included in the export operation. RFC 3339 format (for example, 2023-10-01T16:19:00.094) in UTC. When omitted, all available logs until current time will be included. Only applied to Cloud SQL for SQL Server.

.google.protobuf.Timestamp export_log_end_time = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

setExportLogStartTime(Timestamp value)

public ExportContext.SqlBakExportOptions.Builder setExportLogStartTime(Timestamp value)

Optional. The begin timestamp when transaction log will be included in the export operation. RFC 3339 format (for example, 2023-10-01T16:19:00.094) in UTC. When omitted, all available logs from the beginning of retention period will be included. Only applied to Cloud SQL for SQL Server.

.google.protobuf.Timestamp export_log_start_time = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Timestamp
Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

setExportLogStartTime(Timestamp.Builder builderForValue)

public ExportContext.SqlBakExportOptions.Builder setExportLogStartTime(Timestamp.Builder builderForValue)

Optional. The begin timestamp when transaction log will be included in the export operation. RFC 3339 format (for example, 2023-10-01T16:19:00.094) in UTC. When omitted, all available logs from the beginning of retention period will be included. Only applied to Cloud SQL for SQL Server.

.google.protobuf.Timestamp export_log_start_time = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

setStripeCount(Int32Value value)

public ExportContext.SqlBakExportOptions.Builder setStripeCount(Int32Value value)

Option for specifying how many stripes to use for the export. If blank, and the value of the striped field is true, the number of stripes is automatically chosen.

.google.protobuf.Int32Value stripe_count = 2;

Parameter
Name Description
value Int32Value
Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

setStripeCount(Int32Value.Builder builderForValue)

public ExportContext.SqlBakExportOptions.Builder setStripeCount(Int32Value.Builder builderForValue)

Option for specifying how many stripes to use for the export. If blank, and the value of the striped field is true, the number of stripes is automatically chosen.

.google.protobuf.Int32Value stripe_count = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

setStriped(BoolValue value)

public ExportContext.SqlBakExportOptions.Builder setStriped(BoolValue value)

Whether or not the export should be striped.

.google.protobuf.BoolValue striped = 1;

Parameter
Name Description
value BoolValue
Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

setStriped(BoolValue.Builder builderForValue)

public ExportContext.SqlBakExportOptions.Builder setStriped(BoolValue.Builder builderForValue)

Whether or not the export should be striped.

.google.protobuf.BoolValue striped = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ExportContext.SqlBakExportOptions.Builder