public static final class V1.DeleteOptions extends com.google.protobuf.GeneratedMessageV3 implements V1.DeleteOptionsOrBuilder
DeleteOptions may be provided when deleting an API object DEPRECATED: This type has been moved to meta/v1 and will be removed soon. +k8s:openapi-gen=falseProtobuf type
k8s.io.api.core.v1.DeleteOptions| Modifier and Type | Class and Description |
|---|---|
static class |
V1.DeleteOptions.Builder
DeleteOptions may be provided when deleting an API object
DEPRECATED: This type has been moved to meta/v1 and will be removed soon.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
GRACEPERIODSECONDS_FIELD_NUMBER |
static int |
ORPHANDEPENDENTS_FIELD_NUMBER |
static com.google.protobuf.Parser<V1.DeleteOptions> |
PARSER
Deprecated.
|
static int |
PRECONDITIONS_FIELD_NUMBER |
static int |
PROPAGATIONPOLICY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static V1.DeleteOptions |
getDefaultInstance() |
V1.DeleteOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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<V1.DeleteOptions> |
getParserForType() |
V1.Preconditions |
getPreconditions()
Must be fulfilled before a deletion is carried out.
|
V1.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 V1.DeleteOptions.Builder |
newBuilder() |
static V1.DeleteOptions.Builder |
newBuilder(V1.DeleteOptions prototype) |
V1.DeleteOptions.Builder |
newBuilderForType() |
protected V1.DeleteOptions.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1.DeleteOptions |
parseDelimitedFrom(InputStream input) |
static V1.DeleteOptions |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.DeleteOptions |
parseFrom(byte[] data) |
static V1.DeleteOptions |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.DeleteOptions |
parseFrom(ByteBuffer data) |
static V1.DeleteOptions |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.DeleteOptions |
parseFrom(com.google.protobuf.ByteString data) |
static V1.DeleteOptions |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.DeleteOptions |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1.DeleteOptions |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.DeleteOptions |
parseFrom(InputStream input) |
static V1.DeleteOptions |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1.DeleteOptions> |
parser() |
V1.DeleteOptions.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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
@Deprecated public static final com.google.protobuf.Parser<V1.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 V1.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 V1.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.api.core.v1.Preconditions preconditions = 2;hasPreconditions in interface V1.DeleteOptionsOrBuilderpublic V1.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.api.core.v1.Preconditions preconditions = 2;getPreconditions in interface V1.DeleteOptionsOrBuilderpublic V1.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.api.core.v1.Preconditions preconditions = 2;getPreconditionsOrBuilder in interface V1.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 V1.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 V1.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. +optional
optional string propagationPolicy = 4;hasPropagationPolicy in interface V1.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. +optional
optional string propagationPolicy = 4;getPropagationPolicy in interface V1.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. +optional
optional string propagationPolicy = 4;getPropagationPolicyBytes in interface V1.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 V1.DeleteOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.DeleteOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.DeleteOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.DeleteOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.DeleteOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.DeleteOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.DeleteOptions parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1.DeleteOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.DeleteOptions parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1.DeleteOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.DeleteOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1.DeleteOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1.DeleteOptions.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1.DeleteOptions.Builder newBuilder()
public static V1.DeleteOptions.Builder newBuilder(V1.DeleteOptions prototype)
public V1.DeleteOptions.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1.DeleteOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1.DeleteOptions getDefaultInstance()
public static com.google.protobuf.Parser<V1.DeleteOptions> parser()
public com.google.protobuf.Parser<V1.DeleteOptions> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1.DeleteOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018. All rights reserved.