public final class ResourcePolicyHourlyCycle extends com.google.protobuf.GeneratedMessageV3 implements ResourcePolicyHourlyCycleOrBuilder
Time window specified for hourly operations.Protobuf type
google.cloud.compute.v1.ResourcePolicyHourlyCycle| Modifier and Type | Class and Description |
|---|---|
static class |
ResourcePolicyHourlyCycle.Builder
Time window specified for hourly 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 |
DURATION_FIELD_NUMBER |
static int |
HOURS_IN_CYCLE_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ResourcePolicyHourlyCycle |
getDefaultInstance() |
ResourcePolicyHourlyCycle |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDuration()
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
|
com.google.protobuf.ByteString |
getDurationBytes()
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
|
int |
getHoursInCycle()
Defines a schedule with units measured in hours.
|
com.google.protobuf.Parser<ResourcePolicyHourlyCycle> |
getParserForType() |
int |
getSerializedSize() |
String |
getStartTime()
Time within the window to start the operations.
|
com.google.protobuf.ByteString |
getStartTimeBytes()
Time within the window to start the operations.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDuration()
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
|
int |
hashCode() |
boolean |
hasHoursInCycle()
Defines a schedule with units measured in hours.
|
boolean |
hasStartTime()
Time within the window to start the operations.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ResourcePolicyHourlyCycle.Builder |
newBuilder() |
static ResourcePolicyHourlyCycle.Builder |
newBuilder(ResourcePolicyHourlyCycle prototype) |
ResourcePolicyHourlyCycle.Builder |
newBuilderForType() |
protected ResourcePolicyHourlyCycle.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ResourcePolicyHourlyCycle |
parseDelimitedFrom(InputStream input) |
static ResourcePolicyHourlyCycle |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourcePolicyHourlyCycle |
parseFrom(byte[] data) |
static ResourcePolicyHourlyCycle |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourcePolicyHourlyCycle |
parseFrom(ByteBuffer data) |
static ResourcePolicyHourlyCycle |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourcePolicyHourlyCycle |
parseFrom(com.google.protobuf.ByteString data) |
static ResourcePolicyHourlyCycle |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourcePolicyHourlyCycle |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ResourcePolicyHourlyCycle |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourcePolicyHourlyCycle |
parseFrom(InputStream input) |
static ResourcePolicyHourlyCycle |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ResourcePolicyHourlyCycle> |
parser() |
ResourcePolicyHourlyCycle.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 DURATION_FIELD_NUMBER
public static final int HOURS_IN_CYCLE_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 hasDuration()
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
optional string duration = 155471252;hasDuration in interface ResourcePolicyHourlyCycleOrBuilderpublic String getDuration()
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
optional string duration = 155471252;getDuration in interface ResourcePolicyHourlyCycleOrBuilderpublic com.google.protobuf.ByteString getDurationBytes()
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
optional string duration = 155471252;getDurationBytes in interface ResourcePolicyHourlyCycleOrBuilderpublic boolean hasHoursInCycle()
Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
optional int32 hours_in_cycle = 526763132;hasHoursInCycle in interface ResourcePolicyHourlyCycleOrBuilderpublic int getHoursInCycle()
Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
optional int32 hours_in_cycle = 526763132;getHoursInCycle in interface ResourcePolicyHourlyCycleOrBuilderpublic boolean hasStartTime()
Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
optional string start_time = 37467274;hasStartTime in interface ResourcePolicyHourlyCycleOrBuilderpublic String getStartTime()
Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
optional string start_time = 37467274;getStartTime in interface ResourcePolicyHourlyCycleOrBuilderpublic com.google.protobuf.ByteString getStartTimeBytes()
Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
optional string start_time = 37467274;getStartTimeBytes in interface ResourcePolicyHourlyCycleOrBuilderpublic 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 ResourcePolicyHourlyCycle parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicyHourlyCycle parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicyHourlyCycle parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicyHourlyCycle parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicyHourlyCycle parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicyHourlyCycle parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicyHourlyCycle parseFrom(InputStream input) throws IOException
IOExceptionpublic static ResourcePolicyHourlyCycle parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ResourcePolicyHourlyCycle parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ResourcePolicyHourlyCycle parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ResourcePolicyHourlyCycle parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ResourcePolicyHourlyCycle parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ResourcePolicyHourlyCycle.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ResourcePolicyHourlyCycle.Builder newBuilder()
public static ResourcePolicyHourlyCycle.Builder newBuilder(ResourcePolicyHourlyCycle prototype)
public ResourcePolicyHourlyCycle.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ResourcePolicyHourlyCycle.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ResourcePolicyHourlyCycle getDefaultInstance()
public static com.google.protobuf.Parser<ResourcePolicyHourlyCycle> parser()
public com.google.protobuf.Parser<ResourcePolicyHourlyCycle> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ResourcePolicyHourlyCycle getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.