Class SnapshotSchedulePolicy.Schedule (0.2.0)

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
TypeDescription
int

PREFIX_FIELD_NUMBER

public static final int PREFIX_FIELD_NUMBER
Field Value
TypeDescription
int

RETENTION_COUNT_FIELD_NUMBER

public static final int RETENTION_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(SnapshotSchedulePolicy.Schedule prototype)

public static SnapshotSchedulePolicy.Schedule.Builder newBuilder(SnapshotSchedulePolicy.Schedule prototype)
Parameter
NameDescription
prototypeSnapshotSchedulePolicy.Schedule
Returns
TypeDescription
SnapshotSchedulePolicy.Schedule.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCrontabSpec()

public String getCrontabSpec()

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

string crontab_spec = 1;

Returns
TypeDescription
String

The crontabSpec.

getCrontabSpecBytes()

public ByteString getCrontabSpecBytes()

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

string crontab_spec = 1;

Returns
TypeDescription
ByteString

The bytes for crontabSpec.

getDefaultInstanceForType()

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

getParserForType()

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

getPrefix()

public String getPrefix()

A list of snapshot names created in this schedule.

string prefix = 3;

Returns
TypeDescription
String

The prefix.

getPrefixBytes()

public ByteString getPrefixBytes()

A list of snapshot names created in this schedule.

string prefix = 3;

Returns
TypeDescription
ByteString

The bytes for prefix.

getRetentionCount()

public int getRetentionCount()

The maximum number of snapshots to retain in this schedule.

int32 retention_count = 2;

Returns
TypeDescription
int

The retentionCount.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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