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:50Protobuf type
google.cloud.netapp.v1.MonthlySchedule| Modifier and Type | Method and Description |
|---|---|
MonthlySchedule.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MonthlySchedule |
build() |
MonthlySchedule |
buildPartial() |
MonthlySchedule.Builder |
clear() |
MonthlySchedule.Builder |
clearDaysOfMonth()
Set the day or days of the month to make a snapshot (1-31).
|
MonthlySchedule.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MonthlySchedule.Builder |
clearHour()
Set the hour to start the snapshot (0-23), defaults to midnight (0).
|
MonthlySchedule.Builder |
clearMinute()
Set the minute of the hour to start the snapshot (0-59), defaults to the
top of the hour (0).
|
MonthlySchedule.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MonthlySchedule.Builder |
clearSnapshotsToKeep()
The maximum number of Snapshots to keep for the hourly schedule
|
MonthlySchedule.Builder |
clone() |
String |
getDaysOfMonth()
Set the day or days of the month to make a snapshot (1-31).
|
com.google.protobuf.ByteString |
getDaysOfMonthBytes()
Set the day or days of the month to make a snapshot (1-31).
|
MonthlySchedule |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
double |
getHour()
Set the hour to start the snapshot (0-23), defaults to midnight (0).
|
double |
getMinute()
Set the minute of the hour to start the snapshot (0-59), defaults to the
top of the hour (0).
|
double |
getSnapshotsToKeep()
The maximum number of Snapshots to keep for the hourly schedule
|
boolean |
hasDaysOfMonth()
Set the day or days of the month to make a snapshot (1-31).
|
boolean |
hasHour()
Set the hour to start the snapshot (0-23), defaults to midnight (0).
|
boolean |
hasMinute()
Set the minute of the hour to start the snapshot (0-59), defaults to the
top of the hour (0).
|
boolean |
hasSnapshotsToKeep()
The maximum number of Snapshots to keep for the hourly schedule
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MonthlySchedule.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MonthlySchedule.Builder |
mergeFrom(com.google.protobuf.Message other) |
MonthlySchedule.Builder |
mergeFrom(MonthlySchedule other) |
MonthlySchedule.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MonthlySchedule.Builder |
setDaysOfMonth(String value)
Set the day or days of the month to make a snapshot (1-31).
|
MonthlySchedule.Builder |
setDaysOfMonthBytes(com.google.protobuf.ByteString value)
Set the day or days of the month to make a snapshot (1-31).
|
MonthlySchedule.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MonthlySchedule.Builder |
setHour(double value)
Set the hour to start the snapshot (0-23), defaults to midnight (0).
|
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).
|
MonthlySchedule.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
MonthlySchedule.Builder |
setSnapshotsToKeep(double value)
The maximum number of Snapshots to keep for the hourly schedule
|
MonthlySchedule.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MonthlySchedule.Builder>public MonthlySchedule.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<MonthlySchedule.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MonthlySchedule.Builder>public MonthlySchedule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MonthlySchedule build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MonthlySchedule buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MonthlySchedule.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<MonthlySchedule.Builder>public MonthlySchedule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<MonthlySchedule.Builder>public MonthlySchedule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<MonthlySchedule.Builder>public MonthlySchedule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MonthlySchedule.Builder>public MonthlySchedule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MonthlySchedule.Builder>public MonthlySchedule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MonthlySchedule.Builder>public MonthlySchedule.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MonthlySchedule.Builder>public MonthlySchedule.Builder mergeFrom(MonthlySchedule other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MonthlySchedule.Builder>public MonthlySchedule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MonthlySchedule.Builder>IOExceptionpublic boolean hasSnapshotsToKeep()
The maximum number of Snapshots to keep for the hourly schedule
optional double snapshots_to_keep = 1;hasSnapshotsToKeep in interface MonthlyScheduleOrBuilderpublic double getSnapshotsToKeep()
The maximum number of Snapshots to keep for the hourly schedule
optional double snapshots_to_keep = 1;getSnapshotsToKeep in interface MonthlyScheduleOrBuilderpublic MonthlySchedule.Builder setSnapshotsToKeep(double value)
The maximum number of Snapshots to keep for the hourly schedule
optional double snapshots_to_keep = 1;value - The snapshotsToKeep to set.public MonthlySchedule.Builder clearSnapshotsToKeep()
The maximum number of Snapshots to keep for the hourly schedule
optional double snapshots_to_keep = 1;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;hasMinute in interface MonthlyScheduleOrBuilderpublic 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;getMinute in interface MonthlyScheduleOrBuilderpublic 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;value - The minute to set.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;public boolean hasHour()
Set the hour to start the snapshot (0-23), defaults to midnight (0).
optional double hour = 3;hasHour in interface MonthlyScheduleOrBuilderpublic double getHour()
Set the hour to start the snapshot (0-23), defaults to midnight (0).
optional double hour = 3;getHour in interface MonthlyScheduleOrBuilderpublic MonthlySchedule.Builder setHour(double value)
Set the hour to start the snapshot (0-23), defaults to midnight (0).
optional double hour = 3;value - The hour to set.public MonthlySchedule.Builder clearHour()
Set the hour to start the snapshot (0-23), defaults to midnight (0).
optional double hour = 3;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;hasDaysOfMonth in interface MonthlyScheduleOrBuilderpublic 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;getDaysOfMonth in interface MonthlyScheduleOrBuilderpublic 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;getDaysOfMonthBytes in interface MonthlyScheduleOrBuilderpublic 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;value - The daysOfMonth to set.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;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;value - The bytes for daysOfMonth to set.public final MonthlySchedule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MonthlySchedule.Builder>public final MonthlySchedule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MonthlySchedule.Builder>Copyright © 2024 Google LLC. All rights reserved.