public static final class HourlySchedule.Builder extends GeneratedMessage.Builder<HourlySchedule.Builder> implements HourlyScheduleOrBuilderMake a snapshot every hour e.g. at 04:00, 05:00, 06:00.
Protobuf type google.cloud.netapp.v1.HourlySchedule
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > HourlySchedule.BuilderImplements
HourlyScheduleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public HourlySchedule build()| Returns | |
|---|---|
| Type | Description |
HourlySchedule |
|
buildPartial()
public HourlySchedule buildPartial()| Returns | |
|---|---|
| Type | Description |
HourlySchedule |
|
clear()
public HourlySchedule.Builder clear()| Returns | |
|---|---|
| Type | Description |
HourlySchedule.Builder |
|
clearMinute()
public HourlySchedule.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 | |
|---|---|
| Type | Description |
HourlySchedule.Builder |
This builder for chaining. |
clearSnapshotsToKeep()
public HourlySchedule.Builder clearSnapshotsToKeep()The maximum number of Snapshots to keep for the hourly schedule
optional double snapshots_to_keep = 1;
| Returns | |
|---|---|
| Type | Description |
HourlySchedule.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public HourlySchedule getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
HourlySchedule |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(HourlySchedule other)
public HourlySchedule.Builder mergeFrom(HourlySchedule other)| Parameter | |
|---|---|
| Name | Description |
other |
HourlySchedule |
| Returns | |
|---|---|
| Type | Description |
HourlySchedule.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HourlySchedule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
HourlySchedule.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public HourlySchedule.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
HourlySchedule.Builder |
|
setMinute(double value)
public HourlySchedule.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;
| Parameter | |
|---|---|
| Name | Description |
value |
doubleThe minute to set. |
| Returns | |
|---|---|
| Type | Description |
HourlySchedule.Builder |
This builder for chaining. |
setSnapshotsToKeep(double value)
public HourlySchedule.Builder setSnapshotsToKeep(double value)The maximum number of Snapshots to keep for the hourly schedule
optional double snapshots_to_keep = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
doubleThe snapshotsToKeep to set. |
| Returns | |
|---|---|
| Type | Description |
HourlySchedule.Builder |
This builder for chaining. |