public static final class BackupWindow.Builder extends GeneratedMessageV3.Builder<BackupWindow.Builder> implements BackupWindowOrBuilder
BackupWindow
defines a window of the day during which backup jobs will run.
Protobuf type google.cloud.backupdr.v1.BackupWindow
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 BackupWindow.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BackupWindow build()
buildPartial()
public BackupWindow buildPartial()
clear()
public BackupWindow.Builder clear()
Overrides
clearEndHourOfDay()
public BackupWindow.Builder clearEndHourOfDay()
Required. The hour of day (1-24) when the window end for e.g. if value of
end hour of day is 10 that mean backup window end time is 10:00.
End hour of day should be greater than start hour of day.
0 <= start_hour_of_day < end_hour_of_day <= 24
End hour of day is not include in backup window that mean if
end_hour_of_day= 10 jobs should start before 10:00.
int32 end_hour_of_day = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public BackupWindow.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BackupWindow.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStartHourOfDay()
public BackupWindow.Builder clearStartHourOfDay()
Required. The hour of day (0-23) when the window starts for e.g. if value
of start hour of day is 6 that mean backup window start at 6:00.
int32 start_hour_of_day = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public BackupWindow.Builder clone()
Overrides
getDefaultInstanceForType()
public BackupWindow getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEndHourOfDay()
public int getEndHourOfDay()
Required. The hour of day (1-24) when the window end for e.g. if value of
end hour of day is 10 that mean backup window end time is 10:00.
End hour of day should be greater than start hour of day.
0 <= start_hour_of_day < end_hour_of_day <= 24
End hour of day is not include in backup window that mean if
end_hour_of_day= 10 jobs should start before 10:00.
int32 end_hour_of_day = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The endHourOfDay.
|
getStartHourOfDay()
public int getStartHourOfDay()
Required. The hour of day (0-23) when the window starts for e.g. if value
of start hour of day is 6 that mean backup window start at 6:00.
int32 start_hour_of_day = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The startHourOfDay.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BackupWindow other)
public BackupWindow.Builder mergeFrom(BackupWindow other)
public BackupWindow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BackupWindow.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BackupWindow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEndHourOfDay(int value)
public BackupWindow.Builder setEndHourOfDay(int value)
Required. The hour of day (1-24) when the window end for e.g. if value of
end hour of day is 10 that mean backup window end time is 10:00.
End hour of day should be greater than start hour of day.
0 <= start_hour_of_day < end_hour_of_day <= 24
End hour of day is not include in backup window that mean if
end_hour_of_day= 10 jobs should start before 10:00.
int32 end_hour_of_day = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
int
The endHourOfDay to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public BackupWindow.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BackupWindow.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStartHourOfDay(int value)
public BackupWindow.Builder setStartHourOfDay(int value)
Required. The hour of day (0-23) when the window starts for e.g. if value
of start hour of day is 6 that mean backup window start at 6:00.
int32 start_hour_of_day = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
int
The startHourOfDay to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final BackupWindow.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides