public static final class V1.ObjectMeta extends com.google.protobuf.GeneratedMessageV3 implements V1.ObjectMetaOrBuilder
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. DEPRECATED: Use k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta instead - this type will be removed soon. +k8s:openapi-gen=falseProtobuf type
k8s.io.api.core.v1.ObjectMeta| Modifier and Type | Class and Description |
|---|---|
static class |
V1.ObjectMeta.Builder
ObjectMeta is metadata that all persisted resources must have, which includes all objects
users must create.
|
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 |
ANNOTATIONS_FIELD_NUMBER |
static int |
CLUSTERNAME_FIELD_NUMBER |
static int |
CREATIONTIMESTAMP_FIELD_NUMBER |
static int |
DELETIONGRACEPERIODSECONDS_FIELD_NUMBER |
static int |
DELETIONTIMESTAMP_FIELD_NUMBER |
static int |
FINALIZERS_FIELD_NUMBER |
static int |
GENERATENAME_FIELD_NUMBER |
static int |
GENERATION_FIELD_NUMBER |
static int |
INITIALIZERS_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NAMESPACE_FIELD_NUMBER |
static int |
OWNERREFERENCES_FIELD_NUMBER |
static com.google.protobuf.Parser<V1.ObjectMeta> |
PARSER
Deprecated.
|
static int |
RESOURCEVERSION_FIELD_NUMBER |
static int |
SELFLINK_FIELD_NUMBER |
static int |
UID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAnnotations(String key)
Annotations is an unstructured key value map stored with a resource that may be
set by external tools to store and retrieve arbitrary metadata.
|
boolean |
containsLabels(String key)
Map of string keys and values that can be used to organize and categorize
(scope and select) objects.
|
boolean |
equals(Object obj) |
Map<String,String> |
getAnnotations()
Deprecated.
|
int |
getAnnotationsCount()
Annotations is an unstructured key value map stored with a resource that may be
set by external tools to store and retrieve arbitrary metadata.
|
Map<String,String> |
getAnnotationsMap()
Annotations is an unstructured key value map stored with a resource that may be
set by external tools to store and retrieve arbitrary metadata.
|
String |
getAnnotationsOrDefault(String key,
String defaultValue)
Annotations is an unstructured key value map stored with a resource that may be
set by external tools to store and retrieve arbitrary metadata.
|
String |
getAnnotationsOrThrow(String key)
Annotations is an unstructured key value map stored with a resource that may be
set by external tools to store and retrieve arbitrary metadata.
|
String |
getClusterName()
The name of the cluster which the object belongs to.
|
com.google.protobuf.ByteString |
getClusterNameBytes()
The name of the cluster which the object belongs to.
|
Meta.Time |
getCreationTimestamp()
CreationTimestamp is a timestamp representing the server time when this object was
created.
|
Meta.TimeOrBuilder |
getCreationTimestampOrBuilder()
CreationTimestamp is a timestamp representing the server time when this object was
created.
|
static V1.ObjectMeta |
getDefaultInstance() |
V1.ObjectMeta |
getDefaultInstanceForType() |
long |
getDeletionGracePeriodSeconds()
Number of seconds allowed for this object to gracefully terminate before
it will be removed from the system.
|
Meta.Time |
getDeletionTimestamp()
DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted.
|
Meta.TimeOrBuilder |
getDeletionTimestampOrBuilder()
DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFinalizers(int index)
Must be empty before the object is deleted from the registry.
|
com.google.protobuf.ByteString |
getFinalizersBytes(int index)
Must be empty before the object is deleted from the registry.
|
int |
getFinalizersCount()
Must be empty before the object is deleted from the registry.
|
com.google.protobuf.ProtocolStringList |
getFinalizersList()
Must be empty before the object is deleted from the registry.
|
String |
getGenerateName()
GenerateName is an optional prefix, used by the server, to generate a unique
name ONLY IF the Name field has not been provided.
|
com.google.protobuf.ByteString |
getGenerateNameBytes()
GenerateName is an optional prefix, used by the server, to generate a unique
name ONLY IF the Name field has not been provided.
|
long |
getGeneration()
A sequence number representing a specific generation of the desired state.
|
Meta.Initializers |
getInitializers()
An initializer is a controller which enforces some system invariant at object creation time.
|
Meta.InitializersOrBuilder |
getInitializersOrBuilder()
An initializer is a controller which enforces some system invariant at object creation time.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Map of string keys and values that can be used to organize and categorize
(scope and select) objects.
|
Map<String,String> |
getLabelsMap()
Map of string keys and values that can be used to organize and categorize
(scope and select) objects.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Map of string keys and values that can be used to organize and categorize
(scope and select) objects.
|
String |
getLabelsOrThrow(String key)
Map of string keys and values that can be used to organize and categorize
(scope and select) objects.
|
String |
getName()
Name must be unique within a namespace.
|
com.google.protobuf.ByteString |
getNameBytes()
Name must be unique within a namespace.
|
String |
getNamespace()
Namespace defines the space within each name must be unique.
|
com.google.protobuf.ByteString |
getNamespaceBytes()
Namespace defines the space within each name must be unique.
|
Meta.OwnerReference |
getOwnerReferences(int index)
List of objects depended by this object.
|
int |
getOwnerReferencesCount()
List of objects depended by this object.
|
List<Meta.OwnerReference> |
getOwnerReferencesList()
List of objects depended by this object.
|
Meta.OwnerReferenceOrBuilder |
getOwnerReferencesOrBuilder(int index)
List of objects depended by this object.
|
List<? extends Meta.OwnerReferenceOrBuilder> |
getOwnerReferencesOrBuilderList()
List of objects depended by this object.
|
com.google.protobuf.Parser<V1.ObjectMeta> |
getParserForType() |
String |
getResourceVersion()
An opaque value that represents the internal version of this object that can
be used by clients to determine when objects have changed.
|
com.google.protobuf.ByteString |
getResourceVersionBytes()
An opaque value that represents the internal version of this object that can
be used by clients to determine when objects have changed.
|
String |
getSelfLink()
SelfLink is a URL representing this object.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
SelfLink is a URL representing this object.
|
int |
getSerializedSize() |
String |
getUid()
UID is the unique in time and space value for this object.
|
com.google.protobuf.ByteString |
getUidBytes()
UID is the unique in time and space value for this object.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasClusterName()
The name of the cluster which the object belongs to.
|
boolean |
hasCreationTimestamp()
CreationTimestamp is a timestamp representing the server time when this object was
created.
|
boolean |
hasDeletionGracePeriodSeconds()
Number of seconds allowed for this object to gracefully terminate before
it will be removed from the system.
|
boolean |
hasDeletionTimestamp()
DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted.
|
boolean |
hasGenerateName()
GenerateName is an optional prefix, used by the server, to generate a unique
name ONLY IF the Name field has not been provided.
|
boolean |
hasGeneration()
A sequence number representing a specific generation of the desired state.
|
int |
hashCode() |
boolean |
hasInitializers()
An initializer is a controller which enforces some system invariant at object creation time.
|
boolean |
hasName()
Name must be unique within a namespace.
|
boolean |
hasNamespace()
Namespace defines the space within each name must be unique.
|
boolean |
hasResourceVersion()
An opaque value that represents the internal version of this object that can
be used by clients to determine when objects have changed.
|
boolean |
hasSelfLink()
SelfLink is a URL representing this object.
|
boolean |
hasUid()
UID is the unique in time and space value for this object.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static V1.ObjectMeta.Builder |
newBuilder() |
static V1.ObjectMeta.Builder |
newBuilder(V1.ObjectMeta prototype) |
V1.ObjectMeta.Builder |
newBuilderForType() |
protected V1.ObjectMeta.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1.ObjectMeta |
parseDelimitedFrom(InputStream input) |
static V1.ObjectMeta |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.ObjectMeta |
parseFrom(byte[] data) |
static V1.ObjectMeta |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.ObjectMeta |
parseFrom(ByteBuffer data) |
static V1.ObjectMeta |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.ObjectMeta |
parseFrom(com.google.protobuf.ByteString data) |
static V1.ObjectMeta |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.ObjectMeta |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1.ObjectMeta |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.ObjectMeta |
parseFrom(InputStream input) |
static V1.ObjectMeta |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1.ObjectMeta> |
parser() |
V1.ObjectMeta.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, 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 NAME_FIELD_NUMBER
public static final int GENERATENAME_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER
public static final int SELFLINK_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
public static final int RESOURCEVERSION_FIELD_NUMBER
public static final int GENERATION_FIELD_NUMBER
public static final int CREATIONTIMESTAMP_FIELD_NUMBER
public static final int DELETIONTIMESTAMP_FIELD_NUMBER
public static final int DELETIONGRACEPERIODSECONDS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
public static final int OWNERREFERENCES_FIELD_NUMBER
public static final int INITIALIZERS_FIELD_NUMBER
public static final int FINALIZERS_FIELD_NUMBER
public static final int CLUSTERNAME_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1.ObjectMeta> 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.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasName()
Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +optional
optional string name = 1;hasName in interface V1.ObjectMetaOrBuilderpublic String getName()
Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +optional
optional string name = 1;getName in interface V1.ObjectMetaOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +optional
optional string name = 1;getNameBytes in interface V1.ObjectMetaOrBuilderpublic boolean hasGenerateName()
GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency +optional
optional string generateName = 2;hasGenerateName in interface V1.ObjectMetaOrBuilderpublic String getGenerateName()
GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency +optional
optional string generateName = 2;getGenerateName in interface V1.ObjectMetaOrBuilderpublic com.google.protobuf.ByteString getGenerateNameBytes()
GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency +optional
optional string generateName = 2;getGenerateNameBytes in interface V1.ObjectMetaOrBuilderpublic boolean hasNamespace()
Namespace defines the space within each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. Must be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ +optional
optional string namespace = 3;hasNamespace in interface V1.ObjectMetaOrBuilderpublic String getNamespace()
Namespace defines the space within each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. Must be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ +optional
optional string namespace = 3;getNamespace in interface V1.ObjectMetaOrBuilderpublic com.google.protobuf.ByteString getNamespaceBytes()
Namespace defines the space within each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. Must be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ +optional
optional string namespace = 3;getNamespaceBytes in interface V1.ObjectMetaOrBuilderpublic boolean hasSelfLink()
SelfLink is a URL representing this object. Populated by the system. Read-only. +optional
optional string selfLink = 4;hasSelfLink in interface V1.ObjectMetaOrBuilderpublic String getSelfLink()
SelfLink is a URL representing this object. Populated by the system. Read-only. +optional
optional string selfLink = 4;getSelfLink in interface V1.ObjectMetaOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
SelfLink is a URL representing this object. Populated by the system. Read-only. +optional
optional string selfLink = 4;getSelfLinkBytes in interface V1.ObjectMetaOrBuilderpublic boolean hasUid()
UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids +optional
optional string uid = 5;hasUid in interface V1.ObjectMetaOrBuilderpublic String getUid()
UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids +optional
optional string uid = 5;getUid in interface V1.ObjectMetaOrBuilderpublic com.google.protobuf.ByteString getUidBytes()
UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids +optional
optional string uid = 5;getUidBytes in interface V1.ObjectMetaOrBuilderpublic boolean hasResourceVersion()
An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency +optional
optional string resourceVersion = 6;hasResourceVersion in interface V1.ObjectMetaOrBuilderpublic String getResourceVersion()
An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency +optional
optional string resourceVersion = 6;getResourceVersion in interface V1.ObjectMetaOrBuilderpublic com.google.protobuf.ByteString getResourceVersionBytes()
An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency +optional
optional string resourceVersion = 6;getResourceVersionBytes in interface V1.ObjectMetaOrBuilderpublic boolean hasGeneration()
A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. +optional
optional int64 generation = 7;hasGeneration in interface V1.ObjectMetaOrBuilderpublic long getGeneration()
A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. +optional
optional int64 generation = 7;getGeneration in interface V1.ObjectMetaOrBuilderpublic boolean hasCreationTimestamp()
CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8;hasCreationTimestamp in interface V1.ObjectMetaOrBuilderpublic Meta.Time getCreationTimestamp()
CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8;getCreationTimestamp in interface V1.ObjectMetaOrBuilderpublic Meta.TimeOrBuilder getCreationTimestampOrBuilder()
CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8;getCreationTimestampOrBuilder in interface V1.ObjectMetaOrBuilderpublic boolean hasDeletionTimestamp()
DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9;hasDeletionTimestamp in interface V1.ObjectMetaOrBuilderpublic Meta.Time getDeletionTimestamp()
DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9;getDeletionTimestamp in interface V1.ObjectMetaOrBuilderpublic Meta.TimeOrBuilder getDeletionTimestampOrBuilder()
DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9;getDeletionTimestampOrBuilder in interface V1.ObjectMetaOrBuilderpublic boolean hasDeletionGracePeriodSeconds()
Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only. +optional
optional int64 deletionGracePeriodSeconds = 10;hasDeletionGracePeriodSeconds in interface V1.ObjectMetaOrBuilderpublic long getDeletionGracePeriodSeconds()
Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only. +optional
optional int64 deletionGracePeriodSeconds = 10;getDeletionGracePeriodSeconds in interface V1.ObjectMetaOrBuilderpublic int getLabelsCount()
V1.ObjectMetaOrBuilderMap of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ +optional
map<string, string> labels = 11;getLabelsCount in interface V1.ObjectMetaOrBuilderpublic boolean containsLabels(String key)
Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ +optional
map<string, string> labels = 11;containsLabels in interface V1.ObjectMetaOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface V1.ObjectMetaOrBuilderpublic Map<String,String> getLabelsMap()
Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ +optional
map<string, string> labels = 11;getLabelsMap in interface V1.ObjectMetaOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ +optional
map<string, string> labels = 11;getLabelsOrDefault in interface V1.ObjectMetaOrBuilderpublic String getLabelsOrThrow(String key)
Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ +optional
map<string, string> labels = 11;getLabelsOrThrow in interface V1.ObjectMetaOrBuilderpublic int getAnnotationsCount()
V1.ObjectMetaOrBuilderAnnotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ +optional
map<string, string> annotations = 12;getAnnotationsCount in interface V1.ObjectMetaOrBuilderpublic boolean containsAnnotations(String key)
Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ +optional
map<string, string> annotations = 12;containsAnnotations in interface V1.ObjectMetaOrBuilder@Deprecated public Map<String,String> getAnnotations()
getAnnotationsMap() instead.getAnnotations in interface V1.ObjectMetaOrBuilderpublic Map<String,String> getAnnotationsMap()
Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ +optional
map<string, string> annotations = 12;getAnnotationsMap in interface V1.ObjectMetaOrBuilderpublic String getAnnotationsOrDefault(String key, String defaultValue)
Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ +optional
map<string, string> annotations = 12;getAnnotationsOrDefault in interface V1.ObjectMetaOrBuilderpublic String getAnnotationsOrThrow(String key)
Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ +optional
map<string, string> annotations = 12;getAnnotationsOrThrow in interface V1.ObjectMetaOrBuilderpublic List<Meta.OwnerReference> getOwnerReferencesList()
List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller. +optional +patchMergeKey=uid +patchStrategy=merge
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;getOwnerReferencesList in interface V1.ObjectMetaOrBuilderpublic List<? extends Meta.OwnerReferenceOrBuilder> getOwnerReferencesOrBuilderList()
List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller. +optional +patchMergeKey=uid +patchStrategy=merge
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;getOwnerReferencesOrBuilderList in interface V1.ObjectMetaOrBuilderpublic int getOwnerReferencesCount()
List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller. +optional +patchMergeKey=uid +patchStrategy=merge
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;getOwnerReferencesCount in interface V1.ObjectMetaOrBuilderpublic Meta.OwnerReference getOwnerReferences(int index)
List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller. +optional +patchMergeKey=uid +patchStrategy=merge
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;getOwnerReferences in interface V1.ObjectMetaOrBuilderpublic Meta.OwnerReferenceOrBuilder getOwnerReferencesOrBuilder(int index)
List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller. +optional +patchMergeKey=uid +patchStrategy=merge
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;getOwnerReferencesOrBuilder in interface V1.ObjectMetaOrBuilderpublic boolean hasInitializers()
An initializer is a controller which enforces some system invariant at object creation time. This field is a list of initializers that have not yet acted on this object. If nil or empty, this object has been completely initialized. Otherwise, the object is considered uninitialized and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to observe uninitialized objects. When an object is created, the system will populate this list with the current set of initializers. Only privileged users may set or modify this list. Once it is empty, it may not be modified further by any user.
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16;hasInitializers in interface V1.ObjectMetaOrBuilderpublic Meta.Initializers getInitializers()
An initializer is a controller which enforces some system invariant at object creation time. This field is a list of initializers that have not yet acted on this object. If nil or empty, this object has been completely initialized. Otherwise, the object is considered uninitialized and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to observe uninitialized objects. When an object is created, the system will populate this list with the current set of initializers. Only privileged users may set or modify this list. Once it is empty, it may not be modified further by any user.
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16;getInitializers in interface V1.ObjectMetaOrBuilderpublic Meta.InitializersOrBuilder getInitializersOrBuilder()
An initializer is a controller which enforces some system invariant at object creation time. This field is a list of initializers that have not yet acted on this object. If nil or empty, this object has been completely initialized. Otherwise, the object is considered uninitialized and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to observe uninitialized objects. When an object is created, the system will populate this list with the current set of initializers. Only privileged users may set or modify this list. Once it is empty, it may not be modified further by any user.
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16;getInitializersOrBuilder in interface V1.ObjectMetaOrBuilderpublic com.google.protobuf.ProtocolStringList getFinalizersList()
Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. +optional +patchStrategy=merge
repeated string finalizers = 14;getFinalizersList in interface V1.ObjectMetaOrBuilderpublic int getFinalizersCount()
Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. +optional +patchStrategy=merge
repeated string finalizers = 14;getFinalizersCount in interface V1.ObjectMetaOrBuilderpublic String getFinalizers(int index)
Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. +optional +patchStrategy=merge
repeated string finalizers = 14;getFinalizers in interface V1.ObjectMetaOrBuilderpublic com.google.protobuf.ByteString getFinalizersBytes(int index)
Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. +optional +patchStrategy=merge
repeated string finalizers = 14;getFinalizersBytes in interface V1.ObjectMetaOrBuilderpublic boolean hasClusterName()
The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request. +optional
optional string clusterName = 15;hasClusterName in interface V1.ObjectMetaOrBuilderpublic String getClusterName()
The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request. +optional
optional string clusterName = 15;getClusterName in interface V1.ObjectMetaOrBuilderpublic com.google.protobuf.ByteString getClusterNameBytes()
The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request. +optional
optional string clusterName = 15;getClusterNameBytes in interface V1.ObjectMetaOrBuilderpublic 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.ObjectMeta parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.ObjectMeta parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.ObjectMeta parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.ObjectMeta parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.ObjectMeta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.ObjectMeta parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.ObjectMeta parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1.ObjectMeta parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.ObjectMeta parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1.ObjectMeta parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.ObjectMeta parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1.ObjectMeta parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1.ObjectMeta.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1.ObjectMeta.Builder newBuilder()
public static V1.ObjectMeta.Builder newBuilder(V1.ObjectMeta prototype)
public V1.ObjectMeta.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1.ObjectMeta.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1.ObjectMeta getDefaultInstance()
public static com.google.protobuf.Parser<V1.ObjectMeta> parser()
public com.google.protobuf.Parser<V1.ObjectMeta> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1.ObjectMeta getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018. All rights reserved.