Package k8s.io.api.core.v1
Class Generated.VolumeProjection
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.core.v1.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 typek8s.io.api.core.v1.VolumeProjection- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.VolumeProjection.BuilderProjection that may be projected along with other supported volume types.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCLUSTERTRUSTBUNDLE_FIELD_NUMBERstatic intCONFIGMAP_FIELD_NUMBERstatic intDOWNWARDAPI_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.VolumeProjection>PARSERDeprecated.static intSECRET_FIELD_NUMBERstatic intSERVICEACCOUNTTOKEN_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Generated.ClusterTrustBundleProjectiongetClusterTrustBundle()ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field of ClusterTrustBundle objects in an auto-updating file.Generated.ClusterTrustBundleProjectionOrBuildergetClusterTrustBundleOrBuilder()ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field of ClusterTrustBundle objects in an auto-updating file.Generated.ConfigMapProjectiongetConfigMap()configMap information about the configMap data to project +optionalGenerated.ConfigMapProjectionOrBuildergetConfigMapOrBuilder()configMap information about the configMap data to project +optionalstatic Generated.VolumeProjectiongetDefaultInstance()Generated.VolumeProjectiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Generated.DownwardAPIProjectiongetDownwardAPI()downwardAPI information about the downwardAPI data to project +optionalGenerated.DownwardAPIProjectionOrBuildergetDownwardAPIOrBuilder()downwardAPI information about the downwardAPI data to project +optionalcom.google.protobuf.Parser<Generated.VolumeProjection>getParserForType()Generated.SecretProjectiongetSecret()secret information about the secret data to project +optionalGenerated.SecretProjectionOrBuildergetSecretOrBuilder()secret information about the secret data to project +optionalintgetSerializedSize()Generated.ServiceAccountTokenProjectiongetServiceAccountToken()serviceAccountToken is information about the serviceAccountToken data to project +optionalGenerated.ServiceAccountTokenProjectionOrBuildergetServiceAccountTokenOrBuilder()serviceAccountToken is information about the serviceAccountToken data to project +optionalbooleanhasClusterTrustBundle()ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field of ClusterTrustBundle objects in an auto-updating file.booleanhasConfigMap()configMap information about the configMap data to project +optionalbooleanhasDownwardAPI()downwardAPI information about the downwardAPI data to project +optionalinthashCode()booleanhasSecret()secret information about the secret data to project +optionalbooleanhasServiceAccountToken()serviceAccountToken is information about the serviceAccountToken data to project +optionalprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Generated.VolumeProjection.BuildernewBuilder()static Generated.VolumeProjection.BuildernewBuilder(Generated.VolumeProjection prototype)Generated.VolumeProjection.BuildernewBuilderForType()protected Generated.VolumeProjection.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.VolumeProjectionparseDelimitedFrom(InputStream input)static Generated.VolumeProjectionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.VolumeProjectionparseFrom(byte[] data)static Generated.VolumeProjectionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.VolumeProjectionparseFrom(com.google.protobuf.ByteString data)static Generated.VolumeProjectionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.VolumeProjectionparseFrom(com.google.protobuf.CodedInputStream input)static Generated.VolumeProjectionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.VolumeProjectionparseFrom(InputStream input)static Generated.VolumeProjectionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.VolumeProjectionparseFrom(ByteBuffer data)static Generated.VolumeProjectionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.VolumeProjection>parser()Generated.VolumeProjection.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SECRET_FIELD_NUMBER
public static final int SECRET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DOWNWARDAPI_FIELD_NUMBER
public static final int DOWNWARDAPI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONFIGMAP_FIELD_NUMBER
public static final int CONFIGMAP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICEACCOUNTTOKEN_FIELD_NUMBER
public static final int SERVICEACCOUNTTOKEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLUSTERTRUSTBUNDLE_FIELD_NUMBER
public static final int CLUSTERTRUSTBUNDLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.VolumeProjection> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.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:
hasSecretin interfaceGenerated.VolumeProjectionOrBuilder- Returns:
- Whether the secret field is set.
-
getSecret
public Generated.SecretProjection getSecret()
secret information about the secret data to project +optional
optional .k8s.io.api.core.v1.SecretProjection secret = 1;- Specified by:
getSecretin interfaceGenerated.VolumeProjectionOrBuilder- Returns:
- The secret.
-
getSecretOrBuilder
public Generated.SecretProjectionOrBuilder getSecretOrBuilder()
secret information about the secret data to project +optional
optional .k8s.io.api.core.v1.SecretProjection secret = 1;- Specified by:
getSecretOrBuilderin interfaceGenerated.VolumeProjectionOrBuilder
-
hasDownwardAPI
public boolean hasDownwardAPI()
downwardAPI information about the downwardAPI data to project +optional
optional .k8s.io.api.core.v1.DownwardAPIProjection downwardAPI = 2;- Specified by:
hasDownwardAPIin interfaceGenerated.VolumeProjectionOrBuilder- Returns:
- Whether the downwardAPI field is set.
-
getDownwardAPI
public Generated.DownwardAPIProjection getDownwardAPI()
downwardAPI information about the downwardAPI data to project +optional
optional .k8s.io.api.core.v1.DownwardAPIProjection downwardAPI = 2;- Specified by:
getDownwardAPIin interfaceGenerated.VolumeProjectionOrBuilder- Returns:
- The downwardAPI.
-
getDownwardAPIOrBuilder
public Generated.DownwardAPIProjectionOrBuilder getDownwardAPIOrBuilder()
downwardAPI information about the downwardAPI data to project +optional
optional .k8s.io.api.core.v1.DownwardAPIProjection downwardAPI = 2;- Specified by:
getDownwardAPIOrBuilderin interfaceGenerated.VolumeProjectionOrBuilder
-
hasConfigMap
public boolean hasConfigMap()
configMap information about the configMap data to project +optional
optional .k8s.io.api.core.v1.ConfigMapProjection configMap = 3;- Specified by:
hasConfigMapin interfaceGenerated.VolumeProjectionOrBuilder- Returns:
- Whether the configMap field is set.
-
getConfigMap
public Generated.ConfigMapProjection getConfigMap()
configMap information about the configMap data to project +optional
optional .k8s.io.api.core.v1.ConfigMapProjection configMap = 3;- Specified by:
getConfigMapin interfaceGenerated.VolumeProjectionOrBuilder- Returns:
- The configMap.
-
getConfigMapOrBuilder
public Generated.ConfigMapProjectionOrBuilder getConfigMapOrBuilder()
configMap information about the configMap data to project +optional
optional .k8s.io.api.core.v1.ConfigMapProjection configMap = 3;- Specified by:
getConfigMapOrBuilderin interfaceGenerated.VolumeProjectionOrBuilder
-
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:
hasServiceAccountTokenin interfaceGenerated.VolumeProjectionOrBuilder- Returns:
- Whether the serviceAccountToken field is set.
-
getServiceAccountToken
public Generated.ServiceAccountTokenProjection getServiceAccountToken()
serviceAccountToken is information about the serviceAccountToken data to project +optional
optional .k8s.io.api.core.v1.ServiceAccountTokenProjection serviceAccountToken = 4;- Specified by:
getServiceAccountTokenin interfaceGenerated.VolumeProjectionOrBuilder- Returns:
- The serviceAccountToken.
-
getServiceAccountTokenOrBuilder
public Generated.ServiceAccountTokenProjectionOrBuilder getServiceAccountTokenOrBuilder()
serviceAccountToken is information about the serviceAccountToken data to project +optional
optional .k8s.io.api.core.v1.ServiceAccountTokenProjection serviceAccountToken = 4;- Specified by:
getServiceAccountTokenOrBuilderin interfaceGenerated.VolumeProjectionOrBuilder
-
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:
hasClusterTrustBundlein interfaceGenerated.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:
getClusterTrustBundlein interfaceGenerated.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:
getClusterTrustBundleOrBuilderin interfaceGenerated.VolumeProjectionOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
-
parseFrom
public static Generated.VolumeProjection parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.VolumeProjection parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.VolumeProjection parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.VolumeProjection parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.VolumeProjection parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.VolumeProjection parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.VolumeProjection.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.VolumeProjection.Builder newBuilder()
-
newBuilder
public static Generated.VolumeProjection.Builder newBuilder(Generated.VolumeProjection prototype)
-
toBuilder
public Generated.VolumeProjection.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.VolumeProjection.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.VolumeProjection getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.VolumeProjection> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.VolumeProjection> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.VolumeProjection getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-