Class Generated.DeleteOptions.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.DeleteOptions.Builder>
-
- k8s.io.apimachinery.pkg.apis.meta.v1.Generated.DeleteOptions.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.DeleteOptionsOrBuilder
- Enclosing class:
- Generated.DeleteOptions
public static final class Generated.DeleteOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.DeleteOptions.Builder> implements Generated.DeleteOptionsOrBuilder
DeleteOptions may be provided when deleting an API object.
Protobuf typek8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.DeleteOptions.BuilderaddAllDryRun(Iterable<String> values)When present, indicates that modifications should not be persisted.Generated.DeleteOptions.BuilderaddDryRun(String value)When present, indicates that modifications should not be persisted.Generated.DeleteOptions.BuilderaddDryRunBytes(com.google.protobuf.ByteString value)When present, indicates that modifications should not be persisted.Generated.DeleteOptions.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.DeleteOptionsbuild()Generated.DeleteOptionsbuildPartial()Generated.DeleteOptions.Builderclear()Generated.DeleteOptions.BuilderclearDryRun()When present, indicates that modifications should not be persisted.Generated.DeleteOptions.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.DeleteOptions.BuilderclearGracePeriodSeconds()The duration in seconds before the object should be deleted.Generated.DeleteOptions.BuilderclearIgnoreStoreReadErrorWithClusterBreakingPotential()if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error.Generated.DeleteOptions.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.DeleteOptions.BuilderclearOrphanDependents()Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.Generated.DeleteOptions.BuilderclearPreconditions()Must be fulfilled before a deletion is carried out.Generated.DeleteOptions.BuilderclearPropagationPolicy()Whether and how garbage collection will be performed.Generated.DeleteOptions.Builderclone()Generated.DeleteOptionsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDryRun(int index)When present, indicates that modifications should not be persisted.com.google.protobuf.ByteStringgetDryRunBytes(int index)When present, indicates that modifications should not be persisted.intgetDryRunCount()When present, indicates that modifications should not be persisted.com.google.protobuf.ProtocolStringListgetDryRunList()When present, indicates that modifications should not be persisted.longgetGracePeriodSeconds()The duration in seconds before the object should be deleted.booleangetIgnoreStoreReadErrorWithClusterBreakingPotential()if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error.booleangetOrphanDependents()Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.Generated.PreconditionsgetPreconditions()Must be fulfilled before a deletion is carried out.Generated.Preconditions.BuildergetPreconditionsBuilder()Must be fulfilled before a deletion is carried out.Generated.PreconditionsOrBuildergetPreconditionsOrBuilder()Must be fulfilled before a deletion is carried out.StringgetPropagationPolicy()Whether and how garbage collection will be performed.com.google.protobuf.ByteStringgetPropagationPolicyBytes()Whether and how garbage collection will be performed.booleanhasGracePeriodSeconds()The duration in seconds before the object should be deleted.booleanhasIgnoreStoreReadErrorWithClusterBreakingPotential()if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error.booleanhasOrphanDependents()Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.booleanhasPreconditions()Must be fulfilled before a deletion is carried out.booleanhasPropagationPolicy()Whether and how garbage collection will be performed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.DeleteOptions.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.DeleteOptions.BuildermergeFrom(com.google.protobuf.Message other)Generated.DeleteOptions.BuildermergeFrom(Generated.DeleteOptions other)Generated.DeleteOptions.BuildermergePreconditions(Generated.Preconditions value)Must be fulfilled before a deletion is carried out.Generated.DeleteOptions.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.DeleteOptions.BuildersetDryRun(int index, String value)When present, indicates that modifications should not be persisted.Generated.DeleteOptions.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.DeleteOptions.BuildersetGracePeriodSeconds(long value)The duration in seconds before the object should be deleted.Generated.DeleteOptions.BuildersetIgnoreStoreReadErrorWithClusterBreakingPotential(boolean value)if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error.Generated.DeleteOptions.BuildersetOrphanDependents(boolean value)Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.Generated.DeleteOptions.BuildersetPreconditions(Generated.Preconditions value)Must be fulfilled before a deletion is carried out.Generated.DeleteOptions.BuildersetPreconditions(Generated.Preconditions.Builder builderForValue)Must be fulfilled before a deletion is carried out.Generated.DeleteOptions.BuildersetPropagationPolicy(String value)Whether and how garbage collection will be performed.Generated.DeleteOptions.BuildersetPropagationPolicyBytes(com.google.protobuf.ByteString value)Whether and how garbage collection will be performed.Generated.DeleteOptions.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.DeleteOptions.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.DeleteOptions.Builder>
-
clear
public Generated.DeleteOptions.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.DeleteOptions.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.DeleteOptions.Builder>
-
getDefaultInstanceForType
public Generated.DeleteOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.DeleteOptions build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.DeleteOptions buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.DeleteOptions.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.DeleteOptions.Builder>
-
setField
public Generated.DeleteOptions.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.DeleteOptions.Builder>
-
clearField
public Generated.DeleteOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.DeleteOptions.Builder>
-
clearOneof
public Generated.DeleteOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.DeleteOptions.Builder>
-
setRepeatedField
public Generated.DeleteOptions.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.DeleteOptions.Builder>
-
addRepeatedField
public Generated.DeleteOptions.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.DeleteOptions.Builder>
-
mergeFrom
public Generated.DeleteOptions.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.DeleteOptions.Builder>
-
mergeFrom
public Generated.DeleteOptions.Builder mergeFrom(Generated.DeleteOptions other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.DeleteOptions.Builder>
-
mergeFrom
public Generated.DeleteOptions.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.DeleteOptions.Builder>- Throws:
IOException
-
hasGracePeriodSeconds
public boolean hasGracePeriodSeconds()
The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +optional
optional int64 gracePeriodSeconds = 1;- Specified by:
hasGracePeriodSecondsin interfaceGenerated.DeleteOptionsOrBuilder- Returns:
- Whether the gracePeriodSeconds field is set.
-
getGracePeriodSeconds
public long getGracePeriodSeconds()
The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +optional
optional int64 gracePeriodSeconds = 1;- Specified by:
getGracePeriodSecondsin interfaceGenerated.DeleteOptionsOrBuilder- Returns:
- The gracePeriodSeconds.
-
setGracePeriodSeconds
public Generated.DeleteOptions.Builder setGracePeriodSeconds(long value)
The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +optional
optional int64 gracePeriodSeconds = 1;- Parameters:
value- The gracePeriodSeconds to set.- Returns:
- This builder for chaining.
-
clearGracePeriodSeconds
public Generated.DeleteOptions.Builder clearGracePeriodSeconds()
The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +optional
optional int64 gracePeriodSeconds = 1;- Returns:
- This builder for chaining.
-
hasPreconditions
public boolean hasPreconditions()
Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned. +k8s:conversion-gen=false +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2;- Specified by:
hasPreconditionsin interfaceGenerated.DeleteOptionsOrBuilder- Returns:
- Whether the preconditions field is set.
-
getPreconditions
public Generated.Preconditions getPreconditions()
Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned. +k8s:conversion-gen=false +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2;- Specified by:
getPreconditionsin interfaceGenerated.DeleteOptionsOrBuilder- Returns:
- The preconditions.
-
setPreconditions
public Generated.DeleteOptions.Builder setPreconditions(Generated.Preconditions value)
Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned. +k8s:conversion-gen=false +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2;
-
setPreconditions
public Generated.DeleteOptions.Builder setPreconditions(Generated.Preconditions.Builder builderForValue)
Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned. +k8s:conversion-gen=false +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2;
-
mergePreconditions
public Generated.DeleteOptions.Builder mergePreconditions(Generated.Preconditions value)
Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned. +k8s:conversion-gen=false +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2;
-
clearPreconditions
public Generated.DeleteOptions.Builder clearPreconditions()
Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned. +k8s:conversion-gen=false +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2;
-
getPreconditionsBuilder
public Generated.Preconditions.Builder getPreconditionsBuilder()
Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned. +k8s:conversion-gen=false +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2;
-
getPreconditionsOrBuilder
public Generated.PreconditionsOrBuilder getPreconditionsOrBuilder()
Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned. +k8s:conversion-gen=false +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2;- Specified by:
getPreconditionsOrBuilderin interfaceGenerated.DeleteOptionsOrBuilder
-
hasOrphanDependents
public boolean hasOrphanDependents()
Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional
optional bool orphanDependents = 3;- Specified by:
hasOrphanDependentsin interfaceGenerated.DeleteOptionsOrBuilder- Returns:
- Whether the orphanDependents field is set.
-
getOrphanDependents
public boolean getOrphanDependents()
Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional
optional bool orphanDependents = 3;- Specified by:
getOrphanDependentsin interfaceGenerated.DeleteOptionsOrBuilder- Returns:
- The orphanDependents.
-
setOrphanDependents
public Generated.DeleteOptions.Builder setOrphanDependents(boolean value)
Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional
optional bool orphanDependents = 3;- Parameters:
value- The orphanDependents to set.- Returns:
- This builder for chaining.
-
clearOrphanDependents
public Generated.DeleteOptions.Builder clearOrphanDependents()
Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional
optional bool orphanDependents = 3;- Returns:
- This builder for chaining.
-
hasPropagationPolicy
public boolean hasPropagationPolicy()
Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +optional
optional string propagationPolicy = 4;- Specified by:
hasPropagationPolicyin interfaceGenerated.DeleteOptionsOrBuilder- Returns:
- Whether the propagationPolicy field is set.
-
getPropagationPolicy
public String getPropagationPolicy()
Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +optional
optional string propagationPolicy = 4;- Specified by:
getPropagationPolicyin interfaceGenerated.DeleteOptionsOrBuilder- Returns:
- The propagationPolicy.
-
getPropagationPolicyBytes
public com.google.protobuf.ByteString getPropagationPolicyBytes()
Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +optional
optional string propagationPolicy = 4;- Specified by:
getPropagationPolicyBytesin interfaceGenerated.DeleteOptionsOrBuilder- Returns:
- The bytes for propagationPolicy.
-
setPropagationPolicy
public Generated.DeleteOptions.Builder setPropagationPolicy(String value)
Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +optional
optional string propagationPolicy = 4;- Parameters:
value- The propagationPolicy to set.- Returns:
- This builder for chaining.
-
clearPropagationPolicy
public Generated.DeleteOptions.Builder clearPropagationPolicy()
Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +optional
optional string propagationPolicy = 4;- Returns:
- This builder for chaining.
-
setPropagationPolicyBytes
public Generated.DeleteOptions.Builder setPropagationPolicyBytes(com.google.protobuf.ByteString value)
Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +optional
optional string propagationPolicy = 4;- Parameters:
value- The bytes for propagationPolicy to set.- Returns:
- This builder for chaining.
-
getDryRunList
public com.google.protobuf.ProtocolStringList getDryRunList()
When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional +listType=atomic
repeated string dryRun = 5;- Specified by:
getDryRunListin interfaceGenerated.DeleteOptionsOrBuilder- Returns:
- A list containing the dryRun.
-
getDryRunCount
public int getDryRunCount()
When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional +listType=atomic
repeated string dryRun = 5;- Specified by:
getDryRunCountin interfaceGenerated.DeleteOptionsOrBuilder- Returns:
- The count of dryRun.
-
getDryRun
public String getDryRun(int index)
When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional +listType=atomic
repeated string dryRun = 5;- Specified by:
getDryRunin interfaceGenerated.DeleteOptionsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The dryRun at the given index.
-
getDryRunBytes
public com.google.protobuf.ByteString getDryRunBytes(int index)
When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional +listType=atomic
repeated string dryRun = 5;- Specified by:
getDryRunBytesin interfaceGenerated.DeleteOptionsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the dryRun at the given index.
-
setDryRun
public Generated.DeleteOptions.Builder setDryRun(int index, String value)
When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional +listType=atomic
repeated string dryRun = 5;- Parameters:
index- The index to set the value at.value- The dryRun to set.- Returns:
- This builder for chaining.
-
addDryRun
public Generated.DeleteOptions.Builder addDryRun(String value)
When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional +listType=atomic
repeated string dryRun = 5;- Parameters:
value- The dryRun to add.- Returns:
- This builder for chaining.
-
addAllDryRun
public Generated.DeleteOptions.Builder addAllDryRun(Iterable<String> values)
When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional +listType=atomic
repeated string dryRun = 5;- Parameters:
values- The dryRun to add.- Returns:
- This builder for chaining.
-
clearDryRun
public Generated.DeleteOptions.Builder clearDryRun()
When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional +listType=atomic
repeated string dryRun = 5;- Returns:
- This builder for chaining.
-
addDryRunBytes
public Generated.DeleteOptions.Builder addDryRunBytes(com.google.protobuf.ByteString value)
When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional +listType=atomic
repeated string dryRun = 5;- Parameters:
value- The bytes of the dryRun to add.- Returns:
- This builder for chaining.
-
hasIgnoreStoreReadErrorWithClusterBreakingPotential
public boolean hasIgnoreStoreReadErrorWithClusterBreakingPotential()
if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it +optional
optional bool ignoreStoreReadErrorWithClusterBreakingPotential = 6;- Specified by:
hasIgnoreStoreReadErrorWithClusterBreakingPotentialin interfaceGenerated.DeleteOptionsOrBuilder- Returns:
- Whether the ignoreStoreReadErrorWithClusterBreakingPotential field is set.
-
getIgnoreStoreReadErrorWithClusterBreakingPotential
public boolean getIgnoreStoreReadErrorWithClusterBreakingPotential()
if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it +optional
optional bool ignoreStoreReadErrorWithClusterBreakingPotential = 6;- Specified by:
getIgnoreStoreReadErrorWithClusterBreakingPotentialin interfaceGenerated.DeleteOptionsOrBuilder- Returns:
- The ignoreStoreReadErrorWithClusterBreakingPotential.
-
setIgnoreStoreReadErrorWithClusterBreakingPotential
public Generated.DeleteOptions.Builder setIgnoreStoreReadErrorWithClusterBreakingPotential(boolean value)
if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it +optional
optional bool ignoreStoreReadErrorWithClusterBreakingPotential = 6;- Parameters:
value- The ignoreStoreReadErrorWithClusterBreakingPotential to set.- Returns:
- This builder for chaining.
-
clearIgnoreStoreReadErrorWithClusterBreakingPotential
public Generated.DeleteOptions.Builder clearIgnoreStoreReadErrorWithClusterBreakingPotential()
if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it +optional
optional bool ignoreStoreReadErrorWithClusterBreakingPotential = 6;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Generated.DeleteOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.DeleteOptions.Builder>
-
mergeUnknownFields
public final Generated.DeleteOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.DeleteOptions.Builder>
-
-