proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOptions.java
public Builder addVolumes(com.google.cloudbuild.v1.Volume.Builder builderForValue) {
      if (volumesBuilder_ == null) {
        ensureVolumesIsMutable();
        volumes_.add(builderForValue.build());
        onChanged();
      } else {
        volumesBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
/**
     *
     *
     * <pre>
     * Global list of volumes to mount for ALL build steps
     * Each volume is created as an empty volume prior to starting the build
     * process. Upon completion of the build, volumes and their contents are
     * discarded. Global volume names and paths cannot conflict with the volumes
     * defined a build step.
     * Using a global volume in a build with only one step is not valid as
     * it is indicative of a build request with an incorrect configuration.
     * </pre>
     *
     * <code>repeated .google.devtools.cloudbuild.v1.Volume volumes = 14;</code>
     */

Global list of volumes to mount for ALL build steps
Each volume is created as an empty volume prior to starting the build
process. Upon completion of the build, volumes and their contents are
discarded. Global volume names and paths cannot conflict with the volumes
defined a build step.
Using a global volume in a build with only one step is not valid as
it is indicative of a build request with an incorrect configuration.

repeated .google.devtools.cloudbuild.v1.Volume volumes = 14.
Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process . Upon completion of the build volumes and their contents are discarded . Global volume names and paths cannot conflict with the volumes defined a build step . Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration . repeated . google . devtools . cloudbuild . v1 . Volume volumes = 14 .
public Builder addVolumes(com.google.cloudbuild.v1.Volume.Builder builderForValue) {
      if (volumesBuilder_ == null) {
        ensureVolumesIsMutable();
        volumes_.add(builderForValue.build());
        onChanged();
      } else {
        volumesBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
public Builder addVolumes ( com . google . cloudbuild . v1 . Volume . Builder builderForValue ) { if ( volumesBuilder_ == null ) { ensureVolumesIsMutable ( ) ; volumes_ . add ( builderForValue . build ( ) ) ; onChanged ( ) ; } else { volumesBuilder_ . addMessage ( builderForValue . build ( ) ) ; } return this ; }
<pre>
 Global list of volumes to mount for ALL build steps
 Each volume is created as an empty volume prior to starting the build
 process.
<pre > Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process .