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