proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildStep.java
public Builder clearVolumes() {
      if (volumesBuilder_ == null) {
        volumes_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000010);
        onChanged();
      } else {
        volumesBuilder_.clear();
      }
      return this;
    }
/**
     *
     *
     * <pre>
     * List of volumes to mount into the build step.
     * Each volume is created as an empty volume prior to execution of the
     * build step. Upon completion of the build, volumes and their contents are
     * discarded.
     * Using a named volume in 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 = 9;</code>
     */

List of volumes to mount into the build step.
Each volume is created as an empty volume prior to execution of the
build step. Upon completion of the build, volumes and their contents are
discarded.
Using a named volume in 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 = 9.
List of volumes to mount into the build step . Each volume is created as an empty volume prior to execution of the build step . Upon completion of the build volumes and their contents are discarded . Using a named volume in 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 = 9 .
public Builder clearVolumes() {
      if (volumesBuilder_ == null) {
        volumes_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000010);
        onChanged();
      } else {
        volumesBuilder_.clear();
      }
      return this;
    }
public Builder clearVolumes ( ) { if ( volumesBuilder_ == null ) { volumes_ = java . util . Collections . emptyList ( ) ; bitField0_ = ( bitField0_ & ~ 0x00000010 ) ; onChanged ( ) ; } else { volumesBuilder_ . clear ( ) ; } return this ; }
<pre>
 List of volumes to mount into the build step.
<pre > List of volumes to mount into the build step .