Package com.google.cloud.compute.v1
Class ResourcePolicyInstanceSchedulePolicy
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicy
-
- All Implemented Interfaces:
ResourcePolicyInstanceSchedulePolicyOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
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 typegoogle.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicy
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResourcePolicyInstanceSchedulePolicy.Builder
An InstanceSchedulePolicy specifies when and how frequent certain operations are performed on the instance.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.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(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 ResourcePolicyInstanceSchedulePolicy
parseFrom(ByteBuffer data)
static ResourcePolicyInstanceSchedulePolicy
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ResourcePolicyInstanceSchedulePolicy>
parser()
ResourcePolicyInstanceSchedulePolicy.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
EXPIRATION_TIME_FIELD_NUMBER
public static final int EXPIRATION_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIME_ZONE_FIELD_NUMBER
public static final int TIME_ZONE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VM_START_SCHEDULE_FIELD_NUMBER
public static final int VM_START_SCHEDULE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VM_STOP_SCHEDULE_FIELD_NUMBER
public static final int VM_STOP_SCHEDULE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasExpirationTime
public boolean hasExpirationTime()
The expiration time of the schedule. The timestamp is an RFC3339 string.
optional string expiration_time = 230299229;
- Specified by:
hasExpirationTime
in interfaceResourcePolicyInstanceSchedulePolicyOrBuilder
- Returns:
- Whether the expirationTime field is set.
-
getExpirationTime
public String getExpirationTime()
The expiration time of the schedule. The timestamp is an RFC3339 string.
optional string expiration_time = 230299229;
- Specified by:
getExpirationTime
in interfaceResourcePolicyInstanceSchedulePolicyOrBuilder
- Returns:
- The expirationTime.
-
getExpirationTimeBytes
public com.google.protobuf.ByteString getExpirationTimeBytes()
The expiration time of the schedule. The timestamp is an RFC3339 string.
optional string expiration_time = 230299229;
- Specified by:
getExpirationTimeBytes
in interfaceResourcePolicyInstanceSchedulePolicyOrBuilder
- Returns:
- The bytes for expirationTime.
-
hasStartTime
public boolean hasStartTime()
The start time of the schedule. The timestamp is an RFC3339 string.
optional string start_time = 37467274;
- Specified by:
hasStartTime
in interfaceResourcePolicyInstanceSchedulePolicyOrBuilder
- Returns:
- Whether the startTime field is set.
-
getStartTime
public String getStartTime()
The start time of the schedule. The timestamp is an RFC3339 string.
optional string start_time = 37467274;
- Specified by:
getStartTime
in interfaceResourcePolicyInstanceSchedulePolicyOrBuilder
- Returns:
- The startTime.
-
getStartTimeBytes
public com.google.protobuf.ByteString getStartTimeBytes()
The start time of the schedule. The timestamp is an RFC3339 string.
optional string start_time = 37467274;
- Specified by:
getStartTimeBytes
in interfaceResourcePolicyInstanceSchedulePolicyOrBuilder
- Returns:
- The bytes for startTime.
-
hasTimeZone
public 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: https://wikipedia.org/wiki/Tz_database.
optional string time_zone = 36848094;
- Specified by:
hasTimeZone
in interfaceResourcePolicyInstanceSchedulePolicyOrBuilder
- Returns:
- Whether the timeZone field is set.
-
getTimeZone
public 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: https://wikipedia.org/wiki/Tz_database.
optional string time_zone = 36848094;
- Specified by:
getTimeZone
in interfaceResourcePolicyInstanceSchedulePolicyOrBuilder
- Returns:
- The timeZone.
-
getTimeZoneBytes
public 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: https://wikipedia.org/wiki/Tz_database.
optional string time_zone = 36848094;
- Specified by:
getTimeZoneBytes
in interfaceResourcePolicyInstanceSchedulePolicyOrBuilder
- Returns:
- The bytes for timeZone.
-
hasVmStartSchedule
public boolean hasVmStartSchedule()
Specifies the schedule for starting instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
- Specified by:
hasVmStartSchedule
in interfaceResourcePolicyInstanceSchedulePolicyOrBuilder
- Returns:
- Whether the vmStartSchedule field is set.
-
getVmStartSchedule
public ResourcePolicyInstanceSchedulePolicySchedule getVmStartSchedule()
Specifies the schedule for starting instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
- Specified by:
getVmStartSchedule
in interfaceResourcePolicyInstanceSchedulePolicyOrBuilder
- Returns:
- The vmStartSchedule.
-
getVmStartScheduleOrBuilder
public ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder getVmStartScheduleOrBuilder()
Specifies the schedule for starting instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
- Specified by:
getVmStartScheduleOrBuilder
in interfaceResourcePolicyInstanceSchedulePolicyOrBuilder
-
hasVmStopSchedule
public boolean hasVmStopSchedule()
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
- Specified by:
hasVmStopSchedule
in interfaceResourcePolicyInstanceSchedulePolicyOrBuilder
- Returns:
- Whether the vmStopSchedule field is set.
-
getVmStopSchedule
public ResourcePolicyInstanceSchedulePolicySchedule getVmStopSchedule()
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
- Specified by:
getVmStopSchedule
in interfaceResourcePolicyInstanceSchedulePolicyOrBuilder
- Returns:
- The vmStopSchedule.
-
getVmStopScheduleOrBuilder
public ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder getVmStopScheduleOrBuilder()
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
- Specified by:
getVmStopScheduleOrBuilder
in interfaceResourcePolicyInstanceSchedulePolicyOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ResourcePolicyInstanceSchedulePolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResourcePolicyInstanceSchedulePolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResourcePolicyInstanceSchedulePolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResourcePolicyInstanceSchedulePolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResourcePolicyInstanceSchedulePolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResourcePolicyInstanceSchedulePolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResourcePolicyInstanceSchedulePolicy parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ResourcePolicyInstanceSchedulePolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ResourcePolicyInstanceSchedulePolicy parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ResourcePolicyInstanceSchedulePolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ResourcePolicyInstanceSchedulePolicy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ResourcePolicyInstanceSchedulePolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ResourcePolicyInstanceSchedulePolicy.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ResourcePolicyInstanceSchedulePolicy.Builder newBuilder()
-
newBuilder
public static ResourcePolicyInstanceSchedulePolicy.Builder newBuilder(ResourcePolicyInstanceSchedulePolicy prototype)
-
toBuilder
public ResourcePolicyInstanceSchedulePolicy.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ResourcePolicyInstanceSchedulePolicy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ResourcePolicyInstanceSchedulePolicy getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ResourcePolicyInstanceSchedulePolicy> parser()
-
getParserForType
public com.google.protobuf.Parser<ResourcePolicyInstanceSchedulePolicy> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ResourcePolicyInstanceSchedulePolicy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-