- 1.65.0 (latest)
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class ResourcePolicyInstanceSchedulePolicy.Builder extends GeneratedMessageV3.Builder<ResourcePolicyInstanceSchedulePolicy.Builder> implements ResourcePolicyInstanceSchedulePolicyOrBuilder
An InstanceSchedulePolicy specifies when and how frequent certain operations are performed on the instance.
Protobuf type google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicy
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ResourcePolicyInstanceSchedulePolicy.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourcePolicyInstanceSchedulePolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
build()
public ResourcePolicyInstanceSchedulePolicy build()
Type | Description |
ResourcePolicyInstanceSchedulePolicy |
buildPartial()
public ResourcePolicyInstanceSchedulePolicy buildPartial()
Type | Description |
ResourcePolicyInstanceSchedulePolicy |
clear()
public ResourcePolicyInstanceSchedulePolicy.Builder clear()
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
clearExpirationTime()
public ResourcePolicyInstanceSchedulePolicy.Builder clearExpirationTime()
The expiration time of the schedule. The timestamp is an RFC3339 string.
optional string expiration_time = 230299229;
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ResourcePolicyInstanceSchedulePolicy.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourcePolicyInstanceSchedulePolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
clearStartTime()
public ResourcePolicyInstanceSchedulePolicy.Builder clearStartTime()
The start time of the schedule. The timestamp is an RFC3339 string.
optional string start_time = 37467274;
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder | This builder for chaining. |
clearTimeZone()
public ResourcePolicyInstanceSchedulePolicy.Builder clearTimeZone()
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;
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder | This builder for chaining. |
clearVmStartSchedule()
public ResourcePolicyInstanceSchedulePolicy.Builder clearVmStartSchedule()
Specifies the schedule for starting instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
clearVmStopSchedule()
public ResourcePolicyInstanceSchedulePolicy.Builder clearVmStopSchedule()
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
clone()
public ResourcePolicyInstanceSchedulePolicy.Builder clone()
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
getDefaultInstanceForType()
public ResourcePolicyInstanceSchedulePolicy getDefaultInstanceForType()
Type | Description |
ResourcePolicyInstanceSchedulePolicy |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getExpirationTime()
public String getExpirationTime()
The expiration time of the schedule. The timestamp is an RFC3339 string.
optional string expiration_time = 230299229;
Type | Description |
String | The expirationTime. |
getExpirationTimeBytes()
public ByteString getExpirationTimeBytes()
The expiration time of the schedule. The timestamp is an RFC3339 string.
optional string expiration_time = 230299229;
Type | Description |
ByteString | The bytes for expirationTime. |
getStartTime()
public String getStartTime()
The start time of the schedule. The timestamp is an RFC3339 string.
optional string start_time = 37467274;
Type | Description |
String | The startTime. |
getStartTimeBytes()
public ByteString getStartTimeBytes()
The start time of the schedule. The timestamp is an RFC3339 string.
optional string start_time = 37467274;
Type | Description |
ByteString | The bytes for startTime. |
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: http://en.wikipedia.org/wiki/Tz_database.
optional string time_zone = 36848094;
Type | Description |
String | The timeZone. |
getTimeZoneBytes()
public 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;
Type | Description |
ByteString | The bytes for timeZone. |
getVmStartSchedule()
public ResourcePolicyInstanceSchedulePolicySchedule getVmStartSchedule()
Specifies the schedule for starting instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
Type | Description |
ResourcePolicyInstanceSchedulePolicySchedule | The vmStartSchedule. |
getVmStartScheduleBuilder()
public ResourcePolicyInstanceSchedulePolicySchedule.Builder getVmStartScheduleBuilder()
Specifies the schedule for starting instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
Type | Description |
ResourcePolicyInstanceSchedulePolicySchedule.Builder |
getVmStartScheduleOrBuilder()
public ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder getVmStartScheduleOrBuilder()
Specifies the schedule for starting instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
Type | Description |
ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder |
getVmStopSchedule()
public ResourcePolicyInstanceSchedulePolicySchedule getVmStopSchedule()
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
Type | Description |
ResourcePolicyInstanceSchedulePolicySchedule | The vmStopSchedule. |
getVmStopScheduleBuilder()
public ResourcePolicyInstanceSchedulePolicySchedule.Builder getVmStopScheduleBuilder()
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
Type | Description |
ResourcePolicyInstanceSchedulePolicySchedule.Builder |
getVmStopScheduleOrBuilder()
public ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder getVmStopScheduleOrBuilder()
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
Type | Description |
ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder |
hasExpirationTime()
public boolean hasExpirationTime()
The expiration time of the schedule. The timestamp is an RFC3339 string.
optional string expiration_time = 230299229;
Type | Description |
boolean | Whether the expirationTime field is set. |
hasStartTime()
public boolean hasStartTime()
The start time of the schedule. The timestamp is an RFC3339 string.
optional string start_time = 37467274;
Type | Description |
boolean | Whether the startTime field is set. |
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: http://en.wikipedia.org/wiki/Tz_database.
optional string time_zone = 36848094;
Type | Description |
boolean | Whether the timeZone field is set. |
hasVmStartSchedule()
public boolean hasVmStartSchedule()
Specifies the schedule for starting instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
Type | Description |
boolean | Whether the vmStartSchedule field is set. |
hasVmStopSchedule()
public boolean hasVmStopSchedule()
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
Type | Description |
boolean | Whether the vmStopSchedule field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ResourcePolicyInstanceSchedulePolicy other)
public ResourcePolicyInstanceSchedulePolicy.Builder mergeFrom(ResourcePolicyInstanceSchedulePolicy other)
Name | Description |
other | ResourcePolicyInstanceSchedulePolicy |
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResourcePolicyInstanceSchedulePolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ResourcePolicyInstanceSchedulePolicy.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePolicyInstanceSchedulePolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
mergeVmStartSchedule(ResourcePolicyInstanceSchedulePolicySchedule value)
public ResourcePolicyInstanceSchedulePolicy.Builder mergeVmStartSchedule(ResourcePolicyInstanceSchedulePolicySchedule value)
Specifies the schedule for starting instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
Name | Description |
value | ResourcePolicyInstanceSchedulePolicySchedule |
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
mergeVmStopSchedule(ResourcePolicyInstanceSchedulePolicySchedule value)
public ResourcePolicyInstanceSchedulePolicy.Builder mergeVmStopSchedule(ResourcePolicyInstanceSchedulePolicySchedule value)
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
Name | Description |
value | ResourcePolicyInstanceSchedulePolicySchedule |
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
setExpirationTime(String value)
public ResourcePolicyInstanceSchedulePolicy.Builder setExpirationTime(String value)
The expiration time of the schedule. The timestamp is an RFC3339 string.
optional string expiration_time = 230299229;
Name | Description |
value | String The expirationTime to set. |
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder | This builder for chaining. |
setExpirationTimeBytes(ByteString value)
public ResourcePolicyInstanceSchedulePolicy.Builder setExpirationTimeBytes(ByteString value)
The expiration time of the schedule. The timestamp is an RFC3339 string.
optional string expiration_time = 230299229;
Name | Description |
value | ByteString The bytes for expirationTime to set. |
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ResourcePolicyInstanceSchedulePolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourcePolicyInstanceSchedulePolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
setStartTime(String value)
public ResourcePolicyInstanceSchedulePolicy.Builder setStartTime(String value)
The start time of the schedule. The timestamp is an RFC3339 string.
optional string start_time = 37467274;
Name | Description |
value | String The startTime to set. |
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder | This builder for chaining. |
setStartTimeBytes(ByteString value)
public ResourcePolicyInstanceSchedulePolicy.Builder setStartTimeBytes(ByteString value)
The start time of the schedule. The timestamp is an RFC3339 string.
optional string start_time = 37467274;
Name | Description |
value | ByteString The bytes for startTime to set. |
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder | This builder for chaining. |
setTimeZone(String value)
public ResourcePolicyInstanceSchedulePolicy.Builder setTimeZone(String value)
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;
Name | Description |
value | String The timeZone to set. |
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder | This builder for chaining. |
setTimeZoneBytes(ByteString value)
public ResourcePolicyInstanceSchedulePolicy.Builder setTimeZoneBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for timeZone to set. |
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePolicyInstanceSchedulePolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
setVmStartSchedule(ResourcePolicyInstanceSchedulePolicySchedule value)
public ResourcePolicyInstanceSchedulePolicy.Builder setVmStartSchedule(ResourcePolicyInstanceSchedulePolicySchedule value)
Specifies the schedule for starting instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
Name | Description |
value | ResourcePolicyInstanceSchedulePolicySchedule |
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
setVmStartSchedule(ResourcePolicyInstanceSchedulePolicySchedule.Builder builderForValue)
public ResourcePolicyInstanceSchedulePolicy.Builder setVmStartSchedule(ResourcePolicyInstanceSchedulePolicySchedule.Builder builderForValue)
Specifies the schedule for starting instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
Name | Description |
builderForValue | ResourcePolicyInstanceSchedulePolicySchedule.Builder |
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
setVmStopSchedule(ResourcePolicyInstanceSchedulePolicySchedule value)
public ResourcePolicyInstanceSchedulePolicy.Builder setVmStopSchedule(ResourcePolicyInstanceSchedulePolicySchedule value)
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
Name | Description |
value | ResourcePolicyInstanceSchedulePolicySchedule |
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
setVmStopSchedule(ResourcePolicyInstanceSchedulePolicySchedule.Builder builderForValue)
public ResourcePolicyInstanceSchedulePolicy.Builder setVmStopSchedule(ResourcePolicyInstanceSchedulePolicySchedule.Builder builderForValue)
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
Name | Description |
builderForValue | ResourcePolicyInstanceSchedulePolicySchedule.Builder |
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |