public static final class OSPolicyAssignment.Rollout extends com.google.protobuf.GeneratedMessageV3 implements OSPolicyAssignment.RolloutOrBuilder
Message to configure the rollout at the zonal level for the OS policy assignment.Protobuf type
google.cloud.osconfig.v1.OSPolicyAssignment.Rollout| Modifier and Type | Class and Description |
|---|---|
static class |
OSPolicyAssignment.Rollout.Builder
Message to configure the rollout at the zonal level for the OS policy
assignment.
|
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 |
MIN_WAIT_DURATION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static OSPolicyAssignment.Rollout |
getDefaultInstance() |
OSPolicyAssignment.Rollout |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Common.FixedOrPercent |
getDisruptionBudget()
Required.
|
Common.FixedOrPercentOrBuilder |
getDisruptionBudgetOrBuilder()
Required.
|
com.google.protobuf.Duration |
getMinWaitDuration()
Required.
|
com.google.protobuf.DurationOrBuilder |
getMinWaitDurationOrBuilder()
Required.
|
com.google.protobuf.Parser<OSPolicyAssignment.Rollout> |
getParserForType() |
int |
getSerializedSize() |
boolean |
hasDisruptionBudget()
Required.
|
int |
hashCode() |
boolean |
hasMinWaitDuration()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static OSPolicyAssignment.Rollout.Builder |
newBuilder() |
static OSPolicyAssignment.Rollout.Builder |
newBuilder(OSPolicyAssignment.Rollout prototype) |
OSPolicyAssignment.Rollout.Builder |
newBuilderForType() |
protected OSPolicyAssignment.Rollout.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static OSPolicyAssignment.Rollout |
parseDelimitedFrom(InputStream input) |
static OSPolicyAssignment.Rollout |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OSPolicyAssignment.Rollout |
parseFrom(byte[] data) |
static OSPolicyAssignment.Rollout |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OSPolicyAssignment.Rollout |
parseFrom(ByteBuffer data) |
static OSPolicyAssignment.Rollout |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OSPolicyAssignment.Rollout |
parseFrom(com.google.protobuf.ByteString data) |
static OSPolicyAssignment.Rollout |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OSPolicyAssignment.Rollout |
parseFrom(com.google.protobuf.CodedInputStream input) |
static OSPolicyAssignment.Rollout |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OSPolicyAssignment.Rollout |
parseFrom(InputStream input) |
static OSPolicyAssignment.Rollout |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<OSPolicyAssignment.Rollout> |
parser() |
OSPolicyAssignment.Rollout.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 DISRUPTION_BUDGET_FIELD_NUMBER
public static final int MIN_WAIT_DURATION_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 boolean hasDisruptionBudget()
Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment.
.google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED];
hasDisruptionBudget in interface OSPolicyAssignment.RolloutOrBuilderpublic Common.FixedOrPercent getDisruptionBudget()
Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment.
.google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED];
getDisruptionBudget in interface OSPolicyAssignment.RolloutOrBuilderpublic Common.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder()
Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment.
.google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED];
getDisruptionBudgetOrBuilder in interface OSPolicyAssignment.RolloutOrBuilderpublic boolean hasMinWaitDuration()
Required. This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the `disruption_budget` at least until this duration of time has passed after configuration changes are applied.
.google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED];
hasMinWaitDuration in interface OSPolicyAssignment.RolloutOrBuilderpublic com.google.protobuf.Duration getMinWaitDuration()
Required. This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the `disruption_budget` at least until this duration of time has passed after configuration changes are applied.
.google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED];
getMinWaitDuration in interface OSPolicyAssignment.RolloutOrBuilderpublic com.google.protobuf.DurationOrBuilder getMinWaitDurationOrBuilder()
Required. This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the `disruption_budget` at least until this duration of time has passed after configuration changes are applied.
.google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED];
getMinWaitDurationOrBuilder in interface OSPolicyAssignment.RolloutOrBuilderpublic 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 OSPolicyAssignment.Rollout parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OSPolicyAssignment.Rollout parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OSPolicyAssignment.Rollout parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OSPolicyAssignment.Rollout parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OSPolicyAssignment.Rollout parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OSPolicyAssignment.Rollout parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OSPolicyAssignment.Rollout parseFrom(InputStream input) throws IOException
IOExceptionpublic static OSPolicyAssignment.Rollout parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OSPolicyAssignment.Rollout parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static OSPolicyAssignment.Rollout parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OSPolicyAssignment.Rollout parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static OSPolicyAssignment.Rollout parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic OSPolicyAssignment.Rollout.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static OSPolicyAssignment.Rollout.Builder newBuilder()
public static OSPolicyAssignment.Rollout.Builder newBuilder(OSPolicyAssignment.Rollout prototype)
public OSPolicyAssignment.Rollout.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected OSPolicyAssignment.Rollout.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static OSPolicyAssignment.Rollout getDefaultInstance()
public static com.google.protobuf.Parser<OSPolicyAssignment.Rollout> parser()
public com.google.protobuf.Parser<OSPolicyAssignment.Rollout> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public OSPolicyAssignment.Rollout getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.