Class Results

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloudbuild.v1.Results
All Implemented Interfaces:
ResultsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Results extends com.google.protobuf.GeneratedMessage implements ResultsOrBuilder
 Artifacts created by the build pipeline.
 
Protobuf type google.devtools.cloudbuild.v1.Results
See Also:
  • Field Details

    • IMAGES_FIELD_NUMBER

      public static final int IMAGES_FIELD_NUMBER
      See Also:
    • BUILD_STEP_IMAGES_FIELD_NUMBER

      public static final int BUILD_STEP_IMAGES_FIELD_NUMBER
      See Also:
    • ARTIFACT_MANIFEST_FIELD_NUMBER

      public static final int ARTIFACT_MANIFEST_FIELD_NUMBER
      See Also:
    • NUM_ARTIFACTS_FIELD_NUMBER

      public static final int NUM_ARTIFACTS_FIELD_NUMBER
      See Also:
    • BUILD_STEP_OUTPUTS_FIELD_NUMBER

      public static final int BUILD_STEP_OUTPUTS_FIELD_NUMBER
      See Also:
    • ARTIFACT_TIMING_FIELD_NUMBER

      public static final int ARTIFACT_TIMING_FIELD_NUMBER
      See Also:
    • PYTHON_PACKAGES_FIELD_NUMBER

      public static final int PYTHON_PACKAGES_FIELD_NUMBER
      See Also:
    • MAVEN_ARTIFACTS_FIELD_NUMBER

      public static final int MAVEN_ARTIFACTS_FIELD_NUMBER
      See Also:
    • GO_MODULES_FIELD_NUMBER

      public static final int GO_MODULES_FIELD_NUMBER
      See Also:
    • NPM_PACKAGES_FIELD_NUMBER

      public static final int NPM_PACKAGES_FIELD_NUMBER
      See Also:
  • 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
    • getImagesList

      public List<BuiltImage> getImagesList()
       Container images that were built as a part of the build.
       
      repeated .google.devtools.cloudbuild.v1.BuiltImage images = 2;
      Specified by:
      getImagesList in interface ResultsOrBuilder
    • getImagesOrBuilderList

      public List<? extends BuiltImageOrBuilder> getImagesOrBuilderList()
       Container images that were built as a part of the build.
       
      repeated .google.devtools.cloudbuild.v1.BuiltImage images = 2;
      Specified by:
      getImagesOrBuilderList in interface ResultsOrBuilder
    • getImagesCount

      public int getImagesCount()
       Container images that were built as a part of the build.
       
      repeated .google.devtools.cloudbuild.v1.BuiltImage images = 2;
      Specified by:
      getImagesCount in interface ResultsOrBuilder
    • getImages

      public BuiltImage getImages(int index)
       Container images that were built as a part of the build.
       
      repeated .google.devtools.cloudbuild.v1.BuiltImage images = 2;
      Specified by:
      getImages in interface ResultsOrBuilder
    • getImagesOrBuilder

      public BuiltImageOrBuilder getImagesOrBuilder(int index)
       Container images that were built as a part of the build.
       
      repeated .google.devtools.cloudbuild.v1.BuiltImage images = 2;
      Specified by:
      getImagesOrBuilder in interface ResultsOrBuilder
    • getBuildStepImagesList

      public com.google.protobuf.ProtocolStringList getBuildStepImagesList()
       List of build step digests, in the order corresponding to build step
       indices.
       
      repeated string build_step_images = 3;
      Specified by:
      getBuildStepImagesList in interface ResultsOrBuilder
      Returns:
      A list containing the buildStepImages.
    • getBuildStepImagesCount

      public int getBuildStepImagesCount()
       List of build step digests, in the order corresponding to build step
       indices.
       
      repeated string build_step_images = 3;
      Specified by:
      getBuildStepImagesCount in interface ResultsOrBuilder
      Returns:
      The count of buildStepImages.
    • getBuildStepImages

      public String getBuildStepImages(int index)
       List of build step digests, in the order corresponding to build step
       indices.
       
      repeated string build_step_images = 3;
      Specified by:
      getBuildStepImages in interface ResultsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The buildStepImages at the given index.
    • getBuildStepImagesBytes

      public com.google.protobuf.ByteString getBuildStepImagesBytes(int index)
       List of build step digests, in the order corresponding to build step
       indices.
       
      repeated string build_step_images = 3;
      Specified by:
      getBuildStepImagesBytes in interface ResultsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the buildStepImages at the given index.
    • getArtifactManifest

      public String getArtifactManifest()
       Path to the artifact manifest for non-container artifacts uploaded to Cloud
       Storage. Only populated when artifacts are uploaded to Cloud Storage.
       
      string artifact_manifest = 4;
      Specified by:
      getArtifactManifest in interface ResultsOrBuilder
      Returns:
      The artifactManifest.
    • getArtifactManifestBytes

      public com.google.protobuf.ByteString getArtifactManifestBytes()
       Path to the artifact manifest for non-container artifacts uploaded to Cloud
       Storage. Only populated when artifacts are uploaded to Cloud Storage.
       
      string artifact_manifest = 4;
      Specified by:
      getArtifactManifestBytes in interface ResultsOrBuilder
      Returns:
      The bytes for artifactManifest.
    • getNumArtifacts

      public long getNumArtifacts()
       Number of non-container artifacts uploaded to Cloud Storage. Only populated
       when artifacts are uploaded to Cloud Storage.
       
      int64 num_artifacts = 5;
      Specified by:
      getNumArtifacts in interface ResultsOrBuilder
      Returns:
      The numArtifacts.
    • getBuildStepOutputsList

      public List<com.google.protobuf.ByteString> getBuildStepOutputsList()
       List of build step outputs, produced by builder images, in the order
       corresponding to build step indices.
      
       [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders)
       can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the
       first 50KB of data is stored. Note that the `$BUILDER_OUTPUT` variable is
       read-only and can't be substituted.
       
      repeated bytes build_step_outputs = 6;
      Specified by:
      getBuildStepOutputsList in interface ResultsOrBuilder
      Returns:
      A list containing the buildStepOutputs.
    • getBuildStepOutputsCount

      public int getBuildStepOutputsCount()
       List of build step outputs, produced by builder images, in the order
       corresponding to build step indices.
      
       [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders)
       can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the
       first 50KB of data is stored. Note that the `$BUILDER_OUTPUT` variable is
       read-only and can't be substituted.
       
      repeated bytes build_step_outputs = 6;
      Specified by:
      getBuildStepOutputsCount in interface ResultsOrBuilder
      Returns:
      The count of buildStepOutputs.
    • getBuildStepOutputs

      public com.google.protobuf.ByteString getBuildStepOutputs(int index)
       List of build step outputs, produced by builder images, in the order
       corresponding to build step indices.
      
       [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders)
       can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the
       first 50KB of data is stored. Note that the `$BUILDER_OUTPUT` variable is
       read-only and can't be substituted.
       
      repeated bytes build_step_outputs = 6;
      Specified by:
      getBuildStepOutputs in interface ResultsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The buildStepOutputs at the given index.
    • hasArtifactTiming

      public boolean hasArtifactTiming()
       Time to push all non-container artifacts to Cloud Storage.
       
      .google.devtools.cloudbuild.v1.TimeSpan artifact_timing = 7;
      Specified by:
      hasArtifactTiming in interface ResultsOrBuilder
      Returns:
      Whether the artifactTiming field is set.
    • getArtifactTiming

      public TimeSpan getArtifactTiming()
       Time to push all non-container artifacts to Cloud Storage.
       
      .google.devtools.cloudbuild.v1.TimeSpan artifact_timing = 7;
      Specified by:
      getArtifactTiming in interface ResultsOrBuilder
      Returns:
      The artifactTiming.
    • getArtifactTimingOrBuilder

      public TimeSpanOrBuilder getArtifactTimingOrBuilder()
       Time to push all non-container artifacts to Cloud Storage.
       
      .google.devtools.cloudbuild.v1.TimeSpan artifact_timing = 7;
      Specified by:
      getArtifactTimingOrBuilder in interface ResultsOrBuilder
    • getPythonPackagesList

      public List<UploadedPythonPackage> getPythonPackagesList()
       Python artifacts uploaded to Artifact Registry at the end of the build.
       
      repeated .google.devtools.cloudbuild.v1.UploadedPythonPackage python_packages = 8;
      Specified by:
      getPythonPackagesList in interface ResultsOrBuilder
    • getPythonPackagesOrBuilderList

      public List<? extends UploadedPythonPackageOrBuilder> getPythonPackagesOrBuilderList()
       Python artifacts uploaded to Artifact Registry at the end of the build.
       
      repeated .google.devtools.cloudbuild.v1.UploadedPythonPackage python_packages = 8;
      Specified by:
      getPythonPackagesOrBuilderList in interface ResultsOrBuilder
    • getPythonPackagesCount

      public int getPythonPackagesCount()
       Python artifacts uploaded to Artifact Registry at the end of the build.
       
      repeated .google.devtools.cloudbuild.v1.UploadedPythonPackage python_packages = 8;
      Specified by:
      getPythonPackagesCount in interface ResultsOrBuilder
    • getPythonPackages

      public UploadedPythonPackage getPythonPackages(int index)
       Python artifacts uploaded to Artifact Registry at the end of the build.
       
      repeated .google.devtools.cloudbuild.v1.UploadedPythonPackage python_packages = 8;
      Specified by:
      getPythonPackages in interface ResultsOrBuilder
    • getPythonPackagesOrBuilder

      public UploadedPythonPackageOrBuilder getPythonPackagesOrBuilder(int index)
       Python artifacts uploaded to Artifact Registry at the end of the build.
       
      repeated .google.devtools.cloudbuild.v1.UploadedPythonPackage python_packages = 8;
      Specified by:
      getPythonPackagesOrBuilder in interface ResultsOrBuilder
    • getMavenArtifactsList

      public List<UploadedMavenArtifact> getMavenArtifactsList()
       Maven artifacts uploaded to Artifact Registry at the end of the build.
       
      repeated .google.devtools.cloudbuild.v1.UploadedMavenArtifact maven_artifacts = 9;
      Specified by:
      getMavenArtifactsList in interface ResultsOrBuilder
    • getMavenArtifactsOrBuilderList

      public List<? extends UploadedMavenArtifactOrBuilder> getMavenArtifactsOrBuilderList()
       Maven artifacts uploaded to Artifact Registry at the end of the build.
       
      repeated .google.devtools.cloudbuild.v1.UploadedMavenArtifact maven_artifacts = 9;
      Specified by:
      getMavenArtifactsOrBuilderList in interface ResultsOrBuilder
    • getMavenArtifactsCount

      public int getMavenArtifactsCount()
       Maven artifacts uploaded to Artifact Registry at the end of the build.
       
      repeated .google.devtools.cloudbuild.v1.UploadedMavenArtifact maven_artifacts = 9;
      Specified by:
      getMavenArtifactsCount in interface ResultsOrBuilder
    • getMavenArtifacts

      public UploadedMavenArtifact getMavenArtifacts(int index)
       Maven artifacts uploaded to Artifact Registry at the end of the build.
       
      repeated .google.devtools.cloudbuild.v1.UploadedMavenArtifact maven_artifacts = 9;
      Specified by:
      getMavenArtifacts in interface ResultsOrBuilder
    • getMavenArtifactsOrBuilder

      public UploadedMavenArtifactOrBuilder getMavenArtifactsOrBuilder(int index)
       Maven artifacts uploaded to Artifact Registry at the end of the build.
       
      repeated .google.devtools.cloudbuild.v1.UploadedMavenArtifact maven_artifacts = 9;
      Specified by:
      getMavenArtifactsOrBuilder in interface ResultsOrBuilder
    • getGoModulesList

      public List<UploadedGoModule> getGoModulesList()
       Optional. Go module artifacts uploaded to Artifact Registry at the end of
       the build.
       
      repeated .google.devtools.cloudbuild.v1.UploadedGoModule go_modules = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGoModulesList in interface ResultsOrBuilder
    • getGoModulesOrBuilderList

      public List<? extends UploadedGoModuleOrBuilder> getGoModulesOrBuilderList()
       Optional. Go module artifacts uploaded to Artifact Registry at the end of
       the build.
       
      repeated .google.devtools.cloudbuild.v1.UploadedGoModule go_modules = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGoModulesOrBuilderList in interface ResultsOrBuilder
    • getGoModulesCount

      public int getGoModulesCount()
       Optional. Go module artifacts uploaded to Artifact Registry at the end of
       the build.
       
      repeated .google.devtools.cloudbuild.v1.UploadedGoModule go_modules = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGoModulesCount in interface ResultsOrBuilder
    • getGoModules

      public UploadedGoModule getGoModules(int index)
       Optional. Go module artifacts uploaded to Artifact Registry at the end of
       the build.
       
      repeated .google.devtools.cloudbuild.v1.UploadedGoModule go_modules = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGoModules in interface ResultsOrBuilder
    • getGoModulesOrBuilder

      public UploadedGoModuleOrBuilder getGoModulesOrBuilder(int index)
       Optional. Go module artifacts uploaded to Artifact Registry at the end of
       the build.
       
      repeated .google.devtools.cloudbuild.v1.UploadedGoModule go_modules = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGoModulesOrBuilder in interface ResultsOrBuilder
    • getNpmPackagesList

      public List<UploadedNpmPackage> getNpmPackagesList()
       Npm packages uploaded to Artifact Registry at the end of the build.
       
      repeated .google.devtools.cloudbuild.v1.UploadedNpmPackage npm_packages = 12;
      Specified by:
      getNpmPackagesList in interface ResultsOrBuilder
    • getNpmPackagesOrBuilderList

      public List<? extends UploadedNpmPackageOrBuilder> getNpmPackagesOrBuilderList()
       Npm packages uploaded to Artifact Registry at the end of the build.
       
      repeated .google.devtools.cloudbuild.v1.UploadedNpmPackage npm_packages = 12;
      Specified by:
      getNpmPackagesOrBuilderList in interface ResultsOrBuilder
    • getNpmPackagesCount

      public int getNpmPackagesCount()
       Npm packages uploaded to Artifact Registry at the end of the build.
       
      repeated .google.devtools.cloudbuild.v1.UploadedNpmPackage npm_packages = 12;
      Specified by:
      getNpmPackagesCount in interface ResultsOrBuilder
    • getNpmPackages

      public UploadedNpmPackage getNpmPackages(int index)
       Npm packages uploaded to Artifact Registry at the end of the build.
       
      repeated .google.devtools.cloudbuild.v1.UploadedNpmPackage npm_packages = 12;
      Specified by:
      getNpmPackages in interface ResultsOrBuilder
    • getNpmPackagesOrBuilder

      public UploadedNpmPackageOrBuilder getNpmPackagesOrBuilder(int index)
       Npm packages uploaded to Artifact Registry at the end of the build.
       
      repeated .google.devtools.cloudbuild.v1.UploadedNpmPackage npm_packages = 12;
      Specified by:
      getNpmPackagesOrBuilder in interface ResultsOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Results parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Results parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Results parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Results parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Results parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Results parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Results parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Results parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Results parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Results parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Results parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Results parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Results.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Results.Builder newBuilder()
    • newBuilder

      public static Results.Builder newBuilder(Results prototype)
    • toBuilder

      public Results.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Results.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Results getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Results> parser()
    • getParserForType

      public com.google.protobuf.Parser<Results> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Results getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder