Class BackupScheduleSpec (6.83.0)

public final class BackupScheduleSpec extends GeneratedMessageV3 implements BackupScheduleSpecOrBuilder

Defines specifications of the backup schedule.

Protobuf type google.spanner.admin.database.v1.BackupScheduleSpec

Static Fields

CRON_SPEC_FIELD_NUMBER

public static final int CRON_SPEC_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BackupScheduleSpec getDefaultInstance()
Returns
Type Description
BackupScheduleSpec

getDescriptor()

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

newBuilder()

public static BackupScheduleSpec.Builder newBuilder()
Returns
Type Description
BackupScheduleSpec.Builder

newBuilder(BackupScheduleSpec prototype)

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

parseDelimitedFrom(InputStream input)

public static BackupScheduleSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BackupScheduleSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static BackupScheduleSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BackupScheduleSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static BackupScheduleSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BackupScheduleSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static BackupScheduleSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BackupScheduleSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static BackupScheduleSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BackupScheduleSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<BackupScheduleSpec> parser()
Returns
Type Description
Parser<BackupScheduleSpec>

Methods

equals(Object obj)

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

getCronSpec()

public CrontabSpec getCronSpec()

Cron style schedule specification.

.google.spanner.admin.database.v1.CrontabSpec cron_spec = 1;

Returns
Type Description
CrontabSpec

The cronSpec.

getCronSpecOrBuilder()

public CrontabSpecOrBuilder getCronSpecOrBuilder()

Cron style schedule specification.

.google.spanner.admin.database.v1.CrontabSpec cron_spec = 1;

Returns
Type Description
CrontabSpecOrBuilder

getDefaultInstanceForType()

public BackupScheduleSpec getDefaultInstanceForType()
Returns
Type Description
BackupScheduleSpec

getParserForType()

public Parser<BackupScheduleSpec> getParserForType()
Returns
Type Description
Parser<BackupScheduleSpec>
Overrides

getScheduleSpecCase()

public BackupScheduleSpec.ScheduleSpecCase getScheduleSpecCase()
Returns
Type Description
BackupScheduleSpec.ScheduleSpecCase

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCronSpec()

public boolean hasCronSpec()

Cron style schedule specification.

.google.spanner.admin.database.v1.CrontabSpec cron_spec = 1;

Returns
Type Description
boolean

Whether the cronSpec field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BackupScheduleSpec.Builder newBuilderForType()
Returns
Type Description
BackupScheduleSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BackupScheduleSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BackupScheduleSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BackupScheduleSpec.Builder toBuilder()
Returns
Type Description
BackupScheduleSpec.Builder

writeTo(CodedOutputStream output)

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