Class MaintenanceSummary.Builder (0.2.0)

public static final class MaintenanceSummary.Builder extends GeneratedMessageV3.Builder<MaintenanceSummary.Builder> implements MaintenanceSummaryOrBuilder

MaintenanceSummary contains maintenance statistics calculated based on ResourceMaintenances within the scope: project and location.

Protobuf type google.cloud.maintenance.api.v1beta.MaintenanceSummary

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllControls(Iterable<? extends MaintenanceControl> values)

public MaintenanceSummary.Builder addAllControls(Iterable<? extends MaintenanceControl> values)

Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).

repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.maintenance.api.v1beta.MaintenanceControl>
Returns
Type Description
MaintenanceSummary.Builder

addAllStats(Iterable<? extends MaintenanceSummary.Stats> values)

public MaintenanceSummary.Builder addAllStats(Iterable<? extends MaintenanceSummary.Stats> values)

Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.

repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.maintenance.api.v1beta.MaintenanceSummary.Stats>
Returns
Type Description
MaintenanceSummary.Builder

addControls(MaintenanceControl value)

public MaintenanceSummary.Builder addControls(MaintenanceControl value)

Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).

repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value MaintenanceControl
Returns
Type Description
MaintenanceSummary.Builder

addControls(MaintenanceControl.Builder builderForValue)

public MaintenanceSummary.Builder addControls(MaintenanceControl.Builder builderForValue)

Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).

repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue MaintenanceControl.Builder
Returns
Type Description
MaintenanceSummary.Builder

addControls(int index, MaintenanceControl value)

public MaintenanceSummary.Builder addControls(int index, MaintenanceControl value)

Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).

repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value MaintenanceControl
Returns
Type Description
MaintenanceSummary.Builder

addControls(int index, MaintenanceControl.Builder builderForValue)

public MaintenanceSummary.Builder addControls(int index, MaintenanceControl.Builder builderForValue)

Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).

repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue MaintenanceControl.Builder
Returns
Type Description
MaintenanceSummary.Builder

addControlsBuilder()

public MaintenanceControl.Builder addControlsBuilder()

Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).

repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MaintenanceControl.Builder

addControlsBuilder(int index)

public MaintenanceControl.Builder addControlsBuilder(int index)

Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).

repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MaintenanceControl.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MaintenanceSummary.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MaintenanceSummary.Builder
Overrides

addStats(MaintenanceSummary.Stats value)

public MaintenanceSummary.Builder addStats(MaintenanceSummary.Stats value)

Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.

repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value MaintenanceSummary.Stats
Returns
Type Description
MaintenanceSummary.Builder

addStats(MaintenanceSummary.Stats.Builder builderForValue)

public MaintenanceSummary.Builder addStats(MaintenanceSummary.Stats.Builder builderForValue)

Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.

repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue MaintenanceSummary.Stats.Builder
Returns
Type Description
MaintenanceSummary.Builder

addStats(int index, MaintenanceSummary.Stats value)

public MaintenanceSummary.Builder addStats(int index, MaintenanceSummary.Stats value)

Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.

repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value MaintenanceSummary.Stats
Returns
Type Description
MaintenanceSummary.Builder

addStats(int index, MaintenanceSummary.Stats.Builder builderForValue)

public MaintenanceSummary.Builder addStats(int index, MaintenanceSummary.Stats.Builder builderForValue)

Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.

repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue MaintenanceSummary.Stats.Builder
Returns
Type Description
MaintenanceSummary.Builder

addStatsBuilder()

public MaintenanceSummary.Stats.Builder addStatsBuilder()

Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.

repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MaintenanceSummary.Stats.Builder

addStatsBuilder(int index)

public MaintenanceSummary.Stats.Builder addStatsBuilder(int index)

Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.

repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MaintenanceSummary.Stats.Builder

build()

public MaintenanceSummary build()
Returns
Type Description
MaintenanceSummary

buildPartial()

public MaintenanceSummary buildPartial()
Returns
Type Description
MaintenanceSummary

clear()

public MaintenanceSummary.Builder clear()
Returns
Type Description
MaintenanceSummary.Builder
Overrides

clearCategory()

public MaintenanceSummary.Builder clearCategory()

Output only. The category of the maintenance event.

.google.cloud.maintenance.api.v1beta.MaintenanceCategory category = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MaintenanceSummary.Builder

This builder for chaining.

clearControls()

public MaintenanceSummary.Builder clearControls()

Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).

repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MaintenanceSummary.Builder

clearDescription()

public MaintenanceSummary.Builder clearDescription()

Output only. The description of the maintenance.

string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MaintenanceSummary.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public MaintenanceSummary.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MaintenanceSummary.Builder
Overrides

clearMaintenanceEndTime()

public MaintenanceSummary.Builder clearMaintenanceEndTime()

Output only. Actual date when the maintenance successfully completed. Field present only after the state changed to SUCCEEDED.

.google.protobuf.Timestamp maintenance_end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MaintenanceSummary.Builder

clearMaintenanceName()

public MaintenanceSummary.Builder clearMaintenanceName()

Output only. The name of the maintenance.

string maintenance_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MaintenanceSummary.Builder

This builder for chaining.

clearMaintenanceScheduledEndTime()

public MaintenanceSummary.Builder clearMaintenanceScheduledEndTime()

Output only. An estimated (best effort, not guaranteed) end time of the scheduled maintenance.

.google.protobuf.Timestamp maintenance_scheduled_end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MaintenanceSummary.Builder

clearMaintenanceScheduledStartTime()

public MaintenanceSummary.Builder clearMaintenanceScheduledStartTime()

Output only. Scheduled start time of the maintenance. The maintenance will start at maintenanceScheduledStartTime or later, with best effort to finish before maintenanceScheduledEndTime.

.google.protobuf.Timestamp maintenance_scheduled_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MaintenanceSummary.Builder

clearMaintenanceStartTime()

public MaintenanceSummary.Builder clearMaintenanceStartTime()

Output only. Actual date when the maintenance started. Field present only after the state changed to RUNNING.

.google.protobuf.Timestamp maintenance_start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MaintenanceSummary.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public MaintenanceSummary.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MaintenanceSummary.Builder
Overrides

clearStats()

public MaintenanceSummary.Builder clearStats()

Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.

repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MaintenanceSummary.Builder

clearTitle()

public MaintenanceSummary.Builder clearTitle()

Output only. The title of the maintenance.

string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MaintenanceSummary.Builder

This builder for chaining.

clearUserControllable()

public MaintenanceSummary.Builder clearUserControllable()

Output only. Indicates whether the user has some control over that maintenance, either proactively before maintenance was scheduled with maintenance policy or with reactive controls after it was scheduled (see controls field).

bool user_controllable = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MaintenanceSummary.Builder

This builder for chaining.

clone()

public MaintenanceSummary.Builder clone()
Returns
Type Description
MaintenanceSummary.Builder
Overrides

getCategory()

public MaintenanceCategory getCategory()

Output only. The category of the maintenance event.

.google.cloud.maintenance.api.v1beta.MaintenanceCategory category = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MaintenanceCategory

The category.

getCategoryValue()

public int getCategoryValue()

Output only. The category of the maintenance event.

.google.cloud.maintenance.api.v1beta.MaintenanceCategory category = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for category.

getControls(int index)

public MaintenanceControl getControls(int index)

Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).

repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MaintenanceControl

getControlsBuilder(int index)

public MaintenanceControl.Builder getControlsBuilder(int index)

Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).

repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MaintenanceControl.Builder

getControlsBuilderList()

public List<MaintenanceControl.Builder> getControlsBuilderList()

Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).

repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getControlsCount()

public int getControlsCount()

Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).

repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getControlsList()

public List<MaintenanceControl> getControlsList()

Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).

repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<MaintenanceControl>

getControlsOrBuilder(int index)

public MaintenanceControlOrBuilder getControlsOrBuilder(int index)

Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).

repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MaintenanceControlOrBuilder

getControlsOrBuilderList()

public List<? extends MaintenanceControlOrBuilder> getControlsOrBuilderList()

Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).

repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.maintenance.api.v1beta.MaintenanceControlOrBuilder>

getDefaultInstanceForType()

public MaintenanceSummary getDefaultInstanceForType()
Returns
Type Description
MaintenanceSummary

getDescription()

public String getDescription()

Output only. The description of the maintenance.

string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. The description of the maintenance.

string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMaintenanceEndTime()

public Timestamp getMaintenanceEndTime()

Output only. Actual date when the maintenance successfully completed. Field present only after the state changed to SUCCEEDED.

.google.protobuf.Timestamp maintenance_end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The maintenanceEndTime.

getMaintenanceEndTimeBuilder()

public Timestamp.Builder getMaintenanceEndTimeBuilder()

Output only. Actual date when the maintenance successfully completed. Field present only after the state changed to SUCCEEDED.

.google.protobuf.Timestamp maintenance_end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getMaintenanceEndTimeOrBuilder()

public TimestampOrBuilder getMaintenanceEndTimeOrBuilder()

Output only. Actual date when the maintenance successfully completed. Field present only after the state changed to SUCCEEDED.

.google.protobuf.Timestamp maintenance_end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getMaintenanceName()

public String getMaintenanceName()

Output only. The name of the maintenance.

string maintenance_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The maintenanceName.

getMaintenanceNameBytes()

public ByteString getMaintenanceNameBytes()

Output only. The name of the maintenance.

string maintenance_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for maintenanceName.

getMaintenanceScheduledEndTime()

public Timestamp getMaintenanceScheduledEndTime()

Output only. An estimated (best effort, not guaranteed) end time of the scheduled maintenance.

.google.protobuf.Timestamp maintenance_scheduled_end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The maintenanceScheduledEndTime.

getMaintenanceScheduledEndTimeBuilder()

public Timestamp.Builder getMaintenanceScheduledEndTimeBuilder()

Output only. An estimated (best effort, not guaranteed) end time of the scheduled maintenance.

.google.protobuf.Timestamp maintenance_scheduled_end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getMaintenanceScheduledEndTimeOrBuilder()

public TimestampOrBuilder getMaintenanceScheduledEndTimeOrBuilder()

Output only. An estimated (best effort, not guaranteed) end time of the scheduled maintenance.

.google.protobuf.Timestamp maintenance_scheduled_end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getMaintenanceScheduledStartTime()

public Timestamp getMaintenanceScheduledStartTime()

Output only. Scheduled start time of the maintenance. The maintenance will start at maintenanceScheduledStartTime or later, with best effort to finish before maintenanceScheduledEndTime.

.google.protobuf.Timestamp maintenance_scheduled_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The maintenanceScheduledStartTime.

getMaintenanceScheduledStartTimeBuilder()

public Timestamp.Builder getMaintenanceScheduledStartTimeBuilder()

Output only. Scheduled start time of the maintenance. The maintenance will start at maintenanceScheduledStartTime or later, with best effort to finish before maintenanceScheduledEndTime.

.google.protobuf.Timestamp maintenance_scheduled_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getMaintenanceScheduledStartTimeOrBuilder()

public TimestampOrBuilder getMaintenanceScheduledStartTimeOrBuilder()

Output only. Scheduled start time of the maintenance. The maintenance will start at maintenanceScheduledStartTime or later, with best effort to finish before maintenanceScheduledEndTime.

.google.protobuf.Timestamp maintenance_scheduled_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getMaintenanceStartTime()

public Timestamp getMaintenanceStartTime()

Output only. Actual date when the maintenance started. Field present only after the state changed to RUNNING.

.google.protobuf.Timestamp maintenance_start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The maintenanceStartTime.

getMaintenanceStartTimeBuilder()

public Timestamp.Builder getMaintenanceStartTimeBuilder()

Output only. Actual date when the maintenance started. Field present only after the state changed to RUNNING.

.google.protobuf.Timestamp maintenance_start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getMaintenanceStartTimeOrBuilder()

public TimestampOrBuilder getMaintenanceStartTimeOrBuilder()

Output only. Actual date when the maintenance started. Field present only after the state changed to RUNNING.

.google.protobuf.Timestamp maintenance_start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getStats(int index)

public MaintenanceSummary.Stats getStats(int index)

Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.

repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MaintenanceSummary.Stats

getStatsBuilder(int index)

public MaintenanceSummary.Stats.Builder getStatsBuilder(int index)

Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.

repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MaintenanceSummary.Stats.Builder

getStatsBuilderList()

public List<MaintenanceSummary.Stats.Builder> getStatsBuilderList()

Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.

repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getStatsCount()

public int getStatsCount()

Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.

repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getStatsList()

public List<MaintenanceSummary.Stats> getStatsList()

Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.

repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Stats>

getStatsOrBuilder(int index)

public MaintenanceSummary.StatsOrBuilder getStatsOrBuilder(int index)

Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.

repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MaintenanceSummary.StatsOrBuilder

getStatsOrBuilderList()

public List<? extends MaintenanceSummary.StatsOrBuilder> getStatsOrBuilderList()

Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.

repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.maintenance.api.v1beta.MaintenanceSummary.StatsOrBuilder>

getTitle()

public String getTitle()

Output only. The title of the maintenance.

string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Output only. The title of the maintenance.

string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for title.

getUserControllable()

public boolean getUserControllable()

Output only. Indicates whether the user has some control over that maintenance, either proactively before maintenance was scheduled with maintenance policy or with reactive controls after it was scheduled (see controls field).

bool user_controllable = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The userControllable.

hasMaintenanceEndTime()

public boolean hasMaintenanceEndTime()

Output only. Actual date when the maintenance successfully completed. Field present only after the state changed to SUCCEEDED.

.google.protobuf.Timestamp maintenance_end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the maintenanceEndTime field is set.

hasMaintenanceScheduledEndTime()

public boolean hasMaintenanceScheduledEndTime()

Output only. An estimated (best effort, not guaranteed) end time of the scheduled maintenance.

.google.protobuf.Timestamp maintenance_scheduled_end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the maintenanceScheduledEndTime field is set.

hasMaintenanceScheduledStartTime()

public boolean hasMaintenanceScheduledStartTime()

Output only. Scheduled start time of the maintenance. The maintenance will start at maintenanceScheduledStartTime or later, with best effort to finish before maintenanceScheduledEndTime.

.google.protobuf.Timestamp maintenance_scheduled_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the maintenanceScheduledStartTime field is set.

hasMaintenanceStartTime()

public boolean hasMaintenanceStartTime()

Output only. Actual date when the maintenance started. Field present only after the state changed to RUNNING.

.google.protobuf.Timestamp maintenance_start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the maintenanceStartTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MaintenanceSummary other)

public MaintenanceSummary.Builder mergeFrom(MaintenanceSummary other)
Parameter
Name Description
other MaintenanceSummary
Returns
Type Description
MaintenanceSummary.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MaintenanceSummary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MaintenanceSummary.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MaintenanceSummary.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MaintenanceSummary.Builder
Overrides

mergeMaintenanceEndTime(Timestamp value)

public MaintenanceSummary.Builder mergeMaintenanceEndTime(Timestamp value)

Output only. Actual date when the maintenance successfully completed. Field present only after the state changed to SUCCEEDED.

.google.protobuf.Timestamp maintenance_end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
MaintenanceSummary.Builder

mergeMaintenanceScheduledEndTime(Timestamp value)

public MaintenanceSummary.Builder mergeMaintenanceScheduledEndTime(Timestamp value)

Output only. An estimated (best effort, not guaranteed) end time of the scheduled maintenance.

.google.protobuf.Timestamp maintenance_scheduled_end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
MaintenanceSummary.Builder

mergeMaintenanceScheduledStartTime(Timestamp value)

public MaintenanceSummary.Builder mergeMaintenanceScheduledStartTime(Timestamp value)

Output only. Scheduled start time of the maintenance. The maintenance will start at maintenanceScheduledStartTime or later, with best effort to finish before maintenanceScheduledEndTime.

.google.protobuf.Timestamp maintenance_scheduled_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
MaintenanceSummary.Builder

mergeMaintenanceStartTime(Timestamp value)

public MaintenanceSummary.Builder mergeMaintenanceStartTime(Timestamp value)

Output only. Actual date when the maintenance started. Field present only after the state changed to RUNNING.

.google.protobuf.Timestamp maintenance_start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
MaintenanceSummary.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MaintenanceSummary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MaintenanceSummary.Builder
Overrides

removeControls(int index)

public MaintenanceSummary.Builder removeControls(int index)

Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).

repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MaintenanceSummary.Builder

removeStats(int index)

public MaintenanceSummary.Builder removeStats(int index)

Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.

repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MaintenanceSummary.Builder

setCategory(MaintenanceCategory value)

public MaintenanceSummary.Builder setCategory(MaintenanceCategory value)

Output only. The category of the maintenance event.

.google.cloud.maintenance.api.v1beta.MaintenanceCategory category = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value MaintenanceCategory

The category to set.

Returns
Type Description
MaintenanceSummary.Builder

This builder for chaining.

setCategoryValue(int value)

public MaintenanceSummary.Builder setCategoryValue(int value)

Output only. The category of the maintenance event.

.google.cloud.maintenance.api.v1beta.MaintenanceCategory category = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for category to set.

Returns
Type Description
MaintenanceSummary.Builder

This builder for chaining.

setControls(int index, MaintenanceControl value)

public MaintenanceSummary.Builder setControls(int index, MaintenanceControl value)

Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).

repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value MaintenanceControl
Returns
Type Description
MaintenanceSummary.Builder

setControls(int index, MaintenanceControl.Builder builderForValue)

public MaintenanceSummary.Builder setControls(int index, MaintenanceControl.Builder builderForValue)

Output only. Control available for that Maintenance (might not be available for every resource that maintenance is applied to).

repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue MaintenanceControl.Builder
Returns
Type Description
MaintenanceSummary.Builder

setDescription(String value)

public MaintenanceSummary.Builder setDescription(String value)

Output only. The description of the maintenance.

string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
MaintenanceSummary.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public MaintenanceSummary.Builder setDescriptionBytes(ByteString value)

Output only. The description of the maintenance.

string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
MaintenanceSummary.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public MaintenanceSummary.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MaintenanceSummary.Builder
Overrides

setMaintenanceEndTime(Timestamp value)

public MaintenanceSummary.Builder setMaintenanceEndTime(Timestamp value)

Output only. Actual date when the maintenance successfully completed. Field present only after the state changed to SUCCEEDED.

.google.protobuf.Timestamp maintenance_end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
MaintenanceSummary.Builder

setMaintenanceEndTime(Timestamp.Builder builderForValue)

public MaintenanceSummary.Builder setMaintenanceEndTime(Timestamp.Builder builderForValue)

Output only. Actual date when the maintenance successfully completed. Field present only after the state changed to SUCCEEDED.

.google.protobuf.Timestamp maintenance_end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
MaintenanceSummary.Builder

setMaintenanceName(String value)

public MaintenanceSummary.Builder setMaintenanceName(String value)

Output only. The name of the maintenance.

string maintenance_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The maintenanceName to set.

Returns
Type Description
MaintenanceSummary.Builder

This builder for chaining.

setMaintenanceNameBytes(ByteString value)

public MaintenanceSummary.Builder setMaintenanceNameBytes(ByteString value)

Output only. The name of the maintenance.

string maintenance_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for maintenanceName to set.

