Send feedback
Class MonthlySchedule (0.15.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.15.0 keyboard_arrow_down
public final class MonthlySchedule extends GeneratedMessageV3 implements MonthlyScheduleOrBuilder
Make a snapshot once a month e.g. at 2nd 04:00, 7th 05:20, 24th 23:50
Protobuf type google.cloud.netapp.v1.MonthlySchedule
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DAYS_OF_MONTH_FIELD_NUMBER
public static final int DAYS_OF_MONTH_FIELD_NUMBER
Field Value Type Description int
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 MonthlySchedule getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static MonthlySchedule . Builder newBuilder ()
newBuilder(MonthlySchedule prototype)
public static MonthlySchedule . Builder newBuilder ( MonthlySchedule prototype )
public static MonthlySchedule parseDelimitedFrom ( InputStream input )
public static MonthlySchedule parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static MonthlySchedule parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MonthlySchedule parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static MonthlySchedule parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MonthlySchedule parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static MonthlySchedule parseFrom ( CodedInputStream input )
public static MonthlySchedule parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static MonthlySchedule parseFrom ( InputStream input )
public static MonthlySchedule parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static MonthlySchedule parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MonthlySchedule parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<MonthlySchedule> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getDaysOfMonth()
public String getDaysOfMonth ()
Set the day or days of the month to make a snapshot (1-31). Accepts a
comma separated number of days. Defaults to '1'.
optional string days_of_month = 4;
Returns Type Description String
The daysOfMonth.
getDaysOfMonthBytes()
public ByteString getDaysOfMonthBytes ()
Set the day or days of the month to make a snapshot (1-31). Accepts a
comma separated number of days. Defaults to '1'.
optional string days_of_month = 4;
Returns Type Description ByteString
The bytes for daysOfMonth.
getDefaultInstanceForType()
public MonthlySchedule getDefaultInstanceForType ()
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<MonthlySchedule> getParserForType ()
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.
hasDaysOfMonth()
public boolean hasDaysOfMonth ()
Set the day or days of the month to make a snapshot (1-31). Accepts a
comma separated number of days. Defaults to '1'.
optional string days_of_month = 4;
Returns Type Description boolean
Whether the daysOfMonth field is set.
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()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public MonthlySchedule . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MonthlySchedule . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public MonthlySchedule . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]