Package io.kubernetes.client.proto
Class V1beta1Apps.DeploymentStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder>
io.kubernetes.client.proto.V1beta1Apps.DeploymentStatus.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,V1beta1Apps.DeploymentStatusOrBuilder
,Cloneable
- Enclosing class:
- V1beta1Apps.DeploymentStatus
public static final class V1beta1Apps.DeploymentStatus.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder>
implements V1beta1Apps.DeploymentStatusOrBuilder
DeploymentStatus is the most recently observed status of the Deployment.Protobuf type
k8s.io.api.apps.v1beta1.DeploymentStatus
-
Method Summary
Modifier and TypeMethodDescriptionaddAllConditions
(Iterable<? extends V1beta1Apps.DeploymentCondition> values) Represents the latest available observations of a deployment's current state.addConditions
(int index, V1beta1Apps.DeploymentCondition value) Represents the latest available observations of a deployment's current state.addConditions
(int index, V1beta1Apps.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
(V1beta1Apps.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 controller 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()
int
Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.int
Count 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.int
Represents 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 V1beta1Apps.DeploymentConditionOrBuilder>
Represents the latest available observations of a deployment's current state.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
The generation observed by the deployment controller.int
readyReplicas is the number of pods targeted by this Deployment controller with a Ready Condition.int
Total number of non-terminated pods targeted by this deployment (their labels match the selector).int
Total number of unavailable pods targeted by this deployment.int
Total number of non-terminated pods targeted by this deployment that have the desired template spec.boolean
Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.boolean
Count of hash collisions for the Deployment.boolean
The generation observed by the deployment controller.boolean
readyReplicas is the number of pods targeted by this Deployment controller with a Ready Condition.boolean
Total number of non-terminated pods targeted by this deployment (their labels match the selector).boolean
Total number of unavailable pods targeted by this deployment.boolean
Total number of non-terminated pods targeted by this deployment that have the desired template spec.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message 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, V1beta1Apps.DeploymentCondition value) Represents the latest available observations of a deployment's current state.setConditions
(int index, V1beta1Apps.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 controller 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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder>
-
setField
public V1beta1Apps.DeploymentStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder>
-
clearField
public V1beta1Apps.DeploymentStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder>
-
clearOneof
public V1beta1Apps.DeploymentStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder>
-
setRepeatedField
public V1beta1Apps.DeploymentStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder>
-
addRepeatedField
public V1beta1Apps.DeploymentStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1beta1Apps.DeploymentStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder>
-
mergeFrom
public V1beta1Apps.DeploymentStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1beta1Apps.DeploymentStatus.Builder>
- Throws:
IOException
-
hasObservedGeneration
public boolean hasObservedGeneration()The generation observed by the deployment controller. +optional
optional int64 observedGeneration = 1;
- Specified by:
hasObservedGeneration
in interfaceV1beta1Apps.DeploymentStatusOrBuilder
-
getObservedGeneration
public long getObservedGeneration()The generation observed by the deployment controller. +optional
optional int64 observedGeneration = 1;
- Specified by:
getObservedGeneration
in interfaceV1beta1Apps.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:
hasReplicas
in interfaceV1beta1Apps.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:
getReplicas
in interfaceV1beta1Apps.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:
hasUpdatedReplicas
in interfaceV1beta1Apps.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:
getUpdatedReplicas
in interfaceV1beta1Apps.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 controller with a Ready Condition. +optional
optional int32 readyReplicas = 7;
- Specified by:
hasReadyReplicas
in interfaceV1beta1Apps.DeploymentStatusOrBuilder
-
getReadyReplicas
public int getReadyReplicas()readyReplicas is the number of pods targeted by this Deployment controller with a Ready Condition. +optional
optional int32 readyReplicas = 7;
- Specified by:
getReadyReplicas
in interfaceV1beta1Apps.DeploymentStatusOrBuilder
-
setReadyReplicas
readyReplicas is the number of pods targeted by this Deployment controller with a Ready Condition. +optional
optional int32 readyReplicas = 7;
-
clearReadyReplicas
readyReplicas is the number of pods targeted by this Deployment controller 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:
hasAvailableReplicas
in interfaceV1beta1Apps.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:
getAvailableReplicas
in interfaceV1beta1Apps.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.v1beta1.DeploymentCondition conditions = 6;
- Specified by:
getConditionsList
in interfaceV1beta1Apps.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.v1beta1.DeploymentCondition conditions = 6;
- Specified by:
getConditionsCount
in interfaceV1beta1Apps.DeploymentStatusOrBuilder
-
getConditions
Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
- Specified by:
getConditions
in interfaceV1beta1Apps.DeploymentStatusOrBuilder
-
setConditions
public V1beta1Apps.DeploymentStatus.Builder setConditions(int index, V1beta1Apps.DeploymentCondition value) Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
-
setConditions
public V1beta1Apps.DeploymentStatus.Builder setConditions(int index, V1beta1Apps.DeploymentCondition.Builder builderForValue) Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
-
addConditions
Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
-
addConditions
public V1beta1Apps.DeploymentStatus.Builder addConditions(int index, V1beta1Apps.DeploymentCondition value) Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
-
addConditions
public V1beta1Apps.DeploymentStatus.Builder addConditions(V1beta1Apps.DeploymentCondition.Builder builderForValue) Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
-
addConditions
public V1beta1Apps.DeploymentStatus.Builder addConditions(int index, V1beta1Apps.DeploymentCondition.Builder builderForValue) Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
-
addAllConditions
public V1beta1Apps.DeploymentStatus.Builder addAllConditions(Iterable<? extends V1beta1Apps.DeploymentCondition> values) Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
-
clearConditions
Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
-
removeConditions
Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
-
getConditionsBuilder
Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
-
getConditionsOrBuilder
Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
- Specified by:
getConditionsOrBuilder
in interfaceV1beta1Apps.DeploymentStatusOrBuilder
-
getConditionsOrBuilderList
Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
- Specified by:
getConditionsOrBuilderList
in interfaceV1beta1Apps.DeploymentStatusOrBuilder
-
addConditionsBuilder
Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
-
addConditionsBuilder
Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
-
getConditionsBuilderList
Represents the latest available observations of a deployment's current state. +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1beta1.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:
hasCollisionCount
in interfaceV1beta1Apps.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:
getCollisionCount
in interfaceV1beta1Apps.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 V1beta1Apps.DeploymentStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder>
-
mergeUnknownFields
public final V1beta1Apps.DeploymentStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder>
-