Class V1.ComponentStatusList.Builder

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

public static final class V1.ComponentStatusList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.ComponentStatusList.Builder> implements V1.ComponentStatusListOrBuilder
 Status of all the conditions for the component as a list of ComponentStatus objects.
 Deprecated: This API is deprecated in v1.19+
 
Protobuf type k8s.io.api.core.v1.ComponentStatusList
  • 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.ComponentStatusList.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.ComponentStatusList.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.ComponentStatusList.Builder>
    • getDefaultInstanceForType

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

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

      public V1.ComponentStatusList buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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.ComponentStatusList.Builder>
    • setField

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

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

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

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

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

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

    • isInitialized

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

      public V1.ComponentStatusList.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.ComponentStatusList.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.ComponentStatusListOrBuilder
    • 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.ComponentStatusListOrBuilder
    • setMetadata

      public V1.ComponentStatusList.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.ComponentStatusList.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.ComponentStatusList.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.ComponentStatusList.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.ComponentStatusListOrBuilder
    • getItemsList

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

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

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

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

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

       List of ComponentStatus objects.
       
      repeated .k8s.io.api.core.v1.ComponentStatus items = 2;
    • addItems

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

       List of ComponentStatus objects.
       
      repeated .k8s.io.api.core.v1.ComponentStatus items = 2;
    • addItems

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

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

      public V1.ComponentStatusList.Builder clearItems()
       List of ComponentStatus objects.
       
      repeated .k8s.io.api.core.v1.ComponentStatus items = 2;
    • removeItems

      public V1.ComponentStatusList.Builder removeItems(int index)
       List of ComponentStatus objects.
       
      repeated .k8s.io.api.core.v1.ComponentStatus items = 2;
    • getItemsBuilder

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

      public V1.ComponentStatusOrBuilder getItemsOrBuilder(int index)
       List of ComponentStatus objects.
       
      repeated .k8s.io.api.core.v1.ComponentStatus items = 2;
      Specified by:
      getItemsOrBuilder in interface V1.ComponentStatusListOrBuilder
    • getItemsOrBuilderList

      public List<? extends V1.ComponentStatusOrBuilder> getItemsOrBuilderList()
       List of ComponentStatus objects.
       
      repeated .k8s.io.api.core.v1.ComponentStatus items = 2;
      Specified by:
      getItemsOrBuilderList in interface V1.ComponentStatusListOrBuilder
    • addItemsBuilder

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

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

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

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

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