Package k8s.io.api.core.v1
Class Generated.NodeConfigStatus.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeConfigStatus.Builder>
-
- k8s.io.api.core.v1.Generated.NodeConfigStatus.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.NodeConfigStatusOrBuilder
- Enclosing class:
- Generated.NodeConfigStatus
public static final class Generated.NodeConfigStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeConfigStatus.Builder> implements Generated.NodeConfigStatusOrBuilder
NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.
Protobuf typek8s.io.api.core.v1.NodeConfigStatus
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.NodeConfigStatus.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.NodeConfigStatusbuild()Generated.NodeConfigStatusbuildPartial()Generated.NodeConfigStatus.Builderclear()Generated.NodeConfigStatus.BuilderclearActive()Active reports the checkpointed config the node is actively using.Generated.NodeConfigStatus.BuilderclearAssigned()Assigned reports the checkpointed config the node will try to use.Generated.NodeConfigStatus.BuilderclearError()Error describes any problems reconciling the Spec.ConfigSource to the Active config.Generated.NodeConfigStatus.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.NodeConfigStatus.BuilderclearLastKnownGood()LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config.Generated.NodeConfigStatus.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.NodeConfigStatus.Builderclone()Generated.NodeConfigSourcegetActive()Active reports the checkpointed config the node is actively using.Generated.NodeConfigSource.BuildergetActiveBuilder()Active reports the checkpointed config the node is actively using.Generated.NodeConfigSourceOrBuildergetActiveOrBuilder()Active reports the checkpointed config the node is actively using.Generated.NodeConfigSourcegetAssigned()Assigned reports the checkpointed config the node will try to use.Generated.NodeConfigSource.BuildergetAssignedBuilder()Assigned reports the checkpointed config the node will try to use.Generated.NodeConfigSourceOrBuildergetAssignedOrBuilder()Assigned reports the checkpointed config the node will try to use.Generated.NodeConfigStatusgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetError()Error describes any problems reconciling the Spec.ConfigSource to the Active config.com.google.protobuf.ByteStringgetErrorBytes()Error describes any problems reconciling the Spec.ConfigSource to the Active config.Generated.NodeConfigSourcegetLastKnownGood()LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config.Generated.NodeConfigSource.BuildergetLastKnownGoodBuilder()LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config.Generated.NodeConfigSourceOrBuildergetLastKnownGoodOrBuilder()LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config.booleanhasActive()Active reports the checkpointed config the node is actively using.booleanhasAssigned()Assigned reports the checkpointed config the node will try to use.booleanhasError()Error describes any problems reconciling the Spec.ConfigSource to the Active config.booleanhasLastKnownGood()LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.NodeConfigStatus.BuildermergeActive(Generated.NodeConfigSource value)Active reports the checkpointed config the node is actively using.Generated.NodeConfigStatus.BuildermergeAssigned(Generated.NodeConfigSource value)Assigned reports the checkpointed config the node will try to use.Generated.NodeConfigStatus.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.NodeConfigStatus.BuildermergeFrom(com.google.protobuf.Message other)Generated.NodeConfigStatus.BuildermergeFrom(Generated.NodeConfigStatus other)Generated.NodeConfigStatus.BuildermergeLastKnownGood(Generated.NodeConfigSource value)LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config.Generated.NodeConfigStatus.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.NodeConfigStatus.BuildersetActive(Generated.NodeConfigSource value)Active reports the checkpointed config the node is actively using.Generated.NodeConfigStatus.BuildersetActive(Generated.NodeConfigSource.Builder builderForValue)Active reports the checkpointed config the node is actively using.Generated.NodeConfigStatus.BuildersetAssigned(Generated.NodeConfigSource value)Assigned reports the checkpointed config the node will try to use.Generated.NodeConfigStatus.BuildersetAssigned(Generated.NodeConfigSource.Builder builderForValue)Assigned reports the checkpointed config the node will try to use.Generated.NodeConfigStatus.BuildersetError(String value)Error describes any problems reconciling the Spec.ConfigSource to the Active config.Generated.NodeConfigStatus.BuildersetErrorBytes(com.google.protobuf.ByteString value)Error describes any problems reconciling the Spec.ConfigSource to the Active config.Generated.NodeConfigStatus.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.NodeConfigStatus.BuildersetLastKnownGood(Generated.NodeConfigSource value)LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config.Generated.NodeConfigStatus.BuildersetLastKnownGood(Generated.NodeConfigSource.Builder builderForValue)LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config.Generated.NodeConfigStatus.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.NodeConfigStatus.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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
-
-
-
-
Method Detail
-
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<Generated.NodeConfigStatus.Builder>
-
clear
public Generated.NodeConfigStatus.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<Generated.NodeConfigStatus.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<Generated.NodeConfigStatus.Builder>
-
getDefaultInstanceForType
public Generated.NodeConfigStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.NodeConfigStatus build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.NodeConfigStatus buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.NodeConfigStatus.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<Generated.NodeConfigStatus.Builder>
-
setField
public Generated.NodeConfigStatus.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<Generated.NodeConfigStatus.Builder>
-
clearField
public Generated.NodeConfigStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeConfigStatus.Builder>
-
clearOneof
public Generated.NodeConfigStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeConfigStatus.Builder>
-
setRepeatedField
public Generated.NodeConfigStatus.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<Generated.NodeConfigStatus.Builder>
-
addRepeatedField
public Generated.NodeConfigStatus.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<Generated.NodeConfigStatus.Builder>
-
mergeFrom
public Generated.NodeConfigStatus.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.NodeConfigStatus.Builder>
-
mergeFrom
public Generated.NodeConfigStatus.Builder mergeFrom(Generated.NodeConfigStatus other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeConfigStatus.Builder>
-
mergeFrom
public Generated.NodeConfigStatus.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<Generated.NodeConfigStatus.Builder>- Throws:
IOException
-
hasAssigned
public boolean hasAssigned()
Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned. +optional
optional .k8s.io.api.core.v1.NodeConfigSource assigned = 1;- Specified by:
hasAssignedin interfaceGenerated.NodeConfigStatusOrBuilder- Returns:
- Whether the assigned field is set.
-
getAssigned
public Generated.NodeConfigSource getAssigned()
Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned. +optional
optional .k8s.io.api.core.v1.NodeConfigSource assigned = 1;- Specified by:
getAssignedin interfaceGenerated.NodeConfigStatusOrBuilder- Returns:
- The assigned.
-
setAssigned
public Generated.NodeConfigStatus.Builder setAssigned(Generated.NodeConfigSource value)
Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned. +optional
optional .k8s.io.api.core.v1.NodeConfigSource assigned = 1;
-
setAssigned
public Generated.NodeConfigStatus.Builder setAssigned(Generated.NodeConfigSource.Builder builderForValue)
Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned. +optional
optional .k8s.io.api.core.v1.NodeConfigSource assigned = 1;
-
mergeAssigned
public Generated.NodeConfigStatus.Builder mergeAssigned(Generated.NodeConfigSource value)
Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned. +optional
optional .k8s.io.api.core.v1.NodeConfigSource assigned = 1;
-
clearAssigned
public Generated.NodeConfigStatus.Builder clearAssigned()
Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned. +optional
optional .k8s.io.api.core.v1.NodeConfigSource assigned = 1;
-
getAssignedBuilder
public Generated.NodeConfigSource.Builder getAssignedBuilder()
Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned. +optional
optional .k8s.io.api.core.v1.NodeConfigSource assigned = 1;
-
getAssignedOrBuilder
public Generated.NodeConfigSourceOrBuilder getAssignedOrBuilder()
Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned. +optional
optional .k8s.io.api.core.v1.NodeConfigSource assigned = 1;- Specified by:
getAssignedOrBuilderin interfaceGenerated.NodeConfigStatusOrBuilder
-
hasActive
public boolean hasActive()
Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error. +optional
optional .k8s.io.api.core.v1.NodeConfigSource active = 2;- Specified by:
hasActivein interfaceGenerated.NodeConfigStatusOrBuilder- Returns:
- Whether the active field is set.
-
getActive
public Generated.NodeConfigSource getActive()
Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error. +optional
optional .k8s.io.api.core.v1.NodeConfigSource active = 2;- Specified by:
getActivein interfaceGenerated.NodeConfigStatusOrBuilder- Returns:
- The active.
-
setActive
public Generated.NodeConfigStatus.Builder setActive(Generated.NodeConfigSource value)
Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error. +optional
optional .k8s.io.api.core.v1.NodeConfigSource active = 2;
-
setActive
public Generated.NodeConfigStatus.Builder setActive(Generated.NodeConfigSource.Builder builderForValue)
Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error. +optional
optional .k8s.io.api.core.v1.NodeConfigSource active = 2;
-
mergeActive
public Generated.NodeConfigStatus.Builder mergeActive(Generated.NodeConfigSource value)
Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error. +optional
optional .k8s.io.api.core.v1.NodeConfigSource active = 2;
-
clearActive
public Generated.NodeConfigStatus.Builder clearActive()
Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error. +optional
optional .k8s.io.api.core.v1.NodeConfigSource active = 2;
-
getActiveBuilder
public Generated.NodeConfigSource.Builder getActiveBuilder()
Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error. +optional
optional .k8s.io.api.core.v1.NodeConfigSource active = 2;
-
getActiveOrBuilder
public Generated.NodeConfigSourceOrBuilder getActiveOrBuilder()
Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error. +optional
optional .k8s.io.api.core.v1.NodeConfigSource active = 2;- Specified by:
getActiveOrBuilderin interfaceGenerated.NodeConfigStatusOrBuilder
-
hasLastKnownGood
public boolean hasLastKnownGood()
LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future. +optional
optional .k8s.io.api.core.v1.NodeConfigSource lastKnownGood = 3;- Specified by:
hasLastKnownGoodin interfaceGenerated.NodeConfigStatusOrBuilder- Returns:
- Whether the lastKnownGood field is set.
-
getLastKnownGood
public Generated.NodeConfigSource getLastKnownGood()
LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future. +optional
optional .k8s.io.api.core.v1.NodeConfigSource lastKnownGood = 3;- Specified by:
getLastKnownGoodin interfaceGenerated.NodeConfigStatusOrBuilder- Returns:
- The lastKnownGood.
-
setLastKnownGood
public Generated.NodeConfigStatus.Builder setLastKnownGood(Generated.NodeConfigSource value)
LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future. +optional
optional .k8s.io.api.core.v1.NodeConfigSource lastKnownGood = 3;
-
setLastKnownGood
public Generated.NodeConfigStatus.Builder setLastKnownGood(Generated.NodeConfigSource.Builder builderForValue)
LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future. +optional
optional .k8s.io.api.core.v1.NodeConfigSource lastKnownGood = 3;
-
mergeLastKnownGood
public Generated.NodeConfigStatus.Builder mergeLastKnownGood(Generated.NodeConfigSource value)
LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future. +optional
optional .k8s.io.api.core.v1.NodeConfigSource lastKnownGood = 3;
-
clearLastKnownGood
public Generated.NodeConfigStatus.Builder clearLastKnownGood()
LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future. +optional
optional .k8s.io.api.core.v1.NodeConfigSource lastKnownGood = 3;
-
getLastKnownGoodBuilder
public Generated.NodeConfigSource.Builder getLastKnownGoodBuilder()
LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future. +optional
optional .k8s.io.api.core.v1.NodeConfigSource lastKnownGood = 3;
-
getLastKnownGoodOrBuilder
public Generated.NodeConfigSourceOrBuilder getLastKnownGoodOrBuilder()
LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future. +optional
optional .k8s.io.api.core.v1.NodeConfigSource lastKnownGood = 3;- Specified by:
getLastKnownGoodOrBuilderin interfaceGenerated.NodeConfigStatusOrBuilder
-
hasError
public boolean hasError()
Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions. +optional
optional string error = 4;- Specified by:
hasErrorin interfaceGenerated.NodeConfigStatusOrBuilder- Returns:
- Whether the error field is set.
-
getError
public String getError()
Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions. +optional
optional string error = 4;- Specified by:
getErrorin interfaceGenerated.NodeConfigStatusOrBuilder- Returns:
- The error.
-
getErrorBytes
public com.google.protobuf.ByteString getErrorBytes()
Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions. +optional
optional string error = 4;- Specified by:
getErrorBytesin interfaceGenerated.NodeConfigStatusOrBuilder- Returns:
- The bytes for error.
-
setError
public Generated.NodeConfigStatus.Builder setError(String value)
Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions. +optional
optional string error = 4;- Parameters:
value- The error to set.- Returns:
- This builder for chaining.
-
clearError
public Generated.NodeConfigStatus.Builder clearError()
Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions. +optional
optional string error = 4;- Returns:
- This builder for chaining.
-
setErrorBytes
public Generated.NodeConfigStatus.Builder setErrorBytes(com.google.protobuf.ByteString value)
Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions. +optional
optional string error = 4;- Parameters:
value- The bytes for error to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Generated.NodeConfigStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeConfigStatus.Builder>
-
mergeUnknownFields
public final Generated.NodeConfigStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeConfigStatus.Builder>
-
-