public static final class DailySchedule.Builder extends GeneratedMessageV3.Builder<DailySchedule.Builder> implements DailyScheduleOrBuilder
Make a snapshot every day e.g. at 04:00, 05:20, 23:50
Protobuf type google.cloud.netapp.v1.DailySchedule
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DailySchedule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DailySchedule build()
buildPartial()
public DailySchedule buildPartial()
clear()
public DailySchedule.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public DailySchedule.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearHour()
public DailySchedule.Builder clearHour()
Set the hour to start the snapshot (0-23), defaults to midnight (0).
optional double hour = 3;
clearMinute()
public DailySchedule.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;
clearOneof(Descriptors.OneofDescriptor oneof)
public DailySchedule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSnapshotsToKeep()
public DailySchedule.Builder clearSnapshotsToKeep()
The maximum number of Snapshots to keep for the hourly schedule
optional double snapshots_to_keep = 1;
clone()
public DailySchedule.Builder clone()
Overrides
getDefaultInstanceForType()
public DailySchedule getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DailySchedule other)
public DailySchedule.Builder mergeFrom(DailySchedule other)
public DailySchedule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DailySchedule.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DailySchedule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DailySchedule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setHour(double value)
public DailySchedule.Builder setHour(double value)
Set the hour to start the snapshot (0-23), defaults to midnight (0).
optional double hour = 3;
Parameter |
---|
Name | Description |
value | double
The hour to set.
|
setMinute(double value)
public DailySchedule.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 | double
The minute to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DailySchedule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSnapshotsToKeep(double value)
public DailySchedule.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 | double
The snapshotsToKeep to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final DailySchedule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides