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 class
ObjectMeta 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 int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final com.google.protobuf.Parser<Meta.ObjectMeta>
Deprecated.static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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
Deprecated.int
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.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.ByteString
The 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.ObjectMeta
long
Number 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.Descriptor
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
Must be empty before the object is deleted from the registry.com.google.protobuf.ProtocolStringList
Must 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.ByteString
GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided.long
A sequence number representing a specific generation of the desired state.Deprecated.int
Map 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.int
ManagedFields 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.ByteString
Name must be unique within a namespace.Namespace defines the space within which each name must be unique.com.google.protobuf.ByteString
Namespace defines the space within which each name must be unique.getOwnerReferences
(int index) List of objects depended by this object.int
List 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.ByteString
An 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.ByteString
SelfLink is a URL representing this object.int
getUid()
UID is the unique in time and space value for this object.com.google.protobuf.ByteString
UID is the unique in time and space value for this object.final com.google.protobuf.UnknownFieldSet
boolean
The name of the cluster which the object belongs to.boolean
CreationTimestamp is a timestamp representing the server time when this object was created.boolean
Number of seconds allowed for this object to gracefully terminate before it will be removed from the system.boolean
DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted.boolean
GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided.boolean
A sequence number representing a specific generation of the desired state.int
hashCode()
boolean
hasName()
Name must be unique within a namespace.boolean
Namespace defines the space within which each name must be unique.boolean
An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed.boolean
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
protected com.google.protobuf.MapField
internalGetMapField
(int number) final boolean
static Meta.ObjectMeta.Builder
static Meta.ObjectMeta.Builder
newBuilder
(Meta.ObjectMeta prototype) protected Meta.ObjectMeta.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) static Meta.ObjectMeta
parseDelimitedFrom
(InputStream input) static Meta.ObjectMeta
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.ObjectMeta
parseFrom
(byte[] data) static Meta.ObjectMeta
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.ObjectMeta
parseFrom
(com.google.protobuf.ByteString data) static Meta.ObjectMeta
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.ObjectMeta
parseFrom
(com.google.protobuf.CodedInputStream input) static Meta.ObjectMeta
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.ObjectMeta
parseFrom
(InputStream input) static Meta.ObjectMeta
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.ObjectMeta
parseFrom
(ByteBuffer data) static Meta.ObjectMeta
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Meta.ObjectMeta>
parser()
void
writeTo
(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, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods 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:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in 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:
hasName
in 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:
getName
in 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:
getNameBytes
in 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:
hasGenerateName
in 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:
getGenerateName
in 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:
getGenerateNameBytes
in 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:
hasNamespace
in 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:
getNamespace
in 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:
getNamespaceBytes
in 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:
hasSelfLink
in 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:
getSelfLink
in 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:
getSelfLinkBytes
in 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:
hasUid
in 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:
getUid
in 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:
getUidBytes
in 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:
hasResourceVersion
in 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:
getResourceVersion
in 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:
getResourceVersionBytes
in 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:
hasGeneration
in 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:
getGeneration
in 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:
hasCreationTimestamp
in 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:
getCreationTimestamp
in 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:
getCreationTimestampOrBuilder
in 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:
hasDeletionTimestamp
in 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:
getDeletionTimestamp
in 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:
getDeletionTimestampOrBuilder
in 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:
hasDeletionGracePeriodSeconds
in 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:
getDeletionGracePeriodSeconds
in interfaceMeta.ObjectMetaOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:Meta.ObjectMetaOrBuilder
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:
getLabelsCount
in 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:
containsLabels
in interfaceMeta.ObjectMetaOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in 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:
getLabelsMap
in 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:
getLabelsOrDefault
in 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:
getLabelsOrThrow
in interfaceMeta.ObjectMetaOrBuilder
-
getAnnotationsCount
public int getAnnotationsCount()Description copied from interface:Meta.ObjectMetaOrBuilder
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:
getAnnotationsCount
in 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:
containsAnnotations
in interfaceMeta.ObjectMetaOrBuilder
-
getAnnotations
Deprecated.UsegetAnnotationsMap()
instead.- Specified by:
getAnnotations
in 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:
getAnnotationsMap
in 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:
getAnnotationsOrDefault
in 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:
getAnnotationsOrThrow
in 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:
getOwnerReferencesList
in 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:
getOwnerReferencesOrBuilderList
in 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:
getOwnerReferencesCount
in 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:
getOwnerReferences
in 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:
getOwnerReferencesOrBuilder
in 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:
getFinalizersList
in 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:
getFinalizersCount
in 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:
getFinalizers
in 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:
getFinalizersBytes
in 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:
hasClusterName
in 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:
getClusterName
in 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:
getClusterNameBytes
in 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:
getManagedFieldsList
in 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:
getManagedFieldsOrBuilderList
in 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:
getManagedFieldsCount
in 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:
getManagedFields
in 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:
getManagedFieldsOrBuilder
in interfaceMeta.ObjectMetaOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Meta.ObjectMeta.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-