public final class EnvVarSource extends com.google.protobuf.GeneratedMessageV3 implements EnvVarSourceOrBuilder
EnvVarSource represents a source for the value of an EnvVar.Protobuf type
appscode.kubernetes.v1beta2.EnvVarSource| Modifier and Type | Class and Description |
|---|---|
static class |
EnvVarSource.Builder
EnvVarSource represents a source for the value of an EnvVar.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CONFIG_MAP_KEY_REF_FIELD_NUMBER |
static int |
FIELD_REF_FIELD_NUMBER |
static int |
RESOURCE_FIELD_REF_FIELD_NUMBER |
static int |
SECRET_KEY_REF_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
ConfigMapKeySelector |
getConfigMapKeyRef()
Selects a key of a ConfigMap.
|
ConfigMapKeySelectorOrBuilder |
getConfigMapKeyRefOrBuilder()
Selects a key of a ConfigMap.
|
static EnvVarSource |
getDefaultInstance() |
EnvVarSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ObjectFieldSelector |
getFieldRef()
Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations,
spec.nodeName, spec.serviceAccountName, status.podIP.
|
ObjectFieldSelectorOrBuilder |
getFieldRefOrBuilder()
Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations,
spec.nodeName, spec.serviceAccountName, status.podIP.
|
com.google.protobuf.Parser<EnvVarSource> |
getParserForType() |
ResourceFieldSelector |
getResourceFieldRef()
Selects a resource of the container: only resources limits and requests
(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
|
ResourceFieldSelectorOrBuilder |
getResourceFieldRefOrBuilder()
Selects a resource of the container: only resources limits and requests
(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
|
SecretKeySelector |
getSecretKeyRef()
Selects a key of a secret in the pod's namespace
+optional
|
SecretKeySelectorOrBuilder |
getSecretKeyRefOrBuilder()
Selects a key of a secret in the pod's namespace
+optional
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasConfigMapKeyRef()
Selects a key of a ConfigMap.
|
boolean |
hasFieldRef()
Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations,
spec.nodeName, spec.serviceAccountName, status.podIP.
|
int |
hashCode() |
boolean |
hasResourceFieldRef()
Selects a resource of the container: only resources limits and requests
(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
|
boolean |
hasSecretKeyRef()
Selects a key of a secret in the pod's namespace
+optional
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static EnvVarSource.Builder |
newBuilder() |
static EnvVarSource.Builder |
newBuilder(EnvVarSource prototype) |
EnvVarSource.Builder |
newBuilderForType() |
protected EnvVarSource.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static EnvVarSource |
parseDelimitedFrom(java.io.InputStream input) |
static EnvVarSource |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EnvVarSource |
parseFrom(byte[] data) |
static EnvVarSource |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EnvVarSource |
parseFrom(java.nio.ByteBuffer data) |
static EnvVarSource |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EnvVarSource |
parseFrom(com.google.protobuf.ByteString data) |
static EnvVarSource |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EnvVarSource |
parseFrom(com.google.protobuf.CodedInputStream input) |
static EnvVarSource |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EnvVarSource |
parseFrom(java.io.InputStream input) |
static EnvVarSource |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<EnvVarSource> |
parser() |
EnvVarSource.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int FIELD_REF_FIELD_NUMBER
public static final int RESOURCE_FIELD_REF_FIELD_NUMBER
public static final int CONFIG_MAP_KEY_REF_FIELD_NUMBER
public static final int SECRET_KEY_REF_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasFieldRef()
Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.podIP. +optional
.appscode.kubernetes.v1beta2.ObjectFieldSelector field_ref = 1;hasFieldRef in interface EnvVarSourceOrBuilderpublic ObjectFieldSelector getFieldRef()
Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.podIP. +optional
.appscode.kubernetes.v1beta2.ObjectFieldSelector field_ref = 1;getFieldRef in interface EnvVarSourceOrBuilderpublic ObjectFieldSelectorOrBuilder getFieldRefOrBuilder()
Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.podIP. +optional
.appscode.kubernetes.v1beta2.ObjectFieldSelector field_ref = 1;getFieldRefOrBuilder in interface EnvVarSourceOrBuilderpublic boolean hasResourceFieldRef()
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. +optional
.appscode.kubernetes.v1beta2.ResourceFieldSelector resource_field_ref = 2;hasResourceFieldRef in interface EnvVarSourceOrBuilderpublic ResourceFieldSelector getResourceFieldRef()
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. +optional
.appscode.kubernetes.v1beta2.ResourceFieldSelector resource_field_ref = 2;getResourceFieldRef in interface EnvVarSourceOrBuilderpublic ResourceFieldSelectorOrBuilder getResourceFieldRefOrBuilder()
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. +optional
.appscode.kubernetes.v1beta2.ResourceFieldSelector resource_field_ref = 2;getResourceFieldRefOrBuilder in interface EnvVarSourceOrBuilderpublic boolean hasConfigMapKeyRef()
Selects a key of a ConfigMap. +optional
.appscode.kubernetes.v1beta2.ConfigMapKeySelector config_map_key_ref = 3;hasConfigMapKeyRef in interface EnvVarSourceOrBuilderpublic ConfigMapKeySelector getConfigMapKeyRef()
Selects a key of a ConfigMap. +optional
.appscode.kubernetes.v1beta2.ConfigMapKeySelector config_map_key_ref = 3;getConfigMapKeyRef in interface EnvVarSourceOrBuilderpublic ConfigMapKeySelectorOrBuilder getConfigMapKeyRefOrBuilder()
Selects a key of a ConfigMap. +optional
.appscode.kubernetes.v1beta2.ConfigMapKeySelector config_map_key_ref = 3;getConfigMapKeyRefOrBuilder in interface EnvVarSourceOrBuilderpublic boolean hasSecretKeyRef()
Selects a key of a secret in the pod's namespace +optional
.appscode.kubernetes.v1beta2.SecretKeySelector secret_key_ref = 4;hasSecretKeyRef in interface EnvVarSourceOrBuilderpublic SecretKeySelector getSecretKeyRef()
Selects a key of a secret in the pod's namespace +optional
.appscode.kubernetes.v1beta2.SecretKeySelector secret_key_ref = 4;getSecretKeyRef in interface EnvVarSourceOrBuilderpublic SecretKeySelectorOrBuilder getSecretKeyRefOrBuilder()
Selects a key of a secret in the pod's namespace +optional
.appscode.kubernetes.v1beta2.SecretKeySelector secret_key_ref = 4;getSecretKeyRefOrBuilder in interface EnvVarSourceOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static EnvVarSource parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EnvVarSource parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EnvVarSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EnvVarSource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EnvVarSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EnvVarSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EnvVarSource parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static EnvVarSource parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static EnvVarSource parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static EnvVarSource parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static EnvVarSource parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static EnvVarSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic EnvVarSource.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static EnvVarSource.Builder newBuilder()
public static EnvVarSource.Builder newBuilder(EnvVarSource prototype)
public EnvVarSource.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected EnvVarSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static EnvVarSource getDefaultInstance()
public static com.google.protobuf.Parser<EnvVarSource> parser()
public com.google.protobuf.Parser<EnvVarSource> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public EnvVarSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder