Package io.kubernetes.client.proto
Class Meta.ObjectMeta
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.Meta.ObjectMeta
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Meta.ObjectMetaOrBuilder,Serializable
- Enclosing class:
- Meta
public static final class Meta.ObjectMeta
extends com.google.protobuf.GeneratedMessageV3
implements Meta.ObjectMetaOrBuilder
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.Protobuf type
k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<Meta.ObjectMeta>Deprecated.static final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanAnnotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata.booleancontainsLabels(String key) Map of string keys and values that can be used to organize and categorize (scope and select) objects.booleanDeprecated.intAnnotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata.Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata.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.Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata.The name of the cluster which the object belongs to.com.google.protobuf.ByteStringThe name of the cluster which the object belongs to.CreationTimestamp is a timestamp representing the server time when this object was created.CreationTimestamp is a timestamp representing the server time when this object was created.static Meta.ObjectMetalongNumber of seconds allowed for this object to gracefully terminate before it will be removed from the system.DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted.DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted.static final com.google.protobuf.Descriptors.DescriptorgetFinalizers(int index) Must be empty before the object is deleted from the registry.com.google.protobuf.ByteStringgetFinalizersBytes(int index) Must be empty before the object is deleted from the registry.intMust be empty before the object is deleted from the registry.com.google.protobuf.ProtocolStringListMust be empty before the object is deleted from the registry.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.ByteStringGenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided.longA sequence number representing a specific generation of the desired state.Deprecated.intMap of string keys and values that can be used to organize and categorize (scope and select) objects.Map of string keys and values that can be used to organize and categorize (scope and select) objects.getLabelsOrDefault(String key, String defaultValue) Map of string keys and values that can be used to organize and categorize (scope and select) objects.getLabelsOrThrow(String key) Map of string keys and values that can be used to organize and categorize (scope and select) objects.getManagedFields(int index) ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow.intManagedFields maps workflow-id and version to the set of fields that are managed by that workflow.ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow.getManagedFieldsOrBuilder(int index) ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow.List<? extends Meta.ManagedFieldsEntryOrBuilder>ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow.getName()Name must be unique within a namespace.com.google.protobuf.ByteStringName must be unique within a namespace.Namespace defines the space within which each name must be unique.com.google.protobuf.ByteStringNamespace defines the space within which each name must be unique.getOwnerReferences(int index) List of objects depended by this object.intList of objects depended by this object.List of objects depended by this object.getOwnerReferencesOrBuilder(int index) List of objects depended by this object.List<? extends Meta.OwnerReferenceOrBuilder>List of objects depended by this object.com.google.protobuf.Parser<Meta.ObjectMeta>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.ByteStringAn opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed.SelfLink is a URL representing this object.com.google.protobuf.ByteStringSelfLink is a URL representing this object.intgetUid()UID is the unique in time and space value for this object.com.google.protobuf.ByteStringUID is the unique in time and space value for this object.final com.google.protobuf.UnknownFieldSetbooleanThe name of the cluster which the object belongs to.booleanCreationTimestamp is a timestamp representing the server time when this object was created.booleanNumber of seconds allowed for this object to gracefully terminate before it will be removed from the system.booleanDeletionTimestamp is RFC 3339 date and time at which this resource will be deleted.booleanGenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided.booleanA sequence number representing a specific generation of the desired state.inthashCode()booleanhasName()Name must be unique within a namespace.booleanNamespace defines the space within which each name must be unique.booleanAn opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed.booleanSelfLink is a URL representing this object.booleanhasUid()UID is the unique in time and space value for this object.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) final booleanstatic Meta.ObjectMeta.Builderstatic Meta.ObjectMeta.BuildernewBuilder(Meta.ObjectMeta prototype) protected Meta.ObjectMeta.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) static Meta.ObjectMetaparseDelimitedFrom(InputStream input) static Meta.ObjectMetaparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.ObjectMetaparseFrom(byte[] data) static Meta.ObjectMetaparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.ObjectMetaparseFrom(com.google.protobuf.ByteString data) static Meta.ObjectMetaparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.ObjectMetaparseFrom(com.google.protobuf.CodedInputStream input) static Meta.ObjectMetaparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.ObjectMetaparseFrom(InputStream input) static Meta.ObjectMetaparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.ObjectMetaparseFrom(ByteBuffer data) static Meta.ObjectMetaparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Meta.ObjectMeta>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
GENERATENAME_FIELD_NUMBER
public static final int GENERATENAME_FIELD_NUMBER- See Also:
-
NAMESPACE_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER- See Also:
-
SELFLINK_FIELD_NUMBER
public static final int SELFLINK_FIELD_NUMBER- See Also:
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER- See Also:
-
RESOURCEVERSION_FIELD_NUMBER
public static final int RESOURCEVERSION_FIELD_NUMBER- See Also:
-
GENERATION_FIELD_NUMBER
public static final int GENERATION_FIELD_NUMBER- See Also:
-
CREATIONTIMESTAMP_FIELD_NUMBER
public static final int CREATIONTIMESTAMP_FIELD_NUMBER- See Also:
-
DELETIONTIMESTAMP_FIELD_NUMBER
public static final int DELETIONTIMESTAMP_FIELD_NUMBER- See Also:
-
DELETIONGRACEPERIODSECONDS_FIELD_NUMBER
public static final int DELETIONGRACEPERIODSECONDS_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER- See Also:
-
OWNERREFERENCES_FIELD_NUMBER
public static final int OWNERREFERENCES_FIELD_NUMBER- See Also:
-
FINALIZERS_FIELD_NUMBER
public static final int FINALIZERS_FIELD_NUMBER- See Also:
-
CLUSTERNAME_FIELD_NUMBER
public static final int CLUSTERNAME_FIELD_NUMBER- See Also:
-
MANAGEDFIELDS_FIELD_NUMBER
public static final int MANAGEDFIELDS_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasName
public 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/user-guide/identifiers#names +optional
optional string name = 1;- Specified by:
hasNamein interfaceMeta.ObjectMetaOrBuilder
-
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/user-guide/identifiers#names +optional
optional string name = 1;- Specified by:
getNamein interfaceMeta.ObjectMetaOrBuilder
-
getNameBytes
public 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/user-guide/identifiers#names +optional
optional string name = 1;- Specified by:
getNameBytesin interfaceMeta.ObjectMetaOrBuilder
-
hasGenerateName
public 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/sig-architecture/api-conventions.md#idempotency +optional
optional string generateName = 2;- Specified by:
hasGenerateNamein interfaceMeta.ObjectMetaOrBuilder
-
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/sig-architecture/api-conventions.md#idempotency +optional
optional string generateName = 2;- Specified by:
getGenerateNamein interfaceMeta.ObjectMetaOrBuilder
-
getGenerateNameBytes
public 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/sig-architecture/api-conventions.md#idempotency +optional
optional string generateName = 2;- Specified by:
getGenerateNameBytesin interfaceMeta.ObjectMetaOrBuilder
-
hasNamespace
public boolean hasNamespace()Namespace defines the space within which 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/user-guide/namespaces +optional
optional string namespace = 3;- Specified by:
hasNamespacein interfaceMeta.ObjectMetaOrBuilder
-
getNamespace
Namespace defines the space within which 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/user-guide/namespaces +optional
optional string namespace = 3;- Specified by:
getNamespacein interfaceMeta.ObjectMetaOrBuilder
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()Namespace defines the space within which 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/user-guide/namespaces +optional
optional string namespace = 3;- Specified by:
getNamespaceBytesin interfaceMeta.ObjectMetaOrBuilder
-
hasSelfLink
public boolean hasSelfLink()SelfLink is a URL representing this object. Populated by the system. Read-only. DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release. +optional
optional string selfLink = 4;- Specified by:
hasSelfLinkin interfaceMeta.ObjectMetaOrBuilder
-
getSelfLink
SelfLink is a URL representing this object. Populated by the system. Read-only. DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release. +optional
optional string selfLink = 4;- Specified by:
getSelfLinkin interfaceMeta.ObjectMetaOrBuilder
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()SelfLink is a URL representing this object. Populated by the system. Read-only. DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release. +optional
optional string selfLink = 4;- Specified by:
getSelfLinkBytesin interfaceMeta.ObjectMetaOrBuilder
-
hasUid
public 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/user-guide/identifiers#uids +optional
optional string uid = 5;- Specified by:
hasUidin interfaceMeta.ObjectMetaOrBuilder
-
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/user-guide/identifiers#uids +optional
optional string uid = 5;- Specified by:
getUidin interfaceMeta.ObjectMetaOrBuilder
-
getUidBytes
public 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/user-guide/identifiers#uids +optional
optional string uid = 5;- Specified by:
getUidBytesin interfaceMeta.ObjectMetaOrBuilder
-
hasResourceVersion
public 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/sig-architecture/api-conventions.md#concurrency-control-and-consistency +optional
optional string resourceVersion = 6;- Specified by:
hasResourceVersionin interfaceMeta.ObjectMetaOrBuilder
-
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/sig-architecture/api-conventions.md#concurrency-control-and-consistency +optional
optional string resourceVersion = 6;- Specified by:
getResourceVersionin interfaceMeta.ObjectMetaOrBuilder
-
getResourceVersionBytes
public 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/sig-architecture/api-conventions.md#concurrency-control-and-consistency +optional
optional string resourceVersion = 6;- Specified by:
getResourceVersionBytesin interfaceMeta.ObjectMetaOrBuilder
-
hasGeneration
public boolean hasGeneration()A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. +optional
optional int64 generation = 7;- Specified by:
hasGenerationin interfaceMeta.ObjectMetaOrBuilder
-
getGeneration
public long getGeneration()A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. +optional
optional int64 generation = 7;- Specified by:
getGenerationin interfaceMeta.ObjectMetaOrBuilder
-
hasCreationTimestamp
public 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/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8;- Specified by:
hasCreationTimestampin interfaceMeta.ObjectMetaOrBuilder
-
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/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8;- Specified by:
getCreationTimestampin interfaceMeta.ObjectMetaOrBuilder
-
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/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8;- Specified by:
getCreationTimestampOrBuilderin interfaceMeta.ObjectMetaOrBuilder
-
hasDeletionTimestamp
public 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 the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is 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/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9;- Specified by:
hasDeletionTimestampin interfaceMeta.ObjectMetaOrBuilder
-
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 the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is 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/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9;- Specified by:
getDeletionTimestampin interfaceMeta.ObjectMetaOrBuilder
-
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 the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is 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/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9;- Specified by:
getDeletionTimestampOrBuilderin interfaceMeta.ObjectMetaOrBuilder
-
hasDeletionGracePeriodSeconds
public 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;- Specified by:
hasDeletionGracePeriodSecondsin interfaceMeta.ObjectMetaOrBuilder
-
getDeletionGracePeriodSeconds
public 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;- Specified by:
getDeletionGracePeriodSecondsin interfaceMeta.ObjectMetaOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:Meta.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/user-guide/labels +optional
map<string, string> labels = 11;- Specified by:
getLabelsCountin interfaceMeta.ObjectMetaOrBuilder
-
containsLabels
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/user-guide/labels +optional
map<string, string> labels = 11;- Specified by:
containsLabelsin interfaceMeta.ObjectMetaOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceMeta.ObjectMetaOrBuilder
-
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/user-guide/labels +optional
map<string, string> labels = 11;- Specified by:
getLabelsMapin interfaceMeta.ObjectMetaOrBuilder
-
getLabelsOrDefault
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/user-guide/labels +optional
map<string, string> labels = 11;- Specified by:
getLabelsOrDefaultin interfaceMeta.ObjectMetaOrBuilder
-
getLabelsOrThrow
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/user-guide/labels +optional
map<string, string> labels = 11;- Specified by:
getLabelsOrThrowin interfaceMeta.ObjectMetaOrBuilder
-
getAnnotationsCount
public int getAnnotationsCount()Description copied from interface:Meta.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/user-guide/annotations +optional
map<string, string> annotations = 12;- Specified by:
getAnnotationsCountin interfaceMeta.ObjectMetaOrBuilder
-
containsAnnotations
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/user-guide/annotations +optional
map<string, string> annotations = 12;- Specified by:
containsAnnotationsin interfaceMeta.ObjectMetaOrBuilder
-
getAnnotations
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceMeta.ObjectMetaOrBuilder
-
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/user-guide/annotations +optional
map<string, string> annotations = 12;- Specified by:
getAnnotationsMapin interfaceMeta.ObjectMetaOrBuilder
-
getAnnotationsOrDefault
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/user-guide/annotations +optional
map<string, string> annotations = 12;- Specified by:
getAnnotationsOrDefaultin interfaceMeta.ObjectMetaOrBuilder
-
getAnnotationsOrThrow
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/user-guide/annotations +optional
map<string, string> annotations = 12;- Specified by:
getAnnotationsOrThrowin interfaceMeta.ObjectMetaOrBuilder
-
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;- Specified by:
getOwnerReferencesListin interfaceMeta.ObjectMetaOrBuilder
-
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;- Specified by:
getOwnerReferencesOrBuilderListin interfaceMeta.ObjectMetaOrBuilder
-
getOwnerReferencesCount
public 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;- Specified by:
getOwnerReferencesCountin interfaceMeta.ObjectMetaOrBuilder
-
getOwnerReferences
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;- Specified by:
getOwnerReferencesin interfaceMeta.ObjectMetaOrBuilder
-
getOwnerReferencesOrBuilder
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;- Specified by:
getOwnerReferencesOrBuilderin interfaceMeta.ObjectMetaOrBuilder
-
getFinalizersList
public 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. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list. +optional +patchStrategy=merge
repeated string finalizers = 14;- Specified by:
getFinalizersListin interfaceMeta.ObjectMetaOrBuilder
-
getFinalizersCount
public 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. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list. +optional +patchStrategy=merge
repeated string finalizers = 14;- Specified by:
getFinalizersCountin interfaceMeta.ObjectMetaOrBuilder
-
getFinalizers
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. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list. +optional +patchStrategy=merge
repeated string finalizers = 14;- Specified by:
getFinalizersin interfaceMeta.ObjectMetaOrBuilder
-
getFinalizersBytes
public 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. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list. +optional +patchStrategy=merge
repeated string finalizers = 14;- Specified by:
getFinalizersBytesin interfaceMeta.ObjectMetaOrBuilder
-
hasClusterName
public 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;- Specified by:
hasClusterNamein interfaceMeta.ObjectMetaOrBuilder
-
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;- Specified by:
getClusterNamein interfaceMeta.ObjectMetaOrBuilder
-
getClusterNameBytes
public 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;- Specified by:
getClusterNameBytesin interfaceMeta.ObjectMetaOrBuilder
-
getManagedFieldsList
ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like "ci-cd". The set of fields is always in the version that the workflow used when modifying the object. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;- Specified by:
getManagedFieldsListin interfaceMeta.ObjectMetaOrBuilder
-
getManagedFieldsOrBuilderList
ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like "ci-cd". The set of fields is always in the version that the workflow used when modifying the object. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;- Specified by:
getManagedFieldsOrBuilderListin interfaceMeta.ObjectMetaOrBuilder
-
getManagedFieldsCount
public int getManagedFieldsCount()ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like "ci-cd". The set of fields is always in the version that the workflow used when modifying the object. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;- Specified by:
getManagedFieldsCountin interfaceMeta.ObjectMetaOrBuilder
-
getManagedFields
ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like "ci-cd". The set of fields is always in the version that the workflow used when modifying the object. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;- Specified by:
getManagedFieldsin interfaceMeta.ObjectMetaOrBuilder
-
getManagedFieldsOrBuilder
ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like "ci-cd". The set of fields is always in the version that the workflow used when modifying the object. +optional
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;- Specified by:
getManagedFieldsOrBuilderin interfaceMeta.ObjectMetaOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Meta.ObjectMeta parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Meta.ObjectMeta parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Meta.ObjectMeta parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Meta.ObjectMeta parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Meta.ObjectMeta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Meta.ObjectMeta parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Meta.ObjectMeta parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Meta.ObjectMeta parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Meta.ObjectMeta parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Meta.ObjectMeta parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Meta.ObjectMeta.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-