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.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
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>
|
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;
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;
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;
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;
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;
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 |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourcePolicyWeeklyCycle.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ResourcePolicyWeeklyCycle build()
buildPartial()
public ResourcePolicyWeeklyCycle buildPartial()
clear()
public ResourcePolicyWeeklyCycle.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public ResourcePolicyWeeklyCycle.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourcePolicyWeeklyCycle.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ResourcePolicyWeeklyCycle.Builder clone()
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 |
Name |
Description |
index |
int
|
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 |
Name |
Description |
index |
int
|
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;
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 |
Type |
Description |
int |
|
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;
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 |
Name |
Description |
index |
int
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ResourcePolicyWeeklyCycle other)
public ResourcePolicyWeeklyCycle.Builder mergeFrom(ResourcePolicyWeeklyCycle other)
public ResourcePolicyWeeklyCycle.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ResourcePolicyWeeklyCycle.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePolicyWeeklyCycle.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
Name |
Description |
index |
int
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ResourcePolicyWeeklyCycle.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourcePolicyWeeklyCycle.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePolicyWeeklyCycle.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides