public static final class V1beta1Apps.DeploymentRollback.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentRollback.Builder> implements V1beta1Apps.DeploymentRollbackOrBuilder
DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.Protobuf type
k8s.io.api.apps.v1beta1.DeploymentRollback| Modifier and Type | Method and Description |
|---|---|
V1beta1Apps.DeploymentRollback.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Apps.DeploymentRollback |
build() |
V1beta1Apps.DeploymentRollback |
buildPartial() |
V1beta1Apps.DeploymentRollback.Builder |
clear() |
V1beta1Apps.DeploymentRollback.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta1Apps.DeploymentRollback.Builder |
clearName()
Required: This must match the Name of a deployment.
|
V1beta1Apps.DeploymentRollback.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta1Apps.DeploymentRollback.Builder |
clearRollbackTo()
The config of this deployment rollback.
|
V1beta1Apps.DeploymentRollback.Builder |
clearUpdatedAnnotations() |
V1beta1Apps.DeploymentRollback.Builder |
clone() |
boolean |
containsUpdatedAnnotations(String key)
The annotations to be updated to a deployment
+optional
|
V1beta1Apps.DeploymentRollback |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,String> |
getMutableUpdatedAnnotations()
Deprecated.
|
String |
getName()
Required: This must match the Name of a deployment.
|
com.google.protobuf.ByteString |
getNameBytes()
Required: This must match the Name of a deployment.
|
V1beta1Apps.RollbackConfig |
getRollbackTo()
The config of this deployment rollback.
|
V1beta1Apps.RollbackConfig.Builder |
getRollbackToBuilder()
The config of this deployment rollback.
|
V1beta1Apps.RollbackConfigOrBuilder |
getRollbackToOrBuilder()
The config of this deployment rollback.
|
Map<String,String> |
getUpdatedAnnotations()
Deprecated.
|
int |
getUpdatedAnnotationsCount()
The annotations to be updated to a deployment
+optional
|
Map<String,String> |
getUpdatedAnnotationsMap()
The annotations to be updated to a deployment
+optional
|
String |
getUpdatedAnnotationsOrDefault(String key,
String defaultValue)
The annotations to be updated to a deployment
+optional
|
String |
getUpdatedAnnotationsOrThrow(String key)
The annotations to be updated to a deployment
+optional
|
boolean |
hasName()
Required: This must match the Name of a deployment.
|
boolean |
hasRollbackTo()
The config of this deployment rollback.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
V1beta1Apps.DeploymentRollback.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta1Apps.DeploymentRollback.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta1Apps.DeploymentRollback.Builder |
mergeFrom(V1beta1Apps.DeploymentRollback other) |
V1beta1Apps.DeploymentRollback.Builder |
mergeRollbackTo(V1beta1Apps.RollbackConfig value)
The config of this deployment rollback.
|
V1beta1Apps.DeploymentRollback.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Apps.DeploymentRollback.Builder |
putAllUpdatedAnnotations(Map<String,String> values)
The annotations to be updated to a deployment
+optional
|
V1beta1Apps.DeploymentRollback.Builder |
putUpdatedAnnotations(String key,
String value)
The annotations to be updated to a deployment
+optional
|
V1beta1Apps.DeploymentRollback.Builder |
removeUpdatedAnnotations(String key)
The annotations to be updated to a deployment
+optional
|
V1beta1Apps.DeploymentRollback.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Apps.DeploymentRollback.Builder |
setName(String value)
Required: This must match the Name of a deployment.
|
V1beta1Apps.DeploymentRollback.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required: This must match the Name of a deployment.
|
V1beta1Apps.DeploymentRollback.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta1Apps.DeploymentRollback.Builder |
setRollbackTo(V1beta1Apps.RollbackConfig.Builder builderForValue)
The config of this deployment rollback.
|
V1beta1Apps.DeploymentRollback.Builder |
setRollbackTo(V1beta1Apps.RollbackConfig value)
The config of this deployment rollback.
|
V1beta1Apps.DeploymentRollback.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentRollback.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentRollback.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentRollback.Builder>public V1beta1Apps.DeploymentRollback.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentRollback.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentRollback.Builder>public V1beta1Apps.DeploymentRollback getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Apps.DeploymentRollback build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Apps.DeploymentRollback buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Apps.DeploymentRollback.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentRollback.Builder>public V1beta1Apps.DeploymentRollback.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentRollback.Builder>public V1beta1Apps.DeploymentRollback.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentRollback.Builder>public V1beta1Apps.DeploymentRollback.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentRollback.Builder>public V1beta1Apps.DeploymentRollback.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentRollback.Builder>public V1beta1Apps.DeploymentRollback.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentRollback.Builder>public V1beta1Apps.DeploymentRollback.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Apps.DeploymentRollback.Builder>public V1beta1Apps.DeploymentRollback.Builder mergeFrom(V1beta1Apps.DeploymentRollback other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentRollback.Builder>public V1beta1Apps.DeploymentRollback.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Apps.DeploymentRollback.Builder>IOExceptionpublic boolean hasName()
Required: This must match the Name of a deployment.
optional string name = 1;hasName in interface V1beta1Apps.DeploymentRollbackOrBuilderpublic String getName()
Required: This must match the Name of a deployment.
optional string name = 1;getName in interface V1beta1Apps.DeploymentRollbackOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required: This must match the Name of a deployment.
optional string name = 1;getNameBytes in interface V1beta1Apps.DeploymentRollbackOrBuilderpublic V1beta1Apps.DeploymentRollback.Builder setName(String value)
Required: This must match the Name of a deployment.
optional string name = 1;public V1beta1Apps.DeploymentRollback.Builder clearName()
Required: This must match the Name of a deployment.
optional string name = 1;public V1beta1Apps.DeploymentRollback.Builder setNameBytes(com.google.protobuf.ByteString value)
Required: This must match the Name of a deployment.
optional string name = 1;public int getUpdatedAnnotationsCount()
V1beta1Apps.DeploymentRollbackOrBuilderThe annotations to be updated to a deployment +optional
map<string, string> updatedAnnotations = 2;getUpdatedAnnotationsCount in interface V1beta1Apps.DeploymentRollbackOrBuilderpublic boolean containsUpdatedAnnotations(String key)
The annotations to be updated to a deployment +optional
map<string, string> updatedAnnotations = 2;containsUpdatedAnnotations in interface V1beta1Apps.DeploymentRollbackOrBuilder@Deprecated public Map<String,String> getUpdatedAnnotations()
getUpdatedAnnotationsMap() instead.getUpdatedAnnotations in interface V1beta1Apps.DeploymentRollbackOrBuilderpublic Map<String,String> getUpdatedAnnotationsMap()
The annotations to be updated to a deployment +optional
map<string, string> updatedAnnotations = 2;getUpdatedAnnotationsMap in interface V1beta1Apps.DeploymentRollbackOrBuilderpublic String getUpdatedAnnotationsOrDefault(String key, String defaultValue)
The annotations to be updated to a deployment +optional
map<string, string> updatedAnnotations = 2;getUpdatedAnnotationsOrDefault in interface V1beta1Apps.DeploymentRollbackOrBuilderpublic String getUpdatedAnnotationsOrThrow(String key)
The annotations to be updated to a deployment +optional
map<string, string> updatedAnnotations = 2;getUpdatedAnnotationsOrThrow in interface V1beta1Apps.DeploymentRollbackOrBuilderpublic V1beta1Apps.DeploymentRollback.Builder clearUpdatedAnnotations()
public V1beta1Apps.DeploymentRollback.Builder removeUpdatedAnnotations(String key)
The annotations to be updated to a deployment +optional
map<string, string> updatedAnnotations = 2;@Deprecated public Map<String,String> getMutableUpdatedAnnotations()
public V1beta1Apps.DeploymentRollback.Builder putUpdatedAnnotations(String key, String value)
The annotations to be updated to a deployment +optional
map<string, string> updatedAnnotations = 2;public V1beta1Apps.DeploymentRollback.Builder putAllUpdatedAnnotations(Map<String,String> values)
The annotations to be updated to a deployment +optional
map<string, string> updatedAnnotations = 2;public boolean hasRollbackTo()
The config of this deployment rollback.
optional .k8s.io.api.apps.v1beta1.RollbackConfig rollbackTo = 3;hasRollbackTo in interface V1beta1Apps.DeploymentRollbackOrBuilderpublic V1beta1Apps.RollbackConfig getRollbackTo()
The config of this deployment rollback.
optional .k8s.io.api.apps.v1beta1.RollbackConfig rollbackTo = 3;getRollbackTo in interface V1beta1Apps.DeploymentRollbackOrBuilderpublic V1beta1Apps.DeploymentRollback.Builder setRollbackTo(V1beta1Apps.RollbackConfig value)
The config of this deployment rollback.
optional .k8s.io.api.apps.v1beta1.RollbackConfig rollbackTo = 3;public V1beta1Apps.DeploymentRollback.Builder setRollbackTo(V1beta1Apps.RollbackConfig.Builder builderForValue)
The config of this deployment rollback.
optional .k8s.io.api.apps.v1beta1.RollbackConfig rollbackTo = 3;public V1beta1Apps.DeploymentRollback.Builder mergeRollbackTo(V1beta1Apps.RollbackConfig value)
The config of this deployment rollback.
optional .k8s.io.api.apps.v1beta1.RollbackConfig rollbackTo = 3;public V1beta1Apps.DeploymentRollback.Builder clearRollbackTo()
The config of this deployment rollback.
optional .k8s.io.api.apps.v1beta1.RollbackConfig rollbackTo = 3;public V1beta1Apps.RollbackConfig.Builder getRollbackToBuilder()
The config of this deployment rollback.
optional .k8s.io.api.apps.v1beta1.RollbackConfig rollbackTo = 3;public V1beta1Apps.RollbackConfigOrBuilder getRollbackToOrBuilder()
The config of this deployment rollback.
optional .k8s.io.api.apps.v1beta1.RollbackConfig rollbackTo = 3;getRollbackToOrBuilder in interface V1beta1Apps.DeploymentRollbackOrBuilderpublic final V1beta1Apps.DeploymentRollback.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentRollback.Builder>public final V1beta1Apps.DeploymentRollback.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentRollback.Builder>Copyright © 2023. All rights reserved.