- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourcePolicyInstanceSchedulePolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
build()
public ResourcePolicyInstanceSchedulePolicy build()
Returns | |
---|---|
Type | Description |
ResourcePolicyInstanceSchedulePolicy |
buildPartial()
public ResourcePolicyInstanceSchedulePolicy buildPartial()
Returns | |
---|---|
Type | Description |
ResourcePolicyInstanceSchedulePolicy |
clear()
public ResourcePolicyInstanceSchedulePolicy.Builder clear()
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ResourcePolicyInstanceSchedulePolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourcePolicyInstanceSchedulePolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
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: https://wikipedia.org/wiki/Tz_database.
optional string time_zone = 36848094;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
clone()
public ResourcePolicyInstanceSchedulePolicy.Builder clone()
Returns | |
---|---|
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
getDefaultInstanceForType()
public ResourcePolicyInstanceSchedulePolicy getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ResourcePolicyInstanceSchedulePolicy |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getExpirationTime()
public String getExpirationTime()
The expiration time of the schedule. The timestamp is an RFC3339 string.
optional string expiration_time = 230299229;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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: https://wikipedia.org/wiki/Tz_database.
optional string time_zone = 36848094;
Returns | |
---|---|
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: https://wikipedia.org/wiki/Tz_database.
optional string time_zone = 36848094;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ResourcePolicyInstanceSchedulePolicySchedule.Builder |
getVmStartScheduleOrBuilder()
public ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder getVmStartScheduleOrBuilder()
Specifies the schedule for starting instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_start_schedule = 17762396;
Returns | |
---|---|
Type | Description |
ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder |
getVmStopSchedule()
public ResourcePolicyInstanceSchedulePolicySchedule getVmStopSchedule()
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ResourcePolicyInstanceSchedulePolicySchedule.Builder |
getVmStopScheduleOrBuilder()
public ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder getVmStopScheduleOrBuilder()
Specifies the schedule for stopping instances.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule vm_stop_schedule = 426242732;
Returns | |
---|---|
Type | Description |
ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder |
hasExpirationTime()
public boolean hasExpirationTime()
The expiration time of the schedule. The timestamp is an RFC3339 string.
optional string expiration_time = 230299229;
Returns | |
---|---|
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;
Returns | |
---|---|
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: https://wikipedia.org/wiki/Tz_database.
optional string time_zone = 36848094;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the vmStopSchedule field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ResourcePolicyInstanceSchedulePolicy other)
public ResourcePolicyInstanceSchedulePolicy.Builder mergeFrom(ResourcePolicyInstanceSchedulePolicy other)
Parameter | |
---|---|
Name | Description |
other |
ResourcePolicyInstanceSchedulePolicy |
Returns | |
---|---|
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResourcePolicyInstanceSchedulePolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ResourcePolicyInstanceSchedulePolicy.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePolicyInstanceSchedulePolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ResourcePolicyInstanceSchedulePolicySchedule |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ResourcePolicyInstanceSchedulePolicySchedule |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The expirationTime to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for expirationTime to set. |
Returns | |
---|---|
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ResourcePolicyInstanceSchedulePolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourcePolicyInstanceSchedulePolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The startTime to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for startTime to set. |
Returns | |
---|---|
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: https://wikipedia.org/wiki/Tz_database.
optional string time_zone = 36848094;
Parameter | |
---|---|
Name | Description |
value |
String The timeZone to set. |
Returns | |
---|---|
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: https://wikipedia.org/wiki/Tz_database.
optional string time_zone = 36848094;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for timeZone to set. |
Returns | |
---|---|
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePolicyInstanceSchedulePolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ResourcePolicyInstanceSchedulePolicySchedule |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
ResourcePolicyInstanceSchedulePolicySchedule.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ResourcePolicyInstanceSchedulePolicySchedule |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
ResourcePolicyInstanceSchedulePolicySchedule.Builder |
Returns | |
---|---|
Type | Description |
ResourcePolicyInstanceSchedulePolicy.Builder |