Package io.kubernetes.client.proto
Class V1.ServiceAccount.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
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 secretsProtobuf type
k8s.io.api.core.v1.ServiceAccount
-
Method Summary
Modifier and TypeMethodDescriptionaddAllImagePullSecrets
(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.addAllSecrets
(Iterable<? extends V1.ObjectReference> values) Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.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.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 is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.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 is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.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.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addSecrets
(int index, V1.ObjectReference value) Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.addSecrets
(int index, V1.ObjectReference.Builder builderForValue) Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.addSecrets
(V1.ObjectReference value) Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.addSecrets
(V1.ObjectReference.Builder builderForValue) Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.addSecretsBuilder
(int index) Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.build()
clear()
AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.Standard object's metadata.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.clone()
boolean
AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
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.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 is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.int
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 is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.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.List<? extends V1.LocalObjectReferenceOrBuilder>
ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.Standard object's metadata.Standard object's metadata.Standard object's metadata.getSecrets
(int index) Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.getSecretsBuilder
(int index) Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.int
Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.getSecretsOrBuilder
(int index) Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.List<? extends V1.ObjectReferenceOrBuilder>
Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.boolean
AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.boolean
Standard object's metadata.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) mergeFrom
(V1.ServiceAccount other) mergeMetadata
(Meta.ObjectMeta value) Standard object's metadata.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) 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.removeSecrets
(int index) Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.setAutomountServiceAccountToken
(boolean value) AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.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.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.setMetadata
(Meta.ObjectMeta value) Standard object's metadata.setMetadata
(Meta.ObjectMeta.Builder builderForValue) Standard object's metadata.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSecrets
(int index, V1.ObjectReference value) Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.setSecrets
(int index, V1.ObjectReference.Builder builderForValue) Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.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 classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ServiceAccount.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ServiceAccount.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ServiceAccount.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ServiceAccount.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ServiceAccount.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ServiceAccount.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1.ServiceAccount.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceV1.ServiceAccountOrBuilder
-
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 interfaceV1.ServiceAccountOrBuilder
-
setMetadata
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
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
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
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
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
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 interfaceV1.ServiceAccountOrBuilder
-
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 interfaceV1.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 interfaceV1.ServiceAccountOrBuilder
-
getSecrets
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 interfaceV1.ServiceAccountOrBuilder
-
setSecrets
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
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
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
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
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
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
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
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
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
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
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 interfaceV1.ServiceAccountOrBuilder
-
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 interfaceV1.ServiceAccountOrBuilder
-
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
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
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
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 interfaceV1.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 interfaceV1.ServiceAccountOrBuilder
-
getImagePullSecrets
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 interfaceV1.ServiceAccountOrBuilder
-
setImagePullSecrets
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
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
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
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
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
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
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 interfaceV1.ServiceAccountOrBuilder
-
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 interfaceV1.ServiceAccountOrBuilder
-
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
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
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 interfaceV1.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 interfaceV1.ServiceAccountOrBuilder
-
setAutomountServiceAccountToken
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
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ServiceAccount.Builder>
-
mergeUnknownFields
public final V1.ServiceAccount.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ServiceAccount.Builder>
-