Class Generated.VolumeProjection

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Generated.VolumeProjectionOrBuilder
    Enclosing class:
    Generated

    public static final class Generated.VolumeProjection
    extends com.google.protobuf.GeneratedMessageV3
    implements Generated.VolumeProjectionOrBuilder
     Projection that may be projected along with other supported volume types.
     Exactly one of these fields must be set.
     
    Protobuf type k8s.io.api.core.v1.VolumeProjection
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • hasSecret

        public boolean hasSecret()
         secret information about the secret data to project
         +optional
         
        optional .k8s.io.api.core.v1.SecretProjection secret = 1;
        Specified by:
        hasSecret in interface Generated.VolumeProjectionOrBuilder
        Returns:
        Whether the secret field is set.
      • hasDownwardAPI

        public boolean hasDownwardAPI()
         downwardAPI information about the downwardAPI data to project
         +optional
         
        optional .k8s.io.api.core.v1.DownwardAPIProjection downwardAPI = 2;
        Specified by:
        hasDownwardAPI in interface Generated.VolumeProjectionOrBuilder
        Returns:
        Whether the downwardAPI field is set.
      • hasConfigMap

        public boolean hasConfigMap()
         configMap information about the configMap data to project
         +optional
         
        optional .k8s.io.api.core.v1.ConfigMapProjection configMap = 3;
        Specified by:
        hasConfigMap in interface Generated.VolumeProjectionOrBuilder
        Returns:
        Whether the configMap field is set.
      • hasServiceAccountToken

        public boolean hasServiceAccountToken()
         serviceAccountToken is information about the serviceAccountToken data to project
         +optional
         
        optional .k8s.io.api.core.v1.ServiceAccountTokenProjection serviceAccountToken = 4;
        Specified by:
        hasServiceAccountToken in interface Generated.VolumeProjectionOrBuilder
        Returns:
        Whether the serviceAccountToken field is set.
      • hasClusterTrustBundle

        public boolean hasClusterTrustBundle()
         ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field
         of ClusterTrustBundle objects in an auto-updating file.
        
         Alpha, gated by the ClusterTrustBundleProjection feature gate.
        
         ClusterTrustBundle objects can either be selected by name, or by the
         combination of signer name and a label selector.
        
         Kubelet performs aggressive normalization of the PEM contents written
         into the pod filesystem.  Esoteric PEM features such as inter-block
         comments and block headers are stripped.  Certificates are deduplicated.
         The ordering of certificates within the file is arbitrary, and Kubelet
         may change the order over time.
        
         +featureGate=ClusterTrustBundleProjection
         +optional
         
        optional .k8s.io.api.core.v1.ClusterTrustBundleProjection clusterTrustBundle = 5;
        Specified by:
        hasClusterTrustBundle in interface Generated.VolumeProjectionOrBuilder
        Returns:
        Whether the clusterTrustBundle field is set.
      • getClusterTrustBundle

        public Generated.ClusterTrustBundleProjection getClusterTrustBundle()
         ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field
         of ClusterTrustBundle objects in an auto-updating file.
        
         Alpha, gated by the ClusterTrustBundleProjection feature gate.
        
         ClusterTrustBundle objects can either be selected by name, or by the
         combination of signer name and a label selector.
        
         Kubelet performs aggressive normalization of the PEM contents written
         into the pod filesystem.  Esoteric PEM features such as inter-block
         comments and block headers are stripped.  Certificates are deduplicated.
         The ordering of certificates within the file is arbitrary, and Kubelet
         may change the order over time.
        
         +featureGate=ClusterTrustBundleProjection
         +optional
         
        optional .k8s.io.api.core.v1.ClusterTrustBundleProjection clusterTrustBundle = 5;
        Specified by:
        getClusterTrustBundle in interface Generated.VolumeProjectionOrBuilder
        Returns:
        The clusterTrustBundle.
      • getClusterTrustBundleOrBuilder

        public Generated.ClusterTrustBundleProjectionOrBuilder getClusterTrustBundleOrBuilder()
         ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field
         of ClusterTrustBundle objects in an auto-updating file.
        
         Alpha, gated by the ClusterTrustBundleProjection feature gate.
        
         ClusterTrustBundle objects can either be selected by name, or by the
         combination of signer name and a label selector.
        
         Kubelet performs aggressive normalization of the PEM contents written
         into the pod filesystem.  Esoteric PEM features such as inter-block
         comments and block headers are stripped.  Certificates are deduplicated.
         The ordering of certificates within the file is arbitrary, and Kubelet
         may change the order over time.
        
         +featureGate=ClusterTrustBundleProjection
         +optional
         
        optional .k8s.io.api.core.v1.ClusterTrustBundleProjection clusterTrustBundle = 5;
        Specified by:
        getClusterTrustBundleOrBuilder in interface Generated.VolumeProjectionOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Generated.VolumeProjection parseFrom​(ByteBuffer data)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.VolumeProjection parseFrom​(ByteBuffer data,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.VolumeProjection parseFrom​(com.google.protobuf.ByteString data)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.VolumeProjection parseFrom​(com.google.protobuf.ByteString data,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.VolumeProjection parseFrom​(byte[] data)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.VolumeProjection parseFrom​(byte[] data,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public Generated.VolumeProjection.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Generated.VolumeProjection.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Generated.VolumeProjection.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Generated.VolumeProjection> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Generated.VolumeProjection getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder