public static final class SnapshotSchedulePolicy.Schedule extends GeneratedMessageV3 implements SnapshotSchedulePolicy.ScheduleOrBuilder
A snapshot schedule.
Protobuf type google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy.Schedule
Static Fields
public static final int CRONTAB_SPEC_FIELD_NUMBER
Field Value
public static final int PREFIX_FIELD_NUMBER
Field Value
public static final int RETENTION_COUNT_FIELD_NUMBER
Field Value
Static Methods
public static SnapshotSchedulePolicy.Schedule getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static SnapshotSchedulePolicy.Schedule.Builder newBuilder()
Returns
public static SnapshotSchedulePolicy.Schedule.Builder newBuilder(SnapshotSchedulePolicy.Schedule prototype)
Parameter
Returns
public static SnapshotSchedulePolicy.Schedule parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SnapshotSchedulePolicy.Schedule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SnapshotSchedulePolicy.Schedule parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static SnapshotSchedulePolicy.Schedule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SnapshotSchedulePolicy.Schedule parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static SnapshotSchedulePolicy.Schedule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SnapshotSchedulePolicy.Schedule parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SnapshotSchedulePolicy.Schedule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SnapshotSchedulePolicy.Schedule parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SnapshotSchedulePolicy.Schedule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SnapshotSchedulePolicy.Schedule parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static SnapshotSchedulePolicy.Schedule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<SnapshotSchedulePolicy.Schedule> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public String getCrontabSpec()
A crontab-like specification that the schedule uses to take
snapshots.
string crontab_spec = 1;
Returns
Type | Description |
String | The crontabSpec.
|
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.
|
public SnapshotSchedulePolicy.Schedule getDefaultInstanceForType()
Returns
public Parser<SnapshotSchedulePolicy.Schedule> getParserForType()
Returns
Overrides
public String getPrefix()
A list of snapshot names created in this schedule.
string prefix = 3;
Returns
Type | Description |
String | The prefix.
|
public ByteString getPrefixBytes()
A list of snapshot names created in this schedule.
string prefix = 3;
Returns
public int getRetentionCount()
The maximum number of snapshots to retain in this schedule.
int32 retention_count = 2;
Returns
Type | Description |
int | The retentionCount.
|
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public SnapshotSchedulePolicy.Schedule.Builder newBuilderForType()
Returns
protected SnapshotSchedulePolicy.Schedule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public SnapshotSchedulePolicy.Schedule.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions