public final class ResourcePolicyInstanceSchedulePolicy extends com.google.protobuf.GeneratedMessageV3 implements ResourcePolicyInstanceSchedulePolicyOrBuilder
An InstanceSchedulePolicy specifies when and how frequent certain operations are performed on the instance.Protobuf type
google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicy| Modifier and Type | Class and Description |
|---|---|
static class |
ResourcePolicyInstanceSchedulePolicy.Builder
An InstanceSchedulePolicy specifies when and how frequent certain operations are performed on the instance.
|
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 |
EXPIRATION_TIME_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
TIME_ZONE_FIELD_NUMBER |
static int |
VM_START_SCHEDULE_FIELD_NUMBER |
static int |
VM_STOP_SCHEDULE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ResourcePolicyInstanceSchedulePolicy |
getDefaultInstance() |
ResourcePolicyInstanceSchedulePolicy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getExpirationTime()
The expiration time of the schedule.
|
com.google.protobuf.ByteString |
getExpirationTimeBytes()
The expiration time of the schedule.
|
com.google.protobuf.Parser<ResourcePolicyInstanceSchedulePolicy> |
getParserForType() |
int |
getSerializedSize() |
String |
getStartTime()
The start time of the schedule.
|
com.google.protobuf.ByteString |
getStartTimeBytes()
The start time of the schedule.
|
String |
getTimeZone()
Specifies the time zone to be used in interpreting Schedule.schedule.
|
com.google.protobuf.ByteString |
getTimeZoneBytes()
Specifies the time zone to be used in interpreting Schedule.schedule.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
ResourcePolicyInstanceSchedulePolicySchedule |
getVmStartSchedule()
Specifies the schedule for starting instances.
|
ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder |
getVmStartScheduleOrBuilder()
Specifies the schedule for starting instances.
|
ResourcePolicyInstanceSchedulePolicySchedule |
getVmStopSchedule()
Specifies the schedule for stopping instances.
|
ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder |
getVmStopScheduleOrBuilder()
Specifies the schedule for stopping instances.
|
boolean |
hasExpirationTime()
The expiration time of the schedule.
|
int |
hashCode() |
boolean |
hasStartTime()
The start time of the schedule.
|
boolean |
hasTimeZone()
Specifies the time zone to be used in interpreting Schedule.schedule.
|
boolean |
hasVmStartSchedule()
Specifies the schedule for starting instances.
|
boolean |
hasVmStopSchedule()
Specifies the schedule for stopping instances.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ResourcePolicyInstanceSchedulePolicy.Builder |
newBuilder() |
static ResourcePolicyInstanceSchedulePolicy.Builder |
newBuilder(ResourcePolicyInstanceSchedulePolicy prototype) |
ResourcePolicyInstanceSchedulePolicy.Builder |
newBuilderForType() |
protected ResourcePolicyInstanceSchedulePolicy.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ResourcePolicyInstanceSchedulePolicy |
parseDelimitedFrom(InputStream input) |
static ResourcePolicyInstanceSchedulePolicy |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourcePolicyInstanceSchedulePolicy |
parseFrom(byte[] data) |
static ResourcePolicyInstanceSchedulePolicy |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourcePolicyInstanceSchedulePolicy |
parseFrom(ByteBuffer data) |
static ResourcePolicyInstanceSchedulePolicy |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourcePolicyInstanceSchedulePolicy |
parseFrom(com.google.protobuf.ByteString data) |
static ResourcePolicyInstanceSchedulePolicy |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourcePolicyInstanceSchedulePolicy |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ResourcePolicyInstanceSchedulePolicy |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourcePolicyInstanceSchedulePolicy |
parseFrom(InputStream input) |
static ResourcePolicyInstanceSchedulePolicy |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ResourcePolicyInstanceSchedulePolicy> |
parser() |
ResourcePolicyInstanceSchedulePolicy.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 EXPIRATION_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
public static final int TIME_ZONE_FIELD_NUMBER
public static final int VM_START_SCHEDULE_FIELD_NUMBER
public static final int VM_STOP_SCHEDULE_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 hasExpirationTime()
The expiration time of the schedule. The timestamp is an RFC3339 string.
optional string expiration_time = 230299229;hasExpirationTime in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic String getExpirationTime()
The expiration time of the schedule. The timestamp is an RFC3339 string.
optional string expiration_time = 230299229;getExpirationTime in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic com.google.protobuf.ByteString getExpirationTimeBytes()
The expiration time of the schedule. The timestamp is an RFC3339 string.
optional string expiration_time = 230299229;getExpirationTimeBytes in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic boolean hasStartTime()
The start time of the schedule. The timestamp is an RFC3339 string.
optional string start_time = 37467274;hasStartTime in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic String getStartTime()
The start time of the schedule. The timestamp is an RFC3339 string.
optional string start_time = 37467274;getStartTime in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic com.google.protobuf.ByteString getStartTimeBytes()
The start time of the schedule. The timestamp is an RFC3339 string.
optional string start_time = 37467274;getStartTimeBytes in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic boolean hasTimeZone()
Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database.
optional string time_zone = 36848094;hasTimeZone in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic String getTimeZone()
Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database.
optional string time_zone = 36848094;getTimeZone in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic com.google.protobuf.ByteString getTimeZoneBytes()
Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database.
optional string time_zone = 36848094;getTimeZoneBytes in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic boolean hasVmStartSchedule()
Specifies the schedule for starting instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
hasVmStartSchedule in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic ResourcePolicyInstanceSchedulePolicySchedule getVmStartSchedule()
Specifies the schedule for starting instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
getVmStartSchedule in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder getVmStartScheduleOrBuilder()
Specifies the schedule for starting instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
getVmStartScheduleOrBuilder in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic boolean hasVmStopSchedule()
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
hasVmStopSchedule in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic ResourcePolicyInstanceSchedulePolicySchedule getVmStopSchedule()
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
getVmStopSchedule in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder getVmStopScheduleOrBuilder()
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
getVmStopScheduleOrBuilder in interface ResourcePolicyInstanceSchedulePolicyOrBuilderpublic 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 ResourcePolicyInstanceSchedulePolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicyInstanceSchedulePolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicyInstanceSchedulePolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicyInstanceSchedulePolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicyInstanceSchedulePolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicyInstanceSchedulePolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicyInstanceSchedulePolicy parseFrom(InputStream input) throws IOException
IOExceptionpublic static ResourcePolicyInstanceSchedulePolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ResourcePolicyInstanceSchedulePolicy parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ResourcePolicyInstanceSchedulePolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ResourcePolicyInstanceSchedulePolicy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ResourcePolicyInstanceSchedulePolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ResourcePolicyInstanceSchedulePolicy.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ResourcePolicyInstanceSchedulePolicy.Builder newBuilder()
public static ResourcePolicyInstanceSchedulePolicy.Builder newBuilder(ResourcePolicyInstanceSchedulePolicy prototype)
public ResourcePolicyInstanceSchedulePolicy.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ResourcePolicyInstanceSchedulePolicy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ResourcePolicyInstanceSchedulePolicy getDefaultInstance()
public static com.google.protobuf.Parser<ResourcePolicyInstanceSchedulePolicy> parser()
public com.google.protobuf.Parser<ResourcePolicyInstanceSchedulePolicy> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ResourcePolicyInstanceSchedulePolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.