Package com.google.cloud.compute.v1
Interface ResourcePolicyInstanceSchedulePolicyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourcePolicyInstanceSchedulePolicy,ResourcePolicyInstanceSchedulePolicy.Builder
public interface ResourcePolicyInstanceSchedulePolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetExpirationTime()The expiration time of the schedule.com.google.protobuf.ByteStringgetExpirationTimeBytes()The expiration time of the schedule.StringgetStartTime()The start time of the schedule.com.google.protobuf.ByteStringgetStartTimeBytes()The start time of the schedule.StringgetTimeZone()Specifies the time zone to be used in interpreting Schedule.schedule.com.google.protobuf.ByteStringgetTimeZoneBytes()Specifies the time zone to be used in interpreting Schedule.schedule.ResourcePolicyInstanceSchedulePolicySchedulegetVmStartSchedule()Specifies the schedule for starting instances.ResourcePolicyInstanceSchedulePolicyScheduleOrBuildergetVmStartScheduleOrBuilder()Specifies the schedule for starting instances.ResourcePolicyInstanceSchedulePolicySchedulegetVmStopSchedule()Specifies the schedule for stopping instances.ResourcePolicyInstanceSchedulePolicyScheduleOrBuildergetVmStopScheduleOrBuilder()Specifies the schedule for stopping instances.booleanhasExpirationTime()The expiration time of the schedule.booleanhasStartTime()The start time of the schedule.booleanhasTimeZone()Specifies the time zone to be used in interpreting Schedule.schedule.booleanhasVmStartSchedule()Specifies the schedule for starting instances.booleanhasVmStopSchedule()Specifies the schedule for stopping instances.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasExpirationTime
boolean hasExpirationTime()
The expiration time of the schedule. The timestamp is an RFC3339 string.
optional string expiration_time = 230299229;- Returns:
- Whether the expirationTime field is set.
-
getExpirationTime
String getExpirationTime()
The expiration time of the schedule. The timestamp is an RFC3339 string.
optional string expiration_time = 230299229;- Returns:
- The expirationTime.
-
getExpirationTimeBytes
com.google.protobuf.ByteString getExpirationTimeBytes()
The expiration time of the schedule. The timestamp is an RFC3339 string.
optional string expiration_time = 230299229;- Returns:
- The bytes for expirationTime.
-
hasStartTime
boolean hasStartTime()
The start time of the schedule. The timestamp is an RFC3339 string.
optional string start_time = 37467274;- Returns:
- Whether the startTime field is set.
-
getStartTime
String getStartTime()
The start time of the schedule. The timestamp is an RFC3339 string.
optional string start_time = 37467274;- Returns:
- The startTime.
-
getStartTimeBytes
com.google.protobuf.ByteString getStartTimeBytes()
The start time of the schedule. The timestamp is an RFC3339 string.
optional string start_time = 37467274;- Returns:
- The bytes for startTime.
-
hasTimeZone
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;- Returns:
- Whether the timeZone field is set.
-
getTimeZone
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;- Returns:
- The timeZone.
-
getTimeZoneBytes
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;- Returns:
- The bytes for timeZone.
-
hasVmStartSchedule
boolean hasVmStartSchedule()
Specifies the schedule for starting instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;- Returns:
- Whether the vmStartSchedule field is set.
-
getVmStartSchedule
ResourcePolicyInstanceSchedulePolicySchedule getVmStartSchedule()
Specifies the schedule for starting instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;- Returns:
- The vmStartSchedule.
-
getVmStartScheduleOrBuilder
ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder getVmStartScheduleOrBuilder()
Specifies the schedule for starting instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
-
hasVmStopSchedule
boolean hasVmStopSchedule()
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;- Returns:
- Whether the vmStopSchedule field is set.
-
getVmStopSchedule
ResourcePolicyInstanceSchedulePolicySchedule getVmStopSchedule()
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;- Returns:
- The vmStopSchedule.
-
getVmStopScheduleOrBuilder
ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder getVmStopScheduleOrBuilder()
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
-
-