Class V1.NodeList.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1.NodeList.Builder>
io.kubernetes.client.proto.V1.NodeList.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V1.NodeListOrBuilder, Cloneable
Enclosing class:
V1.NodeList

public static final class V1.NodeList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.NodeList.Builder> implements V1.NodeListOrBuilder
 NodeList is the whole list of all Nodes which have been registered with master.
 
Protobuf type k8s.io.api.core.v1.NodeList
  • 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<V1.NodeList.Builder>
    • clear

      public V1.NodeList.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<V1.NodeList.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<V1.NodeList.Builder>
    • getDefaultInstanceForType

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

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

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

      public V1.NodeList.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<V1.NodeList.Builder>
    • setField

      public V1.NodeList.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<V1.NodeList.Builder>
    • clearField

      public V1.NodeList.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<V1.NodeList.Builder>
    • clearOneof

      public V1.NodeList.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<V1.NodeList.Builder>
    • setRepeatedField

      public V1.NodeList.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<V1.NodeList.Builder>
    • addRepeatedField

      public V1.NodeList.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<V1.NodeList.Builder>
    • mergeFrom

      public V1.NodeList.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<V1.NodeList.Builder>
    • mergeFrom

      public V1.NodeList.Builder mergeFrom(V1.NodeList other)
    • isInitialized

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

      public V1.NodeList.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<V1.NodeList.Builder>
      Throws:
      IOException
    • hasMetadata

      public boolean hasMetadata()
       Standard list metadata.
       More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
      Specified by:
      hasMetadata in interface V1.NodeListOrBuilder
    • getMetadata

      public Meta.ListMeta getMetadata()
       Standard list metadata.
       More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
      Specified by:
      getMetadata in interface V1.NodeListOrBuilder
    • setMetadata

      public V1.NodeList.Builder setMetadata(Meta.ListMeta value)
       Standard list metadata.
       More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
    • setMetadata

      public V1.NodeList.Builder setMetadata(Meta.ListMeta.Builder builderForValue)
       Standard list metadata.
       More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
    • mergeMetadata

      public V1.NodeList.Builder mergeMetadata(Meta.ListMeta value)
       Standard list metadata.
       More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
    • clearMetadata

      public V1.NodeList.Builder clearMetadata()
       Standard list metadata.
       More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
    • getMetadataBuilder

      public Meta.ListMeta.Builder getMetadataBuilder()
       Standard list metadata.
       More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
    • getMetadataOrBuilder

      public Meta.ListMetaOrBuilder getMetadataOrBuilder()
       Standard list metadata.
       More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
      Specified by:
      getMetadataOrBuilder in interface V1.NodeListOrBuilder
    • getItemsList

      public List<V1.Node> getItemsList()
       List of nodes
       
      repeated .k8s.io.api.core.v1.Node items = 2;
      Specified by:
      getItemsList in interface V1.NodeListOrBuilder
    • getItemsCount

      public int getItemsCount()
       List of nodes
       
      repeated .k8s.io.api.core.v1.Node items = 2;
      Specified by:
      getItemsCount in interface V1.NodeListOrBuilder
    • getItems

      public V1.Node getItems(int index)
       List of nodes
       
      repeated .k8s.io.api.core.v1.Node items = 2;
      Specified by:
      getItems in interface V1.NodeListOrBuilder
    • setItems

      public V1.NodeList.Builder setItems(int index, V1.Node value)
       List of nodes
       
      repeated .k8s.io.api.core.v1.Node items = 2;
    • setItems

      public V1.NodeList.Builder setItems(int index, V1.Node.Builder builderForValue)
       List of nodes
       
      repeated .k8s.io.api.core.v1.Node items = 2;
    • addItems

      public V1.NodeList.Builder addItems(V1.Node value)
       List of nodes
       
      repeated .k8s.io.api.core.v1.Node items = 2;
    • addItems

      public V1.NodeList.Builder addItems(int index, V1.Node value)
       List of nodes
       
      repeated .k8s.io.api.core.v1.Node items = 2;
    • addItems

      public V1.NodeList.Builder addItems(V1.Node.Builder builderForValue)
       List of nodes
       
      repeated .k8s.io.api.core.v1.Node items = 2;
    • addItems

      public V1.NodeList.Builder addItems(int index, V1.Node.Builder builderForValue)
       List of nodes
       
      repeated .k8s.io.api.core.v1.Node items = 2;
    • addAllItems

      public V1.NodeList.Builder addAllItems(Iterable<? extends V1.Node> values)
       List of nodes
       
      repeated .k8s.io.api.core.v1.Node items = 2;
    • clearItems

      public V1.NodeList.Builder clearItems()
       List of nodes
       
      repeated .k8s.io.api.core.v1.Node items = 2;
    • removeItems

      public V1.NodeList.Builder removeItems(int index)
       List of nodes
       
      repeated .k8s.io.api.core.v1.Node items = 2;
    • getItemsBuilder

      public V1.Node.Builder getItemsBuilder(int index)
       List of nodes
       
      repeated .k8s.io.api.core.v1.Node items = 2;
    • getItemsOrBuilder

      public V1.NodeOrBuilder getItemsOrBuilder(int index)
       List of nodes
       
      repeated .k8s.io.api.core.v1.Node items = 2;
      Specified by:
      getItemsOrBuilder in interface V1.NodeListOrBuilder
    • getItemsOrBuilderList

      public List<? extends V1.NodeOrBuilder> getItemsOrBuilderList()
       List of nodes
       
      repeated .k8s.io.api.core.v1.Node items = 2;
      Specified by:
      getItemsOrBuilderList in interface V1.NodeListOrBuilder
    • addItemsBuilder

      public V1.Node.Builder addItemsBuilder()
       List of nodes
       
      repeated .k8s.io.api.core.v1.Node items = 2;
    • addItemsBuilder

      public V1.Node.Builder addItemsBuilder(int index)
       List of nodes
       
      repeated .k8s.io.api.core.v1.Node items = 2;
    • getItemsBuilderList

      public List<V1.Node.Builder> getItemsBuilderList()
       List of nodes
       
      repeated .k8s.io.api.core.v1.Node items = 2;
    • setUnknownFields

      public final V1.NodeList.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<V1.NodeList.Builder>
    • mergeUnknownFields

      public final V1.NodeList.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<V1.NodeList.Builder>