Interface Generated.EnvVarOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Generated.EnvVar, Generated.EnvVar.Builder
    Enclosing class:
    Generated

    public static interface Generated.EnvVarOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getName()
      Name of the environment variable.
      com.google.protobuf.ByteString getNameBytes()
      Name of the environment variable.
      String getValue()
      Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables.
      com.google.protobuf.ByteString getValueBytes()
      Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables.
      Generated.EnvVarSource getValueFrom()
      Source for the environment variable's value.
      Generated.EnvVarSourceOrBuilder getValueFromOrBuilder()
      Source for the environment variable's value.
      boolean hasName()
      Name of the environment variable.
      boolean hasValue()
      Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables.
      boolean hasValueFrom()
      Source for the environment variable's value.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasName

        boolean hasName()
         Name of the environment variable. Must be a C_IDENTIFIER.
         
        optional string name = 1;
        Returns:
        Whether the name field is set.
      • getName

        String getName()
         Name of the environment variable. Must be a C_IDENTIFIER.
         
        optional string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Name of the environment variable. Must be a C_IDENTIFIER.
         
        optional string name = 1;
        Returns:
        The bytes for name.
      • hasValue

        boolean hasValue()
         Variable references $(VAR_NAME) are expanded
         using the previously defined environment variables in the container and
         any service environment variables. If a variable cannot be resolved,
         the reference in the input string will be unchanged. Double $$ are reduced
         to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
         "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
         Escaped references will never be expanded, regardless of whether the variable
         exists or not.
         Defaults to "".
         +optional
         
        optional string value = 2;
        Returns:
        Whether the value field is set.
      • getValue

        String getValue()
         Variable references $(VAR_NAME) are expanded
         using the previously defined environment variables in the container and
         any service environment variables. If a variable cannot be resolved,
         the reference in the input string will be unchanged. Double $$ are reduced
         to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
         "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
         Escaped references will never be expanded, regardless of whether the variable
         exists or not.
         Defaults to "".
         +optional
         
        optional string value = 2;
        Returns:
        The value.
      • getValueBytes

        com.google.protobuf.ByteString getValueBytes()
         Variable references $(VAR_NAME) are expanded
         using the previously defined environment variables in the container and
         any service environment variables. If a variable cannot be resolved,
         the reference in the input string will be unchanged. Double $$ are reduced
         to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
         "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
         Escaped references will never be expanded, regardless of whether the variable
         exists or not.
         Defaults to "".
         +optional
         
        optional string value = 2;
        Returns:
        The bytes for value.
      • hasValueFrom

        boolean hasValueFrom()
         Source for the environment variable's value. Cannot be used if value is not empty.
         +optional
         
        optional .k8s.io.api.core.v1.EnvVarSource valueFrom = 3;
        Returns:
        Whether the valueFrom field is set.
      • getValueFrom

        Generated.EnvVarSource getValueFrom()
         Source for the environment variable's value. Cannot be used if value is not empty.
         +optional
         
        optional .k8s.io.api.core.v1.EnvVarSource valueFrom = 3;
        Returns:
        The valueFrom.
      • getValueFromOrBuilder

        Generated.EnvVarSourceOrBuilder getValueFromOrBuilder()
         Source for the environment variable's value. Cannot be used if value is not empty.
         +optional
         
        optional .k8s.io.api.core.v1.EnvVarSource valueFrom = 3;