Class V1alpha1StorageVersionStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha1StorageVersionStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T21:37:40.170033Z[Etc/UTC]")
public class V1alpha1StorageVersionStatus
extends Object
API server instances report the versions they can decode and the version they encode objects to when persisting objects in the backend.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddConditionsItem
(V1alpha1StorageVersionCondition conditionsItem) addStorageVersionsItem
(V1alpha1ServerStorageVersion storageVersionsItem) commonEncodingVersion
(String commonEncodingVersion) conditions
(List<V1alpha1StorageVersionCondition> conditions) boolean
If all API server instances agree on the same encoding storage version, then this field is set to that version.The latest available observations of the storageVersion's state.The reported versions per API server instance.int
hashCode()
void
setCommonEncodingVersion
(String commonEncodingVersion) void
setConditions
(List<V1alpha1StorageVersionCondition> conditions) void
setStorageVersions
(List<V1alpha1ServerStorageVersion> storageVersions) storageVersions
(List<V1alpha1ServerStorageVersion> storageVersions) toString()
-
Field Details
-
SERIALIZED_NAME_COMMON_ENCODING_VERSION
- See Also:
-
SERIALIZED_NAME_CONDITIONS
- See Also:
-
SERIALIZED_NAME_STORAGE_VERSIONS
- See Also:
-
-
Constructor Details
-
V1alpha1StorageVersionStatus
public V1alpha1StorageVersionStatus()
-
-
Method Details
-
commonEncodingVersion
-
getCommonEncodingVersion
If all API server instances agree on the same encoding storage version, then this field is set to that version. Otherwise this field is left empty. API servers should finish updating its storageVersionStatus entry before serving write operations, so that this field will be in sync with the reality.- Returns:
- commonEncodingVersion
-
setCommonEncodingVersion
-
conditions
-
addConditionsItem
public V1alpha1StorageVersionStatus addConditionsItem(V1alpha1StorageVersionCondition conditionsItem) -
getConditions
The latest available observations of the storageVersion's state.- Returns:
- conditions
-
setConditions
-
storageVersions
public V1alpha1StorageVersionStatus storageVersions(List<V1alpha1ServerStorageVersion> storageVersions) -
addStorageVersionsItem
public V1alpha1StorageVersionStatus addStorageVersionsItem(V1alpha1ServerStorageVersion storageVersionsItem) -
getStorageVersions
The reported versions per API server instance.- Returns:
- storageVersions
-
setStorageVersions
-
equals
-
hashCode
public int hashCode() -
toString
-