public final class ResourcePolicyWeeklyCycle extends GeneratedMessageV3 implements ResourcePolicyWeeklyCycleOrBuilder
Time window specified for weekly operations.
Protobuf type google.cloud.compute.v1.ResourcePolicyWeeklyCycle
Static Fields
DAY_OF_WEEKS_FIELD_NUMBER
public static final int DAY_OF_WEEKS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ResourcePolicyWeeklyCycle getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ResourcePolicyWeeklyCycle.Builder newBuilder()
Returns
newBuilder(ResourcePolicyWeeklyCycle prototype)
public static ResourcePolicyWeeklyCycle.Builder newBuilder(ResourcePolicyWeeklyCycle prototype)
Parameter
Returns
public static ResourcePolicyWeeklyCycle parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ResourcePolicyWeeklyCycle parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ResourcePolicyWeeklyCycle parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ResourcePolicyWeeklyCycle parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ResourcePolicyWeeklyCycle parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResourcePolicyWeeklyCycle parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ResourcePolicyWeeklyCycle parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ResourcePolicyWeeklyCycle parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ResourcePolicyWeeklyCycle parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ResourcePolicyWeeklyCycle parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ResourcePolicyWeeklyCycle parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ResourcePolicyWeeklyCycle parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ResourcePolicyWeeklyCycle> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
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
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
getParserForType()
public Parser<ResourcePolicyWeeklyCycle> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ResourcePolicyWeeklyCycle.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ResourcePolicyWeeklyCycle.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ResourcePolicyWeeklyCycle.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions