Class SnapshotSchedulePolicy.Schedule (0.1.1)

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

A snapshot schedule.

Protobuf type google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy.Schedule

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SnapshotSchedulePolicy.Schedule

Static Fields

CRONTAB_SPEC_FIELD_NUMBER

public static final int CRONTAB_SPEC_FIELD_NUMBER
Field Value
Type Description
int

PREFIX_FIELD_NUMBER

public static final int PREFIX_FIELD_NUMBER
Field Value
Type Description
int

RETENTION_COUNT_FIELD_NUMBER

public static final int RETENTION_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SnapshotSchedulePolicy.Schedule getDefaultInstance()
Returns
Type Description
SnapshotSchedulePolicy.Schedule

getDescriptor()

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

newBuilder()

public static SnapshotSchedulePolicy.Schedule.Builder newBuilder()
Returns
Type Description
SnapshotSchedulePolicy.Schedule.Builder

newBuilder(SnapshotSchedulePolicy.Schedule prototype)

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

parseDelimitedFrom(InputStream input)

public static SnapshotSchedulePolicy.Schedule parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SnapshotSchedulePolicy.Schedule
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static SnapshotSchedulePolicy.Schedule parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SnapshotSchedulePolicy.Schedule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static SnapshotSchedulePolicy.Schedule parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SnapshotSchedulePolicy.Schedule
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static SnapshotSchedulePolicy.Schedule parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SnapshotSchedulePolicy.Schedule
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static SnapshotSchedulePolicy.Schedule parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SnapshotSchedulePolicy.Schedule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<SnapshotSchedulePolicy.Schedule> parser()
Returns
Type Description
Parser<Schedule>

Methods

equals(Object obj)

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

getCrontabSpec()

public String getCrontabSpec()

A crontab-like specification that the schedule uses to take snapshots.

string crontab_spec = 1;

Returns
Type Description
String

The crontabSpec.

getCrontabSpecBytes()

public ByteString getCrontabSpecBytes()

A crontab-like specification that the schedule uses to take snapshots.

string crontab_spec = 1;

Returns
Type Description
ByteString

The bytes for crontabSpec.

getDefaultInstanceForType()

public SnapshotSchedulePolicy.Schedule getDefaultInstanceForType()
Returns
Type Description
SnapshotSchedulePolicy.Schedule

getParserForType()

public Parser<SnapshotSchedulePolicy.Schedule> getParserForType()
Returns
Type Description
Parser<Schedule>
Overrides

getPrefix()

public String getPrefix()

A list of snapshot names created in this schedule.

string prefix = 3;

Returns
Type Description
String

The prefix.

getPrefixBytes()

public ByteString getPrefixBytes()

A list of snapshot names created in this schedule.

string prefix = 3;

Returns
Type Description
ByteString

The bytes for prefix.

getRetentionCount()

public int getRetentionCount()

The maximum number of snapshots to retain in this schedule.

int32 retention_count = 2;

Returns
Type Description
int

The retentionCount.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public SnapshotSchedulePolicy.Schedule.Builder toBuilder()
Returns
Type Description
SnapshotSchedulePolicy.Schedule.Builder

writeTo(CodedOutputStream output)

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