public static final class PatchJobs.PatchRollout extends com.google.protobuf.GeneratedMessageV3 implements PatchJobs.PatchRolloutOrBuilder
Patch rollout configuration specifications. Contains details on the concurrency control when applying patch(es) to all targeted VMs.Protobuf type
google.cloud.osconfig.v1.PatchRollout| Modifier and Type | Class and Description |
|---|---|
static class |
PatchJobs.PatchRollout.Builder
Patch rollout configuration specifications.
|
static class |
PatchJobs.PatchRollout.Mode
Type of the rollout.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DISRUPTION_BUDGET_FIELD_NUMBER |
static int |
MODE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static PatchJobs.PatchRollout |
getDefaultInstance() |
PatchJobs.PatchRollout |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Common.FixedOrPercent |
getDisruptionBudget()
The maximum number (or percentage) of VMs per zone to disrupt at any given
moment.
|
Common.FixedOrPercentOrBuilder |
getDisruptionBudgetOrBuilder()
The maximum number (or percentage) of VMs per zone to disrupt at any given
moment.
|
PatchJobs.PatchRollout.Mode |
getMode()
Mode of the patch rollout.
|
int |
getModeValue()
Mode of the patch rollout.
|
com.google.protobuf.Parser<PatchJobs.PatchRollout> |
getParserForType() |
int |
getSerializedSize() |
boolean |
hasDisruptionBudget()
The maximum number (or percentage) of VMs per zone to disrupt at any given
moment.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PatchJobs.PatchRollout.Builder |
newBuilder() |
static PatchJobs.PatchRollout.Builder |
newBuilder(PatchJobs.PatchRollout prototype) |
PatchJobs.PatchRollout.Builder |
newBuilderForType() |
protected PatchJobs.PatchRollout.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static PatchJobs.PatchRollout |
parseDelimitedFrom(InputStream input) |
static PatchJobs.PatchRollout |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PatchJobs.PatchRollout |
parseFrom(byte[] data) |
static PatchJobs.PatchRollout |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PatchJobs.PatchRollout |
parseFrom(ByteBuffer data) |
static PatchJobs.PatchRollout |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PatchJobs.PatchRollout |
parseFrom(com.google.protobuf.ByteString data) |
static PatchJobs.PatchRollout |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PatchJobs.PatchRollout |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PatchJobs.PatchRollout |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PatchJobs.PatchRollout |
parseFrom(InputStream input) |
static PatchJobs.PatchRollout |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<PatchJobs.PatchRollout> |
parser() |
PatchJobs.PatchRollout.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int MODE_FIELD_NUMBER
public static final int DISRUPTION_BUDGET_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getModeValue()
Mode of the patch rollout.
.google.cloud.osconfig.v1.PatchRollout.Mode mode = 1;getModeValue in interface PatchJobs.PatchRolloutOrBuilderpublic PatchJobs.PatchRollout.Mode getMode()
Mode of the patch rollout.
.google.cloud.osconfig.v1.PatchRollout.Mode mode = 1;getMode in interface PatchJobs.PatchRolloutOrBuilderpublic boolean hasDisruptionBudget()
The maximum number (or percentage) of VMs per zone to disrupt at any given moment. The number of VMs calculated from multiplying the percentage by the total number of VMs in a zone is rounded up. During patching, a VM is considered disrupted from the time the agent is notified to begin until patching has completed. This disruption time includes the time to complete reboot and any post-patch steps. A VM contributes to the disruption budget if its patching operation fails either when applying the patches, running pre or post patch steps, or if it fails to respond with a success notification before timing out. VMs that are not running or do not have an active agent do not count toward this disruption budget. For zone-by-zone rollouts, if the disruption budget in a zone is exceeded, the patch job stops, because continuing to the next zone requires completion of the patch process in the previous zone. For example, if the disruption budget has a fixed value of `10`, and 8 VMs fail to patch in the current zone, the patch job continues to patch 2 VMs at a time until the zone is completed. When that zone is completed successfully, patching begins with 10 VMs at a time in the next zone. If 10 VMs in the next zone fail to patch, the patch job stops.
.google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 2;hasDisruptionBudget in interface PatchJobs.PatchRolloutOrBuilderpublic Common.FixedOrPercent getDisruptionBudget()
The maximum number (or percentage) of VMs per zone to disrupt at any given moment. The number of VMs calculated from multiplying the percentage by the total number of VMs in a zone is rounded up. During patching, a VM is considered disrupted from the time the agent is notified to begin until patching has completed. This disruption time includes the time to complete reboot and any post-patch steps. A VM contributes to the disruption budget if its patching operation fails either when applying the patches, running pre or post patch steps, or if it fails to respond with a success notification before timing out. VMs that are not running or do not have an active agent do not count toward this disruption budget. For zone-by-zone rollouts, if the disruption budget in a zone is exceeded, the patch job stops, because continuing to the next zone requires completion of the patch process in the previous zone. For example, if the disruption budget has a fixed value of `10`, and 8 VMs fail to patch in the current zone, the patch job continues to patch 2 VMs at a time until the zone is completed. When that zone is completed successfully, patching begins with 10 VMs at a time in the next zone. If 10 VMs in the next zone fail to patch, the patch job stops.
.google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 2;getDisruptionBudget in interface PatchJobs.PatchRolloutOrBuilderpublic Common.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder()
The maximum number (or percentage) of VMs per zone to disrupt at any given moment. The number of VMs calculated from multiplying the percentage by the total number of VMs in a zone is rounded up. During patching, a VM is considered disrupted from the time the agent is notified to begin until patching has completed. This disruption time includes the time to complete reboot and any post-patch steps. A VM contributes to the disruption budget if its patching operation fails either when applying the patches, running pre or post patch steps, or if it fails to respond with a success notification before timing out. VMs that are not running or do not have an active agent do not count toward this disruption budget. For zone-by-zone rollouts, if the disruption budget in a zone is exceeded, the patch job stops, because continuing to the next zone requires completion of the patch process in the previous zone. For example, if the disruption budget has a fixed value of `10`, and 8 VMs fail to patch in the current zone, the patch job continues to patch 2 VMs at a time until the zone is completed. When that zone is completed successfully, patching begins with 10 VMs at a time in the next zone. If 10 VMs in the next zone fail to patch, the patch job stops.
.google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 2;getDisruptionBudgetOrBuilder in interface PatchJobs.PatchRolloutOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static PatchJobs.PatchRollout parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.PatchRollout parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.PatchRollout parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.PatchRollout parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.PatchRollout parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.PatchRollout parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.PatchRollout parseFrom(InputStream input) throws IOException
IOExceptionpublic static PatchJobs.PatchRollout parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PatchJobs.PatchRollout parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PatchJobs.PatchRollout parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PatchJobs.PatchRollout parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PatchJobs.PatchRollout parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic PatchJobs.PatchRollout.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PatchJobs.PatchRollout.Builder newBuilder()
public static PatchJobs.PatchRollout.Builder newBuilder(PatchJobs.PatchRollout prototype)
public PatchJobs.PatchRollout.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PatchJobs.PatchRollout.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PatchJobs.PatchRollout getDefaultInstance()
public static com.google.protobuf.Parser<PatchJobs.PatchRollout> parser()
public com.google.protobuf.Parser<PatchJobs.PatchRollout> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public PatchJobs.PatchRollout getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.