Class Artifacts.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Artifacts.Builder>
com.google.cloudbuild.v1.Artifacts.Builder
All Implemented Interfaces:
ArtifactsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Artifacts

public static final class Artifacts.Builder extends com.google.protobuf.GeneratedMessage.Builder<Artifacts.Builder> implements ArtifactsOrBuilder
 Artifacts produced by a build that should be uploaded upon
 successful completion of all build steps.
 
Protobuf type google.devtools.cloudbuild.v1.Artifacts
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Artifacts.Builder>
    • clear

      public Artifacts.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Artifacts.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Artifacts.Builder>
    • getDefaultInstanceForType

      public Artifacts getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Artifacts build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Artifacts buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Artifacts.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Artifacts.Builder>
    • mergeFrom

      public Artifacts.Builder mergeFrom(Artifacts other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Artifacts.Builder>
    • mergeFrom

      public Artifacts.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Artifacts.Builder>
      Throws:
      IOException
    • getImagesList

      public com.google.protobuf.ProtocolStringList getImagesList()
       A list of images to be pushed upon the successful completion of all build
       steps.
      
       The images will be pushed using the builder service account's credentials.
      
       The digests of the pushed images will be stored in the Build resource's
       results field.
      
       If any of the images fail to be pushed, the build is marked FAILURE.
       
      repeated string images = 1;
      Specified by:
      getImagesList in interface ArtifactsOrBuilder
      Returns:
      A list containing the images.
    • getImagesCount

      public int getImagesCount()
       A list of images to be pushed upon the successful completion of all build
       steps.
      
       The images will be pushed using the builder service account's credentials.
      
       The digests of the pushed images will be stored in the Build resource's
       results field.
      
       If any of the images fail to be pushed, the build is marked FAILURE.
       
      repeated string images = 1;
      Specified by:
      getImagesCount in interface ArtifactsOrBuilder
      Returns:
      The count of images.
    • getImages

      public String getImages(int index)
       A list of images to be pushed upon the successful completion of all build
       steps.
      
       The images will be pushed using the builder service account's credentials.
      
       The digests of the pushed images will be stored in the Build resource's
       results field.
      
       If any of the images fail to be pushed, the build is marked FAILURE.
       
      repeated string images = 1;
      Specified by:
      getImages in interface ArtifactsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The images at the given index.
    • getImagesBytes

      public com.google.protobuf.ByteString getImagesBytes(int index)
       A list of images to be pushed upon the successful completion of all build
       steps.
      
       The images will be pushed using the builder service account's credentials.
      
       The digests of the pushed images will be stored in the Build resource's
       results field.
      
       If any of the images fail to be pushed, the build is marked FAILURE.
       
      repeated string images = 1;
      Specified by:
      getImagesBytes in interface ArtifactsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the images at the given index.
    • setImages

      public Artifacts.Builder setImages(int index, String value)
       A list of images to be pushed upon the successful completion of all build
       steps.
      
       The images will be pushed using the builder service account's credentials.
      
       The digests of the pushed images will be stored in the Build resource's
       results field.
      
       If any of the images fail to be pushed, the build is marked FAILURE.
       
      repeated string images = 1;
      Parameters:
      index - The index to set the value at.
      value - The images to set.
      Returns:
      This builder for chaining.
    • addImages

      public Artifacts.Builder addImages(String value)
       A list of images to be pushed upon the successful completion of all build
       steps.
      
       The images will be pushed using the builder service account's credentials.
      
       The digests of the pushed images will be stored in the Build resource's
       results field.
      
       If any of the images fail to be pushed, the build is marked FAILURE.
       
      repeated string images = 1;
      Parameters:
      value - The images to add.
      Returns:
      This builder for chaining.
    • addAllImages

      public Artifacts.Builder addAllImages(Iterable<String> values)
       A list of images to be pushed upon the successful completion of all build
       steps.
      
       The images will be pushed using the builder service account's credentials.
      
       The digests of the pushed images will be stored in the Build resource's
       results field.
      
       If any of the images fail to be pushed, the build is marked FAILURE.
       
      repeated string images = 1;
      Parameters:
      values - The images to add.
      Returns:
      This builder for chaining.
    • clearImages

      public Artifacts.Builder clearImages()
       A list of images to be pushed upon the successful completion of all build
       steps.
      
       The images will be pushed using the builder service account's credentials.
      
       The digests of the pushed images will be stored in the Build resource's
       results field.
      
       If any of the images fail to be pushed, the build is marked FAILURE.
       
      repeated string images = 1;
      Returns:
      This builder for chaining.
    • addImagesBytes

      public Artifacts.Builder addImagesBytes(com.google.protobuf.ByteString value)
       A list of images to be pushed upon the successful completion of all build
       steps.
      
       The images will be pushed using the builder service account's credentials.
      
       The digests of the pushed images will be stored in the Build resource's
       results field.
      
       If any of the images fail to be pushed, the build is marked FAILURE.
       
      repeated string images = 1;
      Parameters:
      value - The bytes of the images to add.
      Returns:
      This builder for chaining.
    • hasObjects

      public boolean hasObjects()
       A list of objects to be uploaded to Cloud Storage upon successful
       completion of all build steps.
      
       Files in the workspace matching specified paths globs will be uploaded to
       the specified Cloud Storage location using the builder service account's
       credentials.
      
       The location and generation of the uploaded objects will be stored in the
       Build resource's results field.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      .google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;
      Specified by:
      hasObjects in interface ArtifactsOrBuilder
      Returns:
      Whether the objects field is set.
    • getObjects

      public Artifacts.ArtifactObjects getObjects()
       A list of objects to be uploaded to Cloud Storage upon successful
       completion of all build steps.
      
       Files in the workspace matching specified paths globs will be uploaded to
       the specified Cloud Storage location using the builder service account's
       credentials.
      
       The location and generation of the uploaded objects will be stored in the
       Build resource's results field.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      .google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;
      Specified by:
      getObjects in interface ArtifactsOrBuilder
      Returns:
      The objects.
    • setObjects

      public Artifacts.Builder setObjects(Artifacts.ArtifactObjects value)
       A list of objects to be uploaded to Cloud Storage upon successful
       completion of all build steps.
      
       Files in the workspace matching specified paths globs will be uploaded to
       the specified Cloud Storage location using the builder service account's
       credentials.
      
       The location and generation of the uploaded objects will be stored in the
       Build resource's results field.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      .google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;
    • setObjects

      public Artifacts.Builder setObjects(Artifacts.ArtifactObjects.Builder builderForValue)
       A list of objects to be uploaded to Cloud Storage upon successful
       completion of all build steps.
      
       Files in the workspace matching specified paths globs will be uploaded to
       the specified Cloud Storage location using the builder service account's
       credentials.
      
       The location and generation of the uploaded objects will be stored in the
       Build resource's results field.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      .google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;
    • mergeObjects

      public Artifacts.Builder mergeObjects(Artifacts.ArtifactObjects value)
       A list of objects to be uploaded to Cloud Storage upon successful
       completion of all build steps.
      
       Files in the workspace matching specified paths globs will be uploaded to
       the specified Cloud Storage location using the builder service account's
       credentials.
      
       The location and generation of the uploaded objects will be stored in the
       Build resource's results field.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      .google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;
    • clearObjects

      public Artifacts.Builder clearObjects()
       A list of objects to be uploaded to Cloud Storage upon successful
       completion of all build steps.
      
       Files in the workspace matching specified paths globs will be uploaded to
       the specified Cloud Storage location using the builder service account's
       credentials.
      
       The location and generation of the uploaded objects will be stored in the
       Build resource's results field.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      .google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;
    • getObjectsBuilder

      public Artifacts.ArtifactObjects.Builder getObjectsBuilder()
       A list of objects to be uploaded to Cloud Storage upon successful
       completion of all build steps.
      
       Files in the workspace matching specified paths globs will be uploaded to
       the specified Cloud Storage location using the builder service account's
       credentials.
      
       The location and generation of the uploaded objects will be stored in the
       Build resource's results field.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      .google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;
    • getObjectsOrBuilder

      public Artifacts.ArtifactObjectsOrBuilder getObjectsOrBuilder()
       A list of objects to be uploaded to Cloud Storage upon successful
       completion of all build steps.
      
       Files in the workspace matching specified paths globs will be uploaded to
       the specified Cloud Storage location using the builder service account's
       credentials.
      
       The location and generation of the uploaded objects will be stored in the
       Build resource's results field.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      .google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;
      Specified by:
      getObjectsOrBuilder in interface ArtifactsOrBuilder
    • getMavenArtifactsList

      public List<Artifacts.MavenArtifact> getMavenArtifactsList()
       A list of Maven artifacts to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Artifacts in the workspace matching specified paths globs will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any artifacts fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
      Specified by:
      getMavenArtifactsList in interface ArtifactsOrBuilder
    • getMavenArtifactsCount

      public int getMavenArtifactsCount()
       A list of Maven artifacts to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Artifacts in the workspace matching specified paths globs will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any artifacts fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
      Specified by:
      getMavenArtifactsCount in interface ArtifactsOrBuilder
    • getMavenArtifacts

      public Artifacts.MavenArtifact getMavenArtifacts(int index)
       A list of Maven artifacts to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Artifacts in the workspace matching specified paths globs will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any artifacts fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
      Specified by:
      getMavenArtifacts in interface ArtifactsOrBuilder
    • setMavenArtifacts

      public Artifacts.Builder setMavenArtifacts(int index, Artifacts.MavenArtifact value)
       A list of Maven artifacts to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Artifacts in the workspace matching specified paths globs will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any artifacts fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
    • setMavenArtifacts

      public Artifacts.Builder setMavenArtifacts(int index, Artifacts.MavenArtifact.Builder builderForValue)
       A list of Maven artifacts to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Artifacts in the workspace matching specified paths globs will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any artifacts fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
    • addMavenArtifacts

      public Artifacts.Builder addMavenArtifacts(Artifacts.MavenArtifact value)
       A list of Maven artifacts to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Artifacts in the workspace matching specified paths globs will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any artifacts fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
    • addMavenArtifacts

      public Artifacts.Builder addMavenArtifacts(int index, Artifacts.MavenArtifact value)
       A list of Maven artifacts to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Artifacts in the workspace matching specified paths globs will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any artifacts fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
    • addMavenArtifacts

      public Artifacts.Builder addMavenArtifacts(Artifacts.MavenArtifact.Builder builderForValue)
       A list of Maven artifacts to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Artifacts in the workspace matching specified paths globs will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any artifacts fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
    • addMavenArtifacts

      public Artifacts.Builder addMavenArtifacts(int index, Artifacts.MavenArtifact.Builder builderForValue)
       A list of Maven artifacts to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Artifacts in the workspace matching specified paths globs will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any artifacts fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
    • addAllMavenArtifacts

      public Artifacts.Builder addAllMavenArtifacts(Iterable<? extends Artifacts.MavenArtifact> values)
       A list of Maven artifacts to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Artifacts in the workspace matching specified paths globs will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any artifacts fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
    • clearMavenArtifacts

      public Artifacts.Builder clearMavenArtifacts()
       A list of Maven artifacts to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Artifacts in the workspace matching specified paths globs will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any artifacts fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
    • removeMavenArtifacts

      public Artifacts.Builder removeMavenArtifacts(int index)
       A list of Maven artifacts to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Artifacts in the workspace matching specified paths globs will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any artifacts fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
    • getMavenArtifactsBuilder

      public Artifacts.MavenArtifact.Builder getMavenArtifactsBuilder(int index)
       A list of Maven artifacts to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Artifacts in the workspace matching specified paths globs will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any artifacts fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
    • getMavenArtifactsOrBuilder

      public Artifacts.MavenArtifactOrBuilder getMavenArtifactsOrBuilder(int index)
       A list of Maven artifacts to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Artifacts in the workspace matching specified paths globs will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any artifacts fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
      Specified by:
      getMavenArtifactsOrBuilder in interface ArtifactsOrBuilder
    • getMavenArtifactsOrBuilderList

      public List<? extends Artifacts.MavenArtifactOrBuilder> getMavenArtifactsOrBuilderList()
       A list of Maven artifacts to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Artifacts in the workspace matching specified paths globs will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any artifacts fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
      Specified by:
      getMavenArtifactsOrBuilderList in interface ArtifactsOrBuilder
    • addMavenArtifactsBuilder

      public Artifacts.MavenArtifact.Builder addMavenArtifactsBuilder()
       A list of Maven artifacts to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Artifacts in the workspace matching specified paths globs will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any artifacts fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
    • addMavenArtifactsBuilder

      public Artifacts.MavenArtifact.Builder addMavenArtifactsBuilder(int index)
       A list of Maven artifacts to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Artifacts in the workspace matching specified paths globs will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any artifacts fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
    • getMavenArtifactsBuilderList

      public List<Artifacts.MavenArtifact.Builder> getMavenArtifactsBuilderList()
       A list of Maven artifacts to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Artifacts in the workspace matching specified paths globs will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any artifacts fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
    • getGoModulesList

      public List<Artifacts.GoModule> getGoModulesList()
       Optional. A list of Go modules to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.GoModule go_modules = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGoModulesList in interface ArtifactsOrBuilder
    • getGoModulesCount

      public int getGoModulesCount()
       Optional. A list of Go modules to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.GoModule go_modules = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGoModulesCount in interface ArtifactsOrBuilder
    • getGoModules

      public Artifacts.GoModule getGoModules(int index)
       Optional. A list of Go modules to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.GoModule go_modules = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGoModules in interface ArtifactsOrBuilder
    • setGoModules

      public Artifacts.Builder setGoModules(int index, Artifacts.GoModule value)
       Optional. A list of Go modules to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.GoModule go_modules = 4 [(.google.api.field_behavior) = OPTIONAL];
    • setGoModules

      public Artifacts.Builder setGoModules(int index, Artifacts.GoModule.Builder builderForValue)
       Optional. A list of Go modules to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.GoModule go_modules = 4 [(.google.api.field_behavior) = OPTIONAL];
    • addGoModules

      public Artifacts.Builder addGoModules(Artifacts.GoModule value)
       Optional. A list of Go modules to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.GoModule go_modules = 4 [(.google.api.field_behavior) = OPTIONAL];
    • addGoModules

      public Artifacts.Builder addGoModules(int index, Artifacts.GoModule value)
       Optional. A list of Go modules to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.GoModule go_modules = 4 [(.google.api.field_behavior) = OPTIONAL];
    • addGoModules

      public Artifacts.Builder addGoModules(Artifacts.GoModule.Builder builderForValue)
       Optional. A list of Go modules to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.GoModule go_modules = 4 [(.google.api.field_behavior) = OPTIONAL];
    • addGoModules

      public Artifacts.Builder addGoModules(int index, Artifacts.GoModule.Builder builderForValue)
       Optional. A list of Go modules to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.GoModule go_modules = 4 [(.google.api.field_behavior) = OPTIONAL];
    • addAllGoModules

      public Artifacts.Builder addAllGoModules(Iterable<? extends Artifacts.GoModule> values)
       Optional. A list of Go modules to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.GoModule go_modules = 4 [(.google.api.field_behavior) = OPTIONAL];
    • clearGoModules

      public Artifacts.Builder clearGoModules()
       Optional. A list of Go modules to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.GoModule go_modules = 4 [(.google.api.field_behavior) = OPTIONAL];
    • removeGoModules

      public Artifacts.Builder removeGoModules(int index)
       Optional. A list of Go modules to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.GoModule go_modules = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getGoModulesBuilder

      public Artifacts.GoModule.Builder getGoModulesBuilder(int index)
       Optional. A list of Go modules to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.GoModule go_modules = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getGoModulesOrBuilder

      public Artifacts.GoModuleOrBuilder getGoModulesOrBuilder(int index)
       Optional. A list of Go modules to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.GoModule go_modules = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGoModulesOrBuilder in interface ArtifactsOrBuilder
    • getGoModulesOrBuilderList

      public List<? extends Artifacts.GoModuleOrBuilder> getGoModulesOrBuilderList()
       Optional. A list of Go modules to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.GoModule go_modules = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGoModulesOrBuilderList in interface ArtifactsOrBuilder
    • addGoModulesBuilder

      public Artifacts.GoModule.Builder addGoModulesBuilder()
       Optional. A list of Go modules to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.GoModule go_modules = 4 [(.google.api.field_behavior) = OPTIONAL];
    • addGoModulesBuilder

      public Artifacts.GoModule.Builder addGoModulesBuilder(int index)
       Optional. A list of Go modules to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.GoModule go_modules = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getGoModulesBuilderList

      public List<Artifacts.GoModule.Builder> getGoModulesBuilderList()
       Optional. A list of Go modules to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.GoModule go_modules = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getPythonPackagesList

      public List<Artifacts.PythonPackage> getPythonPackagesList()
       A list of Python packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       The build service account credentials will be used to perform the upload.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
      Specified by:
      getPythonPackagesList in interface ArtifactsOrBuilder
    • getPythonPackagesCount

      public int getPythonPackagesCount()
       A list of Python packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       The build service account credentials will be used to perform the upload.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
      Specified by:
      getPythonPackagesCount in interface ArtifactsOrBuilder
    • getPythonPackages

      public Artifacts.PythonPackage getPythonPackages(int index)
       A list of Python packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       The build service account credentials will be used to perform the upload.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
      Specified by:
      getPythonPackages in interface ArtifactsOrBuilder
    • setPythonPackages

      public Artifacts.Builder setPythonPackages(int index, Artifacts.PythonPackage value)
       A list of Python packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       The build service account credentials will be used to perform the upload.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
    • setPythonPackages

      public Artifacts.Builder setPythonPackages(int index, Artifacts.PythonPackage.Builder builderForValue)
       A list of Python packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       The build service account credentials will be used to perform the upload.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
    • addPythonPackages

      public Artifacts.Builder addPythonPackages(Artifacts.PythonPackage value)
       A list of Python packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       The build service account credentials will be used to perform the upload.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
    • addPythonPackages

      public Artifacts.Builder addPythonPackages(int index, Artifacts.PythonPackage value)
       A list of Python packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       The build service account credentials will be used to perform the upload.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
    • addPythonPackages

      public Artifacts.Builder addPythonPackages(Artifacts.PythonPackage.Builder builderForValue)
       A list of Python packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       The build service account credentials will be used to perform the upload.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
    • addPythonPackages

      public Artifacts.Builder addPythonPackages(int index, Artifacts.PythonPackage.Builder builderForValue)
       A list of Python packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       The build service account credentials will be used to perform the upload.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
    • addAllPythonPackages

      public Artifacts.Builder addAllPythonPackages(Iterable<? extends Artifacts.PythonPackage> values)
       A list of Python packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       The build service account credentials will be used to perform the upload.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
    • clearPythonPackages

      public Artifacts.Builder clearPythonPackages()
       A list of Python packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       The build service account credentials will be used to perform the upload.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
    • removePythonPackages

      public Artifacts.Builder removePythonPackages(int index)
       A list of Python packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       The build service account credentials will be used to perform the upload.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
    • getPythonPackagesBuilder

      public Artifacts.PythonPackage.Builder getPythonPackagesBuilder(int index)
       A list of Python packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       The build service account credentials will be used to perform the upload.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
    • getPythonPackagesOrBuilder

      public Artifacts.PythonPackageOrBuilder getPythonPackagesOrBuilder(int index)
       A list of Python packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       The build service account credentials will be used to perform the upload.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
      Specified by:
      getPythonPackagesOrBuilder in interface ArtifactsOrBuilder
    • getPythonPackagesOrBuilderList

      public List<? extends Artifacts.PythonPackageOrBuilder> getPythonPackagesOrBuilderList()
       A list of Python packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       The build service account credentials will be used to perform the upload.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
      Specified by:
      getPythonPackagesOrBuilderList in interface ArtifactsOrBuilder
    • addPythonPackagesBuilder

      public Artifacts.PythonPackage.Builder addPythonPackagesBuilder()
       A list of Python packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       The build service account credentials will be used to perform the upload.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
    • addPythonPackagesBuilder

      public Artifacts.PythonPackage.Builder addPythonPackagesBuilder(int index)
       A list of Python packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       The build service account credentials will be used to perform the upload.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
    • getPythonPackagesBuilderList

      public List<Artifacts.PythonPackage.Builder> getPythonPackagesBuilderList()
       A list of Python packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       The build service account credentials will be used to perform the upload.
      
       If any objects fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
    • getNpmPackagesList

      public List<Artifacts.NpmPackage> getNpmPackagesList()
       A list of npm packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Npm packages in the specified paths will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any packages fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
      Specified by:
      getNpmPackagesList in interface ArtifactsOrBuilder
    • getNpmPackagesCount

      public int getNpmPackagesCount()
       A list of npm packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Npm packages in the specified paths will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any packages fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
      Specified by:
      getNpmPackagesCount in interface ArtifactsOrBuilder
    • getNpmPackages

      public Artifacts.NpmPackage getNpmPackages(int index)
       A list of npm packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Npm packages in the specified paths will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any packages fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
      Specified by:
      getNpmPackages in interface ArtifactsOrBuilder
    • setNpmPackages

      public Artifacts.Builder setNpmPackages(int index, Artifacts.NpmPackage value)
       A list of npm packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Npm packages in the specified paths will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any packages fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
    • setNpmPackages

      public Artifacts.Builder setNpmPackages(int index, Artifacts.NpmPackage.Builder builderForValue)
       A list of npm packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Npm packages in the specified paths will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any packages fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
    • addNpmPackages

      public Artifacts.Builder addNpmPackages(Artifacts.NpmPackage value)
       A list of npm packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Npm packages in the specified paths will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any packages fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
    • addNpmPackages

      public Artifacts.Builder addNpmPackages(int index, Artifacts.NpmPackage value)
       A list of npm packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Npm packages in the specified paths will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any packages fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
    • addNpmPackages

      public Artifacts.Builder addNpmPackages(Artifacts.NpmPackage.Builder builderForValue)
       A list of npm packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Npm packages in the specified paths will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any packages fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
    • addNpmPackages

      public Artifacts.Builder addNpmPackages(int index, Artifacts.NpmPackage.Builder builderForValue)
       A list of npm packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Npm packages in the specified paths will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any packages fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
    • addAllNpmPackages

      public Artifacts.Builder addAllNpmPackages(Iterable<? extends Artifacts.NpmPackage> values)
       A list of npm packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Npm packages in the specified paths will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any packages fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
    • clearNpmPackages

      public Artifacts.Builder clearNpmPackages()
       A list of npm packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Npm packages in the specified paths will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any packages fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
    • removeNpmPackages

      public Artifacts.Builder removeNpmPackages(int index)
       A list of npm packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Npm packages in the specified paths will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any packages fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
    • getNpmPackagesBuilder

      public Artifacts.NpmPackage.Builder getNpmPackagesBuilder(int index)
       A list of npm packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Npm packages in the specified paths will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any packages fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
    • getNpmPackagesOrBuilder

      public Artifacts.NpmPackageOrBuilder getNpmPackagesOrBuilder(int index)
       A list of npm packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Npm packages in the specified paths will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any packages fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
      Specified by:
      getNpmPackagesOrBuilder in interface ArtifactsOrBuilder
    • getNpmPackagesOrBuilderList

      public List<? extends Artifacts.NpmPackageOrBuilder> getNpmPackagesOrBuilderList()
       A list of npm packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Npm packages in the specified paths will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any packages fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
      Specified by:
      getNpmPackagesOrBuilderList in interface ArtifactsOrBuilder
    • addNpmPackagesBuilder

      public Artifacts.NpmPackage.Builder addNpmPackagesBuilder()
       A list of npm packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Npm packages in the specified paths will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any packages fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
    • addNpmPackagesBuilder

      public Artifacts.NpmPackage.Builder addNpmPackagesBuilder(int index)
       A list of npm packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Npm packages in the specified paths will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any packages fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;
    • getNpmPackagesBuilderList

      public List<Artifacts.NpmPackage.Builder> getNpmPackagesBuilderList()
       A list of npm packages to be uploaded to Artifact Registry upon
       successful completion of all build steps.
      
       Npm packages in the specified paths will be uploaded
       to the specified Artifact Registry repository using the builder service
       account's credentials.
      
       If any packages fail to be pushed, the build is marked FAILURE.
       
      repeated .google.devtools.cloudbuild.v1.Artifacts.NpmPackage npm_packages = 6;