Class ExportContext.SqlBakExportOptions (0.1.0)

public static final class ExportContext.SqlBakExportOptions extends GeneratedMessage implements ExportContext.SqlBakExportOptionsOrBuilder

Options for exporting BAK files (SQL Server-only)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ExportContext.SqlBakExportOptions

Static Fields

BAK_TYPE_FIELD_NUMBER

public static final int BAK_TYPE_FIELD_NUMBER
Field Value
Type Description
int

COPY_ONLY_FIELD_NUMBER

public static final int COPY_ONLY_FIELD_NUMBER
Field Value
Type Description
int

DIFFERENTIAL_BASE_FIELD_NUMBER

public static final int DIFFERENTIAL_BASE_FIELD_NUMBER
Field Value
Type Description
int

EXPORT_LOG_END_TIME_FIELD_NUMBER

public static final int EXPORT_LOG_END_TIME_FIELD_NUMBER
Field Value
Type Description
int

EXPORT_LOG_START_TIME_FIELD_NUMBER

public static final int EXPORT_LOG_START_TIME_FIELD_NUMBER
Field Value
Type Description
int

STRIPED_FIELD_NUMBER

public static final int STRIPED_FIELD_NUMBER
Field Value
Type Description
int

STRIPE_COUNT_FIELD_NUMBER

public static final int STRIPE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExportContext.SqlBakExportOptions getDefaultInstance()
Returns
Type Description
ExportContext.SqlBakExportOptions

getDescriptor()

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

newBuilder()

public static ExportContext.SqlBakExportOptions.Builder newBuilder()
Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

newBuilder(ExportContext.SqlBakExportOptions prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBakType()

public BakType getBakType()

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

.google.cloud.sql.v1.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.v1.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.v1.ExportContext.SqlBakExportOptions.copy_only is deprecated. See google/cloud/sql/v1/cloud_sql_resources.proto;l=482

Deprecated: copy_only is deprecated. Use differential_base instead

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

Returns
Type Description
BoolValue

The copyOnly.

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

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.

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.

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.

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

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.v1.ExportContext.SqlBakExportOptions.copy_only is deprecated. See google/cloud/sql/v1/cloud_sql_resources.proto;l=482

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.

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.SqlBakExportOptions.Builder newBuilderForType()
Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

public ExportContext.SqlBakExportOptions.Builder toBuilder()
Returns
Type Description
ExportContext.SqlBakExportOptions.Builder

writeTo(CodedOutputStream output)

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