Class DailySchedule (0.21.0)

public final class DailySchedule extends GeneratedMessageV3 implements DailyScheduleOrBuilder

Make a snapshot every day e.g. at 04:00, 05:20, 23:50

Protobuf type google.cloud.netapp.v1.DailySchedule

Static Fields

HOUR_FIELD_NUMBER

public static final int HOUR_FIELD_NUMBER
Field Value
Type Description
int

MINUTE_FIELD_NUMBER

public static final int MINUTE_FIELD_NUMBER
Field Value
Type Description
int

SNAPSHOTS_TO_KEEP_FIELD_NUMBER

public static final int SNAPSHOTS_TO_KEEP_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DailySchedule getDefaultInstance()
Returns
Type Description
DailySchedule

getDescriptor()

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

newBuilder()

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

newBuilder(DailySchedule prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DailySchedule getDefaultInstanceForType()
Returns
Type Description
DailySchedule

getHour()

public double getHour()

Set the hour to start the snapshot (0-23), defaults to midnight (0).

optional double hour = 3;

Returns
Type Description
double

The hour.

getMinute()

public double getMinute()

Set the minute of the hour to start the snapshot (0-59), defaults to the top of the hour (0).

optional double minute = 2;

Returns
Type Description
double

The minute.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSnapshotsToKeep()

public double getSnapshotsToKeep()

The maximum number of Snapshots to keep for the hourly schedule

optional double snapshots_to_keep = 1;

Returns
Type Description
double

The snapshotsToKeep.

hasHour()

public boolean hasHour()

Set the hour to start the snapshot (0-23), defaults to midnight (0).

optional double hour = 3;

Returns
Type Description
boolean

Whether the hour field is set.

hasMinute()

public boolean hasMinute()

Set the minute of the hour to start the snapshot (0-59), defaults to the top of the hour (0).

optional double minute = 2;

Returns
Type Description
boolean

Whether the minute field is set.

hasSnapshotsToKeep()

public boolean hasSnapshotsToKeep()

The maximum number of Snapshots to keep for the hourly schedule

optional double snapshots_to_keep = 1;

Returns
Type Description
boolean

Whether the snapshotsToKeep 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 DailySchedule.Builder newBuilderForType()
Returns
Type Description
DailySchedule.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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