- 3.57.0 (latest)
- 3.56.0
- 3.55.0
- 3.54.0
- 3.53.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.6
- 3.4.1
- 3.3.12
public final class Artifacts extends GeneratedMessageV3 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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ArtifactsImplements
ArtifactsOrBuilderStatic Fields
IMAGES_FIELD_NUMBER
public static final int IMAGES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
MAVEN_ARTIFACTS_FIELD_NUMBER
public static final int MAVEN_ARTIFACTS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
NPM_PACKAGES_FIELD_NUMBER
public static final int NPM_PACKAGES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
OBJECTS_FIELD_NUMBER
public static final int OBJECTS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PYTHON_PACKAGES_FIELD_NUMBER
public static final int PYTHON_PACKAGES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Artifacts getDefaultInstance()
Returns | |
---|---|
Type | Description |
Artifacts |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static Artifacts.Builder newBuilder()
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
newBuilder(Artifacts prototype)
public static Artifacts.Builder newBuilder(Artifacts prototype)
Parameter | |
---|---|
Name | Description |
prototype | Artifacts |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
parseDelimitedFrom(InputStream input)
public static Artifacts parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
Artifacts |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Artifacts parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Artifacts |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static Artifacts parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
Artifacts |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Artifacts parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Artifacts |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Artifacts parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
Artifacts |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Artifacts parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Artifacts |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Artifacts parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
Artifacts |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Artifacts parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Artifacts |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static Artifacts parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
Artifacts |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Artifacts parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Artifacts |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Artifacts parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
Artifacts |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Artifacts parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Artifacts |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Artifacts> parser()
Returns | |
---|---|
Type | Description |
Parser<Artifacts> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public Artifacts getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Artifacts |
getImages(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The images at the given index. |
getImagesBytes(int index)
public 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;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the images at the given index. |
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;
Returns | |
---|---|
Type | Description |
int | The count of images. |
getImagesList()
public 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;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the images. |
getMavenArtifacts(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Artifacts.MavenArtifact |
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;
Returns | |
---|---|
Type | Description |
int |
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;
Returns | |
---|---|
Type | Description |
List<MavenArtifact> |
getMavenArtifactsOrBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Artifacts.MavenArtifactOrBuilder |
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;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloudbuild.v1.Artifacts.MavenArtifactOrBuilder> |
getNpmPackages(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Artifacts.NpmPackage |
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;
Returns | |
---|---|
Type | Description |
int |
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;
Returns | |
---|---|
Type | Description |
List<NpmPackage> |
getNpmPackagesOrBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Artifacts.NpmPackageOrBuilder |
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;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloudbuild.v1.Artifacts.NpmPackageOrBuilder> |
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;
Returns | |
---|---|
Type | Description |
Artifacts.ArtifactObjects | The objects. |
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;
Returns | |
---|---|
Type | Description |
Artifacts.ArtifactObjectsOrBuilder |
getParserForType()
public Parser<Artifacts> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<Artifacts> |
getPythonPackages(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Artifacts.PythonPackage |
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;
Returns | |
---|---|
Type | Description |
int |
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;
Returns | |
---|---|
Type | Description |
List<PythonPackage> |
getPythonPackagesOrBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Artifacts.PythonPackageOrBuilder |
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;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloudbuild.v1.Artifacts.PythonPackageOrBuilder> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the objects field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public Artifacts.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Artifacts.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public Artifacts.Builder toBuilder()
Returns | |
---|---|
Type | Description |
Artifacts.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |