- 1.86.0 (latest)
- 1.85.0
- 1.84.0
- 1.83.0
- 1.82.0
- 1.80.0
- 1.78.0
- 1.77.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.0
- 1.65.0
- 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 UpcomingMaintenance.Builder extends GeneratedMessageV3.Builder<UpcomingMaintenance.Builder> implements UpcomingMaintenanceOrBuilderUpcoming Maintenance notification information.
Protobuf type google.cloud.compute.v1.UpcomingMaintenance
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpcomingMaintenance.BuilderImplements
UpcomingMaintenanceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllMaintenanceReasons(Iterable<String> values)
public UpcomingMaintenance.Builder addAllMaintenanceReasons(Iterable<String> values)The reasons for the maintenance. Only valid for vms. Check the MaintenanceReasons enum for the list of possible values.
repeated string maintenance_reasons = 140283267;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The maintenanceReasons to add. |
| Returns | |
|---|---|
| Type | Description |
UpcomingMaintenance.Builder |
This builder for chaining. |
addMaintenanceReasons(String value)
public UpcomingMaintenance.Builder addMaintenanceReasons(String value)The reasons for the maintenance. Only valid for vms. Check the MaintenanceReasons enum for the list of possible values.
repeated string maintenance_reasons = 140283267;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe maintenanceReasons to add. |
| Returns | |
|---|---|
| Type | Description |
UpcomingMaintenance.Builder |
This builder for chaining. |
addMaintenanceReasonsBytes(ByteString value)
public UpcomingMaintenance.Builder addMaintenanceReasonsBytes(ByteString value)The reasons for the maintenance. Only valid for vms. Check the MaintenanceReasons enum for the list of possible values.
repeated string maintenance_reasons = 140283267;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the maintenanceReasons to add. |
| Returns | |
|---|---|
| Type | Description |
UpcomingMaintenance.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpcomingMaintenance.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
UpcomingMaintenance.Builder |
|
build()
public UpcomingMaintenance build()| Returns | |
|---|---|
| Type | Description |
UpcomingMaintenance |
|
buildPartial()
public UpcomingMaintenance buildPartial()| Returns | |
|---|---|
| Type | Description |
UpcomingMaintenance |
|
clear()
public UpcomingMaintenance.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpcomingMaintenance.Builder |
|
clearCanReschedule()
public UpcomingMaintenance.Builder clearCanReschedule()Indicates if the maintenance can be customer triggered.
optional bool can_reschedule = 95981977;
| Returns | |
|---|---|
| Type | Description |
UpcomingMaintenance.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public UpcomingMaintenance.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
UpcomingMaintenance.Builder |
|
clearLatestWindowStartTime()
public UpcomingMaintenance.Builder clearLatestWindowStartTime()The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 text format.
optional string latest_window_start_time = 128032129;
| Returns | |
|---|---|
| Type | Description |
UpcomingMaintenance.Builder |
This builder for chaining. |
clearMaintenanceOnShutdown()
public UpcomingMaintenance.Builder clearMaintenanceOnShutdown()Indicates whether the UpcomingMaintenance will be triggered on VM shutdown.
optional bool maintenance_on_shutdown = 231055754;
| Returns | |
|---|---|
| Type | Description |
UpcomingMaintenance.Builder |
This builder for chaining. |
clearMaintenanceReasons()
public UpcomingMaintenance.Builder clearMaintenanceReasons()The reasons for the maintenance. Only valid for vms. Check the MaintenanceReasons enum for the list of possible values.
repeated string maintenance_reasons = 140283267;
| Returns | |
|---|---|
| Type | Description |
UpcomingMaintenance.Builder |
This builder for chaining. |
clearMaintenanceStatus()
public UpcomingMaintenance.Builder clearMaintenanceStatus()Check the MaintenanceStatus enum for the list of possible values.
optional string maintenance_status = 81645214;
| Returns | |
|---|---|
| Type | Description |
UpcomingMaintenance.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpcomingMaintenance.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
UpcomingMaintenance.Builder |
|
clearType()
public UpcomingMaintenance.Builder clearType()Defines the type of maintenance. Check the Type enum for the list of possible values.
optional string type = 3575610;
| Returns | |
|---|---|
| Type | Description |
UpcomingMaintenance.Builder |
This builder for chaining. |
clearWindowEndTime()
public UpcomingMaintenance.Builder clearWindowEndTime()The time by which the maintenance disruption will be completed. This timestamp value is in RFC3339 text format.
optional string window_end_time = 271816480;
| Returns | |
|---|---|
| Type | Description |
UpcomingMaintenance.Builder |
This builder for chaining. |
clearWindowStartTime()
public UpcomingMaintenance.Builder clearWindowStartTime()The current start time of the maintenance window. This timestamp value is in RFC3339 text format.
optional string window_start_time = 473061433;
| Returns | |
|---|---|
| Type | Description |
UpcomingMaintenance.Builder |
This builder for chaining. |
clone()
public UpcomingMaintenance.Builder clone()| Returns | |
|---|---|
| Type | Description |
UpcomingMaintenance.Builder |
|
getCanReschedule()
public boolean getCanReschedule()Indicates if the maintenance can be customer triggered.
optional bool can_reschedule = 95981977;
| Returns | |
|---|---|
| Type | Description |
boolean |
The canReschedule. |
getDefaultInstanceForType()
public UpcomingMaintenance getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpcomingMaintenance |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLatestWindowStartTime()
public String getLatestWindowStartTime()The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 text format.
optional string latest_window_start_time = 128032129;
| Returns | |
|---|---|
| Type | Description |
String |
The latestWindowStartTime. |
getLatestWindowStartTimeBytes()
public ByteString getLatestWindowStartTimeBytes()The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 text format.
optional string latest_window_start_time = 128032129;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for latestWindowStartTime. |
getMaintenanceOnShutdown()
public boolean getMaintenanceOnShutdown()Indicates whether the UpcomingMaintenance will be triggered on VM shutdown.
optional bool maintenance_on_shutdown = 231055754;
| Returns | |
|---|---|
| Type | Description |
boolean |
The maintenanceOnShutdown. |
getMaintenanceReasons(int index)
public String getMaintenanceReasons(int index)The reasons for the maintenance. Only valid for vms. Check the MaintenanceReasons enum for the list of possible values.
repeated string maintenance_reasons = 140283267;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The maintenanceReasons at the given index. |
getMaintenanceReasonsBytes(int index)
public ByteString getMaintenanceReasonsBytes(int index)The reasons for the maintenance. Only valid for vms. Check the MaintenanceReasons enum for the list of possible values.
repeated string maintenance_reasons = 140283267;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the maintenanceReasons at the given index. |
getMaintenanceReasonsCount()
public int getMaintenanceReasonsCount()The reasons for the maintenance. Only valid for vms. Check the MaintenanceReasons enum for the list of possible values.
repeated string maintenance_reasons = 140283267;
| Returns | |
|---|---|
| Type | Description |
int |
The count of maintenanceReasons. |
getMaintenanceReasonsList()
public ProtocolStringList getMaintenanceReasonsList()The reasons for the maintenance. Only valid for vms. Check the MaintenanceReasons enum for the list of possible values.
repeated string maintenance_reasons = 140283267;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the maintenanceReasons. |
getMaintenanceStatus()
public String getMaintenanceStatus()Check the MaintenanceStatus enum for the list of possible values.
optional string maintenance_status = 81645214;
| Returns | |
|---|---|
| Type | Description |
String |
The maintenanceStatus. |
getMaintenanceStatusBytes()
public ByteString getMaintenanceStatusBytes()Check the MaintenanceStatus enum for the list of possible values.
optional string maintenance_status = 81645214;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for maintenanceStatus. |
getType()
public String getType()Defines the type of maintenance. Check the Type enum for the list of possible values.
optional string type = 3575610;
| Returns | |
|---|---|
| Type | Description |
String |
The type. |