public final class WeeklySchedule extends GeneratedMessageV3 implements WeeklyScheduleOrBuilder
Make a snapshot every week e.g. at Monday 04:00, Wednesday 05:20, Sunday
23:50
Protobuf type google.cloud.netapp.v1.WeeklySchedule
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
DAY_FIELD_NUMBER
public static final int DAY_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 WeeklySchedule getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static WeeklySchedule.Builder newBuilder()
newBuilder(WeeklySchedule prototype)
public static WeeklySchedule.Builder newBuilder(WeeklySchedule prototype)
public static WeeklySchedule parseDelimitedFrom(InputStream input)
public static WeeklySchedule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static WeeklySchedule parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WeeklySchedule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static WeeklySchedule parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WeeklySchedule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WeeklySchedule parseFrom(CodedInputStream input)
public static WeeklySchedule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WeeklySchedule parseFrom(InputStream input)
public static WeeklySchedule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static WeeklySchedule parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WeeklySchedule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<WeeklySchedule> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
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;
Returns |
---|
Type | Description |
String | The day.
|
getDayBytes()
public 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;
Returns |
---|
Type | Description |
ByteString | The bytes for day.
|
getDefaultInstanceForType()
public WeeklySchedule 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<WeeklySchedule> 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.
|
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;
Returns |
---|
Type | Description |
boolean | Whether the day 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 WeeklySchedule.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WeeklySchedule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public WeeklySchedule.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides