Class MaintenanceSummary.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MaintenanceSummary.Builder>
com.google.cloud.maintenance.api.v1.MaintenanceSummary.Builder
All Implemented Interfaces:
MaintenanceSummaryOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
MaintenanceSummary

public static final class MaintenanceSummary.Builder extends com.google.protobuf.GeneratedMessage.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.v1.MaintenanceSummary
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<MaintenanceSummary.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<MaintenanceSummary.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<MaintenanceSummary.Builder>
    • getDefaultInstanceForType

      public MaintenanceSummary getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public MaintenanceSummary build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public MaintenanceSummary buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public MaintenanceSummary.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MaintenanceSummary.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<MaintenanceSummary.Builder>
    • mergeFrom

      public MaintenanceSummary.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MaintenanceSummary.Builder>
      Throws:
      IOException
    • getMaintenanceName

      public String getMaintenanceName()
       Output only. The name of the maintenance.
       
      string maintenance_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaintenanceName in interface MaintenanceSummaryOrBuilder
      Returns:
      The maintenanceName.
    • getMaintenanceNameBytes

      public com.google.protobuf.ByteString getMaintenanceNameBytes()
       Output only. The name of the maintenance.
       
      string maintenance_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaintenanceNameBytes in interface MaintenanceSummaryOrBuilder
      Returns:
      The bytes for maintenanceName.
    • setMaintenanceName

      public MaintenanceSummary.Builder setMaintenanceName(String value)
       Output only. The name of the maintenance.
       
      string maintenance_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The maintenanceName to set.
      Returns:
      This builder for chaining.
    • clearMaintenanceName

      public MaintenanceSummary.Builder clearMaintenanceName()
       Output only. The name of the maintenance.
       
      string maintenance_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setMaintenanceNameBytes

      public MaintenanceSummary.Builder setMaintenanceNameBytes(com.google.protobuf.ByteString value)
       Output only. The name of the maintenance.
       
      string maintenance_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for maintenanceName to set.
      Returns:
      This builder for chaining.
    • getTitle

      public String getTitle()
       Output only. The title of the maintenance.
       
      string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTitle in interface MaintenanceSummaryOrBuilder
      Returns:
      The title.
    • getTitleBytes

      public com.google.protobuf.ByteString getTitleBytes()
       Output only. The title of the maintenance.
       
      string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTitleBytes in interface MaintenanceSummaryOrBuilder
      Returns:
      The bytes for title.
    • setTitle

      public MaintenanceSummary.Builder setTitle(String value)
       Output only. The title of the maintenance.
       
      string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The title to set.
      Returns:
      This builder for chaining.
    • clearTitle

      public MaintenanceSummary.Builder clearTitle()
       Output only. The title of the maintenance.
       
      string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setTitleBytes

      public MaintenanceSummary.Builder setTitleBytes(com.google.protobuf.ByteString value)
       Output only. The title of the maintenance.
       
      string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for title to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Output only. The description of the maintenance.
       
      string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDescription in interface MaintenanceSummaryOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Output only. The description of the maintenance.
       
      string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDescriptionBytes in interface MaintenanceSummaryOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public MaintenanceSummary.Builder setDescription(String value)
       Output only. The description of the maintenance.
       
      string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public MaintenanceSummary.Builder clearDescription()
       Output only. The description of the maintenance.
       
      string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public MaintenanceSummary.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Output only. The description of the maintenance.
       
      string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getCategoryValue

      public int getCategoryValue()
       Output only. The category of the maintenance event.
       
      .google.cloud.maintenance.api.v1.MaintenanceCategory category = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCategoryValue in interface MaintenanceSummaryOrBuilder
      Returns:
      The enum numeric value on the wire for category.
    • setCategoryValue

      public MaintenanceSummary.Builder setCategoryValue(int value)
       Output only. The category of the maintenance event.
       
      .google.cloud.maintenance.api.v1.MaintenanceCategory category = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for category to set.
      Returns:
      This builder for chaining.
    • getCategory

      public MaintenanceCategory getCategory()
       Output only. The category of the maintenance event.
       
      .google.cloud.maintenance.api.v1.MaintenanceCategory category = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCategory in interface MaintenanceSummaryOrBuilder
      Returns:
      The category.
    • setCategory

      public MaintenanceSummary.Builder setCategory(MaintenanceCategory value)
       Output only. The category of the maintenance event.
       
      .google.cloud.maintenance.api.v1.MaintenanceCategory category = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The category to set.
      Returns:
      This builder for chaining.
    • clearCategory

      public MaintenanceSummary.Builder clearCategory()
       Output only. The category of the maintenance event.
       
      .google.cloud.maintenance.api.v1.MaintenanceCategory category = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      hasMaintenanceScheduledStartTime in interface MaintenanceSummaryOrBuilder
      Returns:
      Whether the maintenanceScheduledStartTime field is set.
    • getMaintenanceScheduledStartTime

      public com.google.protobuf.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];
      Specified by:
      getMaintenanceScheduledStartTime in interface MaintenanceSummaryOrBuilder
      Returns:
      The maintenanceScheduledStartTime.
    • setMaintenanceScheduledStartTime

      public MaintenanceSummary.Builder setMaintenanceScheduledStartTime(com.google.protobuf.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];
    • setMaintenanceScheduledStartTime

      public MaintenanceSummary.Builder setMaintenanceScheduledStartTime(com.google.protobuf.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];
    • mergeMaintenanceScheduledStartTime

      public MaintenanceSummary.Builder mergeMaintenanceScheduledStartTime(com.google.protobuf.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];
    • 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];
    • getMaintenanceScheduledStartTimeBuilder

      public com.google.protobuf.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];
    • getMaintenanceScheduledStartTimeOrBuilder

      public com.google.protobuf.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];
      Specified by:
      getMaintenanceScheduledStartTimeOrBuilder in interface MaintenanceSummaryOrBuilder
    • 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];
      Specified by:
      hasMaintenanceScheduledEndTime in interface MaintenanceSummaryOrBuilder
      Returns:
      Whether the maintenanceScheduledEndTime field is set.
    • getMaintenanceScheduledEndTime

      public com.google.protobuf.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];
      Specified by:
      getMaintenanceScheduledEndTime in interface MaintenanceSummaryOrBuilder
      Returns:
      The maintenanceScheduledEndTime.
    • setMaintenanceScheduledEndTime

      public MaintenanceSummary.Builder setMaintenanceScheduledEndTime(com.google.protobuf.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];
    • setMaintenanceScheduledEndTime

      public MaintenanceSummary.Builder setMaintenanceScheduledEndTime(com.google.protobuf.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];
    • mergeMaintenanceScheduledEndTime

      public MaintenanceSummary.Builder mergeMaintenanceScheduledEndTime(com.google.protobuf.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];
    • 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];
    • getMaintenanceScheduledEndTimeBuilder

      public com.google.protobuf.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];
    • getMaintenanceScheduledEndTimeOrBuilder

      public com.google.protobuf.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];
      Specified by:
      getMaintenanceScheduledEndTimeOrBuilder in interface MaintenanceSummaryOrBuilder
    • 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];
      Specified by:
      hasMaintenanceStartTime in interface MaintenanceSummaryOrBuilder
      Returns:
      Whether the maintenanceStartTime field is set.
    • getMaintenanceStartTime

      public com.google.protobuf.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];
      Specified by:
      getMaintenanceStartTime in interface MaintenanceSummaryOrBuilder
      Returns:
      The maintenanceStartTime.
    • setMaintenanceStartTime

      public MaintenanceSummary.Builder setMaintenanceStartTime(com.google.protobuf.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];
    • setMaintenanceStartTime

      public MaintenanceSummary.Builder setMaintenanceStartTime(com.google.protobuf.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];
    • mergeMaintenanceStartTime

      public MaintenanceSummary.Builder mergeMaintenanceStartTime(com.google.protobuf.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];
    • 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];
    • getMaintenanceStartTimeBuilder

      public com.google.protobuf.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];
    • getMaintenanceStartTimeOrBuilder

      public com.google.protobuf.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];
      Specified by:
      getMaintenanceStartTimeOrBuilder in interface MaintenanceSummaryOrBuilder
    • 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];
      Specified by:
      hasMaintenanceEndTime in interface MaintenanceSummaryOrBuilder
      Returns:
      Whether the maintenanceEndTime field is set.
    • getMaintenanceEndTime

      public com.google.protobuf.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];
      Specified by:
      getMaintenanceEndTime in interface MaintenanceSummaryOrBuilder
      Returns:
      The maintenanceEndTime.
    • setMaintenanceEndTime

      public MaintenanceSummary.Builder setMaintenanceEndTime(com.google.protobuf.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];
    • setMaintenanceEndTime

      public MaintenanceSummary.Builder setMaintenanceEndTime(com.google.protobuf.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];
    • mergeMaintenanceEndTime

      public MaintenanceSummary.Builder mergeMaintenanceEndTime(com.google.protobuf.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];
    • 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];
    • getMaintenanceEndTimeBuilder

      public com.google.protobuf.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];
    • getMaintenanceEndTimeOrBuilder

      public com.google.protobuf.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];
      Specified by:
      getMaintenanceEndTimeOrBuilder in interface MaintenanceSummaryOrBuilder
    • 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];
      Specified by:
      getUserControllable in interface MaintenanceSummaryOrBuilder
      Returns:
      The userControllable.
    • setUserControllable

      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];
      Parameters:
      value - The userControllable to set.
      Returns:
      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:
      This builder for chaining.
    • 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.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getControlsList in interface MaintenanceSummaryOrBuilder
    • 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.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getControlsCount in interface MaintenanceSummaryOrBuilder
    • getControls

      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.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getControls in interface MaintenanceSummaryOrBuilder
    • setControls

      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.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setControls

      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.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addControls

      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.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addControls

      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.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addControls

      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.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addControls

      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.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllControls

      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.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeControls

      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.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getControlsBuilder

      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.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getControlsOrBuilder

      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.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getControlsOrBuilder in interface MaintenanceSummaryOrBuilder
    • 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.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getControlsOrBuilderList in interface MaintenanceSummaryOrBuilder
    • 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.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addControlsBuilder

      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.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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.v1.MaintenanceControl controls = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStatsList

      public List<MaintenanceSummary.Stats> getStatsList()
       Output only. Stats is a field of ResourceMaintenance used to aggregate the
       stats.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatsList in interface MaintenanceSummaryOrBuilder
    • getStatsCount

      public int getStatsCount()
       Output only. Stats is a field of ResourceMaintenance used to aggregate the
       stats.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatsCount in interface MaintenanceSummaryOrBuilder
    • getStats

      public MaintenanceSummary.Stats getStats(int index)
       Output only. Stats is a field of ResourceMaintenance used to aggregate the
       stats.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStats in interface MaintenanceSummaryOrBuilder
    • setStats

      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.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setStats

      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.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addStats

       Output only. Stats is a field of ResourceMaintenance used to aggregate the
       stats.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addStats

      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.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addStats

       Output only. Stats is a field of ResourceMaintenance used to aggregate the
       stats.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addStats

      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.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllStats

      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.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearStats

      public MaintenanceSummary.Builder clearStats()
       Output only. Stats is a field of ResourceMaintenance used to aggregate the
       stats.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeStats

      public MaintenanceSummary.Builder removeStats(int index)
       Output only. Stats is a field of ResourceMaintenance used to aggregate the
       stats.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStatsBuilder

      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.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStatsOrBuilder

      public MaintenanceSummary.StatsOrBuilder getStatsOrBuilder(int index)
       Output only. Stats is a field of ResourceMaintenance used to aggregate the
       stats.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatsOrBuilder in interface MaintenanceSummaryOrBuilder
    • 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.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatsOrBuilderList in interface MaintenanceSummaryOrBuilder
    • addStatsBuilder

      public MaintenanceSummary.Stats.Builder addStatsBuilder()
       Output only. Stats is a field of ResourceMaintenance used to aggregate the
       stats.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addStatsBuilder

      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.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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.v1.MaintenanceSummary.Stats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];