proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOptions.java
public Builder addEnv(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      ensureEnvIsMutable();
      env_.add(value);
      onChanged();
      return this;
    }
/**
     *
     *
     * <pre>
     * A list of global environment variable definitions that will exist for all
     * build steps in this build. If a variable is defined in both globally and in
     * a build step, the variable will use the build step value.
     * The elements are of the form "KEY=VALUE" for the environment variable "KEY"
     * being given the value "VALUE".
     * </pre>
     *
     * <code>repeated string env = 12;</code>
     *
     * @param value The env to add.
     * @return This builder for chaining.
     */

A list of global environment variable definitions that will exist for all
build steps in this build. If a variable is defined in both globally and in
a build step, the variable will use the build step value.

repeated string env = 12.

@param value The env to add.
@return This builder for chaining.
A list of global environment variable definitions that will exist for all build steps in this build . If a variable is defined in both globally and in a build step the variable will use the build step value . repeated string env = 12 . @param value The env to add . @return This builder for chaining .
public Builder addEnv(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      ensureEnvIsMutable();
      env_.add(value);
      onChanged();
      return this;
    }
public Builder addEnv ( java . lang . String value ) { if ( value == null ) { throw new NullPointerException ( ) ; } ensureEnvIsMutable ( ) ; env_ . add ( value ) ; onChanged ( ) ; return this ; }
<pre>
 A list of global environment variable definitions that will exist for all
 build steps in this build.
<pre > A list of global environment variable definitions that will exist for all build steps in this build .