Package com.google.cloud.netapp.v1
Class MonthlySchedule.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<MonthlySchedule.Builder>
-
- com.google.cloud.netapp.v1.MonthlySchedule.Builder
-
- All Implemented Interfaces:
MonthlyScheduleOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- MonthlySchedule
public static final class MonthlySchedule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MonthlySchedule.Builder> implements MonthlyScheduleOrBuilder
Make a snapshot once a month e.g. at 2nd 04:00, 7th 05:20, 24th 23:50
Protobuf typegoogle.cloud.netapp.v1.MonthlySchedule
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MonthlySchedule.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MonthlySchedulebuild()MonthlySchedulebuildPartial()MonthlySchedule.Builderclear()MonthlySchedule.BuilderclearDaysOfMonth()Set the day or days of the month to make a snapshot (1-31).MonthlySchedule.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)MonthlySchedule.BuilderclearHour()Set the hour to start the snapshot (0-23), defaults to midnight (0).MonthlySchedule.BuilderclearMinute()Set the minute of the hour to start the snapshot (0-59), defaults to the top of the hour (0).MonthlySchedule.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)MonthlySchedule.BuilderclearSnapshotsToKeep()The maximum number of Snapshots to keep for the hourly scheduleMonthlySchedule.Builderclone()StringgetDaysOfMonth()Set the day or days of the month to make a snapshot (1-31).com.google.protobuf.ByteStringgetDaysOfMonthBytes()Set the day or days of the month to make a snapshot (1-31).MonthlySchedulegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()doublegetHour()Set the hour to start the snapshot (0-23), defaults to midnight (0).doublegetMinute()Set the minute of the hour to start the snapshot (0-59), defaults to the top of the hour (0).doublegetSnapshotsToKeep()The maximum number of Snapshots to keep for the hourly schedulebooleanhasDaysOfMonth()Set the day or days of the month to make a snapshot (1-31).booleanhasHour()Set the hour to start the snapshot (0-23), defaults to midnight (0).booleanhasMinute()Set the minute of the hour to start the snapshot (0-59), defaults to the top of the hour (0).booleanhasSnapshotsToKeep()The maximum number of Snapshots to keep for the hourly scheduleprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()MonthlySchedule.BuildermergeFrom(MonthlySchedule other)MonthlySchedule.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)MonthlySchedule.BuildermergeFrom(com.google.protobuf.Message other)MonthlySchedule.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MonthlySchedule.BuildersetDaysOfMonth(String value)Set the day or days of the month to make a snapshot (1-31).MonthlySchedule.BuildersetDaysOfMonthBytes(com.google.protobuf.ByteString value)Set the day or days of the month to make a snapshot (1-31).MonthlySchedule.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MonthlySchedule.BuildersetHour(double value)Set the hour to start the snapshot (0-23), defaults to midnight (0).MonthlySchedule.BuildersetMinute(double value)Set the minute of the hour to start the snapshot (0-59), defaults to the top of the hour (0).MonthlySchedule.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)MonthlySchedule.BuildersetSnapshotsToKeep(double value)The maximum number of Snapshots to keep for the hourly scheduleMonthlySchedule.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<MonthlySchedule.Builder>
-
clear
public MonthlySchedule.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<MonthlySchedule.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<MonthlySchedule.Builder>
-
getDefaultInstanceForType
public MonthlySchedule getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public MonthlySchedule build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MonthlySchedule buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MonthlySchedule.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<MonthlySchedule.Builder>
-
setField
public MonthlySchedule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MonthlySchedule.Builder>
-
clearField
public MonthlySchedule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MonthlySchedule.Builder>
-
clearOneof
public MonthlySchedule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<MonthlySchedule.Builder>
-
setRepeatedField
public MonthlySchedule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MonthlySchedule.Builder>
-
addRepeatedField
public MonthlySchedule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MonthlySchedule.Builder>
-
mergeFrom
public MonthlySchedule.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MonthlySchedule.Builder>
-
mergeFrom
public MonthlySchedule.Builder mergeFrom(MonthlySchedule other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<MonthlySchedule.Builder>
-
mergeFrom
public MonthlySchedule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MonthlySchedule.Builder>- Throws:
IOException
-
hasSnapshotsToKeep
public boolean hasSnapshotsToKeep()
The maximum number of Snapshots to keep for the hourly schedule
optional double snapshots_to_keep = 1;- Specified by:
hasSnapshotsToKeepin interfaceMonthlyScheduleOrBuilder- Returns:
- Whether the snapshotsToKeep field is set.
-
getSnapshotsToKeep
public double getSnapshotsToKeep()
The maximum number of Snapshots to keep for the hourly schedule
optional double snapshots_to_keep = 1;- Specified by:
getSnapshotsToKeepin interfaceMonthlyScheduleOrBuilder- Returns:
- The snapshotsToKeep.
-
setSnapshotsToKeep
public MonthlySchedule.Builder setSnapshotsToKeep(double value)
The maximum number of Snapshots to keep for the hourly schedule
optional double snapshots_to_keep = 1;- Parameters:
value- The snapshotsToKeep to set.- Returns:
- This builder for chaining.
-
clearSnapshotsToKeep
public MonthlySchedule.Builder clearSnapshotsToKeep()
The maximum number of Snapshots to keep for the hourly schedule
optional double snapshots_to_keep = 1;- Returns:
- This builder for chaining.
-
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;- Specified by:
hasMinutein interfaceMonthlyScheduleOrBuilder- Returns:
- Whether the minute field is set.
-
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;- Specified by:
getMinutein interfaceMonthlyScheduleOrBuilder- Returns:
- The minute.
-
setMinute
public MonthlySchedule.Builder setMinute(double value)
Set the minute of the hour to start the snapshot (0-59), defaults to the top of the hour (0).
optional double minute = 2;- Parameters:
value- The minute to set.- Returns:
- This builder for chaining.
-
clearMinute
public MonthlySchedule.Builder clearMinute()
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:
- This builder for chaining.
-
hasHour
public boolean hasHour()
Set the hour to start the snapshot (0-23), defaults to midnight (0).
optional double hour = 3;- Specified by:
hasHourin interfaceMonthlyScheduleOrBuilder- Returns:
- Whether the hour field is set.
-
getHour
public double getHour()
Set the hour to start the snapshot (0-23), defaults to midnight (0).
optional double hour = 3;- Specified by:
getHourin interfaceMonthlyScheduleOrBuilder- Returns:
- The hour.
-
setHour
public MonthlySchedule.Builder setHour(double value)
Set the hour to start the snapshot (0-23), defaults to midnight (0).
optional double hour = 3;- Parameters:
value- The hour to set.- Returns:
- This builder for chaining.
-
clearHour
public MonthlySchedule.Builder clearHour()
Set the hour to start the snapshot (0-23), defaults to midnight (0).
optional double hour = 3;- Returns:
- This builder for chaining.
-
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;- Specified by:
hasDaysOfMonthin interfaceMonthlyScheduleOrBuilder- Returns:
- Whether the daysOfMonth field is set.
-
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;- Specified by:
getDaysOfMonthin interfaceMonthlyScheduleOrBuilder- Returns:
- The daysOfMonth.
-
getDaysOfMonthBytes
public com.google.protobuf.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;- Specified by:
getDaysOfMonthBytesin interfaceMonthlyScheduleOrBuilder- Returns:
- The bytes for daysOfMonth.
-
setDaysOfMonth
public MonthlySchedule.Builder setDaysOfMonth(String value)
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;- Parameters:
value- The daysOfMonth to set.- Returns:
- This builder for chaining.
-
clearDaysOfMonth
public MonthlySchedule.Builder clearDaysOfMonth()
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:
- This builder for chaining.
-
setDaysOfMonthBytes
public MonthlySchedule.Builder setDaysOfMonthBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for daysOfMonth to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final MonthlySchedule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MonthlySchedule.Builder>
-
mergeUnknownFields
public final MonthlySchedule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MonthlySchedule.Builder>
-
-