public static final class ResourcePolicySnapshotSchedulePolicySchedule.Builder extends GeneratedMessageV3.Builder<ResourcePolicySnapshotSchedulePolicySchedule.Builder> implements ResourcePolicySnapshotSchedulePolicyScheduleOrBuilder
A schedule for disks where the schedueled operations are performed.
Protobuf type google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySchedule
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ResourcePolicySnapshotSchedulePolicySchedule build()
Returns
buildPartial()
public ResourcePolicySnapshotSchedulePolicySchedule buildPartial()
Returns
clear()
public ResourcePolicySnapshotSchedulePolicySchedule.Builder clear()
Returns
Overrides
clearDailySchedule()
public ResourcePolicySnapshotSchedulePolicySchedule.Builder clearDailySchedule()
optional .google.cloud.compute.v1.ResourcePolicyDailyCycle daily_schedule = 86159869;
Returns
clearField(Descriptors.FieldDescriptor field)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearHourlySchedule()
public ResourcePolicySnapshotSchedulePolicySchedule.Builder clearHourlySchedule()
optional .google.cloud.compute.v1.ResourcePolicyHourlyCycle hourly_schedule = 38328485;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearWeeklySchedule()
public ResourcePolicySnapshotSchedulePolicySchedule.Builder clearWeeklySchedule()
optional .google.cloud.compute.v1.ResourcePolicyWeeklyCycle weekly_schedule = 359548053;
Returns
clone()
public ResourcePolicySnapshotSchedulePolicySchedule.Builder clone()
Returns
Overrides
getDailySchedule()
public ResourcePolicyDailyCycle getDailySchedule()
optional .google.cloud.compute.v1.ResourcePolicyDailyCycle daily_schedule = 86159869;
Returns
getDailyScheduleBuilder()
public ResourcePolicyDailyCycle.Builder getDailyScheduleBuilder()
optional .google.cloud.compute.v1.ResourcePolicyDailyCycle daily_schedule = 86159869;
Returns
getDailyScheduleOrBuilder()
public ResourcePolicyDailyCycleOrBuilder getDailyScheduleOrBuilder()
optional .google.cloud.compute.v1.ResourcePolicyDailyCycle daily_schedule = 86159869;
Returns
getDefaultInstanceForType()
public ResourcePolicySnapshotSchedulePolicySchedule getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getHourlySchedule()
public ResourcePolicyHourlyCycle getHourlySchedule()
optional .google.cloud.compute.v1.ResourcePolicyHourlyCycle hourly_schedule = 38328485;
Returns
getHourlyScheduleBuilder()
public ResourcePolicyHourlyCycle.Builder getHourlyScheduleBuilder()
optional .google.cloud.compute.v1.ResourcePolicyHourlyCycle hourly_schedule = 38328485;
Returns
getHourlyScheduleOrBuilder()
public ResourcePolicyHourlyCycleOrBuilder getHourlyScheduleOrBuilder()
optional .google.cloud.compute.v1.ResourcePolicyHourlyCycle hourly_schedule = 38328485;
Returns
getWeeklySchedule()
public ResourcePolicyWeeklyCycle getWeeklySchedule()
optional .google.cloud.compute.v1.ResourcePolicyWeeklyCycle weekly_schedule = 359548053;
Returns
getWeeklyScheduleBuilder()
public ResourcePolicyWeeklyCycle.Builder getWeeklyScheduleBuilder()
optional .google.cloud.compute.v1.ResourcePolicyWeeklyCycle weekly_schedule = 359548053;
Returns
getWeeklyScheduleOrBuilder()
public ResourcePolicyWeeklyCycleOrBuilder getWeeklyScheduleOrBuilder()
optional .google.cloud.compute.v1.ResourcePolicyWeeklyCycle weekly_schedule = 359548053;
Returns
hasDailySchedule()
public boolean hasDailySchedule()
optional .google.cloud.compute.v1.ResourcePolicyDailyCycle daily_schedule = 86159869;
Returns
Type | Description |
boolean | Whether the dailySchedule field is set.
|
hasHourlySchedule()
public boolean hasHourlySchedule()
optional .google.cloud.compute.v1.ResourcePolicyHourlyCycle hourly_schedule = 38328485;
Returns
Type | Description |
boolean | Whether the hourlySchedule field is set.
|
hasWeeklySchedule()
public boolean hasWeeklySchedule()
optional .google.cloud.compute.v1.ResourcePolicyWeeklyCycle weekly_schedule = 359548053;
Returns
Type | Description |
boolean | Whether the weeklySchedule field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeDailySchedule(ResourcePolicyDailyCycle value)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder mergeDailySchedule(ResourcePolicyDailyCycle value)
optional .google.cloud.compute.v1.ResourcePolicyDailyCycle daily_schedule = 86159869;
Parameter
Returns
mergeFrom(ResourcePolicySnapshotSchedulePolicySchedule other)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder mergeFrom(ResourcePolicySnapshotSchedulePolicySchedule other)
Parameter
Returns
public ResourcePolicySnapshotSchedulePolicySchedule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeHourlySchedule(ResourcePolicyHourlyCycle value)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder mergeHourlySchedule(ResourcePolicyHourlyCycle value)
optional .google.cloud.compute.v1.ResourcePolicyHourlyCycle hourly_schedule = 38328485;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePolicySnapshotSchedulePolicySchedule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeWeeklySchedule(ResourcePolicyWeeklyCycle value)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder mergeWeeklySchedule(ResourcePolicyWeeklyCycle value)
optional .google.cloud.compute.v1.ResourcePolicyWeeklyCycle weekly_schedule = 359548053;
Parameter
Returns
setDailySchedule(ResourcePolicyDailyCycle value)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder setDailySchedule(ResourcePolicyDailyCycle value)
optional .google.cloud.compute.v1.ResourcePolicyDailyCycle daily_schedule = 86159869;
Parameter
Returns
setDailySchedule(ResourcePolicyDailyCycle.Builder builderForValue)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder setDailySchedule(ResourcePolicyDailyCycle.Builder builderForValue)
optional .google.cloud.compute.v1.ResourcePolicyDailyCycle daily_schedule = 86159869;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setHourlySchedule(ResourcePolicyHourlyCycle value)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder setHourlySchedule(ResourcePolicyHourlyCycle value)
optional .google.cloud.compute.v1.ResourcePolicyHourlyCycle hourly_schedule = 38328485;
Parameter
Returns
setHourlySchedule(ResourcePolicyHourlyCycle.Builder builderForValue)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder setHourlySchedule(ResourcePolicyHourlyCycle.Builder builderForValue)
optional .google.cloud.compute.v1.ResourcePolicyHourlyCycle hourly_schedule = 38328485;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePolicySnapshotSchedulePolicySchedule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setWeeklySchedule(ResourcePolicyWeeklyCycle value)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder setWeeklySchedule(ResourcePolicyWeeklyCycle value)
optional .google.cloud.compute.v1.ResourcePolicyWeeklyCycle weekly_schedule = 359548053;
Parameter
Returns
setWeeklySchedule(ResourcePolicyWeeklyCycle.Builder builderForValue)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder setWeeklySchedule(ResourcePolicyWeeklyCycle.Builder builderForValue)
optional .google.cloud.compute.v1.ResourcePolicyWeeklyCycle weekly_schedule = 359548053;
Parameter
Returns