Interface EnvVarOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getName()
      Required.
      com.google.protobuf.ByteString getNameBytes()
      Required.
      String getValue()
      Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables.
      com.google.protobuf.ByteString getValueBytes()
      Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables.
      EnvVar.ValuesCase getValuesCase()  
      EnvVarSource getValueSource()
      Source for the environment variable's value.
      EnvVarSourceOrBuilder getValueSourceOrBuilder()
      Source for the environment variable's value.
      boolean hasValue()
      Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables.
      boolean hasValueSource()
      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

      • getName

        String getName()
         Required. Name of the environment variable. Must be a C_IDENTIFIER, and
         mnay not exceed 32768 characters.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Required. Name of the environment variable. Must be a C_IDENTIFIER, and
         mnay not exceed 32768 characters.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for name.
      • hasValue

        boolean hasValue()
         Variable references $(VAR_NAME) are expanded
         using the previous defined environment variables in the container and
         any route environment variables. If a variable cannot be resolved,
         the reference in the input string will be unchanged. The $(VAR_NAME)
         syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped
         references will never be expanded, regardless of whether the variable
         exists or not.
         Defaults to "", and the maximum length is 32768 bytes.
         
        string value = 2;
        Returns:
        Whether the value field is set.
      • getValue

        String getValue()
         Variable references $(VAR_NAME) are expanded
         using the previous defined environment variables in the container and
         any route environment variables. If a variable cannot be resolved,
         the reference in the input string will be unchanged. The $(VAR_NAME)
         syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped
         references will never be expanded, regardless of whether the variable
         exists or not.
         Defaults to "", and the maximum length is 32768 bytes.
         
        string value = 2;
        Returns:
        The value.
      • getValueBytes

        com.google.protobuf.ByteString getValueBytes()
         Variable references $(VAR_NAME) are expanded
         using the previous defined environment variables in the container and
         any route environment variables. If a variable cannot be resolved,
         the reference in the input string will be unchanged. The $(VAR_NAME)
         syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped
         references will never be expanded, regardless of whether the variable
         exists or not.
         Defaults to "", and the maximum length is 32768 bytes.
         
        string value = 2;
        Returns:
        The bytes for value.
      • hasValueSource

        boolean hasValueSource()
         Source for the environment variable's value.
         
        .google.cloud.run.v2.EnvVarSource value_source = 3;
        Returns:
        Whether the valueSource field is set.
      • getValueSource

        EnvVarSource getValueSource()
         Source for the environment variable's value.
         
        .google.cloud.run.v2.EnvVarSource value_source = 3;
        Returns:
        The valueSource.
      • getValueSourceOrBuilder

        EnvVarSourceOrBuilder getValueSourceOrBuilder()
         Source for the environment variable's value.
         
        .google.cloud.run.v2.EnvVarSource value_source = 3;