Class Generated.ListMeta.Builder

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

    public static final class Generated.ListMeta.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.ListMeta.Builder>
    implements Generated.ListMetaOrBuilder
     ListMeta describes metadata that synthetic resources must have, including lists and
     various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
     
    Protobuf type k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta
    • Method Detail

      • getDescriptor

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

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

        public Generated.ListMeta.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.ListMeta.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.ListMeta.Builder>
      • getDefaultInstanceForType

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

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

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

        public Generated.ListMeta.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.ListMeta.Builder>
      • setField

        public Generated.ListMeta.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.ListMeta.Builder>
      • clearField

        public Generated.ListMeta.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.ListMeta.Builder>
      • clearOneof

        public Generated.ListMeta.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.ListMeta.Builder>
      • setRepeatedField

        public Generated.ListMeta.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.ListMeta.Builder>
      • addRepeatedField

        public Generated.ListMeta.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.ListMeta.Builder>
      • mergeFrom

        public Generated.ListMeta.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Generated.ListMeta.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.ListMeta.Builder>
      • mergeFrom

        public Generated.ListMeta.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.ListMeta.Builder>
        Throws:
        IOException
      • hasSelfLink

        public boolean hasSelfLink()
         Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
         +optional
         
        optional string selfLink = 1;
        Specified by:
        hasSelfLink in interface Generated.ListMetaOrBuilder
        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 = 1;
        Specified by:
        getSelfLink in interface Generated.ListMetaOrBuilder
        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 = 1;
        Specified by:
        getSelfLinkBytes in interface Generated.ListMetaOrBuilder
        Returns:
        The bytes for selfLink.
      • setSelfLink

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

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

        public Generated.ListMeta.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 = 1;
        Parameters:
        value - The bytes for selfLink to set.
        Returns:
        This builder for chaining.
      • hasResourceVersion

        public boolean hasResourceVersion()
         String that identifies the server's internal version of this object that
         can be used by clients to determine when objects have changed.
         Value must be treated as opaque by clients and passed unmodified back to the server.
         Populated by the system.
         Read-only.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
         +optional
         
        optional string resourceVersion = 2;
        Specified by:
        hasResourceVersion in interface Generated.ListMetaOrBuilder
        Returns:
        Whether the resourceVersion field is set.
      • getResourceVersion

        public String getResourceVersion()
         String that identifies the server's internal version of this object that
         can be used by clients to determine when objects have changed.
         Value must be treated as opaque by clients and passed unmodified back to the server.
         Populated by the system.
         Read-only.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
         +optional
         
        optional string resourceVersion = 2;
        Specified by:
        getResourceVersion in interface Generated.ListMetaOrBuilder
        Returns:
        The resourceVersion.
      • getResourceVersionBytes

        public com.google.protobuf.ByteString getResourceVersionBytes()
         String that identifies the server's internal version of this object that
         can be used by clients to determine when objects have changed.
         Value must be treated as opaque by clients and passed unmodified back to the server.
         Populated by the system.
         Read-only.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
         +optional
         
        optional string resourceVersion = 2;
        Specified by:
        getResourceVersionBytes in interface Generated.ListMetaOrBuilder
        Returns:
        The bytes for resourceVersion.
      • setResourceVersion

        public Generated.ListMeta.Builder setResourceVersion​(String value)
         String that identifies the server's internal version of this object that
         can be used by clients to determine when objects have changed.
         Value must be treated as opaque by clients and passed unmodified back to the server.
         Populated by the system.
         Read-only.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
         +optional
         
        optional string resourceVersion = 2;
        Parameters:
        value - The resourceVersion to set.
        Returns:
        This builder for chaining.
      • clearResourceVersion

        public Generated.ListMeta.Builder clearResourceVersion()
         String that identifies the server's internal version of this object that
         can be used by clients to determine when objects have changed.
         Value must be treated as opaque by clients and passed unmodified back to the server.
         Populated by the system.
         Read-only.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
         +optional
         
        optional string resourceVersion = 2;
        Returns:
        This builder for chaining.
      • setResourceVersionBytes

        public Generated.ListMeta.Builder setResourceVersionBytes​(com.google.protobuf.ByteString value)
         String that identifies the server's internal version of this object that
         can be used by clients to determine when objects have changed.
         Value must be treated as opaque by clients and passed unmodified back to the server.
         Populated by the system.
         Read-only.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
         +optional
         
        optional string resourceVersion = 2;
        Parameters:
        value - The bytes for resourceVersion to set.
        Returns:
        This builder for chaining.
      • hasContinue

        public boolean hasContinue()
         continue may be set if the user set a limit on the number of items returned, and indicates that
         the server has more data available. The value is opaque and may be used to issue another request
         to the endpoint that served this list to retrieve the next set of available objects. Continuing a
         consistent list may not be possible if the server configuration has changed or more than a few
         minutes have passed. The resourceVersion field returned when using this continue value will be
         identical to the value in the first response, unless you have received this token from an error
         message.
         
        optional string continue = 3;
        Specified by:
        hasContinue in interface Generated.ListMetaOrBuilder
        Returns:
        Whether the continue field is set.
      • getContinue

        public String getContinue()
         continue may be set if the user set a limit on the number of items returned, and indicates that
         the server has more data available. The value is opaque and may be used to issue another request
         to the endpoint that served this list to retrieve the next set of available objects. Continuing a
         consistent list may not be possible if the server configuration has changed or more than a few
         minutes have passed. The resourceVersion field returned when using this continue value will be
         identical to the value in the first response, unless you have received this token from an error
         message.
         
        optional string continue = 3;
        Specified by:
        getContinue in interface Generated.ListMetaOrBuilder
        Returns:
        The continue.
      • getContinueBytes

        public com.google.protobuf.ByteString getContinueBytes()
         continue may be set if the user set a limit on the number of items returned, and indicates that
         the server has more data available. The value is opaque and may be used to issue another request
         to the endpoint that served this list to retrieve the next set of available objects. Continuing a
         consistent list may not be possible if the server configuration has changed or more than a few
         minutes have passed. The resourceVersion field returned when using this continue value will be
         identical to the value in the first response, unless you have received this token from an error
         message.
         
        optional string continue = 3;
        Specified by:
        getContinueBytes in interface Generated.ListMetaOrBuilder
        Returns:
        The bytes for continue.
      • setContinue

        public Generated.ListMeta.Builder setContinue​(String value)
         continue may be set if the user set a limit on the number of items returned, and indicates that
         the server has more data available. The value is opaque and may be used to issue another request
         to the endpoint that served this list to retrieve the next set of available objects. Continuing a
         consistent list may not be possible if the server configuration has changed or more than a few
         minutes have passed. The resourceVersion field returned when using this continue value will be
         identical to the value in the first response, unless you have received this token from an error
         message.
         
        optional string continue = 3;
        Parameters:
        value - The continue to set.
        Returns:
        This builder for chaining.
      • clearContinue

        public Generated.ListMeta.Builder clearContinue()
         continue may be set if the user set a limit on the number of items returned, and indicates that
         the server has more data available. The value is opaque and may be used to issue another request
         to the endpoint that served this list to retrieve the next set of available objects. Continuing a
         consistent list may not be possible if the server configuration has changed or more than a few
         minutes have passed. The resourceVersion field returned when using this continue value will be
         identical to the value in the first response, unless you have received this token from an error
         message.
         
        optional string continue = 3;
        Returns:
        This builder for chaining.
      • setContinueBytes

        public Generated.ListMeta.Builder setContinueBytes​(com.google.protobuf.ByteString value)
         continue may be set if the user set a limit on the number of items returned, and indicates that
         the server has more data available. The value is opaque and may be used to issue another request
         to the endpoint that served this list to retrieve the next set of available objects. Continuing a
         consistent list may not be possible if the server configuration has changed or more than a few
         minutes have passed. The resourceVersion field returned when using this continue value will be
         identical to the value in the first response, unless you have received this token from an error
         message.
         
        optional string continue = 3;
        Parameters:
        value - The bytes for continue to set.
        Returns:
        This builder for chaining.
      • hasRemainingItemCount

        public boolean hasRemainingItemCount()
         remainingItemCount is the number of subsequent items in the list which are not included in this
         list response. If the list request contained label or field selectors, then the number of
         remaining items is unknown and the field will be left unset and omitted during serialization.
         If the list is complete (either because it is not chunking or because this is the last chunk),
         then there are no more remaining items and this field will be left unset and omitted during
         serialization.
         Servers older than v1.15 do not set this field.
         The intended use of the remainingItemCount is *estimating* the size of a collection. Clients
         should not rely on the remainingItemCount to be set or to be exact.
         +optional
         
        optional int64 remainingItemCount = 4;
        Specified by:
        hasRemainingItemCount in interface Generated.ListMetaOrBuilder
        Returns:
        Whether the remainingItemCount field is set.
      • getRemainingItemCount

        public long getRemainingItemCount()
         remainingItemCount is the number of subsequent items in the list which are not included in this
         list response. If the list request contained label or field selectors, then the number of
         remaining items is unknown and the field will be left unset and omitted during serialization.
         If the list is complete (either because it is not chunking or because this is the last chunk),
         then there are no more remaining items and this field will be left unset and omitted during
         serialization.
         Servers older than v1.15 do not set this field.
         The intended use of the remainingItemCount is *estimating* the size of a collection. Clients
         should not rely on the remainingItemCount to be set or to be exact.
         +optional
         
        optional int64 remainingItemCount = 4;
        Specified by:
        getRemainingItemCount in interface Generated.ListMetaOrBuilder
        Returns:
        The remainingItemCount.
      • setRemainingItemCount

        public Generated.ListMeta.Builder setRemainingItemCount​(long value)
         remainingItemCount is the number of subsequent items in the list which are not included in this
         list response. If the list request contained label or field selectors, then the number of
         remaining items is unknown and the field will be left unset and omitted during serialization.
         If the list is complete (either because it is not chunking or because this is the last chunk),
         then there are no more remaining items and this field will be left unset and omitted during
         serialization.
         Servers older than v1.15 do not set this field.
         The intended use of the remainingItemCount is *estimating* the size of a collection. Clients
         should not rely on the remainingItemCount to be set or to be exact.
         +optional
         
        optional int64 remainingItemCount = 4;
        Parameters:
        value - The remainingItemCount to set.
        Returns:
        This builder for chaining.
      • clearRemainingItemCount

        public Generated.ListMeta.Builder clearRemainingItemCount()
         remainingItemCount is the number of subsequent items in the list which are not included in this
         list response. If the list request contained label or field selectors, then the number of
         remaining items is unknown and the field will be left unset and omitted during serialization.
         If the list is complete (either because it is not chunking or because this is the last chunk),
         then there are no more remaining items and this field will be left unset and omitted during
         serialization.
         Servers older than v1.15 do not set this field.
         The intended use of the remainingItemCount is *estimating* the size of a collection. Clients
         should not rely on the remainingItemCount to be set or to be exact.
         +optional
         
        optional int64 remainingItemCount = 4;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Generated.ListMeta.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.ListMeta.Builder>
      • mergeUnknownFields

        public final Generated.ListMeta.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.ListMeta.Builder>