- 3.87.0 (latest)
- 3.85.0
- 3.84.0
- 3.83.0
- 3.82.0
- 3.80.0
- 3.78.0
- 3.77.0
- 3.76.0
- 3.75.0
- 3.74.0
- 3.72.0
- 3.70.0
- 3.69.0
- 3.66.0
- 3.65.0
- 3.64.0
- 3.62.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.58.0
- 3.57.0
- 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 static final class ArtifactResult.Builder extends GeneratedMessage.Builder<ArtifactResult.Builder> implements ArtifactResultOrBuilderAn artifact that was uploaded during a build. This is a single record in the artifact manifest JSON file.
Protobuf type google.devtools.cloudbuild.v1.ArtifactResult
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ArtifactResult.BuilderImplements
ArtifactResultOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllFileHash(Iterable<? extends FileHashes> values)
public ArtifactResult.Builder addAllFileHash(Iterable<? extends FileHashes> values)The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloudbuild.v1.FileHashes> |
| Returns | |
|---|---|
| Type | Description |
ArtifactResult.Builder |
|
addFileHash(FileHashes value)
public ArtifactResult.Builder addFileHash(FileHashes value)The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
FileHashes |
| Returns | |
|---|---|
| Type | Description |
ArtifactResult.Builder |
|
addFileHash(FileHashes.Builder builderForValue)
public ArtifactResult.Builder addFileHash(FileHashes.Builder builderForValue)The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FileHashes.Builder |
| Returns | |
|---|---|
| Type | Description |
ArtifactResult.Builder |
|
addFileHash(int index, FileHashes value)
public ArtifactResult.Builder addFileHash(int index, FileHashes value)The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
FileHashes |
| Returns | |
|---|---|
| Type | Description |
ArtifactResult.Builder |
|
addFileHash(int index, FileHashes.Builder builderForValue)
public ArtifactResult.Builder addFileHash(int index, FileHashes.Builder builderForValue)The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
FileHashes.Builder |
| Returns | |
|---|---|
| Type | Description |
ArtifactResult.Builder |
|
addFileHashBuilder()
public FileHashes.Builder addFileHashBuilder()The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;
| Returns | |
|---|---|
| Type | Description |
FileHashes.Builder |
|
addFileHashBuilder(int index)
public FileHashes.Builder addFileHashBuilder(int index)The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FileHashes.Builder |
|
build()
public ArtifactResult build()| Returns | |
|---|---|
| Type | Description |
ArtifactResult |
|
buildPartial()
public ArtifactResult buildPartial()| Returns | |
|---|---|
| Type | Description |
ArtifactResult |
|
clear()
public ArtifactResult.Builder clear()| Returns | |
|---|---|
| Type | Description |
ArtifactResult.Builder |
|
clearFileHash()
public ArtifactResult.Builder clearFileHash()The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;
| Returns | |
|---|---|
| Type | Description |
ArtifactResult.Builder |
|
clearLocation()
public ArtifactResult.Builder clearLocation() The path of an artifact in a Cloud Storage bucket, with the
generation number. For example,
gs://mybucket/path/to/output.jar#generation.
string location = 1;
| Returns | |
|---|---|
| Type | Description |
ArtifactResult.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ArtifactResult getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ArtifactResult |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFileHash(int index)
public FileHashes getFileHash(int index)The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FileHashes |
|
getFileHashBuilder(int index)
public FileHashes.Builder getFileHashBuilder(int index)The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FileHashes.Builder |
|
getFileHashBuilderList()
public List<FileHashes.Builder> getFileHashBuilderList()The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getFileHashCount()
public int getFileHashCount()The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getFileHashList()
public List<FileHashes> getFileHashList()The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;
| Returns | |
|---|---|
| Type | Description |
List<FileHashes> |
|
getFileHashOrBuilder(int index)
public FileHashesOrBuilder getFileHashOrBuilder(int index)The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FileHashesOrBuilder |
|
getFileHashOrBuilderList()
public List<? extends FileHashesOrBuilder> getFileHashOrBuilderList()The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloudbuild.v1.FileHashesOrBuilder> |
|
getLocation()
public String getLocation() The path of an artifact in a Cloud Storage bucket, with the
generation number. For example,
gs://mybucket/path/to/output.jar#generation.
string location = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The location. |
getLocationBytes()
public ByteString getLocationBytes() The path of an artifact in a Cloud Storage bucket, with the
generation number. For example,
gs://mybucket/path/to/output.jar#generation.
string location = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for location. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ArtifactResult other)
public ArtifactResult.Builder mergeFrom(ArtifactResult other)| Parameter | |
|---|---|
| Name | Description |
other |
ArtifactResult |
| Returns | |
|---|---|
| Type | Description |
ArtifactResult.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ArtifactResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ArtifactResult.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ArtifactResult.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ArtifactResult.Builder |
|
removeFileHash(int index)
public ArtifactResult.Builder removeFileHash(int index)The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ArtifactResult.Builder |
|
setFileHash(int index, FileHashes value)
public ArtifactResult.Builder setFileHash(int index, FileHashes value)The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
FileHashes |
| Returns | |
|---|---|
| Type | Description |
ArtifactResult.Builder |
|
setFileHash(int index, FileHashes.Builder builderForValue)
public ArtifactResult.Builder setFileHash(int index, FileHashes.Builder builderForValue)The file hash of the artifact.
repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
FileHashes.Builder |
| Returns | |
|---|---|
| Type | Description |
ArtifactResult.Builder |
|
setLocation(String value)
public ArtifactResult.Builder setLocation(String value) The path of an artifact in a Cloud Storage bucket, with the
generation number. For example,
gs://mybucket/path/to/output.jar#generation.
string location = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe location to set. |
| Returns | |
|---|---|
| Type | Description |
ArtifactResult.Builder |
This builder for chaining. |
setLocationBytes(ByteString value)
public ArtifactResult.Builder setLocationBytes(ByteString value) The path of an artifact in a Cloud Storage bucket, with the
generation number. For example,
gs://mybucket/path/to/output.jar#generation.
string location = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for location to set. |
| Returns | |
|---|---|
| Type | Description |
ArtifactResult.Builder |
This builder for chaining. |