Class Meta.APIResourceList.Builder

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

public static final class Meta.APIResourceList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder> implements Meta.APIResourceListOrBuilder
 APIResourceList is a list of APIResource, it is used to expose the name of the
 resources supported in a specific group and version, and if the resource
 is namespaced.
 
Protobuf type k8s.io.apimachinery.pkg.apis.meta.v1.APIResourceList
  • 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.APIResourceList.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.APIResourceList.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.APIResourceList.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

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

      public boolean hasGroupVersion()
       groupVersion is the group and version this APIResourceList is for.
       
      optional string groupVersion = 1;
      Specified by:
      hasGroupVersion in interface Meta.APIResourceListOrBuilder
    • getGroupVersion

      public String getGroupVersion()
       groupVersion is the group and version this APIResourceList is for.
       
      optional string groupVersion = 1;
      Specified by:
      getGroupVersion in interface Meta.APIResourceListOrBuilder
    • getGroupVersionBytes

      public com.google.protobuf.ByteString getGroupVersionBytes()
       groupVersion is the group and version this APIResourceList is for.
       
      optional string groupVersion = 1;
      Specified by:
      getGroupVersionBytes in interface Meta.APIResourceListOrBuilder
    • setGroupVersion

      public Meta.APIResourceList.Builder setGroupVersion(String value)
       groupVersion is the group and version this APIResourceList is for.
       
      optional string groupVersion = 1;
    • clearGroupVersion

      public Meta.APIResourceList.Builder clearGroupVersion()
       groupVersion is the group and version this APIResourceList is for.
       
      optional string groupVersion = 1;
    • setGroupVersionBytes

      public Meta.APIResourceList.Builder setGroupVersionBytes(com.google.protobuf.ByteString value)
       groupVersion is the group and version this APIResourceList is for.
       
      optional string groupVersion = 1;
    • getResourcesList

      public List<Meta.APIResource> getResourcesList()
       resources contains the name of the resources and if they are namespaced.
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
      Specified by:
      getResourcesList in interface Meta.APIResourceListOrBuilder
    • getResourcesCount

      public int getResourcesCount()
       resources contains the name of the resources and if they are namespaced.
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
      Specified by:
      getResourcesCount in interface Meta.APIResourceListOrBuilder
    • getResources

      public Meta.APIResource getResources(int index)
       resources contains the name of the resources and if they are namespaced.
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
      Specified by:
      getResources in interface Meta.APIResourceListOrBuilder
    • setResources

      public Meta.APIResourceList.Builder setResources(int index, Meta.APIResource value)
       resources contains the name of the resources and if they are namespaced.
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
    • setResources

      public Meta.APIResourceList.Builder setResources(int index, Meta.APIResource.Builder builderForValue)
       resources contains the name of the resources and if they are namespaced.
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
    • addResources

      public Meta.APIResourceList.Builder addResources(Meta.APIResource value)
       resources contains the name of the resources and if they are namespaced.
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
    • addResources

      public Meta.APIResourceList.Builder addResources(int index, Meta.APIResource value)
       resources contains the name of the resources and if they are namespaced.
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
    • addResources

      public Meta.APIResourceList.Builder addResources(Meta.APIResource.Builder builderForValue)
       resources contains the name of the resources and if they are namespaced.
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
    • addResources

      public Meta.APIResourceList.Builder addResources(int index, Meta.APIResource.Builder builderForValue)
       resources contains the name of the resources and if they are namespaced.
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
    • addAllResources

      public Meta.APIResourceList.Builder addAllResources(Iterable<? extends Meta.APIResource> values)
       resources contains the name of the resources and if they are namespaced.
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
    • clearResources

      public Meta.APIResourceList.Builder clearResources()
       resources contains the name of the resources and if they are namespaced.
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
    • removeResources

      public Meta.APIResourceList.Builder removeResources(int index)
       resources contains the name of the resources and if they are namespaced.
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
    • getResourcesBuilder

      public Meta.APIResource.Builder getResourcesBuilder(int index)
       resources contains the name of the resources and if they are namespaced.
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
    • getResourcesOrBuilder

      public Meta.APIResourceOrBuilder getResourcesOrBuilder(int index)
       resources contains the name of the resources and if they are namespaced.
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
      Specified by:
      getResourcesOrBuilder in interface Meta.APIResourceListOrBuilder
    • getResourcesOrBuilderList

      public List<? extends Meta.APIResourceOrBuilder> getResourcesOrBuilderList()
       resources contains the name of the resources and if they are namespaced.
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
      Specified by:
      getResourcesOrBuilderList in interface Meta.APIResourceListOrBuilder
    • addResourcesBuilder

      public Meta.APIResource.Builder addResourcesBuilder()
       resources contains the name of the resources and if they are namespaced.
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
    • addResourcesBuilder

      public Meta.APIResource.Builder addResourcesBuilder(int index)
       resources contains the name of the resources and if they are namespaced.
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
    • getResourcesBuilderList

      public List<Meta.APIResource.Builder> getResourcesBuilderList()
       resources contains the name of the resources and if they are namespaced.
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
    • setUnknownFields

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

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