Package k8s.io.api.core.v1
Class Generated.EnvVarSource
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.core.v1.Generated.EnvVarSource
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.EnvVarSourceOrBuilder
- Enclosing class:
- Generated
public static final class Generated.EnvVarSource extends com.google.protobuf.GeneratedMessageV3 implements Generated.EnvVarSourceOrBuilder
EnvVarSource represents a source for the value of an EnvVar.
Protobuf typek8s.io.api.core.v1.EnvVarSource- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.EnvVarSource.BuilderEnvVarSource represents a source for the value of an EnvVar.-
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 intCONFIGMAPKEYREF_FIELD_NUMBERstatic intFIELDREF_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.EnvVarSource>PARSERDeprecated.static intRESOURCEFIELDREF_FIELD_NUMBERstatic intSECRETKEYREF_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Generated.ConfigMapKeySelectorgetConfigMapKeyRef()Selects a key of a ConfigMap.Generated.ConfigMapKeySelectorOrBuildergetConfigMapKeyRefOrBuilder()Selects a key of a ConfigMap.static Generated.EnvVarSourcegetDefaultInstance()Generated.EnvVarSourcegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Generated.ObjectFieldSelectorgetFieldRef()Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.Generated.ObjectFieldSelectorOrBuildergetFieldRefOrBuilder()Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.com.google.protobuf.Parser<Generated.EnvVarSource>getParserForType()Generated.ResourceFieldSelectorgetResourceFieldRef()Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.Generated.ResourceFieldSelectorOrBuildergetResourceFieldRefOrBuilder()Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.Generated.SecretKeySelectorgetSecretKeyRef()Selects a key of a secret in the pod's namespace +optionalGenerated.SecretKeySelectorOrBuildergetSecretKeyRefOrBuilder()Selects a key of a secret in the pod's namespace +optionalintgetSerializedSize()booleanhasConfigMapKeyRef()Selects a key of a ConfigMap.booleanhasFieldRef()Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.inthashCode()booleanhasResourceFieldRef()Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.booleanhasSecretKeyRef()Selects a key of a secret in the pod's namespace +optionalprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Generated.EnvVarSource.BuildernewBuilder()static Generated.EnvVarSource.BuildernewBuilder(Generated.EnvVarSource prototype)Generated.EnvVarSource.BuildernewBuilderForType()protected Generated.EnvVarSource.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.EnvVarSourceparseDelimitedFrom(InputStream input)static Generated.EnvVarSourceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.EnvVarSourceparseFrom(byte[] data)static Generated.EnvVarSourceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.EnvVarSourceparseFrom(com.google.protobuf.ByteString data)static Generated.EnvVarSourceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.EnvVarSourceparseFrom(com.google.protobuf.CodedInputStream input)static Generated.EnvVarSourceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.EnvVarSourceparseFrom(InputStream input)static Generated.EnvVarSourceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.EnvVarSourceparseFrom(ByteBuffer data)static Generated.EnvVarSourceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.EnvVarSource>parser()Generated.EnvVarSource.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
-
FIELDREF_FIELD_NUMBER
public static final int FIELDREF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCEFIELDREF_FIELD_NUMBER
public static final int RESOURCEFIELDREF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONFIGMAPKEYREF_FIELD_NUMBER
public static final int CONFIGMAPKEYREF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECRETKEYREF_FIELD_NUMBER
public static final int SECRETKEYREF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.EnvVarSource> 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
-
hasFieldRef
public boolean hasFieldRef()
Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. +optional
optional .k8s.io.api.core.v1.ObjectFieldSelector fieldRef = 1;- Specified by:
hasFieldRefin interfaceGenerated.EnvVarSourceOrBuilder- Returns:
- Whether the fieldRef field is set.
-
getFieldRef
public Generated.ObjectFieldSelector getFieldRef()
Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. +optional
optional .k8s.io.api.core.v1.ObjectFieldSelector fieldRef = 1;- Specified by:
getFieldRefin interfaceGenerated.EnvVarSourceOrBuilder- Returns:
- The fieldRef.
-
getFieldRefOrBuilder
public Generated.ObjectFieldSelectorOrBuilder getFieldRefOrBuilder()
Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. +optional
optional .k8s.io.api.core.v1.ObjectFieldSelector fieldRef = 1;- Specified by:
getFieldRefOrBuilderin interfaceGenerated.EnvVarSourceOrBuilder
-
hasResourceFieldRef
public boolean hasResourceFieldRef()
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. +optional
optional .k8s.io.api.core.v1.ResourceFieldSelector resourceFieldRef = 2;- Specified by:
hasResourceFieldRefin interfaceGenerated.EnvVarSourceOrBuilder- Returns:
- Whether the resourceFieldRef field is set.
-
getResourceFieldRef
public Generated.ResourceFieldSelector getResourceFieldRef()
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. +optional
optional .k8s.io.api.core.v1.ResourceFieldSelector resourceFieldRef = 2;- Specified by:
getResourceFieldRefin interfaceGenerated.EnvVarSourceOrBuilder- Returns:
- The resourceFieldRef.
-
getResourceFieldRefOrBuilder
public Generated.ResourceFieldSelectorOrBuilder getResourceFieldRefOrBuilder()
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. +optional
optional .k8s.io.api.core.v1.ResourceFieldSelector resourceFieldRef = 2;- Specified by:
getResourceFieldRefOrBuilderin interfaceGenerated.EnvVarSourceOrBuilder
-
hasConfigMapKeyRef
public boolean hasConfigMapKeyRef()
Selects a key of a ConfigMap. +optional
optional .k8s.io.api.core.v1.ConfigMapKeySelector configMapKeyRef = 3;- Specified by:
hasConfigMapKeyRefin interfaceGenerated.EnvVarSourceOrBuilder- Returns:
- Whether the configMapKeyRef field is set.
-
getConfigMapKeyRef
public Generated.ConfigMapKeySelector getConfigMapKeyRef()
Selects a key of a ConfigMap. +optional
optional .k8s.io.api.core.v1.ConfigMapKeySelector configMapKeyRef = 3;- Specified by:
getConfigMapKeyRefin interfaceGenerated.EnvVarSourceOrBuilder- Returns:
- The configMapKeyRef.
-
getConfigMapKeyRefOrBuilder
public Generated.ConfigMapKeySelectorOrBuilder getConfigMapKeyRefOrBuilder()
Selects a key of a ConfigMap. +optional
optional .k8s.io.api.core.v1.ConfigMapKeySelector configMapKeyRef = 3;- Specified by:
getConfigMapKeyRefOrBuilderin interfaceGenerated.EnvVarSourceOrBuilder
-
hasSecretKeyRef
public boolean hasSecretKeyRef()
Selects a key of a secret in the pod's namespace +optional
optional .k8s.io.api.core.v1.SecretKeySelector secretKeyRef = 4;- Specified by:
hasSecretKeyRefin interfaceGenerated.EnvVarSourceOrBuilder- Returns:
- Whether the secretKeyRef field is set.
-
getSecretKeyRef
public Generated.SecretKeySelector getSecretKeyRef()
Selects a key of a secret in the pod's namespace +optional
optional .k8s.io.api.core.v1.SecretKeySelector secretKeyRef = 4;- Specified by:
getSecretKeyRefin interfaceGenerated.EnvVarSourceOrBuilder- Returns:
- The secretKeyRef.
-
getSecretKeyRefOrBuilder
public Generated.SecretKeySelectorOrBuilder getSecretKeyRefOrBuilder()
Selects a key of a secret in the pod's namespace +optional
optional .k8s.io.api.core.v1.SecretKeySelector secretKeyRef = 4;- Specified by:
getSecretKeyRefOrBuilderin interfaceGenerated.EnvVarSourceOrBuilder
-
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.EnvVarSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.EnvVarSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.EnvVarSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.EnvVarSource 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.EnvVarSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.EnvVarSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.EnvVarSource parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.EnvVarSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.EnvVarSource parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.EnvVarSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.EnvVarSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.EnvVarSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.EnvVarSource.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.EnvVarSource.Builder newBuilder()
-
newBuilder
public static Generated.EnvVarSource.Builder newBuilder(Generated.EnvVarSource prototype)
-
toBuilder
public Generated.EnvVarSource.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.EnvVarSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.EnvVarSource getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.EnvVarSource> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.EnvVarSource> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.EnvVarSource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-