public final class ResourcePolicyDailyCycle extends com.google.protobuf.GeneratedMessageV3 implements ResourcePolicyDailyCycleOrBuilder
Time window specified for daily operations.Protobuf type
google.cloud.compute.v1.ResourcePolicyDailyCycle| Modifier and Type | Class and Description |
|---|---|
static class |
ResourcePolicyDailyCycle.Builder
Time window specified for daily operations.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DAYS_IN_CYCLE_FIELD_NUMBER |
static int |
DURATION_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getDaysInCycle()
Defines a schedule with units measured in days.
|
static ResourcePolicyDailyCycle |
getDefaultInstance() |
ResourcePolicyDailyCycle |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDuration()
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
|
com.google.protobuf.ByteString |
getDurationBytes()
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
|
com.google.protobuf.Parser<ResourcePolicyDailyCycle> |
getParserForType() |
int |
getSerializedSize() |
String |
getStartTime()
Start time of the window.
|
com.google.protobuf.ByteString |
getStartTimeBytes()
Start time of the window.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDaysInCycle()
Defines a schedule with units measured in days.
|
boolean |
hasDuration()
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
|
int |
hashCode() |
boolean |
hasStartTime()
Start time of the window.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ResourcePolicyDailyCycle.Builder |
newBuilder() |
static ResourcePolicyDailyCycle.Builder |
newBuilder(ResourcePolicyDailyCycle prototype) |
ResourcePolicyDailyCycle.Builder |
newBuilderForType() |
protected ResourcePolicyDailyCycle.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ResourcePolicyDailyCycle |
parseDelimitedFrom(InputStream input) |
static ResourcePolicyDailyCycle |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourcePolicyDailyCycle |
parseFrom(byte[] data) |
static ResourcePolicyDailyCycle |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourcePolicyDailyCycle |
parseFrom(ByteBuffer data) |
static ResourcePolicyDailyCycle |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourcePolicyDailyCycle |
parseFrom(com.google.protobuf.ByteString data) |
static ResourcePolicyDailyCycle |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourcePolicyDailyCycle |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ResourcePolicyDailyCycle |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourcePolicyDailyCycle |
parseFrom(InputStream input) |
static ResourcePolicyDailyCycle |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ResourcePolicyDailyCycle> |
parser() |
ResourcePolicyDailyCycle.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int DAYS_IN_CYCLE_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasDaysInCycle()
Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
optional int32 days_in_cycle = 369790004;hasDaysInCycle in interface ResourcePolicyDailyCycleOrBuilderpublic int getDaysInCycle()
Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
optional int32 days_in_cycle = 369790004;getDaysInCycle in interface ResourcePolicyDailyCycleOrBuilderpublic boolean hasDuration()
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
optional string duration = 155471252;hasDuration in interface ResourcePolicyDailyCycleOrBuilderpublic String getDuration()
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
optional string duration = 155471252;getDuration in interface ResourcePolicyDailyCycleOrBuilderpublic com.google.protobuf.ByteString getDurationBytes()
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
optional string duration = 155471252;getDurationBytes in interface ResourcePolicyDailyCycleOrBuilderpublic boolean hasStartTime()
Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
optional string start_time = 37467274;hasStartTime in interface ResourcePolicyDailyCycleOrBuilderpublic String getStartTime()
Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
optional string start_time = 37467274;getStartTime in interface ResourcePolicyDailyCycleOrBuilderpublic com.google.protobuf.ByteString getStartTimeBytes()
Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
optional string start_time = 37467274;getStartTimeBytes in interface ResourcePolicyDailyCycleOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ResourcePolicyDailyCycle parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicyDailyCycle parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicyDailyCycle parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicyDailyCycle parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicyDailyCycle parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicyDailyCycle parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicyDailyCycle parseFrom(InputStream input) throws IOException
IOExceptionpublic static ResourcePolicyDailyCycle parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ResourcePolicyDailyCycle parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ResourcePolicyDailyCycle parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ResourcePolicyDailyCycle parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ResourcePolicyDailyCycle parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ResourcePolicyDailyCycle.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ResourcePolicyDailyCycle.Builder newBuilder()
public static ResourcePolicyDailyCycle.Builder newBuilder(ResourcePolicyDailyCycle prototype)
public ResourcePolicyDailyCycle.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ResourcePolicyDailyCycle.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ResourcePolicyDailyCycle getDefaultInstance()
public static com.google.protobuf.Parser<ResourcePolicyDailyCycle> parser()
public com.google.protobuf.Parser<ResourcePolicyDailyCycle> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ResourcePolicyDailyCycle getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.