public static final class Meta.DeleteOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Meta.DeleteOptions.Builder> implements Meta.DeleteOptionsOrBuilder
DeleteOptions may be provided when deleting an API object.Protobuf type
k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions| Modifier and Type | Method and Description |
|---|---|
Meta.DeleteOptions.Builder |
addAllDryRun(Iterable<String> values)
When present, indicates that modifications should not be
persisted.
|
Meta.DeleteOptions.Builder |
addDryRun(String value)
When present, indicates that modifications should not be
persisted.
|
Meta.DeleteOptions.Builder |
addDryRunBytes(com.google.protobuf.ByteString value)
When present, indicates that modifications should not be
persisted.
|
Meta.DeleteOptions.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Meta.DeleteOptions |
build() |
Meta.DeleteOptions |
buildPartial() |
Meta.DeleteOptions.Builder |
clear() |
Meta.DeleteOptions.Builder |
clearDryRun()
When present, indicates that modifications should not be
persisted.
|
Meta.DeleteOptions.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Meta.DeleteOptions.Builder |
clearGracePeriodSeconds()
The duration in seconds before the object should be deleted.
|
Meta.DeleteOptions.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Meta.DeleteOptions.Builder |
clearOrphanDependents()
Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
|
Meta.DeleteOptions.Builder |
clearPreconditions()
Must be fulfilled before a deletion is carried out.
|
Meta.DeleteOptions.Builder |
clearPropagationPolicy()
Whether and how garbage collection will be performed.
|
Meta.DeleteOptions.Builder |
clone() |
Meta.DeleteOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDryRun(int index)
When present, indicates that modifications should not be
persisted.
|
com.google.protobuf.ByteString |
getDryRunBytes(int index)
When present, indicates that modifications should not be
persisted.
|
int |
getDryRunCount()
When present, indicates that modifications should not be
persisted.
|
com.google.protobuf.ProtocolStringList |
getDryRunList()
When present, indicates that modifications should not be
persisted.
|
long |
getGracePeriodSeconds()
The duration in seconds before the object should be deleted.
|
boolean |
getOrphanDependents()
Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
|
Meta.Preconditions |
getPreconditions()
Must be fulfilled before a deletion is carried out.
|
Meta.Preconditions.Builder |
getPreconditionsBuilder()
Must be fulfilled before a deletion is carried out.
|
Meta.PreconditionsOrBuilder |
getPreconditionsOrBuilder()
Must be fulfilled before a deletion is carried out.
|
String |
getPropagationPolicy()
Whether and how garbage collection will be performed.
|
com.google.protobuf.ByteString |
getPropagationPolicyBytes()
Whether and how garbage collection will be performed.
|
boolean |
hasGracePeriodSeconds()
The duration in seconds before the object should be deleted.
|
boolean |
hasOrphanDependents()
Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
|
boolean |
hasPreconditions()
Must be fulfilled before a deletion is carried out.
|
boolean |
hasPropagationPolicy()
Whether and how garbage collection will be performed.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Meta.DeleteOptions.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Meta.DeleteOptions.Builder |
mergeFrom(com.google.protobuf.Message other) |
Meta.DeleteOptions.Builder |
mergeFrom(Meta.DeleteOptions other) |
Meta.DeleteOptions.Builder |
mergePreconditions(Meta.Preconditions value)
Must be fulfilled before a deletion is carried out.
|
Meta.DeleteOptions.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Meta.DeleteOptions.Builder |
setDryRun(int index,
String value)
When present, indicates that modifications should not be
persisted.
|
Meta.DeleteOptions.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Meta.DeleteOptions.Builder |
setGracePeriodSeconds(long value)
The duration in seconds before the object should be deleted.
|
Meta.DeleteOptions.Builder |
setOrphanDependents(boolean value)
Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
|
Meta.DeleteOptions.Builder |
setPreconditions(Meta.Preconditions.Builder builderForValue)
Must be fulfilled before a deletion is carried out.
|
Meta.DeleteOptions.Builder |
setPreconditions(Meta.Preconditions value)
Must be fulfilled before a deletion is carried out.
|
Meta.DeleteOptions.Builder |
setPropagationPolicy(String value)
Whether and how garbage collection will be performed.
|
Meta.DeleteOptions.Builder |
setPropagationPolicyBytes(com.google.protobuf.ByteString value)
Whether and how garbage collection will be performed.
|
Meta.DeleteOptions.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Meta.DeleteOptions.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.DeleteOptions.Builder>public Meta.DeleteOptions.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.DeleteOptions.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<Meta.DeleteOptions.Builder>public Meta.DeleteOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Meta.DeleteOptions build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Meta.DeleteOptions buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Meta.DeleteOptions.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.DeleteOptions.Builder>public Meta.DeleteOptions.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<Meta.DeleteOptions.Builder>public Meta.DeleteOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.DeleteOptions.Builder>public Meta.DeleteOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.DeleteOptions.Builder>public Meta.DeleteOptions.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<Meta.DeleteOptions.Builder>public Meta.DeleteOptions.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<Meta.DeleteOptions.Builder>public Meta.DeleteOptions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Meta.DeleteOptions.Builder>public Meta.DeleteOptions.Builder mergeFrom(Meta.DeleteOptions other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.DeleteOptions.Builder>public Meta.DeleteOptions.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<Meta.DeleteOptions.Builder>IOExceptionpublic 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;hasGracePeriodSeconds in interface Meta.DeleteOptionsOrBuilderpublic 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;getGracePeriodSeconds in interface Meta.DeleteOptionsOrBuilderpublic Meta.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;public Meta.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;public boolean hasPreconditions()
Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2;
hasPreconditions in interface Meta.DeleteOptionsOrBuilderpublic Meta.Preconditions getPreconditions()
Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2;
getPreconditions in interface Meta.DeleteOptionsOrBuilderpublic Meta.DeleteOptions.Builder setPreconditions(Meta.Preconditions value)
Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2;
public Meta.DeleteOptions.Builder setPreconditions(Meta.Preconditions.Builder builderForValue)
Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2;
public Meta.DeleteOptions.Builder mergePreconditions(Meta.Preconditions value)
Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2;
public Meta.DeleteOptions.Builder clearPreconditions()
Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2;
public Meta.Preconditions.Builder getPreconditionsBuilder()
Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2;
public Meta.PreconditionsOrBuilder getPreconditionsOrBuilder()
Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2;
getPreconditionsOrBuilder in interface Meta.DeleteOptionsOrBuilderpublic 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;hasOrphanDependents in interface Meta.DeleteOptionsOrBuilderpublic 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;getOrphanDependents in interface Meta.DeleteOptionsOrBuilderpublic Meta.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;public Meta.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;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;hasPropagationPolicy in interface Meta.DeleteOptionsOrBuilderpublic 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;getPropagationPolicy in interface Meta.DeleteOptionsOrBuilderpublic 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;getPropagationPolicyBytes in interface Meta.DeleteOptionsOrBuilderpublic Meta.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;public Meta.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;public Meta.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;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
repeated string dryRun = 5;getDryRunList in interface Meta.DeleteOptionsOrBuilderpublic 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
repeated string dryRun = 5;getDryRunCount in interface Meta.DeleteOptionsOrBuilderpublic 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
repeated string dryRun = 5;getDryRun in interface Meta.DeleteOptionsOrBuilderpublic 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
repeated string dryRun = 5;getDryRunBytes in interface Meta.DeleteOptionsOrBuilderpublic Meta.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
repeated string dryRun = 5;public Meta.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
repeated string dryRun = 5;public Meta.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
repeated string dryRun = 5;public Meta.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
repeated string dryRun = 5;public Meta.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
repeated string dryRun = 5;public final Meta.DeleteOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.DeleteOptions.Builder>public final Meta.DeleteOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.DeleteOptions.Builder>Copyright © 2020. All rights reserved.