public static final class ResourcePolicyWeeklyCycle.Builder extends GeneratedMessageV3.Builder<ResourcePolicyWeeklyCycle.Builder> implements ResourcePolicyWeeklyCycleOrBuilder
Time window specified for weekly operations.
Protobuf type google.cloud.compute.v1.ResourcePolicyWeeklyCycle
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()
Returns
Methods
addAllDayOfWeeks(Iterable<? extends ResourcePolicyWeeklyCycleDayOfWeek> values)
public ResourcePolicyWeeklyCycle.Builder addAllDayOfWeeks(Iterable<? extends ResourcePolicyWeeklyCycleDayOfWeek> values)
Up to 7 intervals/windows, one for each day of the week.
repeated .google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek day_of_weeks = 257871834;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek>
|
Returns
addDayOfWeeks(ResourcePolicyWeeklyCycleDayOfWeek value)
public ResourcePolicyWeeklyCycle.Builder addDayOfWeeks(ResourcePolicyWeeklyCycleDayOfWeek value)
Up to 7 intervals/windows, one for each day of the week.
repeated .google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek day_of_weeks = 257871834;
Parameter
Returns
addDayOfWeeks(ResourcePolicyWeeklyCycleDayOfWeek.Builder builderForValue)
public ResourcePolicyWeeklyCycle.Builder addDayOfWeeks(ResourcePolicyWeeklyCycleDayOfWeek.Builder builderForValue)
Up to 7 intervals/windows, one for each day of the week.
repeated .google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek day_of_weeks = 257871834;
Parameter
Returns
addDayOfWeeks(int index, ResourcePolicyWeeklyCycleDayOfWeek value)
public ResourcePolicyWeeklyCycle.Builder addDayOfWeeks(int index, ResourcePolicyWeeklyCycleDayOfWeek value)
Up to 7 intervals/windows, one for each day of the week.
repeated .google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek day_of_weeks = 257871834;
Parameters
Returns
addDayOfWeeks(int index, ResourcePolicyWeeklyCycleDayOfWeek.Builder builderForValue)
public ResourcePolicyWeeklyCycle.Builder addDayOfWeeks(int index, ResourcePolicyWeeklyCycleDayOfWeek.Builder builderForValue)
Up to 7 intervals/windows, one for each day of the week.
repeated .google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek day_of_weeks = 257871834;
Parameters
Returns
addDayOfWeeksBuilder()
public ResourcePolicyWeeklyCycleDayOfWeek.Builder addDayOfWeeksBuilder()
Up to 7 intervals/windows, one for each day of the week.
repeated .google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek day_of_weeks = 257871834;
Returns
addDayOfWeeksBuilder(int index)
public ResourcePolicyWeeklyCycleDayOfWeek.Builder addDayOfWeeksBuilder(int index)
Up to 7 intervals/windows, one for each day of the week.
repeated .google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek day_of_weeks = 257871834;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourcePolicyWeeklyCycle.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ResourcePolicyWeeklyCycle build()
Returns
buildPartial()
public ResourcePolicyWeeklyCycle buildPartial()
Returns
clear()
public ResourcePolicyWeeklyCycle.Builder clear()
Returns
Overrides
clearDayOfWeeks()
public ResourcePolicyWeeklyCycle.Builder clearDayOfWeeks()
Up to 7 intervals/windows, one for each day of the week.
repeated .google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek day_of_weeks = 257871834;
Returns
clearField(Descriptors.FieldDescriptor field)
public ResourcePolicyWeeklyCycle.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourcePolicyWeeklyCycle.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ResourcePolicyWeeklyCycle.Builder clone()
Returns
Overrides
getDayOfWeeks(int index)
public ResourcePolicyWeeklyCycleDayOfWeek getDayOfWeeks(int index)
Up to 7 intervals/windows, one for each day of the week.
repeated .google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek day_of_weeks = 257871834;
Parameter
Returns
getDayOfWeeksBuilder(int index)
public ResourcePolicyWeeklyCycleDayOfWeek.Builder getDayOfWeeksBuilder(int index)
Up to 7 intervals/windows, one for each day of the week.
repeated .google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek day_of_weeks = 257871834;
Parameter
Returns
getDayOfWeeksBuilderList()
public List<ResourcePolicyWeeklyCycleDayOfWeek.Builder> getDayOfWeeksBuilderList()
Up to 7 intervals/windows, one for each day of the week.
repeated .google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek day_of_weeks = 257871834;
Returns
getDayOfWeeksCount()
public int getDayOfWeeksCount()
Up to 7 intervals/windows, one for each day of the week.
repeated .google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek day_of_weeks = 257871834;
Returns
getDayOfWeeksList()
public List<ResourcePolicyWeeklyCycleDayOfWeek> getDayOfWeeksList()
Up to 7 intervals/windows, one for each day of the week.
repeated .google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek day_of_weeks = 257871834;
Returns
getDayOfWeeksOrBuilder(int index)
public ResourcePolicyWeeklyCycleDayOfWeekOrBuilder getDayOfWeeksOrBuilder(int index)
Up to 7 intervals/windows, one for each day of the week.
repeated .google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek day_of_weeks = 257871834;
Parameter
Returns
getDayOfWeeksOrBuilderList()
public List<? extends ResourcePolicyWeeklyCycleDayOfWeekOrBuilder> getDayOfWeeksOrBuilderList()
Up to 7 intervals/windows, one for each day of the week.
repeated .google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek day_of_weeks = 257871834;
Returns
Type | Description |
List<? extends com.google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeekOrBuilder> | |
getDefaultInstanceForType()
public ResourcePolicyWeeklyCycle getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ResourcePolicyWeeklyCycle other)
public ResourcePolicyWeeklyCycle.Builder mergeFrom(ResourcePolicyWeeklyCycle other)
Parameter
Returns
public ResourcePolicyWeeklyCycle.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ResourcePolicyWeeklyCycle.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePolicyWeeklyCycle.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeDayOfWeeks(int index)
public ResourcePolicyWeeklyCycle.Builder removeDayOfWeeks(int index)
Up to 7 intervals/windows, one for each day of the week.
repeated .google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek day_of_weeks = 257871834;
Parameter
Returns
setDayOfWeeks(int index, ResourcePolicyWeeklyCycleDayOfWeek value)
public ResourcePolicyWeeklyCycle.Builder setDayOfWeeks(int index, ResourcePolicyWeeklyCycleDayOfWeek value)
Up to 7 intervals/windows, one for each day of the week.
repeated .google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek day_of_weeks = 257871834;
Parameters
Returns
setDayOfWeeks(int index, ResourcePolicyWeeklyCycleDayOfWeek.Builder builderForValue)
public ResourcePolicyWeeklyCycle.Builder setDayOfWeeks(int index, ResourcePolicyWeeklyCycleDayOfWeek.Builder builderForValue)
Up to 7 intervals/windows, one for each day of the week.
repeated .google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek day_of_weeks = 257871834;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ResourcePolicyWeeklyCycle.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourcePolicyWeeklyCycle.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePolicyWeeklyCycle.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides