Class HourlySchedule (0.6.0)

public final class HourlySchedule extends GeneratedMessageV3 implements HourlyScheduleOrBuilder

Make a snapshot every hour e.g. at 04:00, 05:00, 06:00.

Protobuf type google.cloud.netapp.v1.HourlySchedule

Static Fields

MINUTE_FIELD_NUMBER

public static final int MINUTE_FIELD_NUMBER
Field Value
TypeDescription
int

SNAPSHOTS_TO_KEEP_FIELD_NUMBER

public static final int SNAPSHOTS_TO_KEEP_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static HourlySchedule getDefaultInstance()
Returns
TypeDescription
HourlySchedule

getDescriptor()

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

newBuilder()

public static HourlySchedule.Builder newBuilder()
Returns
TypeDescription
HourlySchedule.Builder

newBuilder(HourlySchedule prototype)

public static HourlySchedule.Builder newBuilder(HourlySchedule prototype)
Parameter
NameDescription
prototypeHourlySchedule
Returns
TypeDescription
HourlySchedule.Builder

parseDelimitedFrom(InputStream input)

public static HourlySchedule parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HourlySchedule
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static HourlySchedule parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
HourlySchedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static HourlySchedule parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
HourlySchedule
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static HourlySchedule parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HourlySchedule
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static HourlySchedule parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
HourlySchedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<HourlySchedule> parser()
Returns
TypeDescription
Parser<HourlySchedule>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public HourlySchedule getDefaultInstanceForType()
Returns
TypeDescription
HourlySchedule

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

The minute.

getParserForType()

public Parser<HourlySchedule> getParserForType()
Returns
TypeDescription
Parser<HourlySchedule>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSnapshotsToKeep()

public double getSnapshotsToKeep()

The maximum number of Snapshots to keep for the hourly schedule

optional double snapshots_to_keep = 1;

Returns
TypeDescription
double

The snapshotsToKeep.

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

Whether the snapshotsToKeep field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public HourlySchedule.Builder toBuilder()
Returns
TypeDescription
HourlySchedule.Builder

writeTo(CodedOutputStream output)

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