Class BackupPlan.Schedule (0.16.0)

public static final class BackupPlan.Schedule extends GeneratedMessageV3 implements BackupPlan.ScheduleOrBuilder

Schedule defines scheduling parameters for automatically creating Backups via this BackupPlan.

Protobuf type google.cloud.gkebackup.v1.BackupPlan.Schedule

Static Fields

CRON_SCHEDULE_FIELD_NUMBER

public static final int CRON_SCHEDULE_FIELD_NUMBER
Field Value
TypeDescription
int

PAUSED_FIELD_NUMBER

public static final int PAUSED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BackupPlan.Schedule getDefaultInstance()
Returns
TypeDescription
BackupPlan.Schedule

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BackupPlan.Schedule.Builder newBuilder()
Returns
TypeDescription
BackupPlan.Schedule.Builder

newBuilder(BackupPlan.Schedule prototype)

public static BackupPlan.Schedule.Builder newBuilder(BackupPlan.Schedule prototype)
Parameter
NameDescription
prototypeBackupPlan.Schedule
Returns
TypeDescription
BackupPlan.Schedule.Builder

parseDelimitedFrom(InputStream input)

public static BackupPlan.Schedule parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BackupPlan.Schedule
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BackupPlan.Schedule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BackupPlan.Schedule
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BackupPlan.Schedule parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BackupPlan.Schedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BackupPlan.Schedule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BackupPlan.Schedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BackupPlan.Schedule parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BackupPlan.Schedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BackupPlan.Schedule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BackupPlan.Schedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BackupPlan.Schedule parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BackupPlan.Schedule
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BackupPlan.Schedule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BackupPlan.Schedule
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BackupPlan.Schedule parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BackupPlan.Schedule
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BackupPlan.Schedule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BackupPlan.Schedule
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BackupPlan.Schedule parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BackupPlan.Schedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BackupPlan.Schedule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BackupPlan.Schedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BackupPlan.Schedule> parser()
Returns
TypeDescription
Parser<Schedule>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCronSchedule()

public String getCronSchedule()

A standard cron string that defines a repeating schedule for creating Backups via this BackupPlan. Default (empty): no automatic backup creation will occur.

string cron_schedule = 1;

Returns
TypeDescription
String

The cronSchedule.

getCronScheduleBytes()

public ByteString getCronScheduleBytes()

A standard cron string that defines a repeating schedule for creating Backups via this BackupPlan. Default (empty): no automatic backup creation will occur.

string cron_schedule = 1;

Returns
TypeDescription
ByteString

The bytes for cronSchedule.

getDefaultInstanceForType()

public BackupPlan.Schedule getDefaultInstanceForType()
Returns
TypeDescription
BackupPlan.Schedule

getParserForType()

public Parser<BackupPlan.Schedule> getParserForType()
Returns
TypeDescription
Parser<Schedule>
Overrides

getPaused()

public boolean getPaused()

This flag denotes whether automatic Backup creation is paused for this BackupPlan. Default: False

bool paused = 2;

Returns
TypeDescription
boolean

The paused.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BackupPlan.Schedule.Builder newBuilderForType()
Returns
TypeDescription
BackupPlan.Schedule.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BackupPlan.Schedule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BackupPlan.Schedule.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BackupPlan.Schedule.Builder toBuilder()
Returns
TypeDescription
BackupPlan.Schedule.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException