Interface ResourcePolicyInstanceSchedulePolicyOrBuilder (1.24.0)

public interface ResourcePolicyInstanceSchedulePolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExpirationTime()

public abstract String getExpirationTime()

The expiration time of the schedule. The timestamp is an RFC3339 string.

optional string expiration_time = 230299229;

Returns
TypeDescription
String

The expirationTime.

getExpirationTimeBytes()

public abstract ByteString getExpirationTimeBytes()

The expiration time of the schedule. The timestamp is an RFC3339 string.

optional string expiration_time = 230299229;

Returns
TypeDescription
ByteString

The bytes for expirationTime.

getStartTime()

public abstract String getStartTime()

The start time of the schedule. The timestamp is an RFC3339 string.

optional string start_time = 37467274;

Returns
TypeDescription
String

The startTime.

getStartTimeBytes()

public abstract ByteString getStartTimeBytes()

The start time of the schedule. The timestamp is an RFC3339 string.

optional string start_time = 37467274;

Returns
TypeDescription
ByteString

The bytes for startTime.

getTimeZone()

public abstract 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
TypeDescription
String

The timeZone.

getTimeZoneBytes()

public abstract 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
TypeDescription
ByteString

The bytes for timeZone.

getVmStartSchedule()

public abstract ResourcePolicyInstanceSchedulePolicySchedule getVmStartSchedule()

Specifies the schedule for starting instances.

optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;

Returns
TypeDescription
ResourcePolicyInstanceSchedulePolicySchedule

The vmStartSchedule.

getVmStartScheduleOrBuilder()

public abstract ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder getVmStartScheduleOrBuilder()

Specifies the schedule for starting instances.

optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;

Returns
TypeDescription
ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder

getVmStopSchedule()

public abstract ResourcePolicyInstanceSchedulePolicySchedule getVmStopSchedule()

Specifies the schedule for stopping instances.

optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;

Returns
TypeDescription
ResourcePolicyInstanceSchedulePolicySchedule

The vmStopSchedule.

getVmStopScheduleOrBuilder()

public abstract ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder getVmStopScheduleOrBuilder()

Specifies the schedule for stopping instances.

optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;

Returns
TypeDescription
ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder

hasExpirationTime()

public abstract boolean hasExpirationTime()

The expiration time of the schedule. The timestamp is an RFC3339 string.

optional string expiration_time = 230299229;

Returns
TypeDescription
boolean

Whether the expirationTime field is set.

hasStartTime()

public abstract boolean hasStartTime()

The start time of the schedule. The timestamp is an RFC3339 string.

optional string start_time = 37467274;

Returns
TypeDescription
boolean

Whether the startTime field is set.

hasTimeZone()

public abstract 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
TypeDescription
boolean

Whether the timeZone field is set.

hasVmStartSchedule()

public abstract boolean hasVmStartSchedule()

Specifies the schedule for starting instances.

optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;

Returns
TypeDescription
boolean

Whether the vmStartSchedule field is set.

hasVmStopSchedule()

public abstract boolean hasVmStopSchedule()

Specifies the schedule for stopping instances.

optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;

Returns
TypeDescription
boolean

Whether the vmStopSchedule field is set.