public static final class V1beta2Apps.DeploymentSpec extends com.google.protobuf.GeneratedMessageV3 implements V1beta2Apps.DeploymentSpecOrBuilder
DeploymentSpec is the specification of the desired behavior of the Deployment.Protobuf type
k8s.io.api.apps.v1beta2.DeploymentSpec| Modifier and Type | Class and Description |
|---|---|
static class |
V1beta2Apps.DeploymentSpec.Builder
DeploymentSpec is the specification of the desired behavior of the Deployment.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
MINREADYSECONDS_FIELD_NUMBER |
static com.google.protobuf.Parser<V1beta2Apps.DeploymentSpec> |
PARSER
Deprecated.
|
static int |
PAUSED_FIELD_NUMBER |
static int |
PROGRESSDEADLINESECONDS_FIELD_NUMBER |
static int |
REPLICAS_FIELD_NUMBER |
static int |
REVISIONHISTORYLIMIT_FIELD_NUMBER |
static int |
SELECTOR_FIELD_NUMBER |
static int |
STRATEGY_FIELD_NUMBER |
static int |
TEMPLATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static V1beta2Apps.DeploymentSpec |
getDefaultInstance() |
V1beta2Apps.DeploymentSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getMinReadySeconds()
Minimum number of seconds for which a newly created pod should be ready
without any of its container crashing, for it to be considered available.
|
com.google.protobuf.Parser<V1beta2Apps.DeploymentSpec> |
getParserForType() |
boolean |
getPaused()
Indicates that the deployment is paused.
|
int |
getProgressDeadlineSeconds()
The maximum time in seconds for a deployment to make progress before it
is considered to be failed.
|
int |
getReplicas()
Number of desired pods.
|
int |
getRevisionHistoryLimit()
The number of old ReplicaSets to retain to allow rollback.
|
Meta.LabelSelector |
getSelector()
Label selector for pods.
|
Meta.LabelSelectorOrBuilder |
getSelectorOrBuilder()
Label selector for pods.
|
int |
getSerializedSize() |
V1beta2Apps.DeploymentStrategy |
getStrategy()
The deployment strategy to use to replace existing pods with new ones.
|
V1beta2Apps.DeploymentStrategyOrBuilder |
getStrategyOrBuilder()
The deployment strategy to use to replace existing pods with new ones.
|
V1.PodTemplateSpec |
getTemplate()
Template describes the pods that will be created.
|
V1.PodTemplateSpecOrBuilder |
getTemplateOrBuilder()
Template describes the pods that will be created.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasMinReadySeconds()
Minimum number of seconds for which a newly created pod should be ready
without any of its container crashing, for it to be considered available.
|
boolean |
hasPaused()
Indicates that the deployment is paused.
|
boolean |
hasProgressDeadlineSeconds()
The maximum time in seconds for a deployment to make progress before it
is considered to be failed.
|
boolean |
hasReplicas()
Number of desired pods.
|
boolean |
hasRevisionHistoryLimit()
The number of old ReplicaSets to retain to allow rollback.
|
boolean |
hasSelector()
Label selector for pods.
|
boolean |
hasStrategy()
The deployment strategy to use to replace existing pods with new ones.
|
boolean |
hasTemplate()
Template describes the pods that will be created.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1beta2Apps.DeploymentSpec.Builder |
newBuilder() |
static V1beta2Apps.DeploymentSpec.Builder |
newBuilder(V1beta2Apps.DeploymentSpec prototype) |
V1beta2Apps.DeploymentSpec.Builder |
newBuilderForType() |
protected V1beta2Apps.DeploymentSpec.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1beta2Apps.DeploymentSpec |
parseDelimitedFrom(InputStream input) |
static V1beta2Apps.DeploymentSpec |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1beta2Apps.DeploymentSpec |
parseFrom(byte[] data) |
static V1beta2Apps.DeploymentSpec |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1beta2Apps.DeploymentSpec |
parseFrom(ByteBuffer data) |
static V1beta2Apps.DeploymentSpec |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1beta2Apps.DeploymentSpec |
parseFrom(com.google.protobuf.ByteString data) |
static V1beta2Apps.DeploymentSpec |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1beta2Apps.DeploymentSpec |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1beta2Apps.DeploymentSpec |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1beta2Apps.DeploymentSpec |
parseFrom(InputStream input) |
static V1beta2Apps.DeploymentSpec |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1beta2Apps.DeploymentSpec> |
parser() |
V1beta2Apps.DeploymentSpec.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, 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 REPLICAS_FIELD_NUMBER
public static final int SELECTOR_FIELD_NUMBER
public static final int TEMPLATE_FIELD_NUMBER
public static final int STRATEGY_FIELD_NUMBER
public static final int MINREADYSECONDS_FIELD_NUMBER
public static final int REVISIONHISTORYLIMIT_FIELD_NUMBER
public static final int PAUSED_FIELD_NUMBER
public static final int PROGRESSDEADLINESECONDS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1beta2Apps.DeploymentSpec> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields 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 hasReplicas()
Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. +optional
optional int32 replicas = 1;hasReplicas in interface V1beta2Apps.DeploymentSpecOrBuilderpublic int getReplicas()
Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. +optional
optional int32 replicas = 1;getReplicas in interface V1beta2Apps.DeploymentSpecOrBuilderpublic boolean hasSelector()
Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels.
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;hasSelector in interface V1beta2Apps.DeploymentSpecOrBuilderpublic Meta.LabelSelector getSelector()
Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels.
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;getSelector in interface V1beta2Apps.DeploymentSpecOrBuilderpublic Meta.LabelSelectorOrBuilder getSelectorOrBuilder()
Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels.
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;getSelectorOrBuilder in interface V1beta2Apps.DeploymentSpecOrBuilderpublic boolean hasTemplate()
Template describes the pods that will be created.
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;hasTemplate in interface V1beta2Apps.DeploymentSpecOrBuilderpublic V1.PodTemplateSpec getTemplate()
Template describes the pods that will be created.
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;getTemplate in interface V1beta2Apps.DeploymentSpecOrBuilderpublic V1.PodTemplateSpecOrBuilder getTemplateOrBuilder()
Template describes the pods that will be created.
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;getTemplateOrBuilder in interface V1beta2Apps.DeploymentSpecOrBuilderpublic boolean hasStrategy()
The deployment strategy to use to replace existing pods with new ones. +optional +patchStrategy=retainKeys
optional .k8s.io.api.apps.v1beta2.DeploymentStrategy strategy = 4;hasStrategy in interface V1beta2Apps.DeploymentSpecOrBuilderpublic V1beta2Apps.DeploymentStrategy getStrategy()
The deployment strategy to use to replace existing pods with new ones. +optional +patchStrategy=retainKeys
optional .k8s.io.api.apps.v1beta2.DeploymentStrategy strategy = 4;getStrategy in interface V1beta2Apps.DeploymentSpecOrBuilderpublic V1beta2Apps.DeploymentStrategyOrBuilder getStrategyOrBuilder()
The deployment strategy to use to replace existing pods with new ones. +optional +patchStrategy=retainKeys
optional .k8s.io.api.apps.v1beta2.DeploymentStrategy strategy = 4;getStrategyOrBuilder in interface V1beta2Apps.DeploymentSpecOrBuilderpublic boolean hasMinReadySeconds()
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) +optional
optional int32 minReadySeconds = 5;hasMinReadySeconds in interface V1beta2Apps.DeploymentSpecOrBuilderpublic int getMinReadySeconds()
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) +optional
optional int32 minReadySeconds = 5;getMinReadySeconds in interface V1beta2Apps.DeploymentSpecOrBuilderpublic boolean hasRevisionHistoryLimit()
The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. +optional
optional int32 revisionHistoryLimit = 6;hasRevisionHistoryLimit in interface V1beta2Apps.DeploymentSpecOrBuilderpublic int getRevisionHistoryLimit()
The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. +optional
optional int32 revisionHistoryLimit = 6;getRevisionHistoryLimit in interface V1beta2Apps.DeploymentSpecOrBuilderpublic boolean hasPaused()
Indicates that the deployment is paused. +optional
optional bool paused = 7;hasPaused in interface V1beta2Apps.DeploymentSpecOrBuilderpublic boolean getPaused()
Indicates that the deployment is paused. +optional
optional bool paused = 7;getPaused in interface V1beta2Apps.DeploymentSpecOrBuilderpublic boolean hasProgressDeadlineSeconds()
The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.
optional int32 progressDeadlineSeconds = 9;hasProgressDeadlineSeconds in interface V1beta2Apps.DeploymentSpecOrBuilderpublic int getProgressDeadlineSeconds()
The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.
optional int32 progressDeadlineSeconds = 9;getProgressDeadlineSeconds in interface V1beta2Apps.DeploymentSpecOrBuilderpublic 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 V1beta2Apps.DeploymentSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1beta2Apps.DeploymentSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1beta2Apps.DeploymentSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1beta2Apps.DeploymentSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1beta2Apps.DeploymentSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1beta2Apps.DeploymentSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1beta2Apps.DeploymentSpec parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1beta2Apps.DeploymentSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1beta2Apps.DeploymentSpec parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1beta2Apps.DeploymentSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1beta2Apps.DeploymentSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1beta2Apps.DeploymentSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1beta2Apps.DeploymentSpec.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1beta2Apps.DeploymentSpec.Builder newBuilder()
public static V1beta2Apps.DeploymentSpec.Builder newBuilder(V1beta2Apps.DeploymentSpec prototype)
public V1beta2Apps.DeploymentSpec.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1beta2Apps.DeploymentSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1beta2Apps.DeploymentSpec getDefaultInstance()
public static com.google.protobuf.Parser<V1beta2Apps.DeploymentSpec> parser()
public com.google.protobuf.Parser<V1beta2Apps.DeploymentSpec> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1beta2Apps.DeploymentSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020. All rights reserved.