public static final class ExportContext.SqlBakExportOptions extends GeneratedMessage implements ExportContext.SqlBakExportOptionsOrBuilder
Options for exporting BAK files (SQL Server-only)
Protobuf type google.cloud.sql.v1beta4.ExportContext.SqlBakExportOptions
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ExportContext.SqlBakExportOptions.Builder newBuilder()
newBuilder(ExportContext.SqlBakExportOptions prototype)
public static ExportContext.SqlBakExportOptions.Builder newBuilder(ExportContext.SqlBakExportOptions prototype)
parseDelimitedFrom(InputStream input)
public static ExportContext.SqlBakExportOptions parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ExportContext.SqlBakExportOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ExportContext.SqlBakExportOptions parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExportContext.SqlBakExportOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ExportContext.SqlBakExportOptions parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExportContext.SqlBakExportOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static ExportContext.SqlBakExportOptions parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ExportContext.SqlBakExportOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static ExportContext.SqlBakExportOptions parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ExportContext.SqlBakExportOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ExportContext.SqlBakExportOptions parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExportContext.SqlBakExportOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ExportContext.SqlBakExportOptions> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
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.
|
getCopyOnlyOrBuilder() (deprecated)
public BoolValueOrBuilder getCopyOnlyOrBuilder()
Deprecated: copy_only is deprecated. Use differential_base instead
.google.protobuf.BoolValue copy_only = 5 [deprecated = true];
getDefaultInstanceForType()
public ExportContext.SqlBakExportOptions getDefaultInstanceForType()
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;
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];
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];
getParserForType()
public Parser<ExportContext.SqlBakExportOptions> getParserForType()
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;
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;
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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ExportContext.SqlBakExportOptions.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ExportContext.SqlBakExportOptions.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ExportContext.SqlBakExportOptions.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides