public static final class WeeklySchedule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WeeklySchedule.Builder> implements WeeklyScheduleOrBuilder
Make a snapshot every week e.g. at Monday 04:00, Wednesday 05:20, Sunday 23:50Protobuf type
google.cloud.netapp.v1.WeeklySchedule| Modifier and Type | Method and Description |
|---|---|
WeeklySchedule.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
WeeklySchedule |
build() |
WeeklySchedule |
buildPartial() |
WeeklySchedule.Builder |
clear() |
WeeklySchedule.Builder |
clearDay()
Set the day or days of the week to make a snapshot.
|
WeeklySchedule.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
WeeklySchedule.Builder |
clearHour()
Set the hour to start the snapshot (0-23), defaults to midnight (0).
|
WeeklySchedule.Builder |
clearMinute()
Set the minute of the hour to start the snapshot (0-59), defaults to the
top of the hour (0).
|
WeeklySchedule.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
WeeklySchedule.Builder |
clearSnapshotsToKeep()
The maximum number of Snapshots to keep for the hourly schedule
|
WeeklySchedule.Builder |
clone() |
String |
getDay()
Set the day or days of the week to make a snapshot.
|
com.google.protobuf.ByteString |
getDayBytes()
Set the day or days of the week to make a snapshot.
|
WeeklySchedule |
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 |
hasDay()
Set the day or days of the week to make a snapshot.
|
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() |
WeeklySchedule.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WeeklySchedule.Builder |
mergeFrom(com.google.protobuf.Message other) |
WeeklySchedule.Builder |
mergeFrom(WeeklySchedule other) |
WeeklySchedule.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WeeklySchedule.Builder |
setDay(String value)
Set the day or days of the week to make a snapshot.
|
WeeklySchedule.Builder |
setDayBytes(com.google.protobuf.ByteString value)
Set the day or days of the week to make a snapshot.
|
WeeklySchedule.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
WeeklySchedule.Builder |
setHour(double value)
Set the hour to start the snapshot (0-23), defaults to midnight (0).
|
WeeklySchedule.Builder |
setMinute(double value)
Set the minute of the hour to start the snapshot (0-59), defaults to the
top of the hour (0).
|
WeeklySchedule.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
WeeklySchedule.Builder |
setSnapshotsToKeep(double value)
The maximum number of Snapshots to keep for the hourly schedule
|
WeeklySchedule.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<WeeklySchedule.Builder>public WeeklySchedule.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<WeeklySchedule.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<WeeklySchedule.Builder>public WeeklySchedule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic WeeklySchedule build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic WeeklySchedule buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic WeeklySchedule.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<WeeklySchedule.Builder>public WeeklySchedule.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<WeeklySchedule.Builder>public WeeklySchedule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<WeeklySchedule.Builder>public WeeklySchedule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<WeeklySchedule.Builder>public WeeklySchedule.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<WeeklySchedule.Builder>public WeeklySchedule.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<WeeklySchedule.Builder>public WeeklySchedule.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<WeeklySchedule.Builder>public WeeklySchedule.Builder mergeFrom(WeeklySchedule other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<WeeklySchedule.Builder>public WeeklySchedule.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<WeeklySchedule.Builder>IOExceptionpublic boolean hasSnapshotsToKeep()
The maximum number of Snapshots to keep for the hourly schedule
optional double snapshots_to_keep = 1;hasSnapshotsToKeep in interface WeeklyScheduleOrBuilderpublic double getSnapshotsToKeep()
The maximum number of Snapshots to keep for the hourly schedule
optional double snapshots_to_keep = 1;getSnapshotsToKeep in interface WeeklyScheduleOrBuilderpublic WeeklySchedule.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 WeeklySchedule.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 WeeklyScheduleOrBuilderpublic 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 WeeklyScheduleOrBuilderpublic WeeklySchedule.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 WeeklySchedule.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 WeeklyScheduleOrBuilderpublic double getHour()
Set the hour to start the snapshot (0-23), defaults to midnight (0).
optional double hour = 3;getHour in interface WeeklyScheduleOrBuilderpublic WeeklySchedule.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 WeeklySchedule.Builder clearHour()
Set the hour to start the snapshot (0-23), defaults to midnight (0).
optional double hour = 3;public boolean hasDay()
Set the day or days of the week to make a snapshot. Accepts a comma separated days of the week. Defaults to 'Sunday'.
optional string day = 4;hasDay in interface WeeklyScheduleOrBuilderpublic String getDay()
Set the day or days of the week to make a snapshot. Accepts a comma separated days of the week. Defaults to 'Sunday'.
optional string day = 4;getDay in interface WeeklyScheduleOrBuilderpublic com.google.protobuf.ByteString getDayBytes()
Set the day or days of the week to make a snapshot. Accepts a comma separated days of the week. Defaults to 'Sunday'.
optional string day = 4;getDayBytes in interface WeeklyScheduleOrBuilderpublic WeeklySchedule.Builder setDay(String value)
Set the day or days of the week to make a snapshot. Accepts a comma separated days of the week. Defaults to 'Sunday'.
optional string day = 4;value - The day to set.public WeeklySchedule.Builder clearDay()
Set the day or days of the week to make a snapshot. Accepts a comma separated days of the week. Defaults to 'Sunday'.
optional string day = 4;public WeeklySchedule.Builder setDayBytes(com.google.protobuf.ByteString value)
Set the day or days of the week to make a snapshot. Accepts a comma separated days of the week. Defaults to 'Sunday'.
optional string day = 4;value - The bytes for day to set.public final WeeklySchedule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WeeklySchedule.Builder>public final WeeklySchedule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WeeklySchedule.Builder>Copyright © 2024 Google LLC. All rights reserved.