Class Meta.ListMeta.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Meta.ListMeta.Builder>
io.kubernetes.client.proto.Meta.ListMeta.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Meta.ListMetaOrBuilder, Cloneable
Enclosing class:
Meta.ListMeta

public static final class Meta.ListMeta.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Meta.ListMeta.Builder> implements Meta.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 Summary

    Modifier and Type
    Method
    Description
    addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object 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.
    clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
     
    clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
     
    remainingItemCount is the number of subsequent items in the list which are not included in this list response.
    String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed.
    selfLink is a URL representing this object.
     
    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.
    com.google.protobuf.ByteString
    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.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    long
    remainingItemCount is the number of subsequent items in the list which are not included in this list response.
    String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed.
    com.google.protobuf.ByteString
    String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed.
    selfLink is a URL representing this object.
    com.google.protobuf.ByteString
    selfLink is a URL representing this object.
    boolean
    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.
    boolean
    remainingItemCount is the number of subsequent items in the list which are not included in this list response.
    boolean
    String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed.
    boolean
    selfLink is a URL representing this object.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     
    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.
    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.
    setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
    remainingItemCount is the number of subsequent items in the list which are not included in this list response.
    setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
     
    String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed.
    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.
    selfLink is a URL representing this object.
    setSelfLinkBytes(com.google.protobuf.ByteString value)
    selfLink is a URL representing this object.
    setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder

    getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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<Meta.ListMeta.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

      public Meta.ListMeta.Builder mergeFrom(Meta.ListMeta other)
    • isInitialized

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

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

      public boolean hasSelfLink()
       selfLink is a URL representing this object.
       Populated by the system.
       Read-only.
       DEPRECATED
       Kubernetes will stop propagating this field in 1.20 release and the field is planned
       to be removed in 1.21 release.
       +optional
       
      optional string selfLink = 1;
      Specified by:
      hasSelfLink in interface Meta.ListMetaOrBuilder
    • getSelfLink

      public String getSelfLink()
       selfLink is a URL representing this object.
       Populated by the system.
       Read-only.
       DEPRECATED
       Kubernetes will stop propagating this field in 1.20 release and the field is planned
       to be removed in 1.21 release.
       +optional
       
      optional string selfLink = 1;
      Specified by:
      getSelfLink in interface Meta.ListMetaOrBuilder
    • getSelfLinkBytes

      public com.google.protobuf.ByteString getSelfLinkBytes()
       selfLink is a URL representing this object.
       Populated by the system.
       Read-only.
       DEPRECATED
       Kubernetes will stop propagating this field in 1.20 release and the field is planned
       to be removed in 1.21 release.
       +optional
       
      optional string selfLink = 1;
      Specified by:
      getSelfLinkBytes in interface Meta.ListMetaOrBuilder
    • setSelfLink

      public Meta.ListMeta.Builder setSelfLink(String value)
       selfLink is a URL representing this object.
       Populated by the system.
       Read-only.
       DEPRECATED
       Kubernetes will stop propagating this field in 1.20 release and the field is planned
       to be removed in 1.21 release.
       +optional
       
      optional string selfLink = 1;
    • clearSelfLink

      public Meta.ListMeta.Builder clearSelfLink()
       selfLink is a URL representing this object.
       Populated by the system.
       Read-only.
       DEPRECATED
       Kubernetes will stop propagating this field in 1.20 release and the field is planned
       to be removed in 1.21 release.
       +optional
       
      optional string selfLink = 1;
    • setSelfLinkBytes

      public Meta.ListMeta.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
       selfLink is a URL representing this object.
       Populated by the system.
       Read-only.
       DEPRECATED
       Kubernetes will stop propagating this field in 1.20 release and the field is planned
       to be removed in 1.21 release.
       +optional
       
      optional string selfLink = 1;
    • 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 Meta.ListMetaOrBuilder
    • 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 Meta.ListMetaOrBuilder
    • 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 Meta.ListMetaOrBuilder
    • setResourceVersion

      public Meta.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;
    • clearResourceVersion

      public Meta.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;
    • setResourceVersionBytes

      public Meta.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;
    • 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 Meta.ListMetaOrBuilder
    • 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 Meta.ListMetaOrBuilder
    • 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 Meta.ListMetaOrBuilder
    • setContinue

      public Meta.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;
    • clearContinue

      public Meta.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;
    • setContinueBytes

      public Meta.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;
    • 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 Meta.ListMetaOrBuilder
    • 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 Meta.ListMetaOrBuilder
    • setRemainingItemCount

      public Meta.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;
    • clearRemainingItemCount

      public Meta.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;
    • setUnknownFields

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

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