Class V1.ServiceAccount.Builder

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

public static final class V1.ServiceAccount.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.ServiceAccount.Builder> implements V1.ServiceAccountOrBuilder
 ServiceAccount binds together:
 * a name, understood by users, and perhaps by peripheral systems, for an identity
 * a principal that can be authenticated and authorized
 * a set of secrets
 
Protobuf type k8s.io.api.core.v1.ServiceAccount
  • 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.ServiceAccount.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public V1.ServiceAccount.Builder clearMetadata()
       Standard object's metadata.
       More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    • getMetadataBuilder

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

      public Meta.ObjectMetaOrBuilder getMetadataOrBuilder()
       Standard object's metadata.
       More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
      Specified by:
      getMetadataOrBuilder in interface V1.ServiceAccountOrBuilder
    • getSecretsList

      public List<V1.ObjectReference> getSecretsList()
       Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.
       More info: https://kubernetes.io/docs/concepts/configuration/secret
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
      Specified by:
      getSecretsList in interface V1.ServiceAccountOrBuilder
    • getSecretsCount

      public int getSecretsCount()
       Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.
       More info: https://kubernetes.io/docs/concepts/configuration/secret
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
      Specified by:
      getSecretsCount in interface V1.ServiceAccountOrBuilder
    • getSecrets

      public V1.ObjectReference getSecrets(int index)
       Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.
       More info: https://kubernetes.io/docs/concepts/configuration/secret
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
      Specified by:
      getSecrets in interface V1.ServiceAccountOrBuilder
    • setSecrets

      public V1.ServiceAccount.Builder setSecrets(int index, V1.ObjectReference value)
       Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.
       More info: https://kubernetes.io/docs/concepts/configuration/secret
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
    • setSecrets

      public V1.ServiceAccount.Builder setSecrets(int index, V1.ObjectReference.Builder builderForValue)
       Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.
       More info: https://kubernetes.io/docs/concepts/configuration/secret
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
    • addSecrets

      public V1.ServiceAccount.Builder addSecrets(V1.ObjectReference value)
       Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.
       More info: https://kubernetes.io/docs/concepts/configuration/secret
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
    • addSecrets

      public V1.ServiceAccount.Builder addSecrets(int index, V1.ObjectReference value)
       Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.
       More info: https://kubernetes.io/docs/concepts/configuration/secret
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
    • addSecrets

      public V1.ServiceAccount.Builder addSecrets(V1.ObjectReference.Builder builderForValue)
       Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.
       More info: https://kubernetes.io/docs/concepts/configuration/secret
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
    • addSecrets

      public V1.ServiceAccount.Builder addSecrets(int index, V1.ObjectReference.Builder builderForValue)
       Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.
       More info: https://kubernetes.io/docs/concepts/configuration/secret
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
    • addAllSecrets

      public V1.ServiceAccount.Builder addAllSecrets(Iterable<? extends V1.ObjectReference> values)
       Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.
       More info: https://kubernetes.io/docs/concepts/configuration/secret
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
    • clearSecrets

      public V1.ServiceAccount.Builder clearSecrets()
       Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.
       More info: https://kubernetes.io/docs/concepts/configuration/secret
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
    • removeSecrets

      public V1.ServiceAccount.Builder removeSecrets(int index)
       Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.
       More info: https://kubernetes.io/docs/concepts/configuration/secret
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
    • getSecretsBuilder

      public V1.ObjectReference.Builder getSecretsBuilder(int index)
       Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.
       More info: https://kubernetes.io/docs/concepts/configuration/secret
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
    • getSecretsOrBuilder

      public V1.ObjectReferenceOrBuilder getSecretsOrBuilder(int index)
       Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.
       More info: https://kubernetes.io/docs/concepts/configuration/secret
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
      Specified by:
      getSecretsOrBuilder in interface V1.ServiceAccountOrBuilder
    • getSecretsOrBuilderList

      public List<? extends V1.ObjectReferenceOrBuilder> getSecretsOrBuilderList()
       Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.
       More info: https://kubernetes.io/docs/concepts/configuration/secret
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
      Specified by:
      getSecretsOrBuilderList in interface V1.ServiceAccountOrBuilder
    • addSecretsBuilder

      public V1.ObjectReference.Builder addSecretsBuilder()
       Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.
       More info: https://kubernetes.io/docs/concepts/configuration/secret
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
    • addSecretsBuilder

      public V1.ObjectReference.Builder addSecretsBuilder(int index)
       Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.
       More info: https://kubernetes.io/docs/concepts/configuration/secret
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
    • getSecretsBuilderList

      public List<V1.ObjectReference.Builder> getSecretsBuilderList()
       Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.
       More info: https://kubernetes.io/docs/concepts/configuration/secret
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
    • getImagePullSecretsList

      public List<V1.LocalObjectReference> getImagePullSecretsList()
       ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images
       in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets
       can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.
       More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
       +optional
       
      repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;
      Specified by:
      getImagePullSecretsList in interface V1.ServiceAccountOrBuilder
    • getImagePullSecretsCount

      public int getImagePullSecretsCount()
       ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images
       in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets
       can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.
       More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
       +optional
       
      repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;
      Specified by:
      getImagePullSecretsCount in interface V1.ServiceAccountOrBuilder
    • getImagePullSecrets

      public V1.LocalObjectReference getImagePullSecrets(int index)
       ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images
       in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets
       can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.
       More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
       +optional
       
      repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;
      Specified by:
      getImagePullSecrets in interface V1.ServiceAccountOrBuilder
    • setImagePullSecrets

      public V1.ServiceAccount.Builder setImagePullSecrets(int index, V1.LocalObjectReference value)
       ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images
       in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets
       can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.
       More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
       +optional
       
      repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;
    • setImagePullSecrets

      public V1.ServiceAccount.Builder setImagePullSecrets(int index, V1.LocalObjectReference.Builder builderForValue)
       ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images
       in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets
       can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.
       More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
       +optional
       
      repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;
    • addImagePullSecrets

      public V1.ServiceAccount.Builder addImagePullSecrets(V1.LocalObjectReference value)
       ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images
       in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets
       can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.
       More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
       +optional
       
      repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;
    • addImagePullSecrets

      public V1.ServiceAccount.Builder addImagePullSecrets(int index, V1.LocalObjectReference value)
       ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images
       in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets
       can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.
       More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
       +optional
       
      repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;
    • addImagePullSecrets

      public V1.ServiceAccount.Builder addImagePullSecrets(V1.LocalObjectReference.Builder builderForValue)
       ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images
       in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets
       can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.
       More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
       +optional
       
      repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;
    • addImagePullSecrets

      public V1.ServiceAccount.Builder addImagePullSecrets(int index, V1.LocalObjectReference.Builder builderForValue)
       ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images
       in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets
       can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.
       More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
       +optional
       
      repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;
    • addAllImagePullSecrets

      public V1.ServiceAccount.Builder addAllImagePullSecrets(Iterable<? extends V1.LocalObjectReference> values)
       ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images
       in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets
       can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.
       More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
       +optional
       
      repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;
    • clearImagePullSecrets

      public V1.ServiceAccount.Builder clearImagePullSecrets()
       ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images
       in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets
       can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.
       More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
       +optional
       
      repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;
    • removeImagePullSecrets

      public V1.ServiceAccount.Builder removeImagePullSecrets(int index)
       ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images
       in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets
       can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.
       More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
       +optional
       
      repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;
    • getImagePullSecretsBuilder

      public V1.LocalObjectReference.Builder getImagePullSecretsBuilder(int index)
       ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images
       in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets
       can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.
       More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
       +optional
       
      repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;
    • getImagePullSecretsOrBuilder

      public V1.LocalObjectReferenceOrBuilder getImagePullSecretsOrBuilder(int index)
       ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images
       in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets
       can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.
       More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
       +optional
       
      repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;
      Specified by:
      getImagePullSecretsOrBuilder in interface V1.ServiceAccountOrBuilder
    • getImagePullSecretsOrBuilderList

      public List<? extends V1.LocalObjectReferenceOrBuilder> getImagePullSecretsOrBuilderList()
       ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images
       in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets
       can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.
       More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
       +optional
       
      repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;
      Specified by:
      getImagePullSecretsOrBuilderList in interface V1.ServiceAccountOrBuilder
    • addImagePullSecretsBuilder

      public V1.LocalObjectReference.Builder addImagePullSecretsBuilder()
       ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images
       in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets
       can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.
       More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
       +optional
       
      repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;
    • addImagePullSecretsBuilder

      public V1.LocalObjectReference.Builder addImagePullSecretsBuilder(int index)
       ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images
       in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets
       can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.
       More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
       +optional
       
      repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;
    • getImagePullSecretsBuilderList

      public List<V1.LocalObjectReference.Builder> getImagePullSecretsBuilderList()
       ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images
       in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets
       can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.
       More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
       +optional
       
      repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;
    • hasAutomountServiceAccountToken

      public boolean hasAutomountServiceAccountToken()
       AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.
       Can be overridden at the pod level.
       +optional
       
      optional bool automountServiceAccountToken = 4;
      Specified by:
      hasAutomountServiceAccountToken in interface V1.ServiceAccountOrBuilder
    • getAutomountServiceAccountToken

      public boolean getAutomountServiceAccountToken()
       AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.
       Can be overridden at the pod level.
       +optional
       
      optional bool automountServiceAccountToken = 4;
      Specified by:
      getAutomountServiceAccountToken in interface V1.ServiceAccountOrBuilder
    • setAutomountServiceAccountToken

      public V1.ServiceAccount.Builder setAutomountServiceAccountToken(boolean value)
       AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.
       Can be overridden at the pod level.
       +optional
       
      optional bool automountServiceAccountToken = 4;
    • clearAutomountServiceAccountToken

      public V1.ServiceAccount.Builder clearAutomountServiceAccountToken()
       AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.
       Can be overridden at the pod level.
       +optional
       
      optional bool automountServiceAccountToken = 4;
    • setUnknownFields

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

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