Class DisruptionBudget

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.container.v1.DisruptionBudget
All Implemented Interfaces:
DisruptionBudgetOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DisruptionBudget extends com.google.protobuf.GeneratedMessage implements DisruptionBudgetOrBuilder
 DisruptionBudget defines the upgrade disruption budget for the cluster
 control plane.
 
Protobuf type google.container.v1.DisruptionBudget
See Also:
  • Field Details

    • MINOR_VERSION_DISRUPTION_INTERVAL_FIELD_NUMBER

      public static final int MINOR_VERSION_DISRUPTION_INTERVAL_FIELD_NUMBER
      See Also:
    • PATCH_VERSION_DISRUPTION_INTERVAL_FIELD_NUMBER

      public static final int PATCH_VERSION_DISRUPTION_INTERVAL_FIELD_NUMBER
      See Also:
    • LAST_MINOR_VERSION_DISRUPTION_TIME_FIELD_NUMBER

      public static final int LAST_MINOR_VERSION_DISRUPTION_TIME_FIELD_NUMBER
      See Also:
    • LAST_DISRUPTION_TIME_FIELD_NUMBER

      public static final int LAST_DISRUPTION_TIME_FIELD_NUMBER
      See Also:
  • 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
    • hasMinorVersionDisruptionInterval

      public boolean hasMinorVersionDisruptionInterval()
       Optional. The minimum duration between two minor version upgrades of the
       control plane.
       
      .google.protobuf.Duration minor_version_disruption_interval = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasMinorVersionDisruptionInterval in interface DisruptionBudgetOrBuilder
      Returns:
      Whether the minorVersionDisruptionInterval field is set.
    • getMinorVersionDisruptionInterval

      public com.google.protobuf.Duration getMinorVersionDisruptionInterval()
       Optional. The minimum duration between two minor version upgrades of the
       control plane.
       
      .google.protobuf.Duration minor_version_disruption_interval = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMinorVersionDisruptionInterval in interface DisruptionBudgetOrBuilder
      Returns:
      The minorVersionDisruptionInterval.
    • getMinorVersionDisruptionIntervalOrBuilder

      public com.google.protobuf.DurationOrBuilder getMinorVersionDisruptionIntervalOrBuilder()
       Optional. The minimum duration between two minor version upgrades of the
       control plane.
       
      .google.protobuf.Duration minor_version_disruption_interval = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMinorVersionDisruptionIntervalOrBuilder in interface DisruptionBudgetOrBuilder
    • hasPatchVersionDisruptionInterval

      public boolean hasPatchVersionDisruptionInterval()
       Optional. The minimum duration between two patch version upgrades of the
       control plane.
       
      .google.protobuf.Duration patch_version_disruption_interval = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasPatchVersionDisruptionInterval in interface DisruptionBudgetOrBuilder
      Returns:
      Whether the patchVersionDisruptionInterval field is set.
    • getPatchVersionDisruptionInterval

      public com.google.protobuf.Duration getPatchVersionDisruptionInterval()
       Optional. The minimum duration between two patch version upgrades of the
       control plane.
       
      .google.protobuf.Duration patch_version_disruption_interval = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPatchVersionDisruptionInterval in interface DisruptionBudgetOrBuilder
      Returns:
      The patchVersionDisruptionInterval.
    • getPatchVersionDisruptionIntervalOrBuilder

      public com.google.protobuf.DurationOrBuilder getPatchVersionDisruptionIntervalOrBuilder()
       Optional. The minimum duration between two patch version upgrades of the
       control plane.
       
      .google.protobuf.Duration patch_version_disruption_interval = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPatchVersionDisruptionIntervalOrBuilder in interface DisruptionBudgetOrBuilder
    • hasLastMinorVersionDisruptionTime

      public boolean hasLastMinorVersionDisruptionTime()
       Output only. The last time a minor version upgrade was performed on the
       control plane.
       
      .google.protobuf.Timestamp last_minor_version_disruption_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasLastMinorVersionDisruptionTime in interface DisruptionBudgetOrBuilder
      Returns:
      Whether the lastMinorVersionDisruptionTime field is set.
    • getLastMinorVersionDisruptionTime

      public com.google.protobuf.Timestamp getLastMinorVersionDisruptionTime()
       Output only. The last time a minor version upgrade was performed on the
       control plane.
       
      .google.protobuf.Timestamp last_minor_version_disruption_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLastMinorVersionDisruptionTime in interface DisruptionBudgetOrBuilder
      Returns:
      The lastMinorVersionDisruptionTime.
    • getLastMinorVersionDisruptionTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastMinorVersionDisruptionTimeOrBuilder()
       Output only. The last time a minor version upgrade was performed on the
       control plane.
       
      .google.protobuf.Timestamp last_minor_version_disruption_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLastMinorVersionDisruptionTimeOrBuilder in interface DisruptionBudgetOrBuilder
    • hasLastDisruptionTime

      public boolean hasLastDisruptionTime()
       Output only. The last time a disruption was performed on the control plane.
       
      .google.protobuf.Timestamp last_disruption_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasLastDisruptionTime in interface DisruptionBudgetOrBuilder
      Returns:
      Whether the lastDisruptionTime field is set.
    • getLastDisruptionTime

      public com.google.protobuf.Timestamp getLastDisruptionTime()
       Output only. The last time a disruption was performed on the control plane.
       
      .google.protobuf.Timestamp last_disruption_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLastDisruptionTime in interface DisruptionBudgetOrBuilder
      Returns:
      The lastDisruptionTime.
    • getLastDisruptionTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastDisruptionTimeOrBuilder()
       Output only. The last time a disruption was performed on the control plane.
       
      .google.protobuf.Timestamp last_disruption_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLastDisruptionTimeOrBuilder in interface DisruptionBudgetOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DisruptionBudget parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DisruptionBudget parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DisruptionBudget parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DisruptionBudget parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DisruptionBudget parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DisruptionBudget parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DisruptionBudget parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DisruptionBudget parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DisruptionBudget parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DisruptionBudget parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DisruptionBudget parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DisruptionBudget parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DisruptionBudget.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DisruptionBudget.Builder newBuilder()
    • newBuilder

      public static DisruptionBudget.Builder newBuilder(DisruptionBudget prototype)
    • toBuilder

      public DisruptionBudget.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DisruptionBudget.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DisruptionBudget getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DisruptionBudget> parser()
    • getParserForType

      public com.google.protobuf.Parser<DisruptionBudget> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public DisruptionBudget getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder