public final class DisruptionBudget extends GeneratedMessage implements DisruptionBudgetOrBuilder
DisruptionBudget defines the upgrade disruption budget for the cluster
control plane.
Protobuf type google.container.v1.DisruptionBudget
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
LAST_DISRUPTION_TIME_FIELD_NUMBER
public static final int LAST_DISRUPTION_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LAST_MINOR_VERSION_DISRUPTION_TIME_FIELD_NUMBER
public static final int LAST_MINOR_VERSION_DISRUPTION_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MINOR_VERSION_DISRUPTION_INTERVAL_FIELD_NUMBER
public static final int MINOR_VERSION_DISRUPTION_INTERVAL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PATCH_VERSION_DISRUPTION_INTERVAL_FIELD_NUMBER
public static final int PATCH_VERSION_DISRUPTION_INTERVAL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DisruptionBudget getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DisruptionBudget.Builder newBuilder()
newBuilder(DisruptionBudget prototype)
public static DisruptionBudget.Builder newBuilder(DisruptionBudget prototype)
public static DisruptionBudget parseDelimitedFrom(InputStream input)
public static DisruptionBudget parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DisruptionBudget parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DisruptionBudget parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DisruptionBudget parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DisruptionBudget parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DisruptionBudget parseFrom(CodedInputStream input)
public static DisruptionBudget parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DisruptionBudget parseFrom(InputStream input)
public static DisruptionBudget parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DisruptionBudget parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DisruptionBudget parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DisruptionBudget> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public DisruptionBudget getDefaultInstanceForType()
getLastDisruptionTime()
public 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];
| Returns |
| Type |
Description |
Timestamp |
The lastDisruptionTime.
|
getLastDisruptionTimeOrBuilder()
public 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];
getLastMinorVersionDisruptionTime()
public 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];
| Returns |
| Type |
Description |
Timestamp |
The lastMinorVersionDisruptionTime.
|
getLastMinorVersionDisruptionTimeOrBuilder()
public 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];
getMinorVersionDisruptionInterval()
public 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];
| Returns |
| Type |
Description |
Duration |
The minorVersionDisruptionInterval.
|
getMinorVersionDisruptionIntervalOrBuilder()
public 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];
getParserForType()
public Parser<DisruptionBudget> getParserForType()
Overrides
getPatchVersionDisruptionInterval()
public 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];
| Returns |
| Type |
Description |
Duration |
The patchVersionDisruptionInterval.
|
getPatchVersionDisruptionIntervalOrBuilder()
public 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];
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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];
| Returns |
| Type |
Description |
boolean |
Whether the lastDisruptionTime field is set.
|
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];
| Returns |
| Type |
Description |
boolean |
Whether the lastMinorVersionDisruptionTime field is set.
|
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];
| Returns |
| Type |
Description |
boolean |
Whether the minorVersionDisruptionInterval field is set.
|
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];
| Returns |
| Type |
Description |
boolean |
Whether the patchVersionDisruptionInterval field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DisruptionBudget.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DisruptionBudget.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public DisruptionBudget.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides