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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 ResourcePolicySnapshotSchedulePolicySchedule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ResourcePolicySnapshotSchedulePolicySchedule build()
buildPartial()
public ResourcePolicySnapshotSchedulePolicySchedule buildPartial()
clear()
public ResourcePolicySnapshotSchedulePolicySchedule.Builder clear()
Overrides
clearDailySchedule()
public ResourcePolicySnapshotSchedulePolicySchedule.Builder clearDailySchedule()
optional .google.cloud.compute.v1.ResourcePolicyDailyCycle daily_schedule = 86159869;
clearField(Descriptors.FieldDescriptor field)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearHourlySchedule()
public ResourcePolicySnapshotSchedulePolicySchedule.Builder clearHourlySchedule()
optional .google.cloud.compute.v1.ResourcePolicyHourlyCycle hourly_schedule = 38328485;
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearWeeklySchedule()
public ResourcePolicySnapshotSchedulePolicySchedule.Builder clearWeeklySchedule()
optional .google.cloud.compute.v1.ResourcePolicyWeeklyCycle weekly_schedule = 359548053;
clone()
public ResourcePolicySnapshotSchedulePolicySchedule.Builder clone()
Overrides
getDailySchedule()
public ResourcePolicyDailyCycle getDailySchedule()
optional .google.cloud.compute.v1.ResourcePolicyDailyCycle daily_schedule = 86159869;
getDailyScheduleBuilder()
public ResourcePolicyDailyCycle.Builder getDailyScheduleBuilder()
optional .google.cloud.compute.v1.ResourcePolicyDailyCycle daily_schedule = 86159869;
getDailyScheduleOrBuilder()
public ResourcePolicyDailyCycleOrBuilder getDailyScheduleOrBuilder()
optional .google.cloud.compute.v1.ResourcePolicyDailyCycle daily_schedule = 86159869;
getDefaultInstanceForType()
public ResourcePolicySnapshotSchedulePolicySchedule getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getHourlySchedule()
public ResourcePolicyHourlyCycle getHourlySchedule()
optional .google.cloud.compute.v1.ResourcePolicyHourlyCycle hourly_schedule = 38328485;
getHourlyScheduleBuilder()
public ResourcePolicyHourlyCycle.Builder getHourlyScheduleBuilder()
optional .google.cloud.compute.v1.ResourcePolicyHourlyCycle hourly_schedule = 38328485;
getHourlyScheduleOrBuilder()
public ResourcePolicyHourlyCycleOrBuilder getHourlyScheduleOrBuilder()
optional .google.cloud.compute.v1.ResourcePolicyHourlyCycle hourly_schedule = 38328485;
getWeeklySchedule()
public ResourcePolicyWeeklyCycle getWeeklySchedule()
optional .google.cloud.compute.v1.ResourcePolicyWeeklyCycle weekly_schedule = 359548053;
getWeeklyScheduleBuilder()
public ResourcePolicyWeeklyCycle.Builder getWeeklyScheduleBuilder()
optional .google.cloud.compute.v1.ResourcePolicyWeeklyCycle weekly_schedule = 359548053;
getWeeklyScheduleOrBuilder()
public ResourcePolicyWeeklyCycleOrBuilder getWeeklyScheduleOrBuilder()
optional .google.cloud.compute.v1.ResourcePolicyWeeklyCycle weekly_schedule = 359548053;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDailySchedule(ResourcePolicyDailyCycle value)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder mergeDailySchedule(ResourcePolicyDailyCycle value)
optional .google.cloud.compute.v1.ResourcePolicyDailyCycle daily_schedule = 86159869;
mergeFrom(ResourcePolicySnapshotSchedulePolicySchedule other)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder mergeFrom(ResourcePolicySnapshotSchedulePolicySchedule other)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeHourlySchedule(ResourcePolicyHourlyCycle value)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder mergeHourlySchedule(ResourcePolicyHourlyCycle value)
optional .google.cloud.compute.v1.ResourcePolicyHourlyCycle hourly_schedule = 38328485;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePolicySnapshotSchedulePolicySchedule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeWeeklySchedule(ResourcePolicyWeeklyCycle value)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder mergeWeeklySchedule(ResourcePolicyWeeklyCycle value)
optional .google.cloud.compute.v1.ResourcePolicyWeeklyCycle weekly_schedule = 359548053;
setDailySchedule(ResourcePolicyDailyCycle value)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder setDailySchedule(ResourcePolicyDailyCycle value)
optional .google.cloud.compute.v1.ResourcePolicyDailyCycle daily_schedule = 86159869;
setDailySchedule(ResourcePolicyDailyCycle.Builder builderForValue)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder setDailySchedule(ResourcePolicyDailyCycle.Builder builderForValue)
optional .google.cloud.compute.v1.ResourcePolicyDailyCycle daily_schedule = 86159869;
setField(Descriptors.FieldDescriptor field, Object value)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setHourlySchedule(ResourcePolicyHourlyCycle value)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder setHourlySchedule(ResourcePolicyHourlyCycle value)
optional .google.cloud.compute.v1.ResourcePolicyHourlyCycle hourly_schedule = 38328485;
setHourlySchedule(ResourcePolicyHourlyCycle.Builder builderForValue)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder setHourlySchedule(ResourcePolicyHourlyCycle.Builder builderForValue)
optional .google.cloud.compute.v1.ResourcePolicyHourlyCycle hourly_schedule = 38328485;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePolicySnapshotSchedulePolicySchedule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setWeeklySchedule(ResourcePolicyWeeklyCycle value)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder setWeeklySchedule(ResourcePolicyWeeklyCycle value)
optional .google.cloud.compute.v1.ResourcePolicyWeeklyCycle weekly_schedule = 359548053;
setWeeklySchedule(ResourcePolicyWeeklyCycle.Builder builderForValue)
public ResourcePolicySnapshotSchedulePolicySchedule.Builder setWeeklySchedule(ResourcePolicyWeeklyCycle.Builder builderForValue)
optional .google.cloud.compute.v1.ResourcePolicyWeeklyCycle weekly_schedule = 359548053;