public static final class Meta.DeleteOptions extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
Meta.DeleteOptions.Builder
DeleteOptions may be provided when deleting an API object.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DRYRUN_FIELD_NUMBER |
static int |
GRACEPERIODSECONDS_FIELD_NUMBER |
static int |
ORPHANDEPENDENTS_FIELD_NUMBER |
static com.google.protobuf.Parser<Meta.DeleteOptions> |
PARSER
Deprecated.
|
static int |
PRECONDITIONS_FIELD_NUMBER |
static int |
PROPAGATIONPOLICY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Meta.DeleteOptions |
getDefaultInstance() |
Meta.DeleteOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<Meta.DeleteOptions> |
getParserForType() |
Meta.Preconditions |
getPreconditions()
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.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasGracePeriodSeconds()
The duration in seconds before the object should be deleted.
|
int |
hashCode() |
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() |
static Meta.DeleteOptions.Builder |
newBuilder() |
static Meta.DeleteOptions.Builder |
newBuilder(Meta.DeleteOptions prototype) |
Meta.DeleteOptions.Builder |
newBuilderForType() |
protected Meta.DeleteOptions.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Meta.DeleteOptions |
parseDelimitedFrom(InputStream input) |
static Meta.DeleteOptions |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.DeleteOptions |
parseFrom(byte[] data) |
static Meta.DeleteOptions |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.DeleteOptions |
parseFrom(ByteBuffer data) |
static Meta.DeleteOptions |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.DeleteOptions |
parseFrom(com.google.protobuf.ByteString data) |
static Meta.DeleteOptions |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.DeleteOptions |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Meta.DeleteOptions |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.DeleteOptions |
parseFrom(InputStream input) |
static Meta.DeleteOptions |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Meta.DeleteOptions> |
parser() |
Meta.DeleteOptions.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int GRACEPERIODSECONDS_FIELD_NUMBER
public static final int PRECONDITIONS_FIELD_NUMBER
public static final int ORPHANDEPENDENTS_FIELD_NUMBER
public static final int PROPAGATIONPOLICY_FIELD_NUMBER
public static final int DRYRUN_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Meta.DeleteOptions> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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.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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Meta.DeleteOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.DeleteOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.DeleteOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.DeleteOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.DeleteOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.DeleteOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.DeleteOptions parseFrom(InputStream input) throws IOException
IOExceptionpublic static Meta.DeleteOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Meta.DeleteOptions parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Meta.DeleteOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Meta.DeleteOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Meta.DeleteOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Meta.DeleteOptions.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Meta.DeleteOptions.Builder newBuilder()
public static Meta.DeleteOptions.Builder newBuilder(Meta.DeleteOptions prototype)
public Meta.DeleteOptions.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Meta.DeleteOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Meta.DeleteOptions getDefaultInstance()
public static com.google.protobuf.Parser<Meta.DeleteOptions> parser()
public com.google.protobuf.Parser<Meta.DeleteOptions> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Meta.DeleteOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020. All rights reserved.