Class Generated.ObjectMeta.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Generated.ObjectMetaOrBuilder
    Enclosing class:
    Generated.ObjectMeta

    public static final class Generated.ObjectMeta.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.ObjectMeta.Builder>
    implements Generated.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
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapFieldReflection

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection​(int number)
        Overrides:
        internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ObjectMeta.Builder>
      • internalGetMutableMapFieldReflection

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection​(int number)
        Overrides:
        internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ObjectMeta.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ObjectMeta.Builder>
      • clear

        public Generated.ObjectMeta.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ObjectMeta.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ObjectMeta.Builder>
      • getDefaultInstanceForType

        public Generated.ObjectMeta getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Generated.ObjectMeta build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Generated.ObjectMeta buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Generated.ObjectMeta.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ObjectMeta.Builder>
      • setField

        public Generated.ObjectMeta.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ObjectMeta.Builder>
      • clearField

        public Generated.ObjectMeta.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ObjectMeta.Builder>
      • clearOneof

        public Generated.ObjectMeta.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ObjectMeta.Builder>
      • setRepeatedField

        public Generated.ObjectMeta.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             int index,
                                                             Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ObjectMeta.Builder>
      • addRepeatedField

        public Generated.ObjectMeta.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ObjectMeta.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ObjectMeta.Builder>
      • mergeFrom

        public Generated.ObjectMeta.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Generated.ObjectMeta.Builder>
        Throws:
        IOException
      • 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/concepts/overview/working-with-objects/names#names
         +optional
         
        optional string name = 1;
        Specified by:
        hasName in interface Generated.ObjectMetaOrBuilder
        Returns:
        Whether the name field is set.
      • getName

        public String getName()
         Name must be unique within a namespace. Is required when creating resources, although
         some resources may allow a client to request the generation of an appropriate name
         automatically. Name is primarily intended for creation idempotence and configuration
         definition.
         Cannot be updated.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
         +optional
         
        optional string name = 1;
        Specified by:
        getName in interface Generated.ObjectMetaOrBuilder
        Returns:
        The name.
      • 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/concepts/overview/working-with-objects/names#names
         +optional
         
        optional string name = 1;
        Specified by:
        getNameBytes in interface Generated.ObjectMetaOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Generated.ObjectMeta.Builder setName​(String value)
         Name must be unique within a namespace. Is required when creating resources, although
         some resources may allow a client to request the generation of an appropriate name
         automatically. Name is primarily intended for creation idempotence and configuration
         definition.
         Cannot be updated.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
         +optional
         
        optional string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Generated.ObjectMeta.Builder clearName()
         Name must be unique within a namespace. Is required when creating resources, although
         some resources may allow a client to request the generation of an appropriate name
         automatically. Name is primarily intended for creation idempotence and configuration
         definition.
         Cannot be updated.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
         +optional
         
        optional string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Generated.ObjectMeta.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Name must be unique within a namespace. Is required when creating resources, although
         some resources may allow a client to request the generation of an appropriate name
         automatically. Name is primarily intended for creation idempotence and configuration
         definition.
         Cannot be updated.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
         +optional
         
        optional string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • 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 return a 409.
        
         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 interface Generated.ObjectMetaOrBuilder
        Returns:
        Whether the generateName field is set.
      • getGenerateName

        public String getGenerateName()
         GenerateName is an optional prefix, used by the server, to generate a unique
         name ONLY IF the Name field has not been provided.
         If this field is used, the name returned to the client will be different
         than the name passed. This value will also be combined with a unique suffix.
         The provided value has the same validation rules as the Name field,
         and may be truncated by the length of the suffix required to make the value
         unique on the server.
        
         If this field is specified and the generated name exists, the server will return a 409.
        
         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 interface Generated.ObjectMetaOrBuilder
        Returns:
        The generateName.
      • 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 return a 409.
        
         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 interface Generated.ObjectMetaOrBuilder
        Returns:
        The bytes for generateName.
      • setGenerateName

        public Generated.ObjectMeta.Builder setGenerateName​(String value)
         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 return a 409.
        
         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;
        Parameters:
        value - The generateName to set.
        Returns:
        This builder for chaining.
      • clearGenerateName

        public Generated.ObjectMeta.Builder clearGenerateName()
         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 return a 409.
        
         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;
        Returns:
        This builder for chaining.
      • setGenerateNameBytes

        public Generated.ObjectMeta.Builder setGenerateNameBytes​(com.google.protobuf.ByteString value)
         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 return a 409.
        
         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;
        Parameters:
        value - The bytes for generateName to set.
        Returns:
        This builder for chaining.
      • 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/concepts/overview/working-with-objects/namespaces
         +optional
         
        optional string namespace = 3;
        Specified by:
        hasNamespace in interface Generated.ObjectMetaOrBuilder
        Returns:
        Whether the namespace field is set.
      • getNamespace

        public String 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/concepts/overview/working-with-objects/namespaces
         +optional
         
        optional string namespace = 3;
        Specified by:
        getNamespace in interface Generated.ObjectMetaOrBuilder
        Returns:
        The namespace.
      • 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/concepts/overview/working-with-objects/namespaces
         +optional
         
        optional string namespace = 3;
        Specified by:
        getNamespaceBytes in interface Generated.ObjectMetaOrBuilder
        Returns:
        The bytes for namespace.
      • setNamespace

        public Generated.ObjectMeta.Builder setNamespace​(String value)
         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/concepts/overview/working-with-objects/namespaces
         +optional
         
        optional string namespace = 3;
        Parameters:
        value - The namespace to set.
        Returns:
        This builder for chaining.
      • clearNamespace

        public Generated.ObjectMeta.Builder clearNamespace()
         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/concepts/overview/working-with-objects/namespaces
         +optional
         
        optional string namespace = 3;
        Returns:
        This builder for chaining.
      • setNamespaceBytes

        public Generated.ObjectMeta.Builder setNamespaceBytes​(com.google.protobuf.ByteString value)
         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/concepts/overview/working-with-objects/namespaces
         +optional
         
        optional string namespace = 3;
        Parameters:
        value - The bytes for namespace to set.
        Returns:
        This builder for chaining.
      • hasSelfLink

        public boolean hasSelfLink()
         Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
         +optional
         
        optional string selfLink = 4;
        Specified by:
        hasSelfLink in interface Generated.ObjectMetaOrBuilder
        Returns:
        Whether the selfLink field is set.
      • getSelfLink

        public String getSelfLink()
         Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
         +optional
         
        optional string selfLink = 4;
        Specified by:
        getSelfLink in interface Generated.ObjectMetaOrBuilder
        Returns:
        The selfLink.
      • getSelfLinkBytes

        public com.google.protobuf.ByteString getSelfLinkBytes()
         Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
         +optional
         
        optional string selfLink = 4;
        Specified by:
        getSelfLinkBytes in interface Generated.ObjectMetaOrBuilder
        Returns:
        The bytes for selfLink.
      • setSelfLink

        public Generated.ObjectMeta.Builder setSelfLink​(String value)
         Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
         +optional
         
        optional string selfLink = 4;
        Parameters:
        value - The selfLink to set.
        Returns:
        This builder for chaining.
      • clearSelfLink

        public Generated.ObjectMeta.Builder clearSelfLink()
         Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
         +optional
         
        optional string selfLink = 4;
        Returns:
        This builder for chaining.
      • setSelfLinkBytes

        public Generated.ObjectMeta.Builder setSelfLinkBytes​(com.google.protobuf.ByteString value)
         Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
         +optional
         
        optional string selfLink = 4;
        Parameters:
        value - The bytes for selfLink to set.
        Returns:
        This builder for chaining.
      • 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/concepts/overview/working-with-objects/names#uids
         +optional
         
        optional string uid = 5;
        Specified by:
        hasUid in interface Generated.ObjectMetaOrBuilder
        Returns:
        Whether the uid field is set.
      • getUid

        public String getUid()
         UID is the unique in time and space value for this object. It is typically generated by
         the server on successful creation of a resource and is not allowed to change on PUT
         operations.
        
         Populated by the system.
         Read-only.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
         +optional
         
        optional string uid = 5;
        Specified by:
        getUid in interface Generated.ObjectMetaOrBuilder
        Returns:
        The uid.
      • 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/concepts/overview/working-with-objects/names#uids
         +optional
         
        optional string uid = 5;
        Specified by:
        getUidBytes in interface Generated.ObjectMetaOrBuilder
        Returns:
        The bytes for uid.
      • setUid

        public Generated.ObjectMeta.Builder setUid​(String value)
         UID is the unique in time and space value for this object. It is typically generated by
         the server on successful creation of a resource and is not allowed to change on PUT
         operations.
        
         Populated by the system.
         Read-only.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
         +optional
         
        optional string uid = 5;
        Parameters:
        value - The uid to set.
        Returns:
        This builder for chaining.
      • clearUid

        public Generated.ObjectMeta.Builder clearUid()
         UID is the unique in time and space value for this object. It is typically generated by
         the server on successful creation of a resource and is not allowed to change on PUT
         operations.
        
         Populated by the system.
         Read-only.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
         +optional
         
        optional string uid = 5;
        Returns:
        This builder for chaining.
      • setUidBytes

        public Generated.ObjectMeta.Builder setUidBytes​(com.google.protobuf.ByteString value)
         UID is the unique in time and space value for this object. It is typically generated by
         the server on successful creation of a resource and is not allowed to change on PUT
         operations.
        
         Populated by the system.
         Read-only.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
         +optional
         
        optional string uid = 5;
        Parameters:
        value - The bytes for uid to set.
        Returns:
        This builder for chaining.
      • 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 interface Generated.ObjectMetaOrBuilder
        Returns:
        Whether the resourceVersion field is set.
      • getResourceVersion

        public String getResourceVersion()
         An opaque value that represents the internal version of this object that can
         be used by clients to determine when objects have changed. May be used for optimistic
         concurrency, change detection, and the watch operation on a resource or set of resources.
         Clients must treat these values as opaque and passed unmodified back to the server.
         They may only be valid for a particular resource or set of resources.
        
         Populated by the system.
         Read-only.
         Value must be treated as opaque by clients and .
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
         +optional
         
        optional string resourceVersion = 6;
        Specified by:
        getResourceVersion in interface Generated.ObjectMetaOrBuilder
        Returns:
        The resourceVersion.
      • 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 interface Generated.ObjectMetaOrBuilder
        Returns:
        The bytes for resourceVersion.
      • setResourceVersion

        public Generated.ObjectMeta.Builder setResourceVersion​(String value)
         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;
        Parameters:
        value - The resourceVersion to set.
        Returns:
        This builder for chaining.
      • clearResourceVersion

        public Generated.ObjectMeta.Builder clearResourceVersion()
         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;
        Returns:
        This builder for chaining.
      • setResourceVersionBytes

        public Generated.ObjectMeta.Builder setResourceVersionBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for resourceVersion to set.
        Returns:
        This builder for chaining.
      • 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 interface Generated.ObjectMetaOrBuilder
        Returns:
        Whether the generation field is set.
      • 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 interface Generated.ObjectMetaOrBuilder
        Returns:
        The generation.
      • setGeneration

        public Generated.ObjectMeta.Builder setGeneration​(long value)
         A sequence number representing a specific generation of the desired state.
         Populated by the system. Read-only.
         +optional
         
        optional int64 generation = 7;
        Parameters:
        value - The generation to set.
        Returns:
        This builder for chaining.
      • clearGeneration

        public Generated.ObjectMeta.Builder clearGeneration()
         A sequence number representing a specific generation of the desired state.
         Populated by the system. Read-only.
         +optional
         
        optional int64 generation = 7;
        Returns:
        This builder for chaining.
      • 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 interface Generated.ObjectMetaOrBuilder
        Returns:
        Whether the creationTimestamp field is set.
      • getCreationTimestamp

        public Generated.Time getCreationTimestamp()
         CreationTimestamp is a timestamp representing the server time when this object was
         created. It is not guaranteed to be set in happens-before order across separate operations.
         Clients may not set this value. It is represented in RFC3339 form and is in UTC.
        
         Populated by the system.
         Read-only.
         Null for lists.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8;
        Specified by:
        getCreationTimestamp in interface Generated.ObjectMetaOrBuilder
        Returns:
        The creationTimestamp.
      • setCreationTimestamp

        public Generated.ObjectMeta.Builder setCreationTimestamp​(Generated.Time value)
         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;
      • setCreationTimestamp

        public Generated.ObjectMeta.Builder setCreationTimestamp​(Generated.Time.Builder builderForValue)
         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;
      • mergeCreationTimestamp

        public Generated.ObjectMeta.Builder mergeCreationTimestamp​(Generated.Time value)
         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;
      • clearCreationTimestamp

        public Generated.ObjectMeta.Builder clearCreationTimestamp()
         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;
      • getCreationTimestampBuilder

        public Generated.Time.Builder getCreationTimestampBuilder()
         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;
      • getCreationTimestampOrBuilder

        public Generated.TimeOrBuilder getCreationTimestampOrBuilder()
         CreationTimestamp is a timestamp representing the server time when this object was
         created. It is not guaranteed to be set in happens-before order across separate operations.
         Clients may not set this value. It is represented in RFC3339 form and is in UTC.
        
         Populated by the system.
         Read-only.
         Null for lists.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8;
        Specified by:
        getCreationTimestampOrBuilder in interface Generated.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 interface Generated.ObjectMetaOrBuilder
        Returns:
        Whether the deletionTimestamp field is set.
      • getDeletionTimestamp

        public Generated.Time getDeletionTimestamp()
         DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
         field is set by the server when a graceful deletion is requested by the user, and is not
         directly settable by a client. The resource is expected to be deleted (no longer visible
         from resource lists, and not reachable by name) after the time in this field, once 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 interface Generated.ObjectMetaOrBuilder
        Returns:
        The deletionTimestamp.
      • setDeletionTimestamp

        public Generated.ObjectMeta.Builder setDeletionTimestamp​(Generated.Time value)
         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;
      • setDeletionTimestamp

        public Generated.ObjectMeta.Builder setDeletionTimestamp​(Generated.Time.Builder builderForValue)
         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;
      • mergeDeletionTimestamp

        public Generated.ObjectMeta.Builder mergeDeletionTimestamp​(Generated.Time value)
         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;
      • clearDeletionTimestamp

        public Generated.ObjectMeta.Builder clearDeletionTimestamp()
         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;
      • getDeletionTimestampBuilder

        public Generated.Time.Builder getDeletionTimestampBuilder()
         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;
      • getDeletionTimestampOrBuilder

        public Generated.TimeOrBuilder getDeletionTimestampOrBuilder()
         DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
         field is set by the server when a graceful deletion is requested by the user, and is not
         directly settable by a client. The resource is expected to be deleted (no longer visible
         from resource lists, and not reachable by name) after the time in this field, once 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 interface Generated.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 interface Generated.ObjectMetaOrBuilder
        Returns:
        Whether the deletionGracePeriodSeconds field is set.
      • 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 interface Generated.ObjectMetaOrBuilder
        Returns:
        The deletionGracePeriodSeconds.
      • setDeletionGracePeriodSeconds

        public Generated.ObjectMeta.Builder setDeletionGracePeriodSeconds​(long value)
         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;
        Parameters:
        value - The deletionGracePeriodSeconds to set.
        Returns:
        This builder for chaining.
      • clearDeletionGracePeriodSeconds

        public Generated.ObjectMeta.Builder clearDeletionGracePeriodSeconds()
         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;
        Returns:
        This builder for chaining.
      • getLabelsCount

        public int getLabelsCount()
        Description copied from interface: Generated.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/concepts/overview/working-with-objects/labels
         +optional
         
        map<string, string> labels = 11;
        Specified by:
        getLabelsCount in interface Generated.ObjectMetaOrBuilder
      • containsLabels

        public boolean containsLabels​(String key)
         Map of string keys and values that can be used to organize and categorize
         (scope and select) objects. May match selectors of replication controllers
         and services.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels
         +optional
         
        map<string, string> labels = 11;
        Specified by:
        containsLabels in interface Generated.ObjectMetaOrBuilder
      • getLabelsMap

        public Map<String,​String> getLabelsMap()
         Map of string keys and values that can be used to organize and categorize
         (scope and select) objects. May match selectors of replication controllers
         and services.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels
         +optional
         
        map<string, string> labels = 11;
        Specified by:
        getLabelsMap in interface Generated.ObjectMetaOrBuilder
      • getLabelsOrDefault

        public String getLabelsOrDefault​(String key,
                                         String defaultValue)
         Map of string keys and values that can be used to organize and categorize
         (scope and select) objects. May match selectors of replication controllers
         and services.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels
         +optional
         
        map<string, string> labels = 11;
        Specified by:
        getLabelsOrDefault in interface Generated.ObjectMetaOrBuilder
      • getLabelsOrThrow

        public String getLabelsOrThrow​(String key)
         Map of string keys and values that can be used to organize and categorize
         (scope and select) objects. May match selectors of replication controllers
         and services.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels
         +optional
         
        map<string, string> labels = 11;
        Specified by:
        getLabelsOrThrow in interface Generated.ObjectMetaOrBuilder
      • removeLabels

        public Generated.ObjectMeta.Builder removeLabels​(String key)
         Map of string keys and values that can be used to organize and categorize
         (scope and select) objects. May match selectors of replication controllers
         and services.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels
         +optional
         
        map<string, string> labels = 11;
      • getMutableLabels

        @Deprecated
        public Map<String,​String> getMutableLabels()
        Deprecated.
        Use alternate mutation accessors instead.
      • putLabels

        public Generated.ObjectMeta.Builder putLabels​(String key,
                                                      String value)
         Map of string keys and values that can be used to organize and categorize
         (scope and select) objects. May match selectors of replication controllers
         and services.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels
         +optional
         
        map<string, string> labels = 11;
      • putAllLabels

        public Generated.ObjectMeta.Builder putAllLabels​(Map<String,​String> values)
         Map of string keys and values that can be used to organize and categorize
         (scope and select) objects. May match selectors of replication controllers
         and services.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels
         +optional
         
        map<string, string> labels = 11;
      • getAnnotationsCount

        public int getAnnotationsCount()
        Description copied from interface: Generated.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/concepts/overview/working-with-objects/annotations
         +optional
         
        map<string, string> annotations = 12;
        Specified by:
        getAnnotationsCount in interface Generated.ObjectMetaOrBuilder
      • containsAnnotations

        public boolean containsAnnotations​(String key)
         Annotations is an unstructured key value map stored with a resource that may be
         set by external tools to store and retrieve arbitrary metadata. They are not
         queryable and should be preserved when modifying objects.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations
         +optional
         
        map<string, string> annotations = 12;
        Specified by:
        containsAnnotations in interface Generated.ObjectMetaOrBuilder
      • getAnnotationsMap

        public Map<String,​String> getAnnotationsMap()
         Annotations is an unstructured key value map stored with a resource that may be
         set by external tools to store and retrieve arbitrary metadata. They are not
         queryable and should be preserved when modifying objects.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations
         +optional
         
        map<string, string> annotations = 12;
        Specified by:
        getAnnotationsMap in interface Generated.ObjectMetaOrBuilder
      • getAnnotationsOrDefault

        public String getAnnotationsOrDefault​(String key,
                                              String defaultValue)
         Annotations is an unstructured key value map stored with a resource that may be
         set by external tools to store and retrieve arbitrary metadata. They are not
         queryable and should be preserved when modifying objects.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations
         +optional
         
        map<string, string> annotations = 12;
        Specified by:
        getAnnotationsOrDefault in interface Generated.ObjectMetaOrBuilder
      • getAnnotationsOrThrow

        public String getAnnotationsOrThrow​(String key)
         Annotations is an unstructured key value map stored with a resource that may be
         set by external tools to store and retrieve arbitrary metadata. They are not
         queryable and should be preserved when modifying objects.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations
         +optional
         
        map<string, string> annotations = 12;
        Specified by:
        getAnnotationsOrThrow in interface Generated.ObjectMetaOrBuilder
      • removeAnnotations

        public Generated.ObjectMeta.Builder removeAnnotations​(String key)
         Annotations is an unstructured key value map stored with a resource that may be
         set by external tools to store and retrieve arbitrary metadata. They are not
         queryable and should be preserved when modifying objects.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations
         +optional
         
        map<string, string> annotations = 12;
      • getMutableAnnotations

        @Deprecated
        public Map<String,​String> getMutableAnnotations()
        Deprecated.
        Use alternate mutation accessors instead.
      • putAnnotations

        public Generated.ObjectMeta.Builder putAnnotations​(String key,
                                                           String value)
         Annotations is an unstructured key value map stored with a resource that may be
         set by external tools to store and retrieve arbitrary metadata. They are not
         queryable and should be preserved when modifying objects.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations
         +optional
         
        map<string, string> annotations = 12;
      • putAllAnnotations

        public Generated.ObjectMeta.Builder putAllAnnotations​(Map<String,​String> values)
         Annotations is an unstructured key value map stored with a resource that may be
         set by external tools to store and retrieve arbitrary metadata. They are not
         queryable and should be preserved when modifying objects.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations
         +optional
         
        map<string, string> annotations = 12;
      • getOwnerReferencesList

        public List<Generated.OwnerReference> getOwnerReferencesList()
         List of objects depended by this object. If ALL objects in the list have
         been deleted, this object will be garbage collected. If this object is managed by a controller,
         then an entry in this list will point to this controller, with the controller field set to true.
         There cannot be more than one managing controller.
         +optional
         +patchMergeKey=uid
         +patchStrategy=merge
         +listType=map
         +listMapKey=uid
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;
        Specified by:
        getOwnerReferencesList in interface Generated.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
         +listType=map
         +listMapKey=uid
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;
        Specified by:
        getOwnerReferencesCount in interface Generated.ObjectMetaOrBuilder
      • getOwnerReferences

        public Generated.OwnerReference getOwnerReferences​(int index)
         List of objects depended by this object. If ALL objects in the list have
         been deleted, this object will be garbage collected. If this object is managed by a controller,
         then an entry in this list will point to this controller, with the controller field set to true.
         There cannot be more than one managing controller.
         +optional
         +patchMergeKey=uid
         +patchStrategy=merge
         +listType=map
         +listMapKey=uid
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;
        Specified by:
        getOwnerReferences in interface Generated.ObjectMetaOrBuilder
      • setOwnerReferences

        public Generated.ObjectMeta.Builder setOwnerReferences​(int index,
                                                               Generated.OwnerReference value)
         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
         +listType=map
         +listMapKey=uid
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;
      • setOwnerReferences

        public Generated.ObjectMeta.Builder setOwnerReferences​(int index,
                                                               Generated.OwnerReference.Builder builderForValue)
         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
         +listType=map
         +listMapKey=uid
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;
      • addOwnerReferences

        public Generated.ObjectMeta.Builder addOwnerReferences​(Generated.OwnerReference value)
         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
         +listType=map
         +listMapKey=uid
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;
      • addOwnerReferences

        public Generated.ObjectMeta.Builder addOwnerReferences​(int index,
                                                               Generated.OwnerReference value)
         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
         +listType=map
         +listMapKey=uid
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;
      • addOwnerReferences

        public Generated.ObjectMeta.Builder addOwnerReferences​(Generated.OwnerReference.Builder builderForValue)
         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
         +listType=map
         +listMapKey=uid
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;
      • addOwnerReferences

        public Generated.ObjectMeta.Builder addOwnerReferences​(int index,
                                                               Generated.OwnerReference.Builder builderForValue)
         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
         +listType=map
         +listMapKey=uid
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;
      • addAllOwnerReferences

        public Generated.ObjectMeta.Builder addAllOwnerReferences​(Iterable<? extends Generated.OwnerReference> values)
         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
         +listType=map
         +listMapKey=uid
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;
      • clearOwnerReferences

        public Generated.ObjectMeta.Builder clearOwnerReferences()
         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
         +listType=map
         +listMapKey=uid
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;
      • removeOwnerReferences

        public Generated.ObjectMeta.Builder removeOwnerReferences​(int index)
         List of objects depended by this object. If ALL objects in the list have
         been deleted, this object will be garbage collected. If this object is managed by a controller,
         then an entry in this list will point to this controller, with the controller field set to true.
         There cannot be more than one managing controller.
         +optional
         +patchMergeKey=uid
         +patchStrategy=merge
         +listType=map
         +listMapKey=uid
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;
      • getOwnerReferencesBuilder

        public Generated.OwnerReference.Builder getOwnerReferencesBuilder​(int index)
         List of objects depended by this object. If ALL objects in the list have
         been deleted, this object will be garbage collected. If this object is managed by a controller,
         then an entry in this list will point to this controller, with the controller field set to true.
         There cannot be more than one managing controller.
         +optional
         +patchMergeKey=uid
         +patchStrategy=merge
         +listType=map
         +listMapKey=uid
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;
      • getOwnerReferencesOrBuilder

        public Generated.OwnerReferenceOrBuilder getOwnerReferencesOrBuilder​(int index)
         List of objects depended by this object. If ALL objects in the list have
         been deleted, this object will be garbage collected. If this object is managed by a controller,
         then an entry in this list will point to this controller, with the controller field set to true.
         There cannot be more than one managing controller.
         +optional
         +patchMergeKey=uid
         +patchStrategy=merge
         +listType=map
         +listMapKey=uid
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;
        Specified by:
        getOwnerReferencesOrBuilder in interface Generated.ObjectMetaOrBuilder
      • getOwnerReferencesOrBuilderList

        public List<? extends Generated.OwnerReferenceOrBuilder> getOwnerReferencesOrBuilderList()
         List of objects depended by this object. If ALL objects in the list have
         been deleted, this object will be garbage collected. If this object is managed by a controller,
         then an entry in this list will point to this controller, with the controller field set to true.
         There cannot be more than one managing controller.
         +optional
         +patchMergeKey=uid
         +patchStrategy=merge
         +listType=map
         +listMapKey=uid
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;
        Specified by:
        getOwnerReferencesOrBuilderList in interface Generated.ObjectMetaOrBuilder
      • addOwnerReferencesBuilder

        public Generated.OwnerReference.Builder addOwnerReferencesBuilder()
         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
         +listType=map
         +listMapKey=uid
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;
      • addOwnerReferencesBuilder

        public Generated.OwnerReference.Builder addOwnerReferencesBuilder​(int index)
         List of objects depended by this object. If ALL objects in the list have
         been deleted, this object will be garbage collected. If this object is managed by a controller,
         then an entry in this list will point to this controller, with the controller field set to true.
         There cannot be more than one managing controller.
         +optional
         +patchMergeKey=uid
         +patchStrategy=merge
         +listType=map
         +listMapKey=uid
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;
      • getOwnerReferencesBuilderList

        public List<Generated.OwnerReference.Builder> getOwnerReferencesBuilderList()
         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
         +listType=map
         +listMapKey=uid
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;
      • 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
         +listType=set
         
        repeated string finalizers = 14;
        Specified by:
        getFinalizersList in interface Generated.ObjectMetaOrBuilder
        Returns:
        A list containing the finalizers.
      • 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
         +listType=set
         
        repeated string finalizers = 14;
        Specified by:
        getFinalizersCount in interface Generated.ObjectMetaOrBuilder
        Returns:
        The count of finalizers.
      • getFinalizers

        public String getFinalizers​(int index)
         Must be empty before the object is deleted from the registry. Each entry
         is an identifier for the responsible component that will remove the entry
         from the list. If the deletionTimestamp of the object is non-nil, entries
         in this list can only be removed.
         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
         +listType=set
         
        repeated string finalizers = 14;
        Specified by:
        getFinalizers in interface Generated.ObjectMetaOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The finalizers at the given index.
      • 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
         +listType=set
         
        repeated string finalizers = 14;
        Specified by:
        getFinalizersBytes in interface Generated.ObjectMetaOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the finalizers at the given index.
      • setFinalizers

        public Generated.ObjectMeta.Builder setFinalizers​(int index,
                                                          String value)
         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
         +listType=set
         
        repeated string finalizers = 14;
        Parameters:
        index - The index to set the value at.
        value - The finalizers to set.
        Returns:
        This builder for chaining.
      • addFinalizers

        public Generated.ObjectMeta.Builder addFinalizers​(String value)
         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
         +listType=set
         
        repeated string finalizers = 14;
        Parameters:
        value - The finalizers to add.
        Returns:
        This builder for chaining.
      • addAllFinalizers

        public Generated.ObjectMeta.Builder addAllFinalizers​(Iterable<String> values)
         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
         +listType=set
         
        repeated string finalizers = 14;
        Parameters:
        values - The finalizers to add.
        Returns:
        This builder for chaining.
      • clearFinalizers

        public Generated.ObjectMeta.Builder clearFinalizers()
         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
         +listType=set
         
        repeated string finalizers = 14;
        Returns:
        This builder for chaining.
      • addFinalizersBytes

        public Generated.ObjectMeta.Builder addFinalizersBytes​(com.google.protobuf.ByteString value)
         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
         +listType=set
         
        repeated string finalizers = 14;
        Parameters:
        value - The bytes of the finalizers to add.
        Returns:
        This builder for chaining.
      • getManagedFieldsList

        public List<Generated.ManagedFieldsEntry> 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
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;
        Specified by:
        getManagedFieldsList in interface Generated.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
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;
        Specified by:
        getManagedFieldsCount in interface Generated.ObjectMetaOrBuilder
      • getManagedFields

        public Generated.ManagedFieldsEntry getManagedFields​(int index)
         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
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;
        Specified by:
        getManagedFields in interface Generated.ObjectMetaOrBuilder
      • setManagedFields

        public Generated.ObjectMeta.Builder setManagedFields​(int index,
                                                             Generated.ManagedFieldsEntry value)
         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
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;
      • setManagedFields

        public Generated.ObjectMeta.Builder setManagedFields​(int index,
                                                             Generated.ManagedFieldsEntry.Builder builderForValue)
         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
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;
      • addManagedFields

        public Generated.ObjectMeta.Builder addManagedFields​(Generated.ManagedFieldsEntry value)
         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
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;
      • addManagedFields

        public Generated.ObjectMeta.Builder addManagedFields​(int index,
                                                             Generated.ManagedFieldsEntry value)
         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
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;
      • addManagedFields

        public Generated.ObjectMeta.Builder addManagedFields​(Generated.ManagedFieldsEntry.Builder builderForValue)
         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
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;
      • addManagedFields

        public Generated.ObjectMeta.Builder addManagedFields​(int index,
                                                             Generated.ManagedFieldsEntry.Builder builderForValue)
         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
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;
      • addAllManagedFields

        public Generated.ObjectMeta.Builder addAllManagedFields​(Iterable<? extends Generated.ManagedFieldsEntry> values)
         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
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;
      • clearManagedFields

        public Generated.ObjectMeta.Builder clearManagedFields()
         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
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;
      • removeManagedFields

        public Generated.ObjectMeta.Builder removeManagedFields​(int index)
         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
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;
      • getManagedFieldsBuilder

        public Generated.ManagedFieldsEntry.Builder getManagedFieldsBuilder​(int index)
         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
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;
      • getManagedFieldsOrBuilder

        public Generated.ManagedFieldsEntryOrBuilder getManagedFieldsOrBuilder​(int index)
         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
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;
        Specified by:
        getManagedFieldsOrBuilder in interface Generated.ObjectMetaOrBuilder
      • getManagedFieldsOrBuilderList

        public List<? extends Generated.ManagedFieldsEntryOrBuilder> 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
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;
        Specified by:
        getManagedFieldsOrBuilderList in interface Generated.ObjectMetaOrBuilder
      • addManagedFieldsBuilder

        public Generated.ManagedFieldsEntry.Builder addManagedFieldsBuilder()
         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
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;
      • addManagedFieldsBuilder

        public Generated.ManagedFieldsEntry.Builder addManagedFieldsBuilder​(int index)
         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
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;
      • getManagedFieldsBuilderList

        public List<Generated.ManagedFieldsEntry.Builder> getManagedFieldsBuilderList()
         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
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;
      • setUnknownFields

        public final Generated.ObjectMeta.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ObjectMeta.Builder>
      • mergeUnknownFields

        public final Generated.ObjectMeta.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ObjectMeta.Builder>