Returns
Type Description
MaintenanceSummary.Builder

This builder for chaining.

setMaintenanceScheduledEndTime(Timestamp value)

public MaintenanceSummary.Builder setMaintenanceScheduledEndTime(Timestamp value)

Output only. An estimated (best effort, not guaranteed) end time of the scheduled maintenance.

.google.protobuf.Timestamp maintenance_scheduled_end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
MaintenanceSummary.Builder

setMaintenanceScheduledEndTime(Timestamp.Builder builderForValue)

public MaintenanceSummary.Builder setMaintenanceScheduledEndTime(Timestamp.Builder builderForValue)

Output only. An estimated (best effort, not guaranteed) end time of the scheduled maintenance.

.google.protobuf.Timestamp maintenance_scheduled_end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
MaintenanceSummary.Builder

setMaintenanceScheduledStartTime(Timestamp value)

public MaintenanceSummary.Builder setMaintenanceScheduledStartTime(Timestamp value)

Output only. Scheduled start time of the maintenance. The maintenance will start at maintenanceScheduledStartTime or later, with best effort to finish before maintenanceScheduledEndTime.

.google.protobuf.Timestamp maintenance_scheduled_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
MaintenanceSummary.Builder

setMaintenanceScheduledStartTime(Timestamp.Builder builderForValue)

public MaintenanceSummary.Builder setMaintenanceScheduledStartTime(Timestamp.Builder builderForValue)

Output only. Scheduled start time of the maintenance. The maintenance will start at maintenanceScheduledStartTime or later, with best effort to finish before maintenanceScheduledEndTime.

.google.protobuf.Timestamp maintenance_scheduled_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
MaintenanceSummary.Builder

setMaintenanceStartTime(Timestamp value)

public MaintenanceSummary.Builder setMaintenanceStartTime(Timestamp value)

Output only. Actual date when the maintenance started. Field present only after the state changed to RUNNING.

.google.protobuf.Timestamp maintenance_start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
MaintenanceSummary.Builder

setMaintenanceStartTime(Timestamp.Builder builderForValue)

public MaintenanceSummary.Builder setMaintenanceStartTime(Timestamp.Builder builderForValue)

Output only. Actual date when the maintenance started. Field present only after the state changed to RUNNING.

.google.protobuf.Timestamp maintenance_start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
MaintenanceSummary.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MaintenanceSummary.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MaintenanceSummary.Builder
Overrides

setStats(int index, MaintenanceSummary.Stats value)

public MaintenanceSummary.Builder setStats(int index, MaintenanceSummary.Stats value)

Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.

repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value MaintenanceSummary.Stats
Returns
Type Description
MaintenanceSummary.Builder

setStats(int index, MaintenanceSummary.Stats.Builder builderForValue)

public MaintenanceSummary.Builder setStats(int index, MaintenanceSummary.Stats.Builder builderForValue)

Output only. Stats is a field of ResourceMaintenance used to aggregate the stats.

repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue MaintenanceSummary.Stats.Builder
Returns
Type Description
MaintenanceSummary.Builder

setTitle(String value)

public MaintenanceSummary.Builder setTitle(String value)

Output only. The title of the maintenance.

string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The title to set.

Returns
Type Description
MaintenanceSummary.Builder

This builder for chaining.

setTitleBytes(ByteString value)

public MaintenanceSummary.Builder setTitleBytes(ByteString value)

Output only. The title of the maintenance.

string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for title to set.

Returns
Type Description
MaintenanceSummary.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final MaintenanceSummary.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MaintenanceSummary.Builder
Overrides

setUserControllable(boolean value)

public MaintenanceSummary.Builder setUserControllable(boolean value)

Output only. Indicates whether the user has some control over that maintenance, either proactively before maintenance was scheduled with maintenance policy or with reactive controls after it was scheduled (see controls field).

bool user_controllable = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The userControllable to set.

Returns
Type Description
MaintenanceSummary.Builder

This builder for chaining.