Class Unit.MaintenanceSettings.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Unit.MaintenanceSettings.Builder>
com.google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit.MaintenanceSettings.Builder
All Implemented Interfaces:
Unit.MaintenanceSettingsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Unit.MaintenanceSettings

public static final class Unit.MaintenanceSettings.Builder extends com.google.protobuf.GeneratedMessage.Builder<Unit.MaintenanceSettings.Builder> implements Unit.MaintenanceSettingsOrBuilder
 Captures requested directives for performing future maintenance on the
 unit. This includes a request for the unit to skip maintenance for a period
 of time and remain pinned to its current release as well as controls for
 postponing maintenance scheduled in future.
 
Protobuf type google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit.MaintenanceSettings
  • 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<Unit.MaintenanceSettings.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<Unit.MaintenanceSettings.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<Unit.MaintenanceSettings.Builder>
    • getDefaultInstanceForType

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

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

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

      public Unit.MaintenanceSettings.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<Unit.MaintenanceSettings.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<Unit.MaintenanceSettings.Builder>
    • mergeFrom

      public Unit.MaintenanceSettings.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<Unit.MaintenanceSettings.Builder>
      Throws:
      IOException
    • hasPinnedUntilTime

      public boolean hasPinnedUntilTime()
       Optional. If present, it fixes the release on the unit until the given
       time; i.e. changes to the release field will be rejected. Rollouts should
       and will also respect this by not requesting an upgrade in the first
       place.
       
      .google.protobuf.Timestamp pinned_until_time = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasPinnedUntilTime in interface Unit.MaintenanceSettingsOrBuilder
      Returns:
      Whether the pinnedUntilTime field is set.
    • getPinnedUntilTime

      public com.google.protobuf.Timestamp getPinnedUntilTime()
       Optional. If present, it fixes the release on the unit until the given
       time; i.e. changes to the release field will be rejected. Rollouts should
       and will also respect this by not requesting an upgrade in the first
       place.
       
      .google.protobuf.Timestamp pinned_until_time = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPinnedUntilTime in interface Unit.MaintenanceSettingsOrBuilder
      Returns:
      The pinnedUntilTime.
    • setPinnedUntilTime

      public Unit.MaintenanceSettings.Builder setPinnedUntilTime(com.google.protobuf.Timestamp value)
       Optional. If present, it fixes the release on the unit until the given
       time; i.e. changes to the release field will be rejected. Rollouts should
       and will also respect this by not requesting an upgrade in the first
       place.
       
      .google.protobuf.Timestamp pinned_until_time = 1 [(.google.api.field_behavior) = OPTIONAL];
    • setPinnedUntilTime

      public Unit.MaintenanceSettings.Builder setPinnedUntilTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Optional. If present, it fixes the release on the unit until the given
       time; i.e. changes to the release field will be rejected. Rollouts should
       and will also respect this by not requesting an upgrade in the first
       place.
       
      .google.protobuf.Timestamp pinned_until_time = 1 [(.google.api.field_behavior) = OPTIONAL];
    • mergePinnedUntilTime

      public Unit.MaintenanceSettings.Builder mergePinnedUntilTime(com.google.protobuf.Timestamp value)
       Optional. If present, it fixes the release on the unit until the given
       time; i.e. changes to the release field will be rejected. Rollouts should
       and will also respect this by not requesting an upgrade in the first
       place.
       
      .google.protobuf.Timestamp pinned_until_time = 1 [(.google.api.field_behavior) = OPTIONAL];
    • clearPinnedUntilTime

      public Unit.MaintenanceSettings.Builder clearPinnedUntilTime()
       Optional. If present, it fixes the release on the unit until the given
       time; i.e. changes to the release field will be rejected. Rollouts should
       and will also respect this by not requesting an upgrade in the first
       place.
       
      .google.protobuf.Timestamp pinned_until_time = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getPinnedUntilTimeBuilder

      public com.google.protobuf.Timestamp.Builder getPinnedUntilTimeBuilder()
       Optional. If present, it fixes the release on the unit until the given
       time; i.e. changes to the release field will be rejected. Rollouts should
       and will also respect this by not requesting an upgrade in the first
       place.
       
      .google.protobuf.Timestamp pinned_until_time = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getPinnedUntilTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getPinnedUntilTimeOrBuilder()
       Optional. If present, it fixes the release on the unit until the given
       time; i.e. changes to the release field will be rejected. Rollouts should
       and will also respect this by not requesting an upgrade in the first
       place.
       
      .google.protobuf.Timestamp pinned_until_time = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPinnedUntilTimeOrBuilder in interface Unit.MaintenanceSettingsOrBuilder