Package io.kubernetes.client.proto
Class V1Apps.DeploymentStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1Apps.DeploymentStatus.Builder>
io.kubernetes.client.proto.V1Apps.DeploymentStatus.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1Apps.DeploymentStatusOrBuilder,Cloneable
- Enclosing class:
- V1Apps.DeploymentStatus
public static final class V1Apps.DeploymentStatus.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1Apps.DeploymentStatus.Builder>
implements V1Apps.DeploymentStatusOrBuilder
DeploymentStatus is the most recently observed status of the Deployment.Protobuf type
k8s.io.api.apps.v1.DeploymentStatus-
Method Summary
Modifier and TypeMethodDescriptionaddAllConditions(Iterable<? extends V1Apps.DeploymentCondition> values) Represents the latest available observations of a deployment's current state.addConditions(int index, V1Apps.DeploymentCondition value) Represents the latest available observations of a deployment's current state.addConditions(int index, V1Apps.DeploymentCondition.Builder builderForValue) Represents the latest available observations of a deployment's current state.Represents the latest available observations of a deployment's current state.addConditions(V1Apps.DeploymentCondition.Builder builderForValue) Represents the latest available observations of a deployment's current state.Represents the latest available observations of a deployment's current state.addConditionsBuilder(int index) Represents the latest available observations of a deployment's current state.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.Count of hash collisions for the Deployment.Represents the latest available observations of a deployment's current state.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The generation observed by the deployment controller.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) readyReplicas is the number of pods targeted by this Deployment with a Ready Condition.Total number of non-terminated pods targeted by this deployment (their labels match the selector).Total number of unavailable pods targeted by this deployment.Total number of non-terminated pods targeted by this deployment that have the desired template spec.clone()intTotal number of available pods (ready for at least minReadySeconds) targeted by this deployment.intCount of hash collisions for the Deployment.getConditions(int index) Represents the latest available observations of a deployment's current state.getConditionsBuilder(int index) Represents the latest available observations of a deployment's current state.Represents the latest available observations of a deployment's current state.intRepresents the latest available observations of a deployment's current state.Represents the latest available observations of a deployment's current state.getConditionsOrBuilder(int index) Represents the latest available observations of a deployment's current state.List<? extends V1Apps.DeploymentConditionOrBuilder>Represents the latest available observations of a deployment's current state.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongThe generation observed by the deployment controller.intreadyReplicas is the number of pods targeted by this Deployment with a Ready Condition.intTotal number of non-terminated pods targeted by this deployment (their labels match the selector).intTotal number of unavailable pods targeted by this deployment.intTotal number of non-terminated pods targeted by this deployment that have the desired template spec.booleanTotal number of available pods (ready for at least minReadySeconds) targeted by this deployment.booleanCount of hash collisions for the Deployment.booleanThe generation observed by the deployment controller.booleanreadyReplicas is the number of pods targeted by this Deployment with a Ready Condition.booleanTotal number of non-terminated pods targeted by this deployment (their labels match the selector).booleanTotal number of unavailable pods targeted by this deployment.booleanTotal number of non-terminated pods targeted by this deployment that have the desired template spec.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(V1Apps.DeploymentStatus other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeConditions(int index) Represents the latest available observations of a deployment's current state.setAvailableReplicas(int value) Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.setCollisionCount(int value) Count of hash collisions for the Deployment.setConditions(int index, V1Apps.DeploymentCondition value) Represents the latest available observations of a deployment's current state.setConditions(int index, V1Apps.DeploymentCondition.Builder builderForValue) Represents the latest available observations of a deployment's current state.setObservedGeneration(long value) The generation observed by the deployment controller.setReadyReplicas(int value) readyReplicas is the number of pods targeted by this Deployment with a Ready Condition.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setReplicas(int value) Total number of non-terminated pods targeted by this deployment (their labels match the selector).setUnavailableReplicas(int value) Total number of unavailable pods targeted by this deployment.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUpdatedReplicas(int value) Total number of non-terminated pods targeted by this deployment that have the desired template spec.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.DeploymentStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.DeploymentStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.DeploymentStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.DeploymentStatus.Builder>
-
setField
public V1Apps.DeploymentStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.DeploymentStatus.Builder>
-
clearField
public V1Apps.DeploymentStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.DeploymentStatus.Builder>
-
clearOneof
public V1Apps.DeploymentStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.DeploymentStatus.Builder>
-
setRepeatedField
public V1Apps.DeploymentStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.DeploymentStatus.Builder>
-
addRepeatedField
public V1Apps.DeploymentStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.DeploymentStatus.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1Apps.DeploymentStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.DeploymentStatus.Builder>
-
mergeFrom
public V1Apps.DeploymentStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1Apps.DeploymentStatus.Builder>- Throws:
IOException
-
hasObservedGeneration
public boolean hasObservedGeneration()The generation observed by the deployment controller. +optional
optional int64 observedGeneration = 1;- Specified by:
hasObservedGenerationin interfaceV1Apps.DeploymentStatusOrBuilder
-
getObservedGeneration
public long getObservedGeneration()The generation observed by the deployment controller. +optional
optional int64 observedGeneration = 1;- Specified by:
getObservedGenerationin interfaceV1Apps.DeploymentStatusOrBuilder
-
setObservedGeneration
The generation observed by the deployment controller. +optional
optional int64 observedGeneration = 1; -
clearObservedGeneration
The generation observed by the deployment controller. +optional
optional int64 observedGeneration = 1; -
hasReplicas
public boolean hasReplicas()Total number of non-terminated pods targeted by this deployment (their labels match the selector). +optional
optional int32 replicas = 2;- Specified by:
hasReplicasin interfaceV1Apps.DeploymentStatusOrBuilder
-
getReplicas
public int getReplicas()Total number of non-terminated pods targeted by this deployment (their labels match the selector). +optional
optional int32 replicas = 2;- Specified by:
getReplicasin interfaceV1Apps.DeploymentStatusOrBuilder
-
setReplicas
Total number of non-terminated pods targeted by this deployment (their labels match the selector). +optional
optional int32 replicas = 2; -
clearReplicas
Total number of non-terminated pods targeted by this deployment (their labels match the selector). +optional
optional int32 replicas = 2; -
hasUpdatedReplicas
public boolean hasUpdatedReplicas()Total number of non-terminated pods targeted by this deployment that have the desired template spec. +optional
optional int32 updatedReplicas = 3;- Specified by:
hasUpdatedReplicasin interfaceV1Apps.DeploymentStatusOrBuilder
-
getUpdatedReplicas
public int getUpdatedReplicas()Total number of non-terminated pods targeted by this deployment that have the desired template spec. +optional
optional int32 updatedReplicas = 3;- Specified by:
getUpdatedReplicasin interfaceV1Apps.DeploymentStatusOrBuilder
-
setUpdatedReplicas
Total number of non-terminated pods targeted by this deployment that have the desired template spec. +optional
optional int32 updatedReplicas = 3; -
clearUpdatedReplicas
Total number of non-terminated pods targeted by this deployment that have the desired template spec. +optional
optional int32 updatedReplicas = 3; -
hasReadyReplicas
public boolean hasReadyReplicas()readyReplicas is the number of pods targeted by this Deployment with a Ready Condition. +optional
optional int32 readyReplicas = 7;- Specified by:
hasReadyReplicasin interfaceV1Apps.DeploymentStatusOrBuilder
-
getReadyReplicas
public int getReadyReplicas()readyReplicas is the number of pods targeted by this Deployment with a Ready Condition. +optional
optional int32 readyReplicas = 7;- Specified by:
getReadyReplicasin interfaceV1Apps.DeploymentStatusOrBuilder
-
setReadyReplicas
readyReplicas is the number of pods targeted by this Deployment with a Ready Condition. +optional
optional int32 readyReplicas = 7; -
clearReadyReplicas
readyReplicas is the number of pods targeted by this Deployment with a Ready Condition. +optional
optional int32 readyReplicas = 7; -
hasAvailableReplicas
public boolean hasAvailableReplicas()Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. +optional
optional int32 availableReplicas = 4;- Specified by:
hasAvailableReplicasin interfaceV1Apps.DeploymentStatusOrBuilder
-
getAvailableReplicas
public int getAvailableReplicas()Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. +optional
optional int32 availableReplicas = 4;- Specified by:
getAvailableReplicasin interfaceV1Apps.DeploymentStatusOrBuilder
-
setAvailableReplicas
Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. +optional
optional int32 availableReplicas = 4; -
clearAvailableReplicas
Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. +optional
optional int32 availableReplicas = 4; -
getConditionsList
Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1.DeploymentCondition conditions = 6;- Specified by:
getConditionsListin interfaceV1Apps.DeploymentStatusOrBuilder
-
getConditionsCount
public int getConditionsCount()Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1.DeploymentCondition conditions = 6;- Specified by:
getConditionsCountin interfaceV1Apps.DeploymentStatusOrBuilder
-
getConditions
Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1.DeploymentCondition conditions = 6;- Specified by:
getConditionsin interfaceV1Apps.DeploymentStatusOrBuilder
-
setConditions
Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1.DeploymentCondition conditions = 6; -
setConditions
public V1Apps.DeploymentStatus.Builder setConditions(int index, V1Apps.DeploymentCondition.Builder builderForValue) Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1.DeploymentCondition conditions = 6; -
addConditions
Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1.DeploymentCondition conditions = 6; -
addConditions
Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1.DeploymentCondition conditions = 6; -
addConditions
public V1Apps.DeploymentStatus.Builder addConditions(V1Apps.DeploymentCondition.Builder builderForValue) Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1.DeploymentCondition conditions = 6; -
addConditions
public V1Apps.DeploymentStatus.Builder addConditions(int index, V1Apps.DeploymentCondition.Builder builderForValue) Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1.DeploymentCondition conditions = 6; -
addAllConditions
public V1Apps.DeploymentStatus.Builder addAllConditions(Iterable<? extends V1Apps.DeploymentCondition> values) Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1.DeploymentCondition conditions = 6; -
clearConditions
Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1.DeploymentCondition conditions = 6; -
removeConditions
Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1.DeploymentCondition conditions = 6; -
getConditionsBuilder
Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1.DeploymentCondition conditions = 6; -
getConditionsOrBuilder
Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1.DeploymentCondition conditions = 6;- Specified by:
getConditionsOrBuilderin interfaceV1Apps.DeploymentStatusOrBuilder
-
getConditionsOrBuilderList
Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1.DeploymentCondition conditions = 6;- Specified by:
getConditionsOrBuilderListin interfaceV1Apps.DeploymentStatusOrBuilder
-
addConditionsBuilder
Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1.DeploymentCondition conditions = 6; -
addConditionsBuilder
Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1.DeploymentCondition conditions = 6; -
getConditionsBuilderList
Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1.DeploymentCondition conditions = 6; -
hasCollisionCount
public boolean hasCollisionCount()Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. +optional
optional int32 collisionCount = 8;- Specified by:
hasCollisionCountin interfaceV1Apps.DeploymentStatusOrBuilder
-
getCollisionCount
public int getCollisionCount()Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. +optional
optional int32 collisionCount = 8;- Specified by:
getCollisionCountin interfaceV1Apps.DeploymentStatusOrBuilder
-
setCollisionCount
Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. +optional
optional int32 collisionCount = 8; -
clearCollisionCount
Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. +optional
optional int32 collisionCount = 8; -
setUnknownFields
public final V1Apps.DeploymentStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.DeploymentStatus.Builder>
-
mergeUnknownFields
public final V1Apps.DeploymentStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.DeploymentStatus.Builder>
